main
Ray Publish 0.1.1 a13fc3d
{
  "slug": "at89c2051-12pu",
  "version": "0.1.1",
  "type": "component",
  "description": "Microchip Tech MICROCHIP, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "at89c2051-12pu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "at89c2051-12pu.kicad_sym",
    "at89c2051-12pu.kicad_mod",
    "at89c2051-12pu.glb",
    "at89c2051-12pu.step",
    "at89c2051-12pu.lbr",
    "docs/hero.png",
    "docs/at89c2051-12pu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "at89c2051-12pu-hero.glb",
    "at89c2051-12pu-hero.overlay.json",
    "at89c2051-12pu-etched.glb"
  ],
  "component": {
    "mpn": "AT89C2051-12PU",
    "manufacturer": "Microchip Tech",
    "package": "DIP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "MICROCHIP",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/50457c73a99b43f9b2ed97c385bfb4d3.pdf",
    "parts": {
      "symbol": "at89c2051-12pu.kicad_sym",
      "footprint": "at89c2051-12pu.kicad_mod",
      "model_3d": "at89c2051-12pu-hero.glb",
      "model_3d_plain": "at89c2051-12pu-etched.glb",
      "model_3d_step": "at89c2051-12pu-etched.step",
      "model_3d_step_plain": "at89c2051-12pu.step",
      "lbr": "at89c2051-12pu.lbr"
    },
    "distributor_links": {
      "lcsc": "C150841",
      "digikey": "AT89C2051-12PU-ND",
      "mouser": "556-A89C205112PU"
    },
    "distributor_check": {
      "checked_at": "2026-11-11T02:39:57Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "AT89C2051-12PU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-A89C205112PU",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "RST/VPP",
        "type": "input",
        "description": "Reset input: holding RST high for two machine cycles while the oscillator runs resets the device, and RST is raised to 12 V to enable Flash programming."
      },
      {
        "number": "2",
        "name": "P3.0 (RXD)",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; alternate function RXD, the serial input port, and Port 3 output buffers can sink 20 mA."
      },
      {
        "number": "3",
        "name": "P3.1 (TXD)",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; alternate function TXD, the serial output port, and also the RDY/BSY output during programming."
      },
      {
        "number": "4",
        "name": "XTAL2",
        "type": "output",
        "description": "Output from the inverting oscillator amplifier; left unconnected when an external clock drives XTAL1."
      },
      {
        "number": "5",
        "name": "XTAL1",
        "type": "input",
        "description": "Input to the inverting oscillator amplifier and to the internal clock operating circuit."
      },
      {
        "number": "6",
        "name": "P3.2 (INT0)",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; alternate function INT0, external interrupt 0, and used as PROG during Flash programming."
      },
      {
        "number": "7",
        "name": "P3.3 (INT1)",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; alternate function INT1, external interrupt 1."
      },
      {
        "number": "8",
        "name": "P3.4 (T0)",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; alternate function T0, timer 0 external input (printed as \"TO\" on the pin diagram)."
      },
      {
        "number": "9",
        "name": "P3.5 (T1)",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; alternate function T1, timer 1 external input."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "11",
        "name": "P3.7",
        "type": "bidirectional",
        "description": "Port 3 bit with internal pull-up; general-purpose bidirectional I/O, output buffer can sink 20 mA."
      },
      {
        "number": "12",
        "name": "P1.0 (AIN0)",
        "type": "bidirectional",
        "description": "Port 1 bit that requires an external pull-up; serves as the positive input AIN0 of the on-chip analog comparator and can sink 20 mA."
      },
      {
        "number": "13",
        "name": "P1.1 (AIN1)",
        "type": "bidirectional",
        "description": "Port 1 bit that requires an external pull-up; serves as the negative input AIN1 of the on-chip analog comparator and can sink 20 mA."
      },
      {
        "number": "14",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Port 1 bit with internal pull-up; can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "15",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Port 1 bit with internal pull-up; can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "16",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Port 1 bit with internal pull-up; can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "17",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Port 1 bit with internal pull-up; can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "18",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Port 1 bit with internal pull-up; can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "19",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Port 1 bit with internal pull-up; can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Supply voltage; the DC characteristics specify VCC = 2.7 V to 6.0 V."
      }
    ],
    "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 explicit per-pin table for the 20-lead package. Pin numbers and names were take; The pin diagram on page 2 prints '(TO) P3.4'; the alternate function is T0 (timer 0 external input) ; Pin 1 is RST/VPP: its 12 V programming role is shown in the Flash programming section, not in the pi"
        ],
        "pages_sent": 19,
        "cost_usd": 0.0768,
        "at": "2026-11-11T02:39:42"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/50457c73a99b43f9b2ed97c385bfb4d3.pdf",
        "pages": 19,
        "sha256": "2ef3a172c794a432",
        "source_tier": "mfr"
      },
      "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": "at89c2051-12pu.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ca359c9b9e0ce94efcb6c96866513f659eef6517d629ace3c4a0a779f6fd57bb",
        "checked": "2026-11-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "at89c2051-12pu-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f257868096eb1c33e05f365464ff36699bd6f469b51aaff2bc4fe5d82805eb0d",
        "checked": "2026-11-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "20P3",
      "source_page": 17,
      "D": {
        "nom_mm": 25.908,
        "range_mm": [
          24.892,
          26.924
        ]
      },
      "E1": {
        "nom_mm": 6.604,
        "range_mm": [
          6.096,
          7.112
        ]
      },
      "E": {
        "nom_mm": 7.938,
        "range_mm": [
          7.62,
          8.255
        ]
      },
      "e": {
        "nom_mm": 2.54,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 5.334,
        "range_mm": [
          null,
          5.334
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "at89c2051-12pu.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}