Generated by kicad-footprint-generator · KiCad file format 20260206
STC12H1K16-36I-SOP20
STC Micro · Microcontrollers (MCU/MPU/SOC) · SOP-20
STC12H1K16-36I-SOP20 from STC Micro, in a SOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | P5.4/RST/MCLKO | bidirectional | Standard I/O by default that can be configured in ISP as an active-low reset input (RST) or used as divided main-clock output MCLKO. |
| 2 | P3.0/RxD/INT4 | bidirectional | Standard I/O that doubles as UART1 receive (RxD) and external interrupt 4 (INT4), and is also the ISP download/emulation port, powering up in weak pull-up quasi-bidirectional mode. |
| 3 | P3.1/TxD | bidirectional | Standard I/O that doubles as UART1 transmit (TxD) and is also the ISP download/emulation port, powering up in weak pull-up quasi-bidirectional mode. |
| 4 | P5.6/RxD2_2/XTALO/MCLKO_2 | bidirectional | Standard I/O that doubles as UART2 receive (RxD2_2), external crystal output (XTALO) and divided main-clock output (MCLKO_2). |
| 5 | P5.7/TxD2_2/XTALI | bidirectional | Standard I/O that doubles as UART2 transmit (TxD2_2) and external crystal/external clock input (XTALI). |
| 6 | P3.2/INT0/SCLK_4/SCL_4 | bidirectional | Standard I/O that doubles as external interrupt 0 (INT0), SPI clock (SCLK_4) and I2C clock line (SCL_4). |
| 7 | P3.3/INT1/MISO_4/SDA_4 | bidirectional | Standard I/O that doubles as external interrupt 1 (INT1), SPI MISO (MISO_4) and I2C data line (SDA_4). |
| 8 | P3.4/T0/T1CLKO/MOSI_4/PWMETI/PWMETI2/ECI | bidirectional | Standard I/O that doubles as Timer 0 external clock input (T0), Timer 1 clock output (T1CLKO), SPI MOSI (MOSI_4), PWM external trigger inputs (PWMETI, PWMETI2) and PCA external pulse input (ECI). |
| 9 | P3.5/T1/T0CLKO/RxD_2/SS_4/PWM6/CCP1 | bidirectional | Standard I/O that doubles as Timer 1 external clock input (T1), Timer 0 clock output (T0CLKO), UART1 receive (RxD_2), SPI slave select (SS_4), PWM6 capture/output and PCA CCP1. |
| 10 | Gnd/AGnd | power_in | Ground pin, also serving as the ADC ground (AGnd). |
| 11 | P3.7/ADC14/TxD_2/PWM5/CCP0 | bidirectional | Standard I/O that doubles as ADC analog input channel 14 (ADC14), UART1 transmit (TxD_2), PWM5 capture/output and PCA CCP0. |
| 12 | P1.0/ADC0/RxD2/T3CLKO/PWM1P | bidirectional | Standard I/O that doubles as ADC input channel 0, UART2 receive (RxD2), Timer 3 clock output (T3CLKO) and PWM1 positive capture/output (PWM1P). |
| 13 | P1.1/ADC1/TxD2/T4CLKO/PWM1N | bidirectional | Standard I/O that doubles as ADC input channel 1, UART2 transmit (TxD2), Timer 4 clock output (T4CLKO) and PWM1 negative capture/output (PWM1N). |
| 14 | P1.2/ADC2/T2/PWM2P | bidirectional | Standard I/O that doubles as ADC input channel 2, Timer 2 external clock input (T2) and PWM2 positive capture/output (PWM2P). |
| 15 | P1.3/ADC3/T2CLKO/PWM2N | bidirectional | Standard I/O that doubles as ADC input channel 3, Timer 2 clock output (T2CLKO) and PWM2 negative capture/output (PWM2N). |
| 16 | P1.4/ADC4/SS/PWM3P | bidirectional | Standard I/O that doubles as ADC input channel 4, SPI slave select (SS) and PWM3 positive capture/output (PWM3P). |
| 17 | P1.5/ADC5/MOSI/PWM3N | bidirectional | Standard I/O that doubles as ADC input channel 5, SPI MOSI and PWM3 negative capture/output (PWM3N). |
| 18 | P1.6/ADC6/RxD_3/MISO/SDA/PWM4P | bidirectional | Standard I/O that doubles as ADC input channel 6, UART1 receive (RxD_3), SPI MISO, I2C data line (SDA) and PWM4 positive capture/output (PWM4P). |
| 19 | P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N | bidirectional | Standard I/O that doubles as ADC input channel 7, UART1 transmit (TxD_3), SPI clock (SCLK), I2C clock line (SCL) and PWM4 negative capture/output (PWM4N). |
| 20 | Vcc/AVcc/ADC_VRef+ | power_in | Power supply pin (1.9V-5.5V operating range) that also serves as ADC supply and ADC external reference input, which must be tied to a 2.4V-to-MCU-VCC reference and not left floating. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STC Micro |
| Package | SOP-20 |
| Category | Embedded Processors & Controllers |
| Pins | 20 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Operating voltage | 1.9 | 5.5 | V | 898 | |||
| VDD to ground voltage | -0.3 | 5.5 | V | 898 | |||
| I/O port to ground voltage | -0.3 | V | 898 | ||||
| Storage temperature | -55 | 150 | ℃ | 898 | |||
| Operating temperature | -40 | 85 | ℃ | 898 |
Materials and finish
As the datasheet states them (page.json metadata.appearance; the 3D model's colours follow it).
| Part | Material | Colour / plating | Datasheet says | Page |
|---|---|---|---|---|
| housing | PC | 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 | 393 |
CAD (KiCad official)
- Symbol:
STC12H1K16-36I-SOP20 - Footprint:
Package_SO:SOP-20_7.5x12.8mm_P1.27mm - 3D model: SOP-20 (KiCad packages3D, STEP)
- 3D model files:
stc12h1k16-36i-sop20-etched.step/stc12h1k16-36i-sop20-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc12h1k16-36i-sop20.step/stc12h1k16-36i-sop20.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STC Micro datasheet (1019 pp, sha256
77659dc2f42f051a, retrieved 2026-10-27, tier: lcsc) - Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
- Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).