main
Ray Publish 0.1.2 1a68370
{
  "slug": "stc12c5204ad-35i-tssop20",
  "version": "0.1.2",
  "type": "component",
  "description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc12c5204ad-35i-tssop20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc12c5204ad-35i-tssop20.kicad_sym",
    "stc12c5204ad-35i-tssop20.kicad_mod",
    "stc12c5204ad-35i-tssop20.glb",
    "stc12c5204ad-35i-tssop20.step",
    "stc12c5204ad-35i-tssop20.lbr",
    "docs/hero.png",
    "docs/stc12c5204ad-35i-tssop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc12c5204ad-35i-tssop20-hero.glb",
    "stc12c5204ad-35i-tssop20-hero.overlay.json",
    "stc12c5204ad-35i-tssop20-etched.glb",
    "stc12c5204ad-35i-tssop20-etched.step"
  ],
  "component": {
    "mpn": "STC12C5204AD-35I-TSSOP20",
    "manufacturer": "STC Micro",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/437272ccbb6744f0a7fa4052b5354a08.pdf",
    "parts": {
      "symbol": "stc12c5204ad-35i-tssop20.kicad_sym",
      "footprint": "stc12c5204ad-35i-tssop20.kicad_mod",
      "model_3d": "stc12c5204ad-35i-tssop20-hero.glb",
      "model_3d_plain": "stc12c5204ad-35i-tssop20.glb",
      "model_3d_step": "stc12c5204ad-35i-tssop20-etched.step",
      "model_3d_step_plain": "stc12c5204ad-35i-tssop20.step",
      "lbr": "stc12c5204ad-35i-tssop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C2939629"
    },
    "distributor_check": {
      "checked_at": "2026-11-08T00:58:06Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RST",
        "type": "input",
        "description": "Reset pin; a high level held for at least 24 clocks plus 10us resets the MCU, and it restarts from 0000H when pulled low."
      },
      {
        "number": "2",
        "name": "P3.0/RxD",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[0] or UART serial data receive input RxD."
      },
      {
        "number": "3",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[1] or UART serial data transmit output TxD."
      },
      {
        "number": "4",
        "name": "XTAL2",
        "type": "output",
        "description": "Output of the internal inverting oscillator amplifier to the crystal; may be left floating when an external clock is fed into XTAL1."
      },
      {
        "number": "5",
        "name": "XTAL1",
        "type": "input",
        "description": "Input of the internal inverting oscillator amplifier to the crystal, or the external clock input when an external clock source is used."
      },
      {
        "number": "6",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[2] or external interrupt 0 (falling-edge or low-level triggered)."
      },
      {
        "number": "7",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[3] or external interrupt 1 (falling-edge or low-level triggered)."
      },
      {
        "number": "8",
        "name": "CLKOUT0/ECI/T0/P3.4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[4], Timer0 external input, PCA counter external pulse input ECI, or Timer0 clock output CLKOUT0."
      },
      {
        "number": "9",
        "name": "P3.5/T1/CCP1/CLKOUT1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[5], Timer1 external input, PCA CCP1 capture/high-speed pulse/PWM, or Timer1 clock output CLKOUT1."
      },
      {
        "number": "10",
        "name": "Gnd",
        "type": "power_in",
        "description": "Power supply negative terminal, connected to ground."
      },
      {
        "number": "11",
        "name": "P3.7/CCP0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[7] or PCA CCP0 external signal capture, high-speed pulse output and PWM output."
      },
      {
        "number": "12",
        "name": "P1.0/ADC0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[0] or ADC input channel 0 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "13",
        "name": "P1.1/ADC1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[1] or ADC input channel 1 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "14",
        "name": "P1.2/ADC2/EX_LVD/RST2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[2], ADC input channel 2, external low-voltage-detect interrupt/comparator, or second reset function pin RST2 (1.33V threshold)."
      },
      {
        "number": "15",
        "name": "P1.3/ADC3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[3] or ADC input channel 3 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "16",
        "name": "P1.4/ADC4",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[4] or ADC input channel 4 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "17",
        "name": "P1.5/ADC5",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[5] or ADC input channel 5 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "18",
        "name": "P1.6/ADC6",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[6] or ADC input channel 6 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "19",
        "name": "P1.7/ADC7",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[7] or ADC input channel 7 (set to open-drain or input-only mode when used as ADC)."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Power supply positive terminal; the STC12C5201AD series operates from 5.5V to 4.0V."
      }
    ],
    "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",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet never draws a package named TSSOP-20 for the STC12C5201AD series. The 20-pin diagram o; The 20-pin diagram puts P1.4 and P1.3 at pins 16 and 15, but the pin table row for P1.3 shows the 20; The datasheet text says RST resets on a high level. It does not say whether RST is a plain input, so",
          "2/20 pins cited to the wrong page (name found elsewhere): ['4:XTAL2@p30', '5:XTAL1@p30']"
        ],
        "pages_sent": 134,
        "cost_usd": 1.4324,
        "at": "2026-11-08T00:57:59"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/437272ccbb6744f0a7fa4052b5354a08.pdf",
        "pages": 537,
        "sha256": "f1030df96ceb381f",
        "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": "stc12c5204ad-35i-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-11-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc12c5204ad-35i-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "1e0c1d89f457d2938e88f66277a97231ebe13dcf103df983bba6e5672c29a0b5",
        "checked": "2026-11-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "STC12C5204AD-35I-TSSOP20",
  "brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "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",
        "page": 166,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "f1030df96ceb381f52d417d1d5d9c17d3d7dbca105f743af0cc7e2dabc665fef"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "f1030df96ceb381f52d417d1d5d9c17d3d7dbca105f743af0cc7e2dabc665fef",
      "rows": [
        {
          "name": "Operating Voltage",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 3.3,
          "typ": 5,
          "max": 5.5,
          "conditions": "",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (I)",
          "symbol": "TA",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "TST",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "DC power supply (5V)",
          "symbol": "VDD - VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Input Low (P0,P1,P2,P3)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "5V",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Input High (P0,P1,P2,P3)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Input High (RESET)",
          "symbol": "VIH2",
          "kind": "electrical",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current (P0,P1,P2,P3)",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "Vpin=0V",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Operating Current",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 20,
          "conditions": "5V",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Sourcing Current for output high (P0,P1,P2,P3) (Quasi-output)",
          "symbol": "IOH1",
          "kind": "electrical",
          "unit": "uA",
          "min": 150,
          "typ": 230,
          "max": null,
          "conditions": "5V",
          "source_page": 489,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": 100,
          "typ": 270,
          "max": 600,
          "conditions": "Vpin=2.0V",
          "source_page": 489,
          "source": "datasheet"
        }
      ]
    }
  },
  "discovery_triggers": [
    "stc12c5204ad-35i-tssop20"
  ],
  "discovery_pitch": "STC12C5204AD-35I-TSSOP20 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}