main
Ray Brief states the pinout check that actually ran (was an unconditional "Datasheet-verified pinout") f340a1c 11d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "atmega168pa-au",
  "title": "ATMEGA168PA-AU",
  "brief": "Microchip Microcontrollers (MCU/MPU/SOC), TQFP-32(7x7). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.2.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "mcu",
    "atmega168pa-au"
  ],
  "component": {
    "mpn": "ATMEGA168PA-AU",
    "manufacturer": "Microchip",
    "package": "TQFP-32(7x7)",
    "pin_count": 32,
    "category": "MCU",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/6a24f954cb8d4091a71a5b765a32cb3b.pdf",
    "parts": {
      "symbol": "atmega168pa-au.kicad_sym",
      "footprint": "atmega168pa-au.kicad_mod",
      "model_3d": "atmega168pa-au-etched.glb",
      "model_3d_plain": "atmega168pa-au.glb",
      "model_3d_step": "atmega168pa-au-etched.step",
      "model_3d_step_plain": "atmega168pa-au.step",
      "lbr": "atmega168pa-au.lbr"
    },
    "distributor_links": {
      "digikey": "ATMEGA168PA-AU-ND",
      "lcsc": "C8728"
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3/PCINT19/OC2B/INT1",
        "type": "bidirectional",
        "description": "Port D bit 3 GPIO with internal pull-up. Alternate: External interrupt INT1, Timer/Counter2 output compare match B (OC2B), pin-change interrupt PCINT19."
      },
      {
        "number": "2",
        "name": "PD4/PCINT20/XCK/T0",
        "type": "bidirectional",
        "description": "Port D bit 4 GPIO with internal pull-up. Alternate: USART external clock (XCK), Timer/Counter0 external counter input (T0), pin-change interrupt PCINT20."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference (0V)."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, 1.8V to 5.5V."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference (0V)."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, 1.8V to 5.5V."
      },
      {
        "number": "7",
        "name": "PB6/PCINT6/XTAL1/TOSC1",
        "type": "bidirectional",
        "description": "Port B bit 6 GPIO. Alternate: crystal oscillator input (XTAL1) or Timer/Counter2 async oscillator input (TOSC1); pin-change interrupt PCINT6."
      },
      {
        "number": "8",
        "name": "PB7/PCINT7/XTAL2/TOSC2",
        "type": "bidirectional",
        "description": "Port B bit 7 GPIO. Alternate: crystal oscillator output (XTAL2) or Timer/Counter2 async oscillator output (TOSC2); pin-change interrupt PCINT7."
      },
      {
        "number": "9",
        "name": "PD5/PCINT21/OC0B/T1",
        "type": "bidirectional",
        "description": "Port D bit 5 GPIO. Alternate: Timer/Counter0 output compare B (OC0B), Timer/Counter1 external counter input (T1), pin-change interrupt PCINT21."
      },
      {
        "number": "10",
        "name": "PD6/PCINT22/OC0A/AIN0",
        "type": "bidirectional",
        "description": "Port D bit 6 GPIO. Alternate: Timer/Counter0 output compare A (OC0A), analog comparator positive input (AIN0), pin-change interrupt PCINT22."
      },
      {
        "number": "11",
        "name": "PD7/PCINT23/AIN1",
        "type": "bidirectional",
        "description": "Port D bit 7 GPIO. Alternate: analog comparator negative input (AIN1), pin-change interrupt PCINT23."
      },
      {
        "number": "12",
        "name": "PB0/PCINT0/CLKO/ICP1",
        "type": "bidirectional",
        "description": "Port B bit 0 GPIO. Alternate: divided system clock output (CLKO), Timer/Counter1 input capture (ICP1), pin-change interrupt PCINT0."
      },
      {
        "number": "13",
        "name": "PB1/PCINT1/OC1A",
        "type": "bidirectional",
        "description": "Port B bit 1 GPIO. Alternate: Timer/Counter1 output compare A (OC1A) PWM, pin-change interrupt PCINT1."
      },
      {
        "number": "14",
        "name": "PB2/PCINT2/SS/OC1B",
        "type": "bidirectional",
        "description": "Port B bit 2 GPIO. Alternate: SPI slave select (SS, active low), Timer/Counter1 output compare B (OC1B), pin-change interrupt PCINT2."
      },
      {
        "number": "15",
        "name": "PB3/PCINT3/OC2A/MOSI",
        "type": "bidirectional",
        "description": "Port B bit 3 GPIO. Alternate: SPI master-out/slave-in (MOSI), Timer/Counter2 output compare A (OC2A), pin-change interrupt PCINT3."
      },
      {
        "number": "16",
        "name": "PB4/PCINT4/MISO",
        "type": "bidirectional",
        "description": "Port B bit 4 GPIO. Alternate: SPI master-in/slave-out (MISO), pin-change interrupt PCINT4."
      },
      {
        "number": "17",
        "name": "PB5/SCK/PCINT5",
        "type": "bidirectional",
        "description": "Port B bit 5 GPIO. Alternate: SPI serial clock (SCK), pin-change interrupt PCINT5. Also ISP programming clock."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Analog supply pin for the A/D converter, PC3:0, and ADC7:6. Must be externally connected to VCC (through a low-pass filter if ADC is used) even if the ADC is not used."
      },
      {
        "number": "19",
        "name": "ADC6",
        "type": "input",
        "description": "10-bit analog input channel 6 to the A/D converter. Powered from AVCC. Available only in TQFP and QFN/MLF packages."
      },
      {
        "number": "20",
        "name": "AREF",
        "type": "passive",
        "description": "Analog reference voltage input for the A/D converter."
      },
      {
        "number": "21",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference (0V)."
      },
      {
        "number": "22",
        "name": "ADC7",
        "type": "input",
        "description": "10-bit analog input channel 7 to the A/D converter. Powered from AVCC. Available only in TQFP and QFN/MLF packages."
      },
      {
        "number": "23",
        "name": "PC0/ADC0/PCINT8",
        "type": "bidirectional",
        "description": "Port C bit 0 GPIO. Alternate: ADC channel 0 input (ADC0), pin-change interrupt PCINT8."
      },
      {
        "number": "24",
        "name": "PC1/ADC1/PCINT9",
        "type": "bidirectional",
        "description": "Port C bit 1 GPIO. Alternate: ADC channel 1 input (ADC1), pin-change interrupt PCINT9."
      },
      {
        "number": "25",
        "name": "PC2/ADC2/PCINT10",
        "type": "bidirectional",
        "description": "Port C bit 2 GPIO. Alternate: ADC channel 2 input (ADC2), pin-change interrupt PCINT10."
      },
      {
        "number": "26",
        "name": "PC3/ADC3/PCINT11",
        "type": "bidirectional",
        "description": "Port C bit 3 GPIO. Alternate: ADC channel 3 input (ADC3), pin-change interrupt PCINT11."
      },
      {
        "number": "27",
        "name": "PC4/ADC4/SDA/PCINT12",
        "type": "bidirectional",
        "description": "Port C bit 4 GPIO. Alternate: ADC channel 4 input (ADC4), TWI (I2C) data line (SDA, open-drain), pin-change interrupt PCINT12."
      },
      {
        "number": "28",
        "name": "PC5/ADC5/SCL/PCINT13",
        "type": "bidirectional",
        "description": "Port C bit 5 GPIO. Alternate: ADC channel 5 input (ADC5), TWI (I2C) clock line (SCL, open-drain), pin-change interrupt PCINT13."
      },
      {
        "number": "29",
        "name": "PC6/RESET/PCINT14",
        "type": "input",
        "description": "Reset input (active-low): a low level longer than the minimum pulse width generates a reset even if the clock is not running. When the RSTDISBL fuse is programmed, this pin becomes GPIO PC6 with weaker drive characteristics than other Port C pins."
      },
      {
        "number": "30",
        "name": "PD0/RXD/PCINT16",
        "type": "bidirectional",
        "description": "Port D bit 0 GPIO. Alternate: USART receive data input (RXD), pin-change interrupt PCINT16."
      },
      {
        "number": "31",
        "name": "PD1/TXD/PCINT17",
        "type": "bidirectional",
        "description": "Port D bit 1 GPIO. Alternate: USART transmit data output (TXD), pin-change interrupt PCINT17."
      },
      {
        "number": "32",
        "name": "PD2/INT0/PCINT18",
        "type": "bidirectional",
        "description": "Port D bit 2 GPIO. Alternate: external interrupt INT0, pin-change interrupt PCINT18."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/6a24f954cb8d4091a71a5b765a32cb3b.pdf",
        "pages": 31,
        "sha256": "194fdd0f35c63d3b",
        "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"
    },
    "pin1": {
      "pad": "1",
      "at": [
        -4.175,
        -2.8
      ],
      "corner": "top-left",
      "source": "silk-marker",
      "derived_from": "LQFP-32_7x7mm_P0.8mm@sha256:d3a8db080529cbea",
      "mark": "drawn"
    }
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip",
      "Package": "TQFP-32(7x7)",
      "Category": "MCU",
      "Pins": "32"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "atmega168pa-au"
  ],
  "discovery_pitch": "ATMEGA168PA-AU (Microchip) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega168pa-au.kicad_sym",
    "atmega168pa-au.kicad_mod",
    "atmega168pa-au.glb",
    "atmega168pa-au.step",
    "atmega168pa-au-etched.step",
    "atmega168pa-au.lbr",
    "docs/hero.png",
    "docs/atmega168pa-au-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "updated_at": "2026-09-24T17:17:37.648Z"
}