main
Ray Publish 0.1.0 e670870 7d ago
{
  "slug": "atmega8a-pu",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech ATMEL & AVR, DIP-28-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega8a-pu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega8a-pu.kicad_sym",
    "atmega8a-pu.kicad_mod",
    "atmega8a-pu.glb",
    "atmega8a-pu.step",
    "atmega8a-pu.lbr",
    "docs/hero.png",
    "docs/atmega8a-pu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega8a-pu-hero.glb",
    "atmega8a-pu-hero.overlay.json",
    "atmega8a-pu-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA8A-PU",
    "manufacturer": "Microchip Tech",
    "package": "DIP-28-300mil",
    "pin_count": 28,
    "category": "Embedded Processors & Controllers",
    "subcategory": "ATMEL & AVR",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega8A-Data-Sheet-DS40001974B.pdf",
    "parts": {
      "symbol": "atmega8a-pu.kicad_sym",
      "footprint": "atmega8a-pu.kicad_mod",
      "model_3d": "atmega8a-pu-hero.glb",
      "model_3d_plain": "atmega8a-pu-etched.glb",
      "model_3d_step": "atmega8a-pu-etched.step",
      "model_3d_step_plain": "atmega8a-pu.step",
      "lbr": "atmega8a-pu.lbr"
    },
    "distributor_links": {
      "lcsc": "C34931",
      "digikey": "ATMEGA8A-PU-ND",
      "mouser": "556-ATMEGA8A-PU"
    },
    "distributor_check": {
      "checked_at": "2026-10-28T21:58:57Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA8A-PU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA8A-PU",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PC6/RESET",
        "type": "input",
        "description": "Reset input when the RSTDISBL fuse is unprogrammed: a low level longer than the minimum pulse length (Table 26-3) generates a reset, and shorter pulses are not guaranteed to reset; if RSTDISBL is programmed it is a normal I/O pin with electrical characteristics that differ from other Port C pins."
      },
      {
        "number": "2",
        "name": "PD0/RXD",
        "type": "bidirectional",
        "description": "Port D bit 0 and USART receive data input, which is forced to input when the USART receiver is enabled while its pull-up can still be controlled by PORTD0."
      },
      {
        "number": "3",
        "name": "PD1/TXD",
        "type": "bidirectional",
        "description": "Port D bit 1 and USART transmit data output, which is forced to output whenever the USART transmitter is enabled regardless of DDD1."
      },
      {
        "number": "4",
        "name": "PD2/INT0",
        "type": "bidirectional",
        "description": "Port D bit 2 and external interrupt source 0 input."
      },
      {
        "number": "5",
        "name": "PD3/INT1",
        "type": "bidirectional",
        "description": "Port D bit 3 and external interrupt source 1 input."
      },
      {
        "number": "6",
        "name": "PD4/XCK/T0",
        "type": "bidirectional",
        "description": "Port D bit 4, serving as USART external clock input/output (XCK) and Timer/Counter0 external counter input (T0)."
      },
      {
        "number": "7",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, operating range 2.7 to 5.5 V per the Features list."
      },
      {
        "number": "8",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference."
      },
      {
        "number": "9",
        "name": "PB6/XTAL1/TOSC1",
        "type": "bidirectional",
        "description": "Port B bit 6, used as input to the inverting oscillator amplifier (XTAL1) or external clock input depending on clock fuse settings, and as TOSC1 for Timer/Counter2 when asynchronous mode is enabled; when used as a clock pin it cannot be used as I/O."
      },
      {
        "number": "10",
        "name": "PB7/XTAL2/TOSC2",
        "type": "bidirectional",
        "description": "Port B bit 7, used as output of the inverting oscillator amplifier (XTAL2) or as TOSC2 for Timer/Counter2 when asynchronous mode is enabled; when used as a clock pin it cannot be used as I/O."
      },
      {
        "number": "11",
        "name": "PD5/T1",
        "type": "bidirectional",
        "description": "Port D bit 5, serving as external counter source input for Timer/Counter1 (T1)."
      },
      {
        "number": "12",
        "name": "PD6/AIN0",
        "type": "bidirectional",
        "description": "Port D bit 6, serving as Analog Comparator positive input (AIN0); configure as input with internal pull-up off to avoid interference with the comparator."
      },
      {
        "number": "13",
        "name": "PD7/AIN1",
        "type": "bidirectional",
        "description": "Port D bit 7, serving as Analog Comparator negative input (AIN1); configure as input with internal pull-up off to avoid interference with the comparator."
      },
      {
        "number": "14",
        "name": "PB0/ICP1",
        "type": "bidirectional",
        "description": "Port B bit 0, serving as Input Capture pin for Timer/Counter1."
      },
      {
        "number": "15",
        "name": "PB1/OC1A",
        "type": "bidirectional",
        "description": "Port B bit 1, serving as Timer/Counter1 Output Compare A output; the pin must be configured as an output (DDB1 set) to perform this function."
      },
      {
        "number": "16",
        "name": "PB2/SS/OC1B",
        "type": "bidirectional",
        "description": "Port B bit 2, serving as SPI Slave Select input (SS, active low when SPI is a slave) and Timer/Counter1 Output Compare B output (OC1B); as an output it must be configured with DDB2 set."
      },
      {
        "number": "17",
        "name": "PB3/MOSI/OC2",
        "type": "bidirectional",
        "description": "Port B bit 3, serving as SPI master data output or slave data input (MOSI) and Timer/Counter2 Output Compare Match output (OC2); as OC2 it must be configured as an output (DDB3 set)."
      },
      {
        "number": "18",
        "name": "PB4/MISO",
        "type": "bidirectional",
        "description": "Port B bit 4, serving as SPI master data input or slave data output (MISO)."
      },
      {
        "number": "19",
        "name": "PB5/SCK",
        "type": "bidirectional",
        "description": "Port B bit 5, serving as SPI master clock output or slave clock input (SCK)."
      },
      {
        "number": "20",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D converter, Port C (3:0) and ADC; it should be externally connected to VCC even if the ADC is not used, and through a low-pass filter if the ADC is used."
      },
      {
        "number": "21",
        "name": "AREF",
        "type": "input",
        "description": "Analog reference pin for the A/D converter."
      },
      {
        "number": "22",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference."
      },
      {
        "number": "23",
        "name": "PC0/ADC0",
        "type": "bidirectional",
        "description": "Port C bit 0 (7-bit bidirectional I/O with internal pull-ups per bit), also ADC input channel 0 using analog power."
      },
      {
        "number": "24",
        "name": "PC1/ADC1",
        "type": "bidirectional",
        "description": "Port C bit 1, also ADC input channel 1 using analog power."
      },
      {
        "number": "25",
        "name": "PC2/ADC2",
        "type": "bidirectional",
        "description": "Port C bit 2, also ADC input channel 2 using analog power."
      },
      {
        "number": "26",
        "name": "PC3/ADC3",
        "type": "bidirectional",
        "description": "Port C bit 3, also ADC input channel 3 using analog power."
      },
      {
        "number": "27",
        "name": "PC4/SDA/ADC4",
        "type": "bidirectional",
        "description": "Port C bit 4, serving as Two-wire Serial Interface data I/O (SDA) when TWEN is set and as ADC input channel 4, which uses digital power."
      },
      {
        "number": "28",
        "name": "PC5/SCL/ADC5",
        "type": "bidirectional",
        "description": "Port C bit 5, serving as Two-wire Serial Interface clock I/O (SCL) when TWEN is set and as ADC input channel 5, which uses digital power."
      }
    ],
    "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: PDIP pin numbers 1-28 were assigned from the order of the PDIP listing on page 9; the text extractio; PC6/RESET is typed as input for the reset function; the datasheet states it is an I/O pin when the R; XTAL1/XTAL2 pins are typed bidirectional as port pins, though their oscillator functions are an inpu",
          "15/28 pins cited to the wrong page (name found elsewhere): ['7:VCC@p2', '12:PD6/AIN0@p68', '14:PB0/ICP1@p64', '15:PB1/OC1A@p64']"
        ],
        "pages_sent": 76,
        "cost_usd": 0.284,
        "at": "2026-10-28T21:58:41"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega8A-Data-Sheet-DS40001974B.pdf",
        "pages": 327,
        "sha256": "e10f0e392857e034",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 28,
        "described": 28,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "atmega8a-pu.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,
          35.56,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7bf4503e368ad9b7a3eddfa94bc8dee656da5d6921b677e17307b3d7f29177ab",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega8a-pu-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,
          35.56,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "624c8f32f867a67736bfa762bf4f9097e4d537b74e51500b695f56e86dd52c0d",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}