main
Ray
Publish 0.1.1
0c8691c
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
{
"schema_version": 1,
"type": "component",
"slug": "stc12h1k16-36i-sop28",
"title": "STC12H1K16-36I-SOP28",
"brief": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.1",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"stc12h1k16-36i-sop28",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC12H1K16-36I-SOP28",
"manufacturer": "STC Micro",
"package": "SOP-28",
"pin_count": 28,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/3fbe590ee316486292c8e77307bd2010.pdf",
"parts": {
"symbol": "stc12h1k16-36i-sop28.kicad_sym",
"footprint": "stc12h1k16-36i-sop28.kicad_mod",
"model_3d": "stc12h1k16-36i-sop28-hero.glb",
"model_3d_plain": "stc12h1k16-36i-sop28.glb",
"model_3d_step": "stc12h1k16-36i-sop28-etched.step",
"model_3d_step_plain": "stc12h1k16-36i-sop28.step",
"lbr": "stc12h1k16-36i-sop28.lbr"
},
"distributor_links": {
"lcsc": "C22472727"
},
"distributor_check": {
"checked_at": "2026-10-27T07:57:44Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P2.2",
"type": "bidirectional",
"description": "Standard I/O port P2.2 with alternate functions SS_2 (SPI slave select) and PWM2P_2 (PWM2 capture input/pulse output, positive)."
},
{
"number": "2",
"name": "P2.3",
"type": "bidirectional",
"description": "Standard I/O port P2.3 with alternate functions MOSI_2 (SPI master out/slave in) and PWM2N_2 (PWM2 capture input/pulse output, negative)."
},
{
"number": "3",
"name": "P5.4/RST/MCLKO",
"type": "bidirectional",
"description": "Standard I/O port P5.4 that can be configured during ISP download as the reset input (active low) or as the divided main clock output MCLKO."
},
{
"number": "4",
"name": "P3.0/RxD/INT4",
"type": "bidirectional",
"description": "Standard I/O port P3.0 serving as UART1 receive and external interrupt 4 input; it is the ISP download/emulation port and powers up in weak-pull-up quasi-bidirectional mode."
},
{
"number": "5",
"name": "P3.1/TxD",
"type": "bidirectional",
"description": "Standard I/O port P3.1 serving as UART1 transmit; it is the ISP download/emulation port and powers up in weak-pull-up quasi-bidirectional mode."
},
{
"number": "6",
"name": "P5.6/RxD2_2/XTALO/MCLKO_2",
"type": "bidirectional",
"description": "Standard I/O port P5.6 with alternate functions UART2 receive (RxD2_2), external crystal output (XTALO) and divided main clock output (MCLKO_2)."
},
{
"number": "7",
"name": "P5.7/TxD2_2/XTALI",
"type": "bidirectional",
"description": "Standard I/O port P5.7 with alternate functions UART2 transmit (TxD2_2) and external crystal/external clock input (XTALI)."
},
{
"number": "8",
"name": "P3.2/INT0/SCLK_4/SCL_4",
"type": "bidirectional",
"description": "Standard I/O port P3.2 with alternate functions external interrupt 0 input, SPI clock (SCLK_4) and I2C clock line (SCL_4)."
},
{
"number": "9",
"name": "P3.3/INT1/MISO_4/SDA_4",
"type": "bidirectional",
"description": "Standard I/O port P3.3 with alternate functions external interrupt 1 input, SPI master-in/slave-out (MISO_4) and I2C data line (SDA_4)."
},
{
"number": "10",
"name": "P3.4/T0/T1CLKO/MOSI_4/ECI",
"type": "bidirectional",
"description": "Standard I/O port P3.4 with alternate functions timer 0 external clock input, timer 1 clock output, SPI MOSI_4, PWM external trigger inputs PWMETI/PWMETI2 and PCA external pulse input ECI."
},
{
"number": "11",
"name": "P3.5/T1/T0CLKO/RxD_2/SS_4/PWM6/CCP1",
"type": "bidirectional",
"description": "Standard I/O port P3.5 with alternate functions timer 1 external clock input, timer 0 clock output, UART1 receive (RxD_2), SPI slave select (SS_4), PWM6 capture/pulse output and PCA CCP1."
},
{
"number": "12",
"name": "P2.4/ADC10/MISO_2/SDA_2/PWM3P_2/PWM8/CCP3",
"type": "bidirectional",
"description": "Standard I/O port P2.4 with alternate functions ADC analog input channel 10, SPI MISO_2, I2C data line SDA_2, PWM3P_2, PWM8 and PCA CCP3."
},
{
"number": "13",
"name": "P2.5/ADC11/SCLK_2/SCL_2/PWM3N_2",
"type": "bidirectional",
"description": "Standard I/O port P2.5 with alternate functions ADC analog input channel 11, SPI clock SCLK_2, I2C clock line SCL_2 and PWM3N_2."
},
{
"number": "14",
"name": "Gnd/AGnd",
"type": "power_in",
"description": "Ground and ADC ground."
},
{
"number": "15",
"name": "P2.6/ADC12/PWM4P_2",
"type": "bidirectional",
"description": "Standard I/O port P2.6 with alternate functions ADC analog input channel 12 and PWM4P_2 (PWM4 capture input/pulse output, positive)."
},
{
"number": "16",
"name": "P2.7/ADC13/PWM4N_2/PWMFLT",
"type": "bidirectional",
"description": "Standard I/O port P2.7 with alternate functions ADC analog input channel 13, PWM4N_2 and PWMFLT (external fault detection input for the PWM)."
},
{
"number": "17",
"name": "P3.7/ADC14/TxD_2/PWM5/CCP0",
"type": "bidirectional",
"description": "Standard I/O port P3.7 with alternate functions ADC analog input channel 14, UART1 transmit (TxD_2), PWM5 capture/pulse output and PCA CCP0."
},
{
"number": "18",
"name": "P1.0/ADC0/RxD2/T3CLKO/PWM1P",
"type": "bidirectional",
"description": "Standard I/O port P1.0 with alternate functions ADC analog input channel 0, UART2 receive, timer 3 clock output and PWM1P."
},
{
"number": "19",
"name": "P1.1/ADC1/TxD2/T4CLKO/PWM1N",
"type": "bidirectional",
"description": "Standard I/O port P1.1 with alternate functions ADC analog input channel 1, UART2 transmit, timer 4 clock output and PWM1N."
},
{
"number": "20",
"name": "P1.2/ADC2/T2/PWM2P",
"type": "bidirectional",
"description": "Standard I/O port P1.2 with alternate functions ADC analog input channel 2, timer 2 external clock input and PWM2P."
},
{
"number": "21",
"name": "P1.3/ADC3/T2CLKO/PWM2N",
"type": "bidirectional",
"description": "Standard I/O port P1.3 with alternate functions ADC analog input channel 3, timer 2 clock output and PWM2N."
},
{
"number": "22",
"name": "P1.4/ADC4/SS/PWM3P",
"type": "bidirectional",
"description": "Standard I/O port P1.4 with alternate functions ADC analog input channel 4, SPI slave select and PWM3P."
},
{
"number": "23",
"name": "P1.5/ADC5/MOSI/PWM3N",
"type": "bidirectional",
"description": "Standard I/O port P1.5 with alternate functions ADC analog input channel 5, SPI master-out/slave-in (MOSI) and PWM3N."
},
{
"number": "24",
"name": "P1.6/ADC6/RxD_3/MISO/SDA/PWM4P",
"type": "bidirectional",
"description": "Standard I/O port P1.6 with alternate functions ADC analog input channel 6, UART1 receive (RxD_3), SPI MISO, I2C data line SDA and PWM4P."
},
{
"number": "25",
"name": "P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N",
"type": "bidirectional",
"description": "Standard I/O port P1.7 with alternate functions ADC analog input channel 7, UART1 transmit (TxD_3), SPI clock SCLK, I2C clock line SCL and PWM4N."
},
{
"number": "26",
"name": "P2.0/ADC8/PWM1P_2/PWM7/CCP2",
"type": "bidirectional",
"description": "Standard I/O port P2.0 with alternate functions ADC analog input channel 8, PWM1P_2, PWM7 and PCA CCP2."
},
{
"number": "27",
"name": "P2.1/ADC9/PWM1N_2",
"type": "bidirectional",
"description": "Standard I/O port P2.1 with alternate functions ADC analog input channel 9 and PWM1N_2."
},
{
"number": "28",
"name": "Vcc/AVcc/ADC_VRef+",
"type": "power_in",
"description": "Power supply (1.9V to 5.5V operating range), ADC supply and ADC external reference input, which must be tied to a 2.4V~MCU-VCC reference and not left floating to avoid leakage current."
}
],
"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 MPN STC12H1K16-36I-SOP28 maps to the SOP28 pinout; the datasheet pin diagram for SOP28 (page 31)"
],
"pages_sent": 193,
"cost_usd": 0.2331,
"at": "2026-10-27T07:57:30"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/3fbe590ee316486292c8e77307bd2010.pdf",
"pages": 1019,
"sha256": "77659dc2f42f051a",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 28,
"described": 28,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc12h1k16-36i-sop28.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
11.636,
18.16,
2.666
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "ecc34510e8f74b6103a72c2f24133ad80006c738972a56531d1221b277fcecdb",
"checked": "2026-10-27",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc12h1k16-36i-sop28-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
11.636,
18.16,
2.666
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "dfe1e488cab98ffd061304340093d59278102b4927b5dabdca74754973a2b422",
"checked": "2026-10-27",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "SOP-28",
"Category": "Embedded Processors & Controllers",
"Pins": "28"
},
"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 following",
"page": 393,
"doc": "ds.pdf",
"material": "PC"
},
"version": 1,
"datasheet_sha256": "77659dc2f42f051a610756fed2ef03ae16f3fa1fce89c815dde7952e6d1644d4"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "77659dc2f42f051a610756fed2ef03ae16f3fa1fce89c815dde7952e6d1644d4",
"rows": [
{
"name": "工作电压",
"symbol": "",
"kind": "recommended_operating",
"unit": "V",
"min": 1.9,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 898,
"source": "datasheet"
},
{
"name": "VDD 对地电压",
"symbol": "VDD",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 898,
"source": "datasheet"
},
{
"name": "存储温度",
"symbol": "",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 150,
"conditions": "",
"source_page": 898,
"source": "datasheet"
},
{
"name": "工作温度",
"symbol": "",
"kind": "recommended_operating",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "",
"source_page": 898,
"source": "datasheet"
},
{
"name": "I/O 口对地电压",
"symbol": "",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": null,
"conditions": "max printed as VDD+0.3 V",
"source_page": 898,
"source": "datasheet"
},
{
"name": "输入低电平(打开施密特触发)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.99,
"conditions": "打开施密特触发, VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "输入低电平(关闭施密特触发)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.07,
"conditions": "关闭施密特触发, VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "输入高电平(普通 I/O,打开施密特触发)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.18,
"typ": null,
"max": null,
"conditions": "打开施密特触发, VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "输入高电平(普通 I/O,关闭施密特触发)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 1.09,
"typ": null,
"max": null,
"conditions": "关闭施密特触发, VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "输入高电平(复位脚)",
"symbol": "VIH2",
"kind": "electrical",
"unit": "V",
"min": 1.18,
"typ": null,
"max": 0.99,
"conditions": "VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "逻辑 0 输入电流",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "端口电压 0V, VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "逻辑 1 到 0 的转移电流",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "端口电压 2.0V, VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
},
{
"name": "I/O 口上拉电阻",
"symbol": "RPU",
"kind": "electrical",
"unit": "KΩ",
"min": 5.8,
"typ": 5.9,
"max": 6,
"conditions": "VDD=3.3V, 25℃",
"source_page": 899,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc12h1k16-36i-sop28"
],
"discovery_pitch": "STC12H1K16-36I-SOP28 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc12h1k16-36i-sop28.kicad_sym",
"stc12h1k16-36i-sop28.kicad_mod",
"stc12h1k16-36i-sop28.glb",
"stc12h1k16-36i-sop28.step",
"stc12h1k16-36i-sop28.lbr",
"docs/hero.png",
"docs/stc12h1k16-36i-sop28-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc12h1k16-36i-sop28-hero.glb",
"stc12h1k16-36i-sop28-hero.overlay.json",
"stc12h1k16-36i-sop28-etched.glb",
"stc12h1k16-36i-sop28-etched.step"
],
"visibility": "public",
"description": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"org": "adom"
}