component
STC12H1K16-36I-DIP20
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
{
"slug": "stc12h1k16-36i-dip20",
"version": "0.1.0",
"type": "component",
"description": "STC Micro Microcontrollers (MCU/MPU/SOC), DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stc12h1k16-36i-dip20",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc12h1k16-36i-dip20.kicad_sym",
"stc12h1k16-36i-dip20.kicad_mod",
"stc12h1k16-36i-dip20.glb",
"stc12h1k16-36i-dip20.step",
"stc12h1k16-36i-dip20.lbr",
"docs/hero.png",
"docs/stc12h1k16-36i-dip20-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc12h1k16-36i-dip20-hero.glb",
"stc12h1k16-36i-dip20-hero.overlay.json",
"stc12h1k16-36i-dip20-etched.glb"
],
"component": {
"mpn": "STC12H1K16-36I-DIP20",
"manufacturer": "STC Micro",
"package": "DIP-20",
"pin_count": 20,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603394806823870464",
"parts": {
"symbol": "stc12h1k16-36i-dip20.kicad_sym",
"footprint": "stc12h1k16-36i-dip20.kicad_mod",
"model_3d": "stc12h1k16-36i-dip20-hero.glb",
"model_3d_plain": "stc12h1k16-36i-dip20-etched.glb",
"model_3d_step": "stc12h1k16-36i-dip20-etched.step",
"model_3d_step_plain": "stc12h1k16-36i-dip20.step",
"lbr": "stc12h1k16-36i-dip20.lbr"
},
"distributor_links": {
"lcsc": "C22472725"
},
"distributor_check": {
"checked_at": "2026-10-16T10:33:16Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P5.4/RST/MCLKO",
"type": "bidirectional",
"description": "Standard bidirectional I/O P5.4 that can be configured as the active-low reset input RST or as the MCLKO master-clock output; when used as a plain I/O its internal 4K pull-up stays on for about 6.5 ms after power-up."
},
{
"number": "2",
"name": "P3.0/RxD/INT4",
"type": "bidirectional",
"description": "Standard I/O P3.0 serving as UART1 receive (RxD) and external interrupt INT4; P3.0, P3.1 and P3.2 must not all be low at power-on unless USB software download is intended, otherwise the chip enters USB download mode."
},
{
"number": "3",
"name": "P3.1/TxD",
"type": "bidirectional",
"description": "Standard I/O P3.1 serving as UART1 transmit (TxD); it is the ISP/emulation download pin and is weakly pulled up (quasi-bidirectional) after power-on."
},
{
"number": "4",
"name": "P5.6 (RxD2_2/MCLKO_2/XTALO)",
"type": "bidirectional",
"description": "Standard I/O P5.6 that can be used as UART2 receive (RxD2_2), master-clock output (MCLKO_2) or external crystal output XTALO."
},
{
"number": "5",
"name": "P5.7 (TxD2_2/XTALI)",
"type": "bidirectional",
"description": "Standard I/O P5.7 that can be used as UART2 transmit (TxD2_2) or the external crystal/external clock input XTALI."
},
{
"number": "6",
"name": "P3.2 (INT0/SCLK_4/SCL_4)",
"type": "bidirectional",
"description": "Standard I/O P3.2 serving as external interrupt 0 (INT0), SPI clock (SCLK_4) or I2C clock (SCL_4); it is one of the USB-download boot-select pins together with P3.0 and P3.1."
},
{
"number": "7",
"name": "P3.3 (INT1/MISO_4/SDA_4)",
"type": "bidirectional",
"description": "Standard I/O P3.3 serving as external interrupt 1 (INT1), SPI master-in/slave-out (MISO_4) or I2C data (SDA_4)."
},
{
"number": "8",
"name": "P3.4 (T0/T1CLKO/MOSI_4/ECI)",
"type": "bidirectional",
"description": "Standard I/O P3.4 serving as Timer 0 external count input (T0), Timer 1 clock output (T1CLKO), SPI master-out/slave-in (MOSI_4), PCA external input (ECI) or PWM external trigger input (PWMETI)."
},
{
"number": "9",
"name": "P3.5/T1/T0CLKO/RxD_2/SS_4/PWM6/CCP1",
"type": "bidirectional",
"description": "Standard I/O P3.5 serving as Timer 1 external count input (T1), Timer 0 clock output (T0CLKO), UART1 receive alternate (RxD_2), SPI slave select (SS_4), PWM6 or PCA module 1 (CCP1)."
},
{
"number": "10",
"name": "Gnd/AGnd",
"type": "power_in",
"description": "Ground pin; the same pin serves as the ADC analog ground (AGnd), and the datasheet asks that the ADC analog ground be tied directly to the system ground with a short, thick trace."
},
{
"number": "11",
"name": "P3.7/ADC14/TxD_2/PWM5/CCP0",
"type": "bidirectional",
"description": "Standard I/O P3.7 that can be used as ADC input channel 14, UART1 transmit alternate (TxD_2), PWM5 or PCA module 0 (CCP0)."
},
{
"number": "12",
"name": "P1.0/ADC0/RxD2/T3CLKO/PWM1P",
"type": "bidirectional",
"description": "Standard I/O P1.0 that can be used as ADC input channel 0, UART2 receive (RxD2), Timer 3 clock output (T3CLKO) or PWM1 positive output/capture (PWM1P)."
},
{
"number": "13",
"name": "P1.1/ADC1/TxD2/T4CLKO/PWM1N",
"type": "bidirectional",
"description": "Standard I/O P1.1 that can be used as ADC input channel 1, UART2 transmit (TxD2), Timer 4 clock output (T4CLKO) or PWM1 negative output/capture (PWM1N)."
},
{
"number": "14",
"name": "P1.2/ADC2/T2/PWM2P",
"type": "bidirectional",
"description": "Standard I/O P1.2 that can be used as ADC input channel 2, Timer 2 external count input (T2) or PWM2 positive output/capture (PWM2P)."
},
{
"number": "15",
"name": "P1.3/ADC3/T2CLKO/PWM2N",
"type": "bidirectional",
"description": "Standard I/O P1.3 that can be used as ADC input channel 3, Timer 2 clock output (T2CLKO) or PWM2 negative output/capture (PWM2N)."
},
{
"number": "16",
"name": "P1.4/ADC4/SS/PWM3P",
"type": "bidirectional",
"description": "Standard I/O P1.4 that can be used as ADC input channel 4, SPI slave select (SS) or PWM3 positive output/capture (PWM3P)."
},
{
"number": "17",
"name": "P1.5/ADC5/MOSI/PWM3N",
"type": "bidirectional",
"description": "Standard I/O P1.5 that can be used as ADC input channel 5, SPI master-out/slave-in (MOSI) or PWM3 negative output/capture (PWM3N)."
},
{
"number": "18",
"name": "P1.6/ADC6/RxD_3/MISO/SDA/PWM4P",
"type": "bidirectional",
"description": "Standard I/O P1.6 that can be used as ADC input channel 6, UART1 receive alternate (RxD_3), SPI master-in/slave-out (MISO), I2C data (SDA) or PWM4 positive output/capture (PWM4P); it is also a wake-up source from power-down."
},
{
"number": "19",
"name": "P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N",
"type": "bidirectional",
"description": "Standard I/O P1.7 that can be used as ADC input channel 7, UART1 transmit alternate (TxD_3), SPI clock (SCLK), I2C clock (SCL) or PWM4 negative output/capture (PWM4N)."
},
{
"number": "20",
"name": "Vcc/AVcc/ADC_VRef+",
"type": "power_in",
"description": "Supply pin for the MCU (working voltage 1.9V to 5.5V), which also powers the ADC (AVcc) and serves as the ADC external reference input ADC_VRef+, which must be connected to an external reference of 2.4 V to MCU-VCC and must not float."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-haiku-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: The DIP-20 pinout is taken from the figure for the TSSOP20/SOP20/DIP20 variant on the STC12H1K08 dra; Pin numbers were read from the DIP20/TSSOP20 drawing; the extracted pin-function table columns are g; Pin 20 is shared by Vcc, AVcc and ADC_VRef+ and is typed as power_in; the ADC_VRef+ function is an i"
],
"pages_sent": 193,
"cost_usd": 1.054,
"at": "2026-10-16T10:32:56"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603394806823870464",
"pages": 1019,
"sha256": "77659dc2f42f051a",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 20,
"described": 20,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc12h1k16-36i-dip20.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "body on z = 0, through-hole leads below",
"extents_mm": [
7.874,
26.162,
6.98
],
"zmin_mm": -3.3,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "ca359c9b9e0ce94efcb6c96866513f659eef6517d629ace3c4a0a779f6fd57bb",
"checked": "2026-10-16",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc12h1k16-36i-dip20-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": [
7.874,
26.162,
6.98
],
"zmin_mm": -3.3,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "893034af95fa5412e0395bf5d895e40bfed33d630d7e8c872f977ae42a4fadfc",
"checked": "2026-10-16",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}