3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Contents
README
markdownSTC12H1K28-36I-SOP20
STC Micro · Microcontrollers (MCU/MPU/SOC) · SOP-20
STC12H1K28-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 P5.4 that can be set in ISP as an active-low reset input (4K pull-up always on in that case) or as main clock divided output MCLKO. |
| 2 | P3.0/RxD/INT4 | bidirectional | Standard I/O P3.0 (quasi-bidirectional at power-up) with UART1 receive RxD and external interrupt 4, also used as ISP download/debug port. |
| 3 | P3.1/TxD | bidirectional | Standard I/O P3.1 (quasi-bidirectional at power-up) with UART1 transmit TxD, also used as ISP download/debug port. |
| 4 | P5.6/RxD2_2/XTALO/MCLKO_2 | bidirectional | Standard I/O P5.6 with UART2 receive RxD2_2, external crystal output XTALO and main clock divided output MCLKO_2. |
| 5 | P5.7/TxD2_2/XTALI | bidirectional | Standard I/O P5.7 with UART2 transmit TxD2_2 and external crystal/external clock input XTALI. |
| 6 | P3.2/INT0/SCLK_4/SCL_4 | bidirectional | Standard I/O P3.2 with external interrupt 0, SPI clock SCLK_4 and I2C clock SCL_4. |
| 7 | P3.3/INT1/MISO_4/SDA_4 | bidirectional | Standard I/O P3.3 with external interrupt 1, SPI MISO_4 and I2C data SDA_4. |
| 8 | P3.4/T0/T1CLKO/MOSI_4/ECI | bidirectional | Standard I/O P3.4 with Timer 0 external clock input, Timer 1 clock output, SPI 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 P3.5 with Timer 1 clock input, Timer 0 clock output, UART1 RxD_2, SPI slave select SS_4, PWM6 and PCA CCP1. |
| 10 | Gnd/AGnd | power_in | Ground and ADC ground. |
| 11 | P3.7/ADC14/TxD_2/PWM5/CCP0 | bidirectional | Standard I/O P3.7 with ADC analog input channel 14, UART1 TxD_2, PWM5 and PCA CCP0. |
| 12 | P1.0/ADC0/RxD2/T3CLKO/PWM1P | bidirectional | Standard I/O P1.0 with ADC channel 0, UART2 receive RxD2, Timer 3 clock output and PWM1P. |
| 13 | P1.1/ADC1/TxD2/T4CLKO/PWM1N | bidirectional | Standard I/O P1.1 with ADC channel 1, UART2 transmit TxD2, Timer 4 clock output and PWM1N. |
| 14 | P1.2/ADC2/T2/PWM2P | bidirectional | Standard I/O P1.2 with ADC channel 2, Timer 2 external clock input and PWM2P. |
| 15 | P1.3/ADC3/T2CLKO/PWM2N | bidirectional | Standard I/O P1.3 with ADC channel 3, Timer 2 clock output and PWM2N. |
| 16 | P1.4/ADC4/SS/PWM3P | bidirectional | Standard I/O P1.4 with ADC channel 4, SPI slave select SS and PWM3P. |
| 17 | P1.5/ADC5/MOSI/PWM3N | bidirectional | Standard I/O P1.5 with ADC channel 5, SPI MOSI and PWM3N. |
| 18 | P1.6/ADC6/RxD_3/MISO/SDA/PWM4P | bidirectional | Standard I/O P1.6 with ADC channel 6, UART1 RxD_3, SPI MISO, I2C data SDA and PWM4P. |
| 19 | P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N | bidirectional | Standard I/O P1.7 with ADC channel 7, UART1 TxD_3, SPI clock SCLK, I2C clock SCL and PWM4N. |
| 20 | Vcc/AVcc/ADC_VRef+ | power_in | Power supply, ADC supply and ADC external reference input (must connect to 2.4V to MCU-VCC, not floating); operating range 1.9V to 5.5V. |
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 |
|---|---|---|---|---|---|---|---|
| 存储温度 | -55 | 150 | ℃ | 898 | |||
| 工作温度 | -40 | 85 | ℃ | 898 | |||
| VDD 对地电压 | VDD | -0.3 | 5.5 | V | 898 | ||
| I/O 口对地电压 | -0.3 | V | max printed as VDD+0.3 | 898 | |||
| 工作电压 | 1.9 | 5.5 | V | 898 | |||
| 输入低电平 (打开施密特触发) | VIL1 | 0.99 | V | 打开施密特触发 (VDD=3.3V) | 899 | ||
| 输入低电平 (关闭施密特触发) | VIL1 | 1.07 | V | 关闭施密特触发 (VDD=3.3V) | 899 | ||
| 输入高电平(普通 I/O,打开施密特触发) | VIH1 | 1.18 | V | 打开施密特触发 (VDD=3.3V) | 899 | ||
| 输入高电平(普通 I/O,关闭施密特触发) | VIH1 | 1.09 | V | 关闭施密特触发 (VDD=3.3V) | 899 | ||
| 输入高电平(复位脚) | VIH2 | 1.18 | 0.99 | V | VDD=3.3V | 899 | |
| 逻辑 0 输入电流 | IIL | 50 | uA | 端口电压 0V (VDD=3.3V) | 899 | ||
| 逻辑 1 到 0 的转移电流 | ITL | 100 | 270 | 600 | uA | 端口电压 2.0V (VDD=3.3V) | 899 |
| I/O 口上拉电阻 | RPU | 5.8 | 5.9 | 6 | KΩ | VDD=3.3V | 899 |
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:
STC12H1K28-36I-SOP20 - Footprint:
Package_SO:SOP-20_7.5x12.8mm_P1.27mm - 3D model: SOP-20 (KiCad packages3D, STEP)
- 3D model files:
stc12h1k28-36i-sop20-etched.step/stc12h1k28-36i-sop20-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stc12h1k28-36i-sop20.step/stc12h1k28-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-11-06, 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).