main
Ray
Publish 0.1.2
ddbc06f
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
{
"slug": "iap15f2k61s2-28i-pdip40",
"version": "0.1.2",
"type": "component",
"description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), DIP-40. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"iap15f2k61s2-28i-pdip40",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"iap15f2k61s2-28i-pdip40.kicad_sym",
"iap15f2k61s2-28i-pdip40.kicad_mod",
"iap15f2k61s2-28i-pdip40.glb",
"iap15f2k61s2-28i-pdip40.step",
"iap15f2k61s2-28i-pdip40.lbr",
"docs/hero.png",
"docs/iap15f2k61s2-28i-pdip40-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"iap15f2k61s2-28i-pdip40-hero.glb",
"iap15f2k61s2-28i-pdip40-hero.overlay.json",
"iap15f2k61s2-28i-pdip40-etched.glb",
"iap15f2k61s2-28i-pdip40-etched.step"
],
"component": {
"mpn": "IAP15F2K61S2-28I-PDIP40",
"manufacturer": "STC Micro",
"package": "DIP-40",
"pin_count": 40,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/71ceeb8bda4469d8bee40621c8d48c84.pdf",
"parts": {
"symbol": "iap15f2k61s2-28i-pdip40.kicad_sym",
"footprint": "iap15f2k61s2-28i-pdip40.kicad_mod",
"model_3d": "iap15f2k61s2-28i-pdip40-hero.glb",
"model_3d_plain": "iap15f2k61s2-28i-pdip40-etched.glb",
"model_3d_step": "iap15f2k61s2-28i-pdip40-etched.step",
"model_3d_step_plain": "iap15f2k61s2-28i-pdip40.step",
"lbr": "iap15f2k61s2-28i-pdip40.lbr"
},
"distributor_links": {
"lcsc": "C23539"
},
"distributor_check": {
"checked_at": "2026-11-10T00:56:02Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P0.0/AD0",
"type": "bidirectional",
"description": "P0.0 general I/O (quasi-bidirectional/weak pull-up after reset, configurable to push-pull, input-only or open-drain) or multiplexed address/data bus bit AD0."
},
{
"number": "2",
"name": "P0.1/AD1",
"type": "bidirectional",
"description": "P0.1 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD1."
},
{
"number": "3",
"name": "P0.2/AD2",
"type": "bidirectional",
"description": "P0.2 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD2."
},
{
"number": "4",
"name": "P0.3/AD3",
"type": "bidirectional",
"description": "P0.3 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD3."
},
{
"number": "5",
"name": "P0.4/AD4",
"type": "bidirectional",
"description": "P0.4 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD4."
},
{
"number": "6",
"name": "P0.5/AD5",
"type": "bidirectional",
"description": "P0.5 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD5."
},
{
"number": "7",
"name": "P0.6/AD6",
"type": "bidirectional",
"description": "P0.6 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD6."
},
{
"number": "8",
"name": "P0.7/AD7",
"type": "bidirectional",
"description": "P0.7 general I/O (quasi-bidirectional after reset, configurable) or multiplexed address/data bus bit AD7."
},
{
"number": "9",
"name": "P1.0/ADC0/CCP1/RxD2",
"type": "bidirectional",
"description": "P1.0 general I/O, ADC input channel 0, CCP channel 1 (capture/high-speed pulse/PWM), or UART2 receive RxD2."
},
{
"number": "10",
"name": "P1.1/ADC1/CCP0/TxD2",
"type": "bidirectional",
"description": "P1.1 general I/O, ADC input channel 1, CCP channel 0 (capture/high-speed pulse/PWM), or UART2 transmit TxD2."
},
{
"number": "11",
"name": "P1.2/ADC2/SS/ECI",
"type": "bidirectional",
"description": "P1.2 general I/O, ADC input channel 2, SPI slave select SS, or external pulse input ECI of the CCP/PCA counter."
},
{
"number": "12",
"name": "P1.3/ADC3/MOSI",
"type": "bidirectional",
"description": "P1.3 general I/O, ADC input channel 3, or SPI master-out slave-in MOSI."
},
{
"number": "13",
"name": "P1.4/ADC4/MISO",
"type": "bidirectional",
"description": "P1.4 general I/O, ADC input channel 4, or SPI master-in slave-out MISO."
},
{
"number": "14",
"name": "P1.5/ADC5/SCLK",
"type": "bidirectional",
"description": "P1.5 general I/O, ADC input channel 5, or SPI clock SCLK."
},
{
"number": "15",
"name": "P1.6/ADC6/RxD_3/XTAL2",
"type": "bidirectional",
"description": "P1.6 general I/O, ADC input channel 6, UART1 receive RxD_3, or inverting amplifier output XTAL2 for an external crystal."
},
{
"number": "16",
"name": "P1.7/ADC7/TxD_3/XTAL1",
"type": "bidirectional",
"description": "P1.7 general I/O, ADC input channel 7, UART1 transmit TxD_3, or oscillator input XTAL1 (external crystal or clock source input)."
},
{
"number": "17",
"name": "P5.4/RST/MCLKO/SS_3",
"type": "bidirectional",
"description": "P5.4 general I/O (default), active-high reset pin RST when enabled in STC-ISP, main clock output MCLKO (MCLK/1, /2 or /4), or SPI slave select SS_3."
},
{
"number": "18",
"name": "Vcc",
"type": "power_in",
"description": "Positive power supply (5.5V-4.5V for STC15F series)."
},
{
"number": "19",
"name": "P5.5",
"type": "bidirectional",
"description": "P5.5 general-purpose I/O port."
},
{
"number": "20",
"name": "Gnd",
"type": "power_in",
"description": "Power ground (negative supply)."
},
{
"number": "21",
"name": "P3.0/RxD/INT4/T2CLKO",
"type": "bidirectional",
"description": "P3.0 general I/O, UART1 receive RxD (also ISP download pin), external interrupt INT4 (falling edge only, wakes from power-down), or T2 clock output T2CLKO."
},
{
"number": "22",
"name": "P3.1/TxD/T2",
"type": "bidirectional",
"description": "P3.1 general I/O, UART1 transmit TxD (also ISP download pin), or Timer/Counter 2 external input T2."
},
{
"number": "23",
"name": "P3.2/INT0",
"type": "bidirectional",
"description": "P3.2 general I/O or external interrupt INT0 (rising and falling edge, or falling only if IT0=1; wakes from power-down)."
},
{
"number": "24",
"name": "P3.3/INT1",
"type": "bidirectional",
"description": "P3.3 general I/O or external interrupt INT1 (rising and falling edge, or falling only if IT1=1; wakes from power-down)."
},
{
"number": "25",
"name": "P3.4/T0/T1CLKO/ECI_2",
"type": "bidirectional",
"description": "P3.4 general I/O, Timer/Counter 0 external input T0, T1 clock output T1CLKO, or CCP/PCA counter external pulse input ECI_2."
},
{
"number": "26",
"name": "P3.5/T1/T0CLKO/CCP0_2",
"type": "bidirectional",
"description": "P3.5 general I/O, Timer/Counter 1 external input T1, T0 clock output T0CLKO, or CCP channel 0 (CCP0_2)."
},
{
"number": "27",
"name": "P3.6/INT2/RxD_2/CCP1_2",
"type": "bidirectional",
"description": "P3.6 general I/O, external interrupt INT2 (falling edge only, wakes from power-down), UART1 receive RxD_2, or CCP channel 1 (CCP1_2)."
},
{
"number": "28",
"name": "P3.7/INT3/TxD_2/CCP2/CCP2_2",
"type": "bidirectional",
"description": "P3.7 general I/O, external interrupt INT3 (falling edge only, wakes from power-down), UART1 transmit TxD_2, or CCP channel 2 (CCP2/CCP2_2)."
},
{
"number": "29",
"name": "P4.1/MISO_3",
"type": "bidirectional",
"description": "P4.1 general-purpose I/O, with SPI function MISO_3 per the pin diagram."
},
{
"number": "30",
"name": "P4.2/WR",
"type": "bidirectional",
"description": "P4.2 general I/O or external data memory write strobe WR."
},
{
"number": "31",
"name": "P4.4/RD",
"type": "bidirectional",
"description": "P4.4 general I/O or external data memory read strobe RD."
},
{
"number": "32",
"name": "P2.0/A8/RSTOUT_LOW",
"type": "bidirectional",
"description": "P2.0 general I/O, address bus bit A8, or RSTOUT_LOW which outputs low after power-up and during reset and can then be set high or low by software."
},
{
"number": "33",
"name": "P2.1/A9/SCLK_2",
"type": "bidirectional",
"description": "P2.1 general I/O, address bus bit A9, or SPI clock SCLK_2."
},
{
"number": "34",
"name": "P2.2/A10/MISO_2",
"type": "bidirectional",
"description": "P2.2 general I/O, address bus bit A10, or SPI master-in slave-out MISO_2."
},
{
"number": "35",
"name": "P2.3/A11/MOSI_2",
"type": "bidirectional",
"description": "P2.3 general I/O, address bus bit A11, or SPI master-out slave-in MOSI_2."
},
{
"number": "36",
"name": "P2.4/A12/ECI_3/SS_2",
"type": "bidirectional",
"description": "P2.4 general I/O, address bus bit A12, CCP/PCA counter external pulse input ECI_3, or SPI slave select SS_2."
},
{
"number": "37",
"name": "P2.5/A13/CCP0_3",
"type": "bidirectional",
"description": "P2.5 general I/O, address bus bit A13, or CCP channel 0 (CCP0_3)."
},
{
"number": "38",
"name": "P2.6/A14/CCP1_3",
"type": "bidirectional",
"description": "P2.6 general I/O, address bus bit A14, or CCP channel 1 (CCP1_3)."
},
{
"number": "39",
"name": "P2.7/A15/CCP2_3",
"type": "bidirectional",
"description": "P2.7 general I/O, address bus bit A15, or CCP channel 2 (CCP2_3)."
},
{
"number": "40",
"name": "P4.5/ALE",
"type": "bidirectional",
"description": "P4.5 general I/O or address latch enable ALE."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-sonnet-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: The pin table (p.51) swaps the SPI function labels for P4.0/P4.1 (lists MISO_3 under P4.0 and MOSI_3; Pin numbers were taken from the PDIP40 column of the pin-description table (pp.48-52), which matches; The datasheet has no separate description for P5.5 beyond 'standard I/O'; the table also mislabels P"
],
"pages_sent": 125,
"cost_usd": 1.1112,
"at": "2026-11-10T00:55:43"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/71ceeb8bda4469d8bee40621c8d48c84.pdf",
"pages": 1473,
"sha256": "029f2a16143f5535",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 40,
"described": 40,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "iap15f2k61s2-28i-pdip40.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "body on z = 0, through-hole leads below",
"extents_mm": [
15.494,
50.8,
6.98
],
"zmin_mm": -3.3,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "56fb239cc3f47dd58a0eac0bd4aeae847d6aac80463bd6713647a9e06bc34a04",
"checked": "2026-11-12",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "iap15f2k61s2-28i-pdip40-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "body on z = 0, through-hole leads below",
"extents_mm": [
15.494,
50.8,
6.98
],
"zmin_mm": -3.3,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "071963e51e51a8e7cf54f5beaf4c47a2b3dd71ea58728443cc041000ff27f4d9",
"checked": "2026-11-12",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"visibility": "public",
"title": "IAP15F2K61S2-28I-PDIP40",
"brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), DIP-40. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "DIP-40",
"Category": "Embedded Processors & Controllers",
"Pins": "40"
},
"appearance": {
"housing": {
"quote": "Accumulator contents and the contents of a sixteen-bit base register, which may be either the Data Pointer or the PC. In the latter case, the PC is incremented to the address of the",
"page": 524,
"doc": "ds.pdf",
"material": "PC"
},
"version": 1,
"datasheet_sha256": "029f2a16143f5535358557ce136e1742062a489bbfe8aacfb3a926bd9018293e"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "029f2a16143f5535358557ce136e1742062a489bbfe8aacfb3a926bd9018293e",
"rows": [
{
"name": "VDD Operating Voltage",
"symbol": "VDD",
"kind": "recommended_operating",
"unit": "V",
"min": 3.3,
"typ": 5,
"max": 5.5,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Input Low (P0,P1,P2,P3)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.8,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Input High (P0,P1,P2,P3)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 2,
"typ": null,
"max": null,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Input High (RESET)",
"symbol": "VIH2",
"kind": "electrical",
"unit": "V",
"min": 2.2,
"typ": null,
"max": null,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Operating Current",
"symbol": "ICC",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 4,
"max": 20,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output)",
"symbol": "IOH1",
"kind": "electrical",
"unit": "uA",
"min": 200,
"typ": 270,
"max": null,
"conditions": "5V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Logic 0 input current (P0,P1,P2,P3)",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "Vpin=0V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "Vpin=2.0V",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Storage temperature",
"symbol": "TST",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Operating temperature (I)",
"symbol": "TA",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "DC power supply (5V)",
"symbol": "VDD - VSS",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
},
{
"name": "Voltage on any pin",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "",
"source_page": 1374,
"source": "datasheet"
}
]
}
},
"discovery_triggers": [
"iap15f2k61s2-28i-pdip40"
],
"discovery_pitch": "IAP15F2K61S2-28I-PDIP40 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D."
}