main
Ray Set visibility: public e4cd8ef 11h ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc8h1k28-36i-sop28",
  "title": "STC8H1K28-36I-SOP28",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), SOP-28. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc8h1k28-36i-sop28",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC8H1K28-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/a8d48f5a5d6882ba282e36788e4bfb6e.pdf",
    "parts": {
      "symbol": "stc8h1k28-36i-sop28.kicad_sym",
      "footprint": "stc8h1k28-36i-sop28.kicad_mod",
      "model_3d": "stc8h1k28-36i-sop28-hero.glb",
      "model_3d_plain": "stc8h1k28-36i-sop28-etched.glb",
      "model_3d_step": "stc8h1k28-36i-sop28-etched.step",
      "model_3d_step_plain": "stc8h1k28-36i-sop28.step",
      "lbr": "stc8h1k28-36i-sop28.lbr"
    },
    "distributor_links": {
      "lcsc": "C20611530"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T00:23:08Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P2.6",
        "type": "bidirectional",
        "description": "Standard I/O port P2.6 with PWM4P_2 capture input and pulse output positive channel; the port is high-impedance input after power-up and must be configured before use."
      },
      {
        "number": "2",
        "name": "P2.7",
        "type": "bidirectional",
        "description": "Standard I/O port P2.7 with PWM4N_2 pulse output negative channel; the port is high-impedance input after power-up and must be configured before use."
      },
      {
        "number": "3",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "Standard I/O port P1.0 with ADC0 analog input, RxD2 serial 2 receive and PWM1P capture/pulse output; high-impedance input after power-up."
      },
      {
        "number": "4",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "Standard I/O port P1.1 with ADC1 analog input, TxD2 serial 2 transmit and PWM1N pulse output; high-impedance input after power-up."
      },
      {
        "number": "5",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Standard I/O port P1.2 with ADC2 analog input, SPI SS, T2 external clock input and PWM2P; high-impedance input after power-up."
      },
      {
        "number": "6",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Standard I/O port P1.3 with ADC3 analog input, SPI MOSI, T2CLKO clock output and PWM2N pulse output; high-impedance input after power-up."
      },
      {
        "number": "7",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Standard I/O port P1.4 with ADC4 analog input, SPI MISO, I2C SDA and PWM3P; high-impedance input after power-up."
      },
      {
        "number": "8",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Standard I/O port P1.5 with ADC5 analog input, SPI SCLK, I2C SCL and PWM3N pulse output; high-impedance input after power-up."
      },
      {
        "number": "9",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Standard I/O port P1.6 with ADC6 analog input, RxD_3 serial 1 receive, PWM4P, MCLKO_2 output and XTALO crystal output."
      },
      {
        "number": "10",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Standard I/O port P1.7 with ADC7 analog input, TxD_3 serial 1 transmit, PWM4N, PWM5_2 and XTALI crystal/external clock input."
      },
      {
        "number": "11",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "Standard I/O port P5.4 which can be set as active-low reset input nRST; defaults to I/O function and requires reconfiguration to reset function via ISP."
      },
      {
        "number": "12",
        "name": "Vcc",
        "type": "power_in",
        "description": "Power supply pin; the datasheet operating voltage range is 1.9V to 5.5V."
      },
      {
        "number": "13",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage input which must be connected to an external reference of 2.4V to MCU-VCC; left floating it leaks current."
      },
      {
        "number": "14",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin for the device and ADC ground AGnd."
      },
      {
        "number": "15",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "Standard I/O port P3.0 with RxD serial 1 receive and INT4 external interrupt; weak pull-up/quasi-bidirectional after power-up and used for download/emulation."
      },
      {
        "number": "16",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "Standard I/O port P3.1 with TxD serial 1 transmit; weak pull-up/quasi-bidirectional after power-up and used for download/emulation."
      },
      {
        "number": "17",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "Standard I/O port P3.2 with INT0 external interrupt 0, SPI SCLK_4, I2C SCL_4 and PWM external trigger inputs."
      },
      {
        "number": "18",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "Standard I/O port P3.3 with INT1 external interrupt 1, SPI MISO_4, I2C SDA_4, PWM4N_4 and PWM7_2."
      },
      {
        "number": "19",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port P3.4 with T0 timer 0 external clock input, T1CLKO output, SPI MOSI_4, PWM outputs and CMPO comparator output."
      },
      {
        "number": "20",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "Standard I/O port P3.5 with T1 timer 1 external clock input, T0CLKO output, SPI SS_4 and PWMA/PWMB fault detection inputs."
      },
      {
        "number": "21",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "Standard I/O port P3.6 with INT2 external interrupt 2, RxD_2 serial receive and CMP- comparator negative input."
      },
      {
        "number": "22",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Standard I/O port P3.7 with INT3 external interrupt 3, TxD_2 serial transmit and CMP+ comparator positive input."
      },
      {
        "number": "23",
        "name": "P2.0",
        "type": "bidirectional",
        "description": "Standard I/O port P2.0 with PWM1P_2 capture/pulse output and PWM5 channel."
      },
      {
        "number": "24",
        "name": "P2.1",
        "type": "bidirectional",
        "description": "Standard I/O port P2.1 with PWM1N_2 pulse output and PWM6 channel."
      },
      {
        "number": "25",
        "name": "P2.2",
        "type": "bidirectional",
        "description": "Standard I/O port P2.2 with PWM2P_2, PWM7 and SPI SS_2 functions."
      },
      {
        "number": "26",
        "name": "P2.3",
        "type": "bidirectional",
        "description": "Standard I/O port P2.3 with PWM2N_2 pulse output, PWM8 and SPI MOSI_2 functions."
      },
      {
        "number": "27",
        "name": "P2.4",
        "type": "bidirectional",
        "description": "Standard I/O port P2.4 with PWM3P_2, SPI MISO_2 and I2C SDA_2 functions."
      },
      {
        "number": "28",
        "name": "P2.5",
        "type": "bidirectional",
        "description": "Standard I/O port P2.5 with PWM3N_2 pulse output, SPI SCLK_2 and I2C SCL_2 functions."
      }
    ],
    "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 STC8H1K28-36I-SOP28 is not directly shown as a pinout in the provided text: the datasheet gi",
          "10/28 pins cited to the wrong page (name found elsewhere): ['1:P2.6@p250', '2:P2.7@p250', '21:P3.6@p250', '22:P3.7@p250']"
        ],
        "pages_sent": 111,
        "cost_usd": 0.2079,
        "at": "2026-10-27T00:22:50"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/a8d48f5a5d6882ba282e36788e4bfb6e.pdf",
        "pages": 2180,
        "sha256": "046aea020e4685f3",
        "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": "stc8h1k28-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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "ecc34510e8f74b6103a72c2f24133ad80006c738972a56531d1221b277fcecdb",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc8h1k28-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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9cdfb42876ea5c3ae7c819b63c05bf0b27225fb124a2b094f2c7152ec97adb08",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "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": 1043,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "046aea020e4685f3aa61520dcb1844f7daa50091c51b0bc9a1bcb8d472f5e1fb"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "046aea020e4685f3aa61520dcb1844f7daa50091c51b0bc9a1bcb8d472f5e1fb",
      "rows": [
        {
          "name": "存储温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "工作温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "工作电压",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "VDD对地电压",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "I/O口对地电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "max printed as VDD+0.3",
          "source_page": 1851,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通I/O)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.18,
          "typ": null,
          "max": null,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃; 打开施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "输入高电平(普通I/O)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.09,
          "typ": null,
          "max": null,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃; 关闭施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "输入低电平",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.99,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃; 打开施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "输入低电平",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.07,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃; 关闭施密特触发",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "逻辑 0 输入电流",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃; 端口电压 0V",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "逻辑 1 到 0 的转移电流",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃; 端口电压 2.0V",
          "source_page": 1852,
          "source": "datasheet"
        },
        {
          "name": "I/O 口上拉电阻",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "KΩ",
          "min": 5.8,
          "typ": 5.9,
          "max": 6,
          "conditions": "VSS=0V, VDD=3.3V, 测试温度=25℃",
          "source_page": 1852,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc8h1k28-36i-sop28"
  ],
  "discovery_pitch": "STC8H1K28-36I-SOP28 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc8h1k28-36i-sop28.kicad_sym",
    "stc8h1k28-36i-sop28.kicad_mod",
    "stc8h1k28-36i-sop28.glb",
    "stc8h1k28-36i-sop28.step",
    "stc8h1k28-36i-sop28.lbr",
    "docs/hero.png",
    "docs/stc8h1k28-36i-sop28-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc8h1k28-36i-sop28-hero.glb",
    "stc8h1k28-36i-sop28-hero.overlay.json",
    "stc8h1k28-36i-sop28-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}