main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.0 · Ray
viewers stc12h1k28-36i-dip20: viewers · Ray
package.json Publish 0.1.2 · Ray
page.json Publish 0.1.2 · Ray
README.md stc12h1k28-36i-dip20: the pins were read twice by one model (sonnet); say so instead of 'cross-checked by two models' · Ray
stc12h1k28-36i-dip20-etched.glb Publish 0.1.0 · Ray
stc12h1k28-36i-dip20-etched.step stc12h1k28-36i-dip20: factory component page (tier=lcsc) · Ray
stc12h1k28-36i-dip20-hero.glb stc12h1k28-36i-dip20: hero GLB from the etched model (keeps the MPN mark) · Ray
stc12h1k28-36i-dip20-hero.overlay.json Publish 0.1.0 · Ray
stc12h1k28-36i-dip20.glb Publish 0.1.0 · Ray
stc12h1k28-36i-dip20.kicad_mod Publish 0.1.0 · Ray
stc12h1k28-36i-dip20.kicad_sym Publish 0.1.0 · Ray
stc12h1k28-36i-dip20.lbr Publish 0.1.0 · Ray
stc12h1k28-36i-dip20.step Publish 0.1.0 · Ray
verification.json Verified: Published by the parts factory: tier lcsc, 20 pins · Ray

STC12H1K28-36I-DIP20

STC Micro · Microcontrollers (MCU/MPU/SOC) · DIP-20

STC12H1K28-36I-DIP20 from STC Micro, in a DIP-20. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, read twice and the reads agreed); 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 (RST), or as divided main clock output MCLKO.
2 P3.0/RxD/INT4 bidirectional Standard I/O P3.0 with UART1 receive (RxD) and external interrupt 4 (INT4); also the ISP download/emulation port.
3 P3.1/TxD bidirectional Standard I/O P3.1 with UART1 transmit (TxD); also the ISP download/emulation 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 divided main clock 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 (INT0), SPI clock (SCLK_4) and I2C clock line (SCL_4).
7 P3.3/INT1/MISO_4/SDA_4 bidirectional Standard I/O P3.3 with 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 P3.4 with 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 P3.5 with Timer 1 external clock input (T1), Timer 0 clock output (T0CLKO), UART1 receive (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 transmit (TxD_2), PWM5 and PCA CCP0.
12 P1.0/ADC0/RxD2/T3CLKO/PWM1P bidirectional Standard I/O P1.0 with ADC input channel 0, UART2 receive (RxD2), Timer 3 clock output (T3CLKO) and PWM1P.
13 P1.1/ADC1/TxD2/T4CLKO/PWM1N bidirectional Standard I/O P1.1 with ADC input channel 1, UART2 transmit (TxD2), Timer 4 clock output (T4CLKO) and PWM1N.
14 P1.2/ADC2/T2/PWM2P bidirectional Standard I/O P1.2 with ADC input channel 2, Timer 2 external clock input (T2) and PWM2P.
15 P1.3/ADC3/T2CLKO/PWM2N bidirectional Standard I/O P1.3 with ADC input channel 3, Timer 2 clock output (T2CLKO) and PWM2N.
16 P1.4/ADC4/SS/PWM3P bidirectional Standard I/O P1.4 with ADC input channel 4, SPI slave select (SS) and PWM3P.
17 P1.5/ADC5/MOSI/PWM3N bidirectional Standard I/O P1.5 with ADC input channel 5, SPI MOSI and PWM3N.
18 P1.6/ADC6/RxD_3/MISO/SDA/PWM4P bidirectional Standard I/O P1.6 with ADC input channel 6, UART1 receive (RxD_3), SPI MISO, I2C data line (SDA) and PWM4P.
19 P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N bidirectional Standard I/O P1.7 with ADC input channel 7, UART1 transmit (TxD_3), SPI clock (SCLK), I2C clock line (SCL) and PWM4N.
20 Vcc/AVcc/ADC_VRef+ power_in Power supply, ADC supply and ADC external reference input; must connect to an external reference of 2.4V to MCU-VCC (or Vcc) and not be left floating.

Key specifications

Parameter Value
Manufacturer STC Micro
Package DIP-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
Storage temperature -55 150 ℃ 898
Operating temperature -40 85 ℃ 898
Operating voltage 1.9 5.5 V 898
VDD to ground voltage VDD -0.3 5.5 V 898
I/O port to ground voltage -0.3 V max printed as VDD+0.3 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: STC12H1K28-36I-DIP20
  • Footprint: Package_DIP:DIP-20_W7.62mm
  • 3D model: DIP-20 (KiCad packages3D, STEP)
  • 3D model files: stc12h1k28-36i-dip20-etched.step / stc12h1k28-36i-dip20-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stc12h1k28-36i-dip20.step / stc12h1k28-36i-dip20.glb are 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-08, 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, primary claude-sonnet-5-5 (text), consensus claude-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).

Datasheet PDF