main
Ray Publish 0.1.1 7ed2d91
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc12h1k16-36i-sop20",
  "title": "STC12H1K16-36I-SOP20",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-20. 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-sop20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC12H1K16-36I-SOP20",
    "manufacturer": "STC Micro",
    "package": "SOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/3fbe590ee316486292c8e77307bd2010.pdf",
    "parts": {
      "symbol": "stc12h1k16-36i-sop20.kicad_sym",
      "footprint": "stc12h1k16-36i-sop20.kicad_mod",
      "model_3d": "stc12h1k16-36i-sop20-hero.glb",
      "model_3d_plain": "stc12h1k16-36i-sop20.glb",
      "model_3d_step": "stc12h1k16-36i-sop20-etched.step",
      "model_3d_step_plain": "stc12h1k16-36i-sop20.step",
      "lbr": "stc12h1k16-36i-sop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C22472726"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T08:01: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 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."
      },
      {
        "number": "2",
        "name": "P3.0/RxD/INT4",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "3",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "4",
        "name": "P5.6/RxD2_2/XTALO/MCLKO_2",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as UART2 receive (RxD2_2), external crystal output (XTALO) and divided main-clock output (MCLKO_2)."
      },
      {
        "number": "5",
        "name": "P5.7/TxD2_2/XTALI",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as UART2 transmit (TxD2_2) and external crystal/external clock input (XTALI)."
      },
      {
        "number": "6",
        "name": "P3.2/INT0/SCLK_4/SCL_4",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as external interrupt 0 (INT0), SPI clock (SCLK_4) and I2C clock line (SCL_4)."
      },
      {
        "number": "7",
        "name": "P3.3/INT1/MISO_4/SDA_4",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as external interrupt 1 (INT1), SPI MISO (MISO_4) and I2C data line (SDA_4)."
      },
      {
        "number": "8",
        "name": "P3.4/T0/T1CLKO/MOSI_4/PWMETI/PWMETI2/ECI",
        "type": "bidirectional",
        "description": "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)."
      },
      {
        "number": "9",
        "name": "P3.5/T1/T0CLKO/RxD_2/SS_4/PWM6/CCP1",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "10",
        "name": "Gnd/AGnd",
        "type": "power_in",
        "description": "Ground pin, also serving as the ADC ground (AGnd)."
      },
      {
        "number": "11",
        "name": "P3.7/ADC14/TxD_2/PWM5/CCP0",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC analog input channel 14 (ADC14), UART1 transmit (TxD_2), PWM5 capture/output and PCA CCP0."
      },
      {
        "number": "12",
        "name": "P1.0/ADC0/RxD2/T3CLKO/PWM1P",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC input channel 0, UART2 receive (RxD2), Timer 3 clock output (T3CLKO) and PWM1 positive capture/output (PWM1P)."
      },
      {
        "number": "13",
        "name": "P1.1/ADC1/TxD2/T4CLKO/PWM1N",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC input channel 1, UART2 transmit (TxD2), Timer 4 clock output (T4CLKO) and PWM1 negative capture/output (PWM1N)."
      },
      {
        "number": "14",
        "name": "P1.2/ADC2/T2/PWM2P",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC input channel 2, Timer 2 external clock input (T2) and PWM2 positive capture/output (PWM2P)."
      },
      {
        "number": "15",
        "name": "P1.3/ADC3/T2CLKO/PWM2N",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC input channel 3, Timer 2 clock output (T2CLKO) and PWM2 negative capture/output (PWM2N)."
      },
      {
        "number": "16",
        "name": "P1.4/ADC4/SS/PWM3P",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC input channel 4, SPI slave select (SS) and PWM3 positive capture/output (PWM3P)."
      },
      {
        "number": "17",
        "name": "P1.5/ADC5/MOSI/PWM3N",
        "type": "bidirectional",
        "description": "Standard I/O that doubles as ADC input channel 5, SPI MOSI and PWM3 negative capture/output (PWM3N)."
      },
      {
        "number": "18",
        "name": "P1.6/ADC6/RxD_3/MISO/SDA/PWM4P",
        "type": "bidirectional",
        "description": "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)."
      },
      {
        "number": "19",
        "name": "P1.7/ADC7/TxD_3/SCLK/SCL/PWM4N",
        "type": "bidirectional",
        "description": "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)."
      },
      {
        "number": "20",
        "name": "Vcc/AVcc/ADC_VRef+",
        "type": "power_in",
        "description": "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."
      }
    ],
    "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-SOP20 is sold in SOP20 (the datasheet lists TSSOP20/SOP20/DIP20 together unde"
        ],
        "pages_sent": 193,
        "cost_usd": 0.2303,
        "at": "2026-10-27T08:01:06"
      },
      "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": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc12h1k16-36i-sop20.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "cf50d52ecf878a384e789b7118572148d765d450e2008064111f8f18fa33d45e",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc12h1k16-36i-sop20-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "0c2dead8de309b34494554dbb91b79e2ad6df28b353507436b5978d322380b80",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "SOP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    },
    "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": "Operating voltage",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 898,
          "source": "datasheet"
        },
        {
          "name": "VDD to ground voltage",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 898,
          "source": "datasheet"
        },
        {
          "name": "I/O port to ground voltage",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 898,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 898,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 898,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc12h1k16-36i-sop20"
  ],
  "discovery_pitch": "STC12H1K16-36I-SOP20 (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-sop20.kicad_sym",
    "stc12h1k16-36i-sop20.kicad_mod",
    "stc12h1k16-36i-sop20.glb",
    "stc12h1k16-36i-sop20.step",
    "stc12h1k16-36i-sop20.lbr",
    "docs/hero.png",
    "docs/stc12h1k16-36i-sop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc12h1k16-36i-sop20-hero.glb",
    "stc12h1k16-36i-sop20-hero.overlay.json",
    "stc12h1k16-36i-sop20-etched.glb",
    "stc12h1k16-36i-sop20-etched.step"
  ],
  "visibility": "public",
  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "org": "adom"
}