main
Ray Publish 0.1.0 e002cc9
{
  "slug": "stc12c5608ad-35i-sop20",
  "version": "0.1.0",
  "type": "component",
  "description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stc12c5608ad-35i-sop20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stc12c5608ad-35i-sop20.kicad_sym",
    "stc12c5608ad-35i-sop20.kicad_mod",
    "stc12c5608ad-35i-sop20.glb",
    "stc12c5608ad-35i-sop20.step",
    "stc12c5608ad-35i-sop20.lbr",
    "docs/hero.png",
    "docs/stc12c5608ad-35i-sop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc12c5608ad-35i-sop20-hero.glb",
    "stc12c5608ad-35i-sop20-hero.overlay.json"
  ],
  "component": {
    "mpn": "STC12C5608AD-35I-SOP20",
    "manufacturer": "STC Micro",
    "package": "SOIC-20-300mil",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/a436178e6f274d32957c267bb6b02700.pdf",
    "parts": {
      "symbol": "stc12c5608ad-35i-sop20.kicad_sym",
      "footprint": "stc12c5608ad-35i-sop20.kicad_mod",
      "model_3d": "stc12c5608ad-35i-sop20-hero.glb",
      "model_3d_plain": "stc12c5608ad-35i-sop20.glb",
      "model_3d_step": "stc12c5608ad-35i-sop20-etched.step",
      "model_3d_step_plain": "stc12c5608ad-35i-sop20.step",
      "lbr": "stc12c5608ad-35i-sop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C8698"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T09:11:29Z",
      "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 input: holding RST high for at least 24 clock cycles plus 10 us resets the MCU, and after RST is pulled low the MCU starts executing from address 0000H."
      },
      {
        "number": "2",
        "name": "P3.0/RxD",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[0] that also serves as the serial port RxD receive input, and P3.0 falling edge can set RI and wake the MCU from power-down mode when enabled."
      },
      {
        "number": "3",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[1] that also serves as the serial port TxD transmit output."
      },
      {
        "number": "4",
        "name": "XTAL2",
        "type": "output",
        "description": "Output of the internal clock circuit inverting amplifier for the external crystal; it may be left floating when an external clock is driven into XTAL1."
      },
      {
        "number": "5",
        "name": "XTAL1",
        "type": "input",
        "description": "Input to the internal clock circuit inverting amplifier for one side of the external crystal, and the clock input when an external clock source is used."
      },
      {
        "number": "6",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[2] that also serves as external interrupt 0, triggered by a falling edge or low level, and can wake the MCU from power-down mode."
      },
      {
        "number": "7",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[3] that also serves as external interrupt 1, triggered by a falling edge or low level, and can wake the MCU from power-down mode."
      },
      {
        "number": "8",
        "name": "P3.4/T0/ECI",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[4] that also serves as the timer/counter 0 external input T0 and the PCA counter external pulse input ECI."
      },
      {
        "number": "9",
        "name": "P3.5/T1/PCA1/PWM1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[5] that also serves as the timer/counter 1 external input T1, PCA1 output and PWM1 output."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Power supply negative terminal, connected to ground."
      },
      {
        "number": "11",
        "name": "P3.7/PCA0/PWM0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT3[7] that also serves as the PCA0 programmable array output and PWM0 output."
      },
      {
        "number": "12",
        "name": "P1.0/ADC0/CLKOUT0",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[0] that also serves as ADC input channel 0 and, when T0CLKO is set in WAKE_CLKO, the timer 0 clock output CLKOUT0."
      },
      {
        "number": "13",
        "name": "P1.1/ADC1/CLKOUT1",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[1] that also serves as ADC input channel 1 and, when T1CLKO is set in WAKE_CLKO, the timer 1 clock output CLKOUT1."
      },
      {
        "number": "14",
        "name": "P1.2/ADC2",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[2] that also serves as ADC input channel 2; when used as an ADC input it should first be set to open-drain or high-impedance input mode."
      },
      {
        "number": "15",
        "name": "P1.3/ADC3",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[3] that also serves as ADC input channel 3; when used as an ADC input it should first be set to open-drain or high-impedance input mode."
      },
      {
        "number": "16",
        "name": "P1.4/ADC4/SS",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[4] that also serves as ADC input channel 4 and the SPI slave select signal SS."
      },
      {
        "number": "17",
        "name": "P1.5/ADC5/MOSI",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[5] that also serves as ADC input channel 5 and the SPI master-out slave-in signal MOSI."
      },
      {
        "number": "18",
        "name": "P1.6/ADC6/MISO",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[6] that also serves as ADC input channel 6 and the SPI master-in slave-out signal MISO."
      },
      {
        "number": "19",
        "name": "P1.7/ADC7/SCLK",
        "type": "bidirectional",
        "description": "Standard I/O port PORT1[7] that also serves as ADC input channel 7 and the SPI serial clock signal SCLK."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive power supply pin; the datasheet's part-number voltage code C is given as 5.5V~3.5V."
      }
    ],
    "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 pinout is taken from the SOP20/DIP20/TSSOP20 column of the STC12C5620AD family pin table (page 2; Ports P0.0-P0.3 and P2.0-P2.7 have no SOP20 pin number in the pin table (only LQFP32/SOP32/SOP28 val; The package is printed as SOP20 in the datasheet. The 300mil body width given in the hint is not sta"
        ],
        "pages_sent": 92,
        "cost_usd": 0.0194,
        "at": "2026-11-13T09:11:13"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/a436178e6f274d32957c267bb6b02700.pdf",
        "pages": 449,
        "sha256": "05a166d7771d925a",
        "source_tier": "lcsc"
      },
      "cad": "land: KiCad official (CC-BY-SA 4.0); 3D: generated from the datasheet",
      "model_3d_generated": {
        "generator": "factory/gen_pkg3d.py",
        "family": "SOIC",
        "height_mm": 2.515,
        "height_basis": "datasheet A, nominal",
        "standoff_mm": 0.15,
        "standoff_basis": "family nominal (no datasheet A1 read)",
        "lead_width_mm": 0.36,
        "lead_width_basis": "default: 0.6 x pad width across the lead, at most 0.45 x pitch 1.27 mm; a tab 0.9 x its width (no datasheet b read)",
        "lead_thickness_mm": 0.2,
        "lead_thickness_basis": "default for pitch 1.27 mm, height 2.515 mm (no datasheet c read)"
      },
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stc12c5608ad-35i-sop20.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.306,
          12.7,
          2.515
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "0e47e2f965766c369ab2c261f078e0a2edee09b4936affcdb1e57fbef2b1785e",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc12c5608ad-35i-sop20-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.306,
          12.7,
          2.515
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "607c356efbbddac0272d7b7ee25196f670ae0a451f93e5227d77b4f0e2724e13",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SOP-20",
      "source_page": 26,
      "D": {
        "nom_mm": 12.7,
        "range_mm": [
          12.5,
          12.9
        ]
      },
      "E1": {
        "nom_mm": 7.5,
        "range_mm": [
          7.45,
          7.55
        ]
      },
      "E": {
        "nom_mm": 10.306,
        "range_mm": [
          10.206,
          10.406
        ]
      },
      "e": {
        "nom_mm": 1.27,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 2.515,
        "range_mm": [
          2.465,
          2.565
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stc12c5608ad-35i-sop20.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}