main
Ray Publish 0.1.1 5c3ba0c
{
  "slug": "at89c2051-24pu",
  "version": "0.1.1",
  "type": "component",
  "description": "Microchip Tech ATMEL & AVR, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "at89c2051-24pu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "at89c2051-24pu.kicad_sym",
    "at89c2051-24pu.kicad_mod",
    "at89c2051-24pu.glb",
    "at89c2051-24pu.step",
    "at89c2051-24pu.lbr",
    "docs/hero.png",
    "docs/at89c2051-24pu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "at89c2051-24pu-hero.glb",
    "at89c2051-24pu-hero.overlay.json",
    "at89c2051-24pu-etched.glb"
  ],
  "component": {
    "mpn": "AT89C2051-24PU",
    "manufacturer": "Microchip Tech",
    "package": "DIP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "ATMEL & AVR",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/50457c73a99b43f9b2ed97c385bfb4d3.pdf",
    "parts": {
      "symbol": "at89c2051-24pu.kicad_sym",
      "footprint": "at89c2051-24pu.kicad_mod",
      "model_3d": "at89c2051-24pu-hero.glb",
      "model_3d_plain": "at89c2051-24pu-etched.glb",
      "model_3d_step": "at89c2051-24pu-etched.step",
      "model_3d_step_plain": "at89c2051-24pu.step",
      "lbr": "at89c2051-24pu.lbr"
    },
    "distributor_links": {
      "lcsc": "C5363",
      "digikey": "AT89C2051-24PU-ND",
      "mouser": "556-A89C2051-24PU"
    },
    "distributor_check": {
      "checked_at": "2026-11-11T00:49:16Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "AT89C2051-24PU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-A89C2051-24PU",
        "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 this pin receives the 12 V programming enable voltage (VPP) during Flash programming."
      },
      {
        "number": "2",
        "name": "P3.0 (RXD)",
        "type": "bidirectional",
        "description": "Port 3 bidirectional I/O with internal pull-up; alternate function RXD serial input port."
      },
      {
        "number": "3",
        "name": "P3.1 (TXD)",
        "type": "bidirectional",
        "description": "Port 3 bidirectional I/O with internal pull-up; alternate function TXD serial output port, also used as RDY/BSY output during programming."
      },
      {
        "number": "4",
        "name": "XTAL2",
        "type": "output",
        "description": "Output from the inverting oscillator amplifier."
      },
      {
        "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 bidirectional I/O with internal pull-up; alternate function INT0 external interrupt 0, also used as PROG during programming."
      },
      {
        "number": "7",
        "name": "P3.3 (INT1)",
        "type": "bidirectional",
        "description": "Port 3 bidirectional I/O with internal pull-up; alternate function INT1 external interrupt 1."
      },
      {
        "number": "8",
        "name": "P3.4 (T0)",
        "type": "bidirectional",
        "description": "Port 3 bidirectional I/O with internal pull-up; alternate function T0 timer 0 external input."
      },
      {
        "number": "9",
        "name": "P3.5 (T1)",
        "type": "bidirectional",
        "description": "Port 3 bidirectional I/O 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 bidirectional I/O pin with internal pull-up."
      },
      {
        "number": "12",
        "name": "P1.0 (AIN0)",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O that requires an external pull-up; also the positive input (AIN0) of the on-chip analog comparator, and its output buffer can sink 20 mA."
      },
      {
        "number": "13",
        "name": "P1.1 (AIN1)",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O that requires an external pull-up; also the negative input (AIN1) of the on-chip analog comparator, and its output buffer can sink 20 mA."
      },
      {
        "number": "14",
        "name": "P1.2",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O with internal pull-up; output buffer can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "15",
        "name": "P1.3",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O with internal pull-up; output buffer can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "16",
        "name": "P1.4",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O with internal pull-up; output buffer can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "17",
        "name": "P1.5",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O with internal pull-up; output buffer can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "18",
        "name": "P1.6",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O with internal pull-up; output buffer can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "19",
        "name": "P1.7",
        "type": "bidirectional",
        "description": "Port 1 bidirectional I/O with internal pull-up; output buffer can sink 20 mA and drive LEDs directly."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Supply voltage; the AT89C2051-24PU is specified for 4.0 V to 6.0 V operation at up to 24 MHz."
      }
    ],
    "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: Pin numbers were mapped from the text extraction of the page 2 pin diagram, where the printed number; The datasheet's pin diagram lists only the port names and no pin-by-pin descriptions for P3.7; its d; The datasheet covers two ordering variants: -12PU (2.7 V to 6.0 V, 12 MHz) and -24PU (4.0 V to 6.0 V"
        ],
        "pages_sent": 19,
        "cost_usd": 0.0776,
        "at": "2026-11-11T00:49:07"
      },
      "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-24pu.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-24pu-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": "ad0a011de7b9dd57df147622adaefc7a70c75bf84bdcefe525200b2d511ed2de",
        "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-24pu.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}