main
Ray Publish 0.1.0 6f00c1c 4h ago
{
  "slug": "atmega168a-au",
  "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",
    "embedded processors & controllers",
    "atmega168a-au",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega168a-au.kicad_sym",
    "atmega168a-au.kicad_mod",
    "atmega168a-au.glb",
    "atmega168a-au.step",
    "atmega168a-au.lbr",
    "docs/hero.png",
    "docs/atmega168a-au-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega168a-au-hero.glb",
    "atmega168a-au-hero.overlay.json",
    "atmega168a-au-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA168A-AU",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",
    "parts": {
      "symbol": "atmega168a-au.kicad_sym",
      "footprint": "atmega168a-au.kicad_mod",
      "model_3d": "atmega168a-au-hero.glb",
      "model_3d_plain": "atmega168a-au-etched.glb",
      "model_3d_step": "atmega168a-au-etched.step",
      "model_3d_step_plain": "atmega168a-au.step",
      "lbr": "atmega168a-au.lbr"
    },
    "distributor_links": {
      "lcsc": "C1522091",
      "digikey": "ATMEGA168A-AU-ND",
      "mouser": "556-ATMEGA168A-AU"
    },
    "distributor_check": {
      "checked_at": "2026-10-26T19:27:45Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA168A-AU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA168A-AU",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 bi-directional I/O with internal pull-up, alternate functions INT1, OC2B and PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 bi-directional I/O with internal pull-up, alternate functions XCK, T0 and PCINT20."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 I/O that, depending on clock fuse settings, is the inverting oscillator amplifier input (XTAL1/TOSC1), with PCINT6."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 I/O that, depending on clock fuse settings, is the inverting oscillator amplifier output (XTAL2/TOSC2), with PCINT7."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 bi-directional I/O with internal pull-up, alternate functions T1, OC0B and PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 bi-directional I/O with internal pull-up, alternate functions AIN0 (comparator positive input), OC0A and PCINT22."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7 bi-directional I/O with internal pull-up, alternate functions AIN1 (comparator negative input) and PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 bi-directional I/O with internal pull-up, alternate functions ICP1, CLKO (divided system clock output) and PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 bi-directional I/O with internal pull-up, alternate functions OC1A and PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 bi-directional I/O with internal pull-up, alternate functions SS (SPI slave select), OC1B and PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 bi-directional I/O with internal pull-up, alternate functions MOSI, OC2A and PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 bi-directional I/O with internal pull-up, alternate functions MISO and PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 bi-directional I/O with internal pull-up, alternate functions SCK (SPI clock) and PCINT5."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage for the A/D converter, PC3:0 and ADC7:6, to be connected externally to VCC even if the ADC is unused, via a low-pass filter if the ADC is used."
      },
      {
        "number": "19",
        "name": "ADC6",
        "type": "input",
        "description": "Analog input channel 6 of the 10-bit A/D converter (TQFP/VQFN only), powered from the analog supply."
      },
      {
        "number": "20",
        "name": "AREF",
        "type": "input",
        "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 10-bit A/D converter (TQFP/VQFN only), powered from the analog supply."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0 bi-directional I/O with internal pull-up, alternate functions ADC0 (analog power) and PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1 bi-directional I/O with internal pull-up, alternate functions ADC1 (analog power) and PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2 bi-directional I/O with internal pull-up, alternate functions ADC2 (analog power) and PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3 bi-directional I/O with internal pull-up, alternate functions ADC3 (analog power) and PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4 bi-directional I/O with internal pull-up, alternate functions ADC4, SDA (2-wire data, 50 ns spike filter) and PCINT12, using digital supply VCC."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5 bi-directional I/O with internal pull-up, alternate functions ADC5, SCL (2-wire clock, 50 ns spike filter) and PCINT13, using digital supply VCC."
      },
      {
        "number": "29",
        "name": "PC6/RESET",
        "type": "input",
        "description": "Reset input when RSTDISBL fuse is unprogrammed (low level longer than the minimum pulse length generates a reset), otherwise an I/O pin with electrical characteristics differing from other Port C pins."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 bi-directional I/O with internal pull-up, alternate functions RXD (USART input) and PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 bi-directional I/O with internal pull-up, alternate functions TXD (USART output) and PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 bi-directional I/O with internal pull-up, alternate functions INT0 and PCINT18."
      }
    ],
    "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",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The TQFP pin numbers are not printed next to pin names in the extracted text of Figure 1-1. Numbers ; The ordering table lists ATmega168A-AU as package code 32A, a 32-lead 1.0 mm TQFP. The package drawi; PC6/RESET is typed as input because the RESET function is the default. It becomes a general I/O when"
        ],
        "pages_sent": 126,
        "cost_usd": 0.7506,
        "at": "2026-10-26T19:27:27"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",
        "pages": 653,
        "sha256": "b9b9d83cda56a95d",
        "source_tier": "lcsc"
      },
      "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": "atmega168a-au.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-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega168a-au-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": "527683b1978c7ad68a3f4041eafe7082e3261aa17e70d8178cf83ba790557cb8",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}