main
Ray Set visibility: public 95b0f69 4d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "ai8h2k12u-45i-tssop20",
  "title": "AI8H2K12U-45I-TSSOP20",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), TSSOP-20. 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",
    "ai8h2k12u-45i-tssop20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "AI8H2K12U-45I-TSSOP20",
    "manufacturer": "STC Micro",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/5837d295c254932a9e6a02748217019f.pdf",
    "parts": {
      "symbol": "ai8h2k12u-45i-tssop20.kicad_sym",
      "footprint": "ai8h2k12u-45i-tssop20.kicad_mod",
      "model_3d": "ai8h2k12u-45i-tssop20-hero.glb",
      "model_3d_plain": "ai8h2k12u-45i-tssop20-etched.glb",
      "model_3d_step": "ai8h2k12u-45i-tssop20-etched.step",
      "model_3d_step_plain": "ai8h2k12u-45i-tssop20.step",
      "lbr": "ai8h2k12u-45i-tssop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C42371137"
    },
    "distributor_check": {
      "checked_at": "2026-11-07T00:44:31Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "General-purpose I/O port P1.4; supports quasi-bidirectional, push-pull, open-drain and high-impedance input modes."
      },
      {
        "number": "2",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "General-purpose I/O port P1.5; supports quasi-bidirectional, push-pull, open-drain and high-impedance input modes."
      },
      {
        "number": "3",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "General-purpose I/O port P1.6; an external crystal can be fitted on P1.6/P1.7."
      },
      {
        "number": "4",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "General-purpose I/O port P1.7; an external crystal can be fitted on P1.6/P1.7."
      },
      {
        "number": "5",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "General-purpose I/O port P1.3."
      },
      {
        "number": "6",
        "name": "UCap",
        "type": "passive",
        "description": "UCap pin, connected to an external capacitor (0.1u shown in the reference schematic)."
      },
      {
        "number": "7",
        "name": "P5.4",
        "type": "bidirectional",
        "description": "P5.4 I/O, default I/O function, configurable as active-low reset nRST; drives MCU_VCC power control in the auto power-cycle ISP circuit."
      },
      {
        "number": "8",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive power supply pin."
      },
      {
        "number": "9",
        "name": "Vref+",
        "type": "power_in",
        "description": "Reference supply pin (VRef+), wired to Vcc in the reference schematic."
      },
      {
        "number": "10",
        "name": "Gnd",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "11",
        "name": "D-/P3.0",
        "type": "bidirectional",
        "description": "USB D- data line, shared with P3.0 (RxD); used for ISP download and debug interface."
      },
      {
        "number": "12",
        "name": "D+/P3.1",
        "type": "bidirectional",
        "description": "USB D+ data line, shared with P3.1 (TxD); used for ISP download and debug interface."
      },
      {
        "number": "13",
        "name": "P3.2",
        "type": "bidirectional",
        "description": "General-purpose I/O port P3.2; pulled low at power-up together with P3.0/P3.1 selects USB ISP download mode."
      },
      {
        "number": "14",
        "name": "P3.3",
        "type": "bidirectional",
        "description": "General-purpose I/O port P3.3."
      },
      {
        "number": "15",
        "name": "P3.4",
        "type": "bidirectional",
        "description": "General-purpose I/O port P3.4; shown as push-pull output in the dual-UART schematic."
      },
      {
        "number": "16",
        "name": "P3.5",
        "type": "bidirectional",
        "description": "General-purpose I/O port P3.5; outputs low at power-up to keep MCU_VCC powered in the auto power-cycle ISP circuit."
      },
      {
        "number": "17",
        "name": "RxD/P3.6",
        "type": "bidirectional",
        "description": "P3.6 I/O, UART1 receive (RxD), second serial port for communication."
      },
      {
        "number": "18",
        "name": "TxD/P3.7",
        "type": "bidirectional",
        "description": "P3.7 I/O, UART1 transmit (TxD), second serial port for communication."
      },
      {
        "number": "19",
        "name": "TxD2/P1.1",
        "type": "bidirectional",
        "description": "P1.1 I/O, UART2 transmit (TxD2)."
      },
      {
        "number": "20",
        "name": "RxD2/P1.0",
        "type": "bidirectional",
        "description": "P1.0 I/O, UART2 receive (RxD2)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text+vision",
        "consensus_model": "claude-opus-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Pin-number assignment is taken from the 'USB-2UART TSSOP20' reference schematic on page 156, which i; The datasheet text gives no electrical limits for individual pins here. UCap and Vref+ functions are",
          "vision extraction: provenance cannot be text-verified; needs consensus"
        ],
        "pages_sent": 123,
        "cost_usd": 3.4145,
        "at": "2026-11-07T00:44:22"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/5837d295c254932a9e6a02748217019f.pdf",
        "pages": 2160,
        "sha256": "3d1a528ec8100d28",
        "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": "ai8h2k12u-45i-tssop20.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-11-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ai8h2k12u-45i-tssop20-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9c99246b67fe11130a0d2970c5d0dba559f6758b5950f1037b2e3ea199c1b93e",
        "checked": "2026-11-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "TSSOP-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": 1021,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "3d1a528ec8100d28e94a4be19cc35c37f694fab01860bd4c1637210bcbd20771"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "3d1a528ec8100d28e94a4be19cc35c37f694fab01860bd4c1637210bcbd20771",
      "rows": [
        {
          "name": "存储温度",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 1826,
          "source": "datasheet"
        },
        {
          "name": "工作温度",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 1826,
          "source": "datasheet"
        },
        {
          "name": "工作电压",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1826,
          "source": "datasheet"
        },
        {
          "name": "VDD 对地电压",
          "symbol": "VDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1826,
          "source": "datasheet"
        },
        {
          "name": "I/O 口对地电压",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 1826,
          "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": 1827,
          "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": 1827,
          "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": 1827,
          "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": 1827,
          "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": 1827,
          "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": 1827,
          "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": 1827,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "ai8h2k12u-45i-tssop20"
  ],
  "discovery_pitch": "AI8H2K12U-45I-TSSOP20 (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",
    "ai8h2k12u-45i-tssop20.kicad_sym",
    "ai8h2k12u-45i-tssop20.kicad_mod",
    "ai8h2k12u-45i-tssop20.glb",
    "ai8h2k12u-45i-tssop20.step",
    "ai8h2k12u-45i-tssop20.lbr",
    "docs/hero.png",
    "docs/ai8h2k12u-45i-tssop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ai8h2k12u-45i-tssop20-hero.glb",
    "ai8h2k12u-45i-tssop20-hero.overlay.json",
    "ai8h2k12u-45i-tssop20-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}