main
Ray Set visibility: public 5e0bb7c 4d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "atmega168pa-an",
  "title": "ATMEGA168PA-AN",
  "brief": "Microchip Tech Pre-ordered MCUs, TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega168pa-an",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "ATMEGA168PA-AN",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Pre-ordered MCUs",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",
    "parts": {
      "symbol": "atmega168pa-an.kicad_sym",
      "footprint": "atmega168pa-an.kicad_mod",
      "model_3d": "atmega168pa-an-hero.glb",
      "model_3d_plain": "atmega168pa-an-etched.glb",
      "model_3d_step": "atmega168pa-an-etched.step",
      "model_3d_step_plain": "atmega168pa-an.step",
      "lbr": "atmega168pa-an.lbr"
    },
    "distributor_links": {
      "lcsc": "C1337714",
      "digikey": "ATMEGA168PA-AN-ND"
    },
    "distributor_check": {
      "checked_at": "2026-10-31T18:47:17Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA168PA-AN-ND",
        "status": "found"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 with internal pull-up; alternate functions INT1, OC2B and PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 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; per clock fuse settings it is the input to the inverting oscillator amplifier (XTAL1) or TOSC1, with PCINT6."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7; per clock fuse settings it is the output of the inverting oscillator amplifier (XTAL2) or TOSC2, with PCINT7."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 with internal pull-up; alternate functions T1, OC0B and PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 with internal pull-up; alternate functions AIN0 (comparator positive input), OC0A and PCINT22."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7 with internal pull-up; alternate functions AIN1 (comparator negative input) and PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 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 with internal pull-up; alternate functions OC1A and PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 with internal pull-up; alternate functions SS (SPI slave select), OC1B and PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 with internal pull-up; alternate functions MOSI, OC2A and PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 with internal pull-up; alternate functions MISO and PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 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; must be connected to VCC even if the ADC is unused, through a low-pass filter if the ADC is used."
      },
      {
        "number": "19",
        "name": "ADC6",
        "type": "input",
        "description": "Analog input to the 10-bit A/D converter (TQFP and 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 to the 10-bit A/D converter (TQFP and VQFN only), powered from the analog supply."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0 with internal pull-up; ADC0 input (uses analog power) and PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1 with internal pull-up; ADC1 input (uses analog power) and PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2 with internal pull-up; ADC2 input (uses analog power) and PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3 with internal pull-up; ADC3 input (uses analog power) and PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4 with internal pull-up; ADC4, SDA (2-wire data) and PCINT12; uses digital supply VCC."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5 with internal pull-up; ADC5, SCL (2-wire clock) and PCINT13; uses digital supply VCC."
      },
      {
        "number": "29",
        "name": "PC6/RESET",
        "type": "input",
        "description": "Reset input when RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset); I/O pin when the fuse is programmed; PCINT14."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 with internal pull-up; alternate functions RXD (USART input) and PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 with internal pull-up; alternate functions TXD (USART output) and PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 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: Figure 1-1 text extraction is scrambled, so pin numbers were rebuilt from the ordered pin lists on e; The MPN suffix -AN is listed for the 32A TQFP package (105C industrial range) in the ordering table."
        ],
        "pages_sent": 126,
        "cost_usd": 0.7431,
        "at": "2026-10-31T18:47:04"
      },
      "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": "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": "atmega168pa-an.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "53431be61c684e9d923915676a90cb08050c23ee3f834d76a77a3b19b41422f1",
        "checked": "2026-10-31",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega168pa-an-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.1
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "26ed4ec8d61da258506fc3077dab9e6c9b16f0a495452a196e92683f771a0335",
        "checked": "2026-10-31",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "TQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "b9b9d83cda56a95d999ea8d54fe5a540748ae9020e5e7ae19b913d384ba9320e",
      "rows": [
        {
          "name": "Power supply voltage",
          "symbol": "VCC",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 5.5,
          "conditions": "ATmega168PA-AN ordering table, 20 MHz",
          "source_page": 633,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (Industrial)",
          "symbol": "TA",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 105,
          "conditions": "ATmega168PA-AN, Industrial",
          "source_page": 633,
          "source": "datasheet"
        },
        {
          "name": "Speed grade",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": null,
          "typ": null,
          "max": 20,
          "conditions": "1.8 - 5.5 V",
          "source_page": 633,
          "source": "datasheet"
        },
        {
          "name": "TWI bus capacitance limit",
          "symbol": "",
          "kind": "electrical",
          "unit": "pF",
          "min": null,
          "typ": null,
          "max": 400,
          "conditions": "",
          "source_page": 216,
          "source": "datasheet"
        },
        {
          "name": "debugWIRE RESET pull-up resistor",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "kΩ",
          "min": 10,
          "typ": null,
          "max": null,
          "conditions": "must not be smaller than 10k on dW/(RESET) line",
          "source_page": 263,
          "source": "datasheet"
        },
        {
          "name": "Flash write/erase cycles",
          "symbol": "",
          "kind": "electrical",
          "unit": "cycles",
          "min": null,
          "typ": 10000,
          "max": null,
          "conditions": "Flash",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "EEPROM write/erase cycles",
          "symbol": "",
          "kind": "electrical",
          "unit": "cycles",
          "min": null,
          "typ": 100000,
          "max": null,
          "conditions": "EEPROM",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Watchdog time-out, 512 cycles",
          "symbol": "tTOUT",
          "kind": "timing",
          "unit": "ms",
          "min": null,
          "typ": 4.1,
          "max": null,
          "conditions": "VCC = 5.0V",
          "source_page": 38,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "atmega168pa-an"
  ],
  "discovery_pitch": "ATMEGA168PA-AN (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega168pa-an.kicad_sym",
    "atmega168pa-an.kicad_mod",
    "atmega168pa-an.glb",
    "atmega168pa-an.step",
    "atmega168pa-an.lbr",
    "docs/hero.png",
    "docs/atmega168pa-an-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega168pa-an-hero.glb",
    "atmega168pa-an-hero.overlay.json",
    "atmega168pa-an-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}