main
Ray Set visibility: public a75cd94 6d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stc12c5616ad-35i-sop20",
  "title": "STC12C5616AD-35I-SOP20",
  "brief": "STC Micro Microcontrollers (MCU/MPU/SOC), SOIC-20-300mil. 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",
    "stc12c5616ad-35i-sop20",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STC12C5616AD-35I-SOP20",
    "manufacturer": "STC Micro",
    "package": "SOIC-20-300mil",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882129757884416",
    "parts": {
      "symbol": "stc12c5616ad-35i-sop20.kicad_sym",
      "footprint": "stc12c5616ad-35i-sop20.kicad_mod",
      "model_3d": "stc12c5616ad-35i-sop20-hero.glb",
      "model_3d_plain": "stc12c5616ad-35i-sop20-etched.glb",
      "model_3d_step": "stc12c5616ad-35i-sop20-etched.step",
      "model_3d_step_plain": "stc12c5616ad-35i-sop20.step",
      "lbr": "stc12c5616ad-35i-sop20.lbr"
    },
    "distributor_links": {
      "lcsc": "C21462"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T17:34:33Z",
      "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 clocks plus 10 us puts the MCU into reset, and pulling it low ends reset and starts execution at 0000H."
      },
      {
        "number": "2",
        "name": "P3.0/RxD",
        "type": "bidirectional",
        "description": "Quasi-bidirectional standard I/O (PORT3[0]) that serves as the serial port receive data input RxD."
      },
      {
        "number": "3",
        "name": "P3.1/TxD",
        "type": "bidirectional",
        "description": "Quasi-bidirectional standard I/O (PORT3[1]) that serves as the serial port transmit data output TxD."
      },
      {
        "number": "4",
        "name": "XTAL2",
        "type": "output",
        "description": "Output of the internal inverting oscillator amplifier for the external crystal; it may be left floating when an external clock is applied to XTAL1."
      },
      {
        "number": "5",
        "name": "XTAL1",
        "type": "input",
        "description": "Input to the internal inverting oscillator amplifier for the external crystal, and the external clock input when a clock source is applied directly."
      },
      {
        "number": "6",
        "name": "P3.2/INT0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[2]) that is also external interrupt 0, triggered on a falling edge or low level."
      },
      {
        "number": "7",
        "name": "P3.3/INT1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[3]) that is also external interrupt 1, triggered on a falling edge or low level."
      },
      {
        "number": "8",
        "name": "P3.4/T0/ECI",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[4]) that also serves as the external input of Timer/Counter 0 (T0) and the external pulse input of the PCA counter (ECI)."
      },
      {
        "number": "9",
        "name": "P3.5/T1/PCA1/PWM1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT3[5]) that also serves as the external input of Timer/Counter 1 (T1), PCA output 1 and PWM output 1."
      },
      {
        "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 (PORT3[7]) that also serves as PCA output 0 and PWM output 0."
      },
      {
        "number": "12",
        "name": "P1.0/ADC0/CLKOUT0",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[0]) that also serves as ADC input channel 0 and, when enabled via T0CLKO, the Timer 0 clock output CLKOUT0; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "13",
        "name": "P1.1/ADC1/CLKOUT1",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[1]) that also serves as ADC input channel 1 and, when enabled via T1CLKO, the Timer 1 clock output CLKOUT1; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "14",
        "name": "P1.2/ADC2",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[2]) that also serves as ADC input channel 2; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "15",
        "name": "P1.3/ADC3",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[3]) that also serves as ADC input channel 3; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "16",
        "name": "P1.4/ADC4/SS",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[4]) that also serves as ADC input channel 4 and the SPI slave select SS; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "17",
        "name": "P1.5/ADC5/MOSI",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[5]) that also serves as ADC input channel 5 and the SPI master-out/slave-in line MOSI; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "18",
        "name": "P1.6/ADC6/MISO",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[6]) that also serves as ADC input channel 6 and the SPI master-in/slave-out line MISO; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "19",
        "name": "P1.7/ADC7/SCLK",
        "type": "bidirectional",
        "description": "Standard I/O (PORT1[7]) that also serves as ADC input channel 7 and the SPI serial clock SCLK; set to open-drain or high-impedance input before using it as an ADC input."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive power supply pin; the family operates from 5.5 V to 3.5 V per the datasheet's overview."
      }
    ],
    "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 datasheet has no SOP20 package drawing or dimensions; the SOP20 pin numbers come from the shared; The 20-pin pin diagram on page 2 is garbled in text extraction, so pin numbers were taken from the p; The datasheet describes the STC12C5620AD family and lists STC12C5616AD as a member; the SOP20 pinout",
          "2/20 pins cited to the wrong page (name found elsewhere): ['4:XTAL2@p28', '5:XTAL1@p28']"
        ],
        "pages_sent": 131,
        "cost_usd": 0.9705,
        "at": "2026-10-20T17:32:37"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882129757884416",
        "pages": 572,
        "sha256": "754c84a9d49c2e2d",
        "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": "stc12c5616ad-35i-sop20.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          12.8,
          2.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "59a10b341e6972b31d81802a048060326da627d8b92dcf4263064f4f62ec808e",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stc12c5616ad-35i-sop20-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          12.8,
          2.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "3a5b303151abfddd7d5a6ed0b4a66870fe971d93b9a6077f6d80ca59b7b17a7c",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STC Micro",
      "Package": "SOIC-20-300mil",
      "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": 172,
        "doc": "ds.pdf",
        "material": "PC"
      },
      "version": 1,
      "datasheet_sha256": "754c84a9d49c2e2d2c261c2ff3541bfe1e044d6d83d270f0ef42228f3b4b1932"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "754c84a9d49c2e2d2c261c2ff3541bfe1e044d6d83d270f0ef42228f3b4b1932",
      "rows": [
        {
          "name": "ICC Operating Current",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 20,
          "conditions": "5V",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Input Low Voltage (P0,P1,P2,P3)",
          "symbol": "VIL1",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "5V",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Input Low Voltage (RESET, XTAL1)",
          "symbol": "VIL2",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 1.5,
          "conditions": "5V",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Input High Voltage (P0,P1,P2,P3)",
          "symbol": "VIH1",
          "kind": "electrical",
          "unit": "V",
          "min": 2,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Input High Voltage (RESET)",
          "symbol": "VIH2",
          "kind": "electrical",
          "unit": "V",
          "min": 3,
          "typ": null,
          "max": null,
          "conditions": "5V",
          "source_page": 530,
          "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": 530,
          "source": "datasheet"
        },
        {
          "name": "Logic 0 input current (P0,P1,P2,P3)",
          "symbol": "IIL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": 18,
          "max": 50,
          "conditions": "Vpin=0V",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
          "symbol": "ITL",
          "kind": "electrical",
          "unit": "uA",
          "min": null,
          "typ": 270,
          "max": 600,
          "conditions": "Vpin=2.0V",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Operating Voltage",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 3.5,
          "typ": 5,
          "max": 5.5,
          "conditions": "",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (I)",
          "symbol": "TA",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "DC power supply (5V)",
          "symbol": "VDD - VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 6,
          "conditions": "",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Voltage on any pin",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.5,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 530,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "TST",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -55,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 530,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stc12c5616ad-35i-sop20"
  ],
  "discovery_pitch": "STC12C5616AD-35I-SOP20 (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",
    "stc12c5616ad-35i-sop20.kicad_sym",
    "stc12c5616ad-35i-sop20.kicad_mod",
    "stc12c5616ad-35i-sop20.glb",
    "stc12c5616ad-35i-sop20.step",
    "stc12c5616ad-35i-sop20.lbr",
    "docs/hero.png",
    "docs/stc12c5616ad-35i-sop20-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stc12c5616ad-35i-sop20-hero.glb",
    "stc12c5616ad-35i-sop20-hero.overlay.json",
    "stc12c5616ad-35i-sop20-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}