main
Ray Publish 0.1.0 88d9f7c 8h ago
{
  "slug": "atmega168pb-au",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech ATMEL & AVR, TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega168pb-au",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega168pb-au.kicad_sym",
    "atmega168pb-au.kicad_mod",
    "atmega168pb-au.glb",
    "atmega168pb-au.step",
    "atmega168pb-au.lbr",
    "docs/hero.png",
    "docs/atmega168pb-au-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega168pb-au-hero.glb",
    "atmega168pb-au-hero.overlay.json",
    "atmega168pb-au-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA168PB-AU",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "ATMEL & AVR",
    "datasheet": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/ATmega48PB-88PB-168PB-DataSheet-DS40001909B.pdf",
    "parts": {
      "symbol": "atmega168pb-au.kicad_sym",
      "footprint": "atmega168pb-au.kicad_mod",
      "model_3d": "atmega168pb-au-hero.glb",
      "model_3d_plain": "atmega168pb-au-etched.glb",
      "model_3d_step": "atmega168pb-au-etched.step",
      "model_3d_step_plain": "atmega168pb-au.step",
      "lbr": "atmega168pb-au.lbr"
    },
    "distributor_links": {
      "lcsc": "C194438",
      "digikey": "ATMEGA168PB-AU-ND",
      "mouser": "556-ATMEGA168PB-AU"
    },
    "distributor_check": {
      "checked_at": "2026-11-04T23:20:59Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA168PB-AU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA168PB-AU",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3, an 8-bit bidirectional I/O pin with internal pull-up; alternate functions INT1, OC2B and PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 bidirectional I/O with internal pull-up; alternate functions XCK (USART external clock), T0 and PCINT20."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, 1.8 to 5.5 V operating range."
      },
      {
        "number": "5",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Port E bit 0 bidirectional I/O with internal pull-up; alternate function ACO (analog comparator output)."
      },
      {
        "number": "6",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Port E bit 1 bidirectional I/O with internal pull-up; no alternate function."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 I/O; alternate XTAL1/TOSC1 and PCINT6, serving as input to the inverting oscillator amplifier when used as a clock pin."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 I/O; alternate XTAL2/TOSC2 and PCINT7, serving as output from the inverting oscillator amplifier when used as a clock pin."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 bidirectional I/O with internal pull-up; alternate functions T1, OC0B and PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 bidirectional I/O with internal pull-up; alternate functions AIN0 (analog comparator positive input), OC0A and PCINT22."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7 bidirectional I/O with internal pull-up; alternate functions AIN1 (analog comparator negative input) and PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 bidirectional I/O with internal pull-up; alternate functions ICP1 (Timer/Counter1 input capture), CLKO (divided system clock output) and PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 bidirectional I/O with internal pull-up; alternate functions OC1A and PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 bidirectional 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 bidirectional I/O with internal pull-up; alternate functions MOSI, OC2A and PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 bidirectional I/O with internal pull-up; alternate functions MISO (SPI master input/slave output) and PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 bidirectional I/O with internal pull-up; alternate functions SCK (SPI clock) and PCINT5."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D converter, PC3:0 and PE3:2; it should be externally connected to VCC even if the ADC is not used."
      },
      {
        "number": "19",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Port E bit 2 bidirectional I/O; also ADC input channel 6 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": "PE3",
        "type": "bidirectional",
        "description": "Port E bit 3 bidirectional I/O; also ADC input channel 7 powered from the analog supply."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0 I/O; also ADC input channel 0 (analog power) and PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1 I/O; also ADC input channel 1 (analog power) and PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2 I/O; also ADC input channel 2 (analog power) and PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3 I/O; also ADC input channel 3 (analog power) and PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4 I/O; alternate functions SDA (2-wire serial data), ADC4 (digital power) and PCINT12."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5 I/O; alternate functions SCL (2-wire serial clock), ADC5 (digital power) and PCINT13."
      },
      {
        "number": "29",
        "name": "PC6",
        "type": "input",
        "description": "Port C bit 6; when the RSTDISBL fuse is unprogrammed it is the active-low Reset input, and a low level longer than the minimum pulse length generates a Reset."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 bidirectional I/O with internal pull-up; alternate functions RXD (USART receive data) and PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 bidirectional I/O with internal pull-up; alternate functions TXD (USART transmit data) and PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 bidirectional 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-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Figure 2-1 (TQFP-32 pinout) is only partly recoverable from the text extraction, which is scrambled."
        ],
        "pages_sent": 72,
        "cost_usd": 0.2771,
        "at": "2026-11-04T23:20:49"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/ATmega48PB-88PB-168PB-DataSheet-DS40001909B.pdf",
        "pages": 395,
        "sha256": "fd779f826965254e",
        "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": "atmega168pb-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-11-04",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega168pb-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": "18b5935bc3f551ce9c3e83a140046ee26160d4ed99bb023951396a2891e862af",
        "checked": "2026-11-04",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}