main
Ray Publish 0.1.0 3ce5eef 14d ago
{
  "slug": "hg82c55an",
  "version": "0.1.0",
  "type": "component",
  "description": "HGSEMI I/O Expanders, DIP-40. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "interface ics",
    "hg82c55an",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "hg82c55an.kicad_sym",
    "hg82c55an.kicad_mod",
    "hg82c55an.glb",
    "hg82c55an.step",
    "hg82c55an.lbr",
    "docs/hero.png",
    "docs/hg82c55an-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "hg82c55an-hero.glb",
    "hg82c55an-hero.overlay.json",
    "hg82c55an-etched.glb"
  ],
  "component": {
    "mpn": "HG82C55AN",
    "manufacturer": "HGSEMI",
    "package": "DIP-40",
    "pin_count": 40,
    "category": "Interface ICs",
    "subcategory": "I/O Expanders",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/a4a028af3b8d9d9a5e11675c78709873.pdf",
    "parts": {
      "symbol": "hg82c55an.kicad_sym",
      "footprint": "hg82c55an.kicad_mod",
      "model_3d": "hg82c55an-hero.glb",
      "model_3d_plain": "hg82c55an-etched.glb",
      "model_3d_step": "hg82c55an-etched.step",
      "model_3d_step_plain": "hg82c55an.step",
      "lbr": "hg82c55an.lbr"
    },
    "distributor_links": {
      "lcsc": "C434593"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T06:26:33Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A bit 3, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "2",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A bit 2, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "3",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A bit 1, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "4",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A bit 0, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "5",
        "name": "RD",
        "type": "input",
        "description": "Active-low read input; when low, data is transferred from the HG82C55A to the CPU."
      },
      {
        "number": "6",
        "name": "CS",
        "type": "input",
        "description": "Active-low chip select; low enables data transmission with the CPU, high puts the data bus in high impedance with no read or write while internal registers keep their state."
      },
      {
        "number": "7",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "8",
        "name": "A1",
        "type": "input",
        "description": "Port select (address) input that together with A0 selects port A, port B, port C or the control register, usually tied to the low-order address bits."
      },
      {
        "number": "9",
        "name": "A0",
        "type": "input",
        "description": "Port select (address) input that together with A1 selects port A, port B, port C or the control register, usually tied to the low-order address bits."
      },
      {
        "number": "10",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C bit 7, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "11",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C bit 6, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "12",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "13",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "14",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "15",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "16",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "17",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3, a universal I/O line that becomes a control pin when port A or B is used in mode 1 or 2, and supports bit set/reset when port C is an output."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "21",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "22",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "23",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "24",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "25",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7, a universal 8-bit I/O line whose direction is set by writing a control word."
      },
      {
        "number": "26",
        "name": "VCC",
        "type": "power_in",
        "description": "+5V power supply (operating range 3 to 6 V, recommended 4.5 to 5.5 V)."
      },
      {
        "number": "27",
        "name": "D7",
        "type": "tri_state",
        "description": "Data bus bit 7, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "28",
        "name": "D6",
        "type": "tri_state",
        "description": "Data bus bit 6, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "29",
        "name": "D5",
        "type": "tri_state",
        "description": "Data bus bit 5, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "30",
        "name": "D4",
        "type": "tri_state",
        "description": "Data bus bit 4, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "31",
        "name": "D3",
        "type": "tri_state",
        "description": "Data bus bit 3, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "32",
        "name": "D2",
        "type": "tri_state",
        "description": "Data bus bit 2, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "33",
        "name": "D1",
        "type": "tri_state",
        "description": "Data bus bit 1, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "34",
        "name": "D0",
        "type": "tri_state",
        "description": "Data bus bit 0, a three-state bidirectional line carrying data, control words and bit set/reset data with the CPU."
      },
      {
        "number": "35",
        "name": "RESET",
        "type": "input",
        "description": "Active-high reset input that clears the control register and internal registers, sets all ports to input mode (high impedance), clears port latches to 0 and sets all groups to mode 0."
      },
      {
        "number": "36",
        "name": "WR",
        "type": "input",
        "description": "Active-low write input; when low, data or control words are transferred from the CPU to the HG82C55A."
      },
      {
        "number": "37",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A bit 7, a universal 8-bit I/O line that can operate as a bidirectional port in mode 2."
      },
      {
        "number": "38",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A bit 6, a universal 8-bit I/O line that can operate as a bidirectional port in mode 2."
      },
      {
        "number": "39",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A bit 5, a universal 8-bit I/O line that can operate as a bidirectional port in mode 2."
      },
      {
        "number": "40",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A bit 4, a universal 8-bit I/O line that can operate as a bidirectional port in mode 2."
      }
    ],
    "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+vision",
        "consensus_model": "claude-opus-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "vision extraction: provenance cannot be text-verified; needs consensus"
        ],
        "pages_sent": 22,
        "cost_usd": 0.1145,
        "at": "2026-10-27T06:26:03"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/a4a028af3b8d9d9a5e11675c78709873.pdf",
        "pages": 22,
        "sha256": "eeed428e35f7d49d",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 40,
        "described": 40,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "hg82c55an.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          25.4,
          50.8,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.127,
        "footprint_binding": "identity",
        "sha256": "114010029e96b840de5e76a4e7f09f46a19e6db723f6d096bd70dbeb8ce0aff9",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "hg82c55an-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": [
          25.4,
          50.8,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.127,
        "footprint_binding": "identity",
        "sha256": "951401467be094b56c940bd32e7abbfc2e7e4e1b16c934158501db2dd4646515",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}