main
Ray Publish 0.1.1 170c519
{
  "slug": "stc12h1k28-36i-sop28",
  "version": "0.1.1",
  "type": "component",
  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc12h1k28-36i-sop28",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc12h1k28-36i-sop28.kicad_sym",
    "stc12h1k28-36i-sop28.kicad_mod",
    "stc12h1k28-36i-sop28.glb",
    "stc12h1k28-36i-sop28.step",
    "stc12h1k28-36i-sop28.lbr",
    "docs/hero.png",
    "docs/stc12h1k28-36i-sop28-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc12h1k28-36i-sop28-hero.glb",
    "stc12h1k28-36i-sop28-hero.overlay.json",
    "stc12h1k28-36i-sop28-etched.glb",
    "stc12h1k28-36i-sop28-etched.step"
  ],
  "component": {
    "mpn": "STC12H1K28-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": "stc12h1k28-36i-sop28.kicad_sym",
      "footprint": "stc12h1k28-36i-sop28.kicad_mod",
      "model_3d": "stc12h1k28-36i-sop28-hero.glb",
      "model_3d_plain": "stc12h1k28-36i-sop28.glb",
      "model_3d_step": "stc12h1k28-36i-sop28-etched.step",
      "model_3d_step_plain": "stc12h1k28-36i-sop28.step",
      "lbr": "stc12h1k28-36i-sop28.lbr"
    },
    "distributor_links": {
      "lcsc": "C22472730"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T08:36:57Z",
      "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 and positive pulse output)."
      },
      {
        "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 and negative pulse output)."
      },
      {
        "number": "3",
        "name": "P5.4/RST/MCLKO",
        "type": "bidirectional",
        "description": "Standard I/O port P5.4, which can be configured in ISP as the reset input (active low) or used as the divided master clock output MCLKO."
      },
      {
        "number": "4",
        "name": "P3.0/RxD/INT4",
        "type": "bidirectional",
        "description": "Standard I/O port P3.0 with alternate functions UART1 receive (RxD) and external interrupt 4 (INT4), and it is also the ISP download/emulation port."
      },
      {
        "number": "5",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "Standard I/O port P3.1 with alternate function UART1 transmit (TxD), and it is also the ISP download/emulation port."
      },
      {
        "number": "6",
        "name": "P5.6/XTALO/RxD2_2/MCLKO_2",
        "type": "bidirectional",
        "description": "Standard I/O port P5.6 with alternate functions external crystal output (XTALO), UART2 receive (RxD2_2) and divided master clock output (MCLKO_2)."
      },
      {
        "number": "7",
        "name": "P5.7/XTALI/TxD2_2",
        "type": "bidirectional",
        "description": "Standard I/O port P5.7 with alternate functions external crystal/external clock input (XTALI) and UART2 transmit (TxD2_2)."
      },
      {
        "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 (INT0), 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 (INT1), SPI master-in slave-out (MISO_4) and I2C data line (SDA_4)."
      },
      {
        "number": "10",
        "name": "P3.4/T0/T1CLKO/MOSI_4/PWMETI/PWMETI2/ECI",
        "type": "bidirectional",
        "description": "Standard I/O port P3.4 with alternate functions timer 0 external clock input (T0), timer 1 clock output (T1CLKO), 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 (T1), timer 0 clock output (T0CLKO), UART1 receive (RxD_2), SPI slave select (SS_4), PWM6 capture/pulse I/O 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 PWM3 negative capture/pulse I/O (PWM3N_2)."
      },
      {
        "number": "14",
        "name": "Gnd/AGnd",
        "type": "power_in",
        "description": "Ground pin, shared with the ADC ground (AGnd)."
      },
      {
        "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 PWM4 positive capture/pulse I/O (PWM4P_2)."
      },
      {
        "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 (PWM external fault detection input)."
      },
      {
        "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 I/O 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 (RxD2), timer 3 clock output (T3CLKO) and PWM1 positive capture/pulse I/O (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 (TxD2), timer 4 clock output (T4CLKO) and PWM1 negative capture/pulse I/O (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 (T2) and PWM2 positive capture/pulse I/O (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 (T2CLKO) and PWM2 negative capture/pulse I/O (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 (SS) and PWM3 positive capture/pulse I/O (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 MOSI and PWM3 negative capture/pulse I/O (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 PWM4 positive capture/pulse I/O (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 PWM4 negative capture/pulse I/O (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 capture/pulse I/O 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 PWM1 negative capture/pulse I/O (PWM1N_2)."
      },
      {
        "number": "28",
        "name": "Vcc/AVcc/ADC_VRef+",
        "type": "power_in",
        "description": "Power supply pin (1.9V to 5.5V operating range), also the ADC supply (AVcc) and ADC external reference input (ADC_VRef+), which must be tied to a reference of 2.4V to MCU-VCC 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 STC12H1K28-36I-SOP28 is a SOP28 package; the datasheet pinout for SOP28 (page 31, section 2."
        ],
        "pages_sent": 193,
        "cost_usd": 0.2339,
        "at": "2026-10-27T08:36:08"
      },
      "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": "stc12h1k28-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ecc34510e8f74b6103a72c2f24133ad80006c738972a56531d1221b277fcecdb",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc12h1k28-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "3e23b12c7440b87d41667fccb11c49cdc4b856a09aa10758757e49796cf2fe33",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "STC12H1K28-36I-SOP28",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "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": "存储温度 (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"
        },
        {
          "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 对地电压 (VDD to ground voltage)",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 898,
          "source": "datasheet"
        },
        {
          "name": "I/O 口对地电压 (I/O to ground voltage)",
          "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"
        }
      ]
    }
  },
  "discovery_triggers": [
    "stc12h1k28-36i-sop28"
  ],
  "discovery_pitch": "STC12H1K28-36I-SOP28 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}