main
Ray Publish 0.1.0 e672ba4 8d ago
{
  "slug": "stc8h1k17-36i-qfn20",
  "version": "0.1.0",
  "type": "component",
  "description": "STC Micro Microcontrollers (MCU/MPU/SOC), QFN-20-EP(3x3). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc8h1k17-36i-qfn20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc8h1k17-36i-qfn20.kicad_sym",
    "stc8h1k17-36i-qfn20.kicad_mod",
    "stc8h1k17-36i-qfn20.glb",
    "stc8h1k17-36i-qfn20.step",
    "stc8h1k17-36i-qfn20.lbr",
    "docs/hero.png",
    "docs/stc8h1k17-36i-qfn20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc8h1k17-36i-qfn20-hero.glb",
    "stc8h1k17-36i-qfn20-hero.overlay.json",
    "stc8h1k17-36i-qfn20-etched.glb"
  ],
  "component": {
    "mpn": "STC8H1K17-36I-QFN20",
    "manufacturer": "STC Micro",
    "package": "QFN-20-EP(3x3)",
    "pin_count": 21,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362111113416704",
    "parts": {
      "symbol": "stc8h1k17-36i-qfn20.kicad_sym",
      "footprint": "stc8h1k17-36i-qfn20.kicad_mod",
      "model_3d": "stc8h1k17-36i-qfn20-hero.glb",
      "model_3d_plain": "stc8h1k17-36i-qfn20-etched.glb",
      "model_3d_step": "stc8h1k17-36i-qfn20-etched.step",
      "model_3d_step_plain": "stc8h1k17-36i-qfn20.step",
      "lbr": "stc8h1k17-36i-qfn20.lbr"
    },
    "distributor_links": {
      "lcsc": "C915676"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T04:36:48Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "General-purpose I/O (quasi-bidirectional, push-pull, open-drain or high-impedance input mode); alternate functions are SCLK (SPI clock), SCL (I2C clock) and PWM3N (PWM3 complementary output)."
      },
      {
        "number": "2",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are XTALO (external crystal output), RxD_3 (UART1 receive), PWM4P (PWM4 capture/output) and MCLKO_2 (master clock divided output)."
      },
      {
        "number": "3",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are XTALI (external crystal/clock input), TxD_3 (UART1 transmit), PWM4N (PWM4 negative output) and PWM5_2."
      },
      {
        "number": "4",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "General-purpose I/O by default; can be set to the active-low reset pin nRST via ISP, and alternate functions are MCLKO (master clock output) and PWM6_2."
      },
      {
        "number": "5",
        "name": "Vcc",
        "type": "power_in",
        "description": "Power supply pin (AVcc also serves as the ADC supply); the family operating voltage is 1.9 V to 5.5 V."
      },
      {
        "number": "6",
        "name": "ADC_VRef+",
        "type": "input",
        "description": "ADC external reference voltage input, which must be driven by an external reference from 2.4 V up to MCU-VCC because a floating pin leaks current; it may be tied to VCC when accuracy requirements are low."
      },
      {
        "number": "7",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin (AGnd is the ADC ground)."
      },
      {
        "number": "8",
        "name": "P3.0",
        "type": "bidirectional",
        "description": "General-purpose I/O; after power-on it is in quasi-bidirectional/weak-pull-up state, with alternate functions RxD (UART1 receive), INT4 (external interrupt 4) and ADC8."
      },
      {
        "number": "9",
        "name": "P3.1",
        "type": "bidirectional",
        "description": "General-purpose I/O; after power-on it is in quasi-bidirectional/weak-pull-up state, with alternate functions TxD (UART1 transmit) and ADC9."
      },
      {
        "number": "10",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are INT0 (external interrupt 0), ADC10, SCLK_4, SCL_4, PWMETI and PWMETI2."
      },
      {
        "number": "11",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are INT1 (external interrupt 1), ADC11, MISO_4, SDA_4, PWM4N_4 and PWM7_2."
      },
      {
        "number": "12",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are T0 (timer 0 external clock), ADC12, T1CLKO, MOSI_4, PWM4P_4, PWM8_2 and CMPO (comparator output)."
      },
      {
        "number": "13",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are T1 (timer 1 external clock), ADC13, T0CLKO, SS_4, PWMFLT and PWMFLT2 (PWM fault detection inputs)."
      },
      {
        "number": "14",
        "name": "P3.6",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are INT2 (external interrupt 2, falling edge only), RxD_2 (UART1 receive), ADC14 and CMP- (comparator negative input)."
      },
      {
        "number": "15",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are INT3 (external interrupt 3, falling edge only), TxD_2 (UART1 transmit), and CMP+ (comparator positive input)."
      },
      {
        "number": "16",
        "name": "P1.0",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are ADC0 (analog input 0), RxD2 (UART2 receive) and PWM1P (PWM1 capture/output positive)."
      },
      {
        "number": "17",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are ADC4, MISO (SPI master input), SDA (I2C data) and PWM3P (PWM3 capture/output positive)."
      },
      {
        "number": "18",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are ADC3, MOSI (SPI master output), T2CLKO (timer 2 clock divided output) and PWM2N (PWM2 negative output)."
      },
      {
        "number": "19",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are ADC2, SS (SPI slave select), T2 (timer 2 external clock input) and PWM2P (PWM2 capture/output positive)."
      },
      {
        "number": "20",
        "name": "P1.1",
        "type": "bidirectional",
        "description": "General-purpose I/O; alternate functions are ADC1, TxD2 (UART2 transmit) and PWM1N (PWM1 negative output)."
      },
      {
        "number": "21",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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: Pinout is taken from the STC8H1K08 QFN20 pin table and listing that the datasheet shares with STC8H1; Pin-number mapping for QFN20 is inferred from the multi-column pin description table (TSSOP20 / QFN2; The package hint says QFN-20-EP(3x3) but the datasheet lists only 20 numbered pins for QFN20 and giv",
          "exposed pad 21 added from the footprint"
        ],
        "pages_sent": 111,
        "cost_usd": 0.9491,
        "at": "2026-10-19T04:34:31"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756362111113416704",
        "pages": 2180,
        "sha256": "046aea020e4685f3",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 21,
        "described": 21,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc8h1k17-36i-qfn20.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          3.0,
          3.0,
          0.52
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "0ee4e1082236390795238cd34b082d96efd160d6292c636cc40201a5a30cdc63",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc8h1k17-36i-qfn20-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          3.0,
          3.0,
          0.52
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "59641ed45fb47b74c1c9b75c7d7ebf894f59aea342a3f02f19cb2aa0e25b516e",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}