main
Ray Publish 0.1.0 e65ab6b 5d ago
{
  "slug": "atmega8a-anr",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "atmega8a-anr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega8a-anr.kicad_sym",
    "atmega8a-anr.kicad_mod",
    "atmega8a-anr.glb",
    "atmega8a-anr.step",
    "atmega8a-anr.lbr",
    "docs/hero.png",
    "docs/atmega8a-anr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega8a-anr-hero.glb",
    "atmega8a-anr-hero.overlay.json",
    "atmega8a-anr-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA8A-ANR",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-32(7x7)",
    "pin_count": 32,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega8A-Data-Sheet-DS40001974B.pdf",
    "parts": {
      "symbol": "atmega8a-anr.kicad_sym",
      "footprint": "atmega8a-anr.kicad_mod",
      "model_3d": "atmega8a-anr-hero.glb",
      "model_3d_plain": "atmega8a-anr-etched.glb",
      "model_3d_step": "atmega8a-anr-etched.step",
      "model_3d_step_plain": "atmega8a-anr.step",
      "lbr": "atmega8a-anr.lbr"
    },
    "distributor_links": {
      "lcsc": "C2053361",
      "digikey": "ATMEGA8A-ANRTR-ND",
      "mouser": "556-ATMEGA8A-ANR"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T23:16:13Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA8A-ANRTR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA8A-ANR",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 with internal pull-up option, also External Interrupt source 1 (INT1) input that can trigger an interrupt on pin activity."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4, also USART external clock XCK (input or output in synchronous mode) and Timer/Counter0 external counter input T0."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the device operates from 2.7 to 5.5 V with 0 to 16 MHz."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the device operates from 2.7 to 5.5 V with 0 to 16 MHz."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6, used as chip clock oscillator pin 1 / external clock input (or TOSC1 input for Timer/Counter2 when AS2 is set), in which case the pin cannot be used as I/O."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7, used as chip clock oscillator pin 2 (inverting oscillator amplifier output) or TOSC2 when AS2 is set, in which case the pin cannot be used as I/O."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5, also Timer/Counter1 external counter source input T1."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6, also Analog Comparator positive input AIN0; configure as input with internal pull-up off to avoid interfering with the comparator."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7, also Analog Comparator negative input AIN1; configure as input with internal pull-up off to avoid interfering with the comparator."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0, also Timer/Counter1 Input Capture pin ICP1."
      },
      {
        "number": "13",
        "name": "PB1 (OC1A)",
        "type": "bidirectional",
        "description": "Port B bit 1, also Timer/Counter1 Output Compare Match A output OC1A (must be configured as output to serve this function)."
      },
      {
        "number": "14",
        "name": "PB2 (SS/OC1B)",
        "type": "bidirectional",
        "description": "Port B bit 2, also SPI Slave Select SS input (driven low to activate SPI slave) and Timer/Counter1 Output Compare Match B output OC1B."
      },
      {
        "number": "15",
        "name": "PB3 (MOSI/OC2)",
        "type": "bidirectional",
        "description": "Port B bit 3, also SPI Master Output/Slave Input MOSI and Timer/Counter2 Output Compare Match output OC2."
      },
      {
        "number": "16",
        "name": "PB4 (MISO)",
        "type": "bidirectional",
        "description": "Port B bit 4, also SPI Master Input/Slave Output MISO."
      },
      {
        "number": "17",
        "name": "PB5 (SCK)",
        "type": "bidirectional",
        "description": "Port B bit 5, also SPI clock: master clock output or slave clock input SCK."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D Converter, Port C (3:0) and ADC7:6; it should be connected to VCC even if the ADC is not used, and through a low-pass filter if the ADC is used."
      },
      {
        "number": "19",
        "name": "ADC6",
        "type": "input",
        "description": "Analog input channel 6 of the A/D converter (TQFP and VQFN only), powered from the analog supply."
      },
      {
        "number": "20",
        "name": "AREF",
        "type": "passive",
        "description": "Analog reference pin for the A/D Converter."
      },
      {
        "number": "21",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "22",
        "name": "ADC7",
        "type": "input",
        "description": "Analog input channel 7 of the A/D converter (TQFP and VQFN only), powered from the analog supply."
      },
      {
        "number": "23",
        "name": "PC0 (ADC0)",
        "type": "bidirectional",
        "description": "Port C bit 0 (7-bit port PC5:PC0 with internal pull-ups), 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",
        "type": "bidirectional",
        "description": "Port C bit 4, also Two-wire Serial Interface data SDA (open-drain with slew-rate limit when TWEN is set) and ADC input channel 4 using digital power."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5, also Two-wire Serial Interface clock SCL (open-drain with slew-rate limit when TWEN is set) and ADC input channel 5 using digital power."
      },
      {
        "number": "29",
        "name": "PC6 (RESET)",
        "type": "input",
        "description": "Reset input when the RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset); when RSTDISBL is programmed it is a normal I/O pin with electrical characteristics differing from other Port C pins."
      },
      {
        "number": "30",
        "name": "PD0 (RXD)",
        "type": "bidirectional",
        "description": "Port D bit 0, also USART receive data input RXD, forced to input when the USART receiver is enabled."
      },
      {
        "number": "31",
        "name": "PD1 (TXD)",
        "type": "bidirectional",
        "description": "Port D bit 1, also USART transmit data output TXD, forced to output when the USART transmitter is enabled."
      },
      {
        "number": "32",
        "name": "PD2 (INT0)",
        "type": "bidirectional",
        "description": "Port D bit 2, also External Interrupt source 0 (INT0) input that can serve as an external interrupt source."
      }
    ],
    "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-number-to-name mapping was taken from the Figure 1-1 TQFP Top View, whose text extraction is jum; Pin types are KiCad-style interpretations: port pins are marked bidirectional even where the alterna; The datasheet gives no numeric analog pin limits (voltage range or max current) for AVCC, AREF, or A",
          "20/32 pins cited to the wrong page (name found elsewhere): ['1:PD3 (INT1)@p63', '8:PB7 (XTAL2/TOSC2)@p64', '12:PB0 (ICP1)@p63', '14:PB2 (SS/OC1B)@p64']"
        ],
        "pages_sent": 76,
        "cost_usd": 0.2894,
        "at": "2026-10-30T23:16:01"
      },
      "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": 32,
        "described": 32,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "atmega8a-anr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "53431be61c684e9d923915676a90cb08050c23ee3f834d76a77a3b19b41422f1",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega8a-anr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.1
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "25f280e5e055a1fc3dfe22afc498164833f15991046793ed9166d31917455363",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}