main
Ray Publish 0.1.1 f760e4a
{
  "schema_version": 1,
  "type": "component",
  "slug": "atmega328-au",
  "title": "ATMEGA328-AU",
  "brief": "Microchip Tech MICROCHIP, TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.1",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega328-au",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "ATMEGA328-AU",
    "manufacturer": "Microchip Tech",
    "package": "TQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "MICROCHIP",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf",
    "parts": {
      "symbol": "atmega328-au.kicad_sym",
      "footprint": "atmega328-au.kicad_mod",
      "model_3d": "atmega328-au-hero.glb",
      "model_3d_plain": "atmega328-au.glb",
      "model_3d_step": "atmega328-au-etched.step",
      "model_3d_step_plain": "atmega328-au.step",
      "lbr": "atmega328-au.lbr"
    },
    "distributor_links": {
      "lcsc": "C618731",
      "digikey": "ATMEGA328-AU-ND",
      "mouser": "556-ATMEGA328-AU"
    },
    "distributor_check": {
      "checked_at": "2026-11-05T04:28:42Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA328-AU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA328-AU",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 with internal pull-up, also external interrupt INT1, Timer/Counter2 output compare B OC2B, and pin change interrupt PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 with internal pull-up, also USART external clock XCK, Timer/Counter0 external counter input T0, and pin change interrupt PCINT20."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the device operates from 1.8 to 5.5 V."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the device operates from 1.8 to 5.5 V."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 used as input to the inverting oscillator amplifier (XTAL1/TOSC1) or external clock input when a clock source is selected, and then cannot be used as an I/O pin; also pin change interrupt PCINT6."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 used as output of the inverting oscillator amplifier (XTAL2/TOSC2) when a crystal is used, and then cannot be used as an I/O pin; also pin change interrupt PCINT7."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 with internal pull-up, also Timer/Counter1 external counter input T1, Timer/Counter0 output compare B OC0B, and pin change interrupt PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 with internal pull-up, also analog comparator positive input AIN0, Timer/Counter0 output compare A OC0A, and pin change interrupt PCINT22; use as input with pull-up off when used as AIN0."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7 with internal pull-up, also analog comparator negative input AIN1 (configure as input with pull-up off to avoid interference) and pin change interrupt PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 with internal pull-up, also Timer/Counter1 input capture ICP1, divided system clock output CLKO, and pin change interrupt PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 with internal pull-up, also Timer/Counter1 output compare match A output OC1A and pin change interrupt PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 with internal pull-up, also SPI slave select SS, Timer/Counter1 output compare match B output OC1B, and pin change interrupt PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 with internal pull-up, also SPI MOSI, Timer/Counter2 output compare match A output OC2A, and pin change interrupt PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 with internal pull-up, also SPI master input / slave output MISO and pin change interrupt PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 with internal pull-up, also SPI clock SCK (master clock output / slave clock input) and pin change interrupt PCINT5."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D converter, PC3: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 10-bit A/D converter (TQFP and VQFN package 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 and VQFN package only), powered from the analog supply."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0 (7-bit port with internal pull-ups), also ADC input channel 0 using analog power and pin change interrupt PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1 with internal pull-up, also ADC input channel 1 using analog power and pin change interrupt PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2 with internal pull-up, also ADC input channel 2 using analog power and pin change interrupt PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3 with internal pull-up, also ADC input channel 3 using analog power and pin change interrupt PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4 with internal pull-up, also 2-wire serial data SDA, ADC input channel 4 (uses digital power) and pin change interrupt PCINT12."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5 with internal pull-up, also 2-wire serial clock SCL, ADC input channel 5 (uses digital power) and pin change interrupt PCINT13."
      },
      {
        "number": "29",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C bit 6 used as reset input when the RSTDISBL fuse is unprogrammed, where a low level longer than the minimum pulse length generates a reset; otherwise it is a normal I/O pin, and also pin change interrupt PCINT14."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 with internal pull-up, used as USART receive data input RXD when the receiver is enabled, and also pin change interrupt PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 with internal pull-up, used as USART transmit data output TXD when the transmitter is enabled, and also pin change interrupt PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 with internal pull-up, also external interrupt source INT0 and pin change interrupt 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: The 7x7 mm body size requested in the package hint is not stated in the extracted text. The ordering; Pin numbers were mapped from the flattened text of the 32-pin TQFP top-view figure (page 12) and cro; The datasheet covers the whole ATmega48A/PA/88A/PA/168A/PA/328/P family. The ATMEGA328 (non-P) and A",
          "13/32 pins cited to the wrong page (name found elsewhere): ['8:PB7@p91', '12:PB0@p91', '15:PB3@p92', '16:PB4@p92']"
        ],
        "pages_sent": 126,
        "cost_usd": 0.3942,
        "at": "2026-11-05T04:28:32"
      },
      "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": "atmega328-au.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-11-05",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega328-au-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": "52f361af3494af6ae051ff9d6114e8b029cbd2ef3d0020431de6a9fb6b932d12",
        "checked": "2026-11-05",
        "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 (operational range, ATmega328-AU)",
          "symbol": "VCC",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 5.5,
          "conditions": "Ordering information: Power Supply 1.8 - 5.5 V, speed 20 MHz, Industrial operational range",
          "source_page": 634,
          "source": "datasheet"
        },
        {
          "name": "Maximum frequency (ATmega328-AU speed grade)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": null,
          "typ": null,
          "max": 20,
          "conditions": "Ordering information: speed 20 MHz (footnote 3, see Figure 29-1 frequency vs. VCC)",
          "source_page": 634,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (industrial range, ATmega328-AU)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Ordering information: Industrial (-40C to 85C)",
          "source_page": 634,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -55,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 308,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -65,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 308,
          "source": "datasheet"
        },
        {
          "name": "Voltage on any pin except RESET with respect to Ground",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.5,
          "typ": null,
          "max": null,
          "conditions": "Maximum printed as VCC+0.5V",
          "source_page": 308,
          "source": "datasheet"
        },
        {
          "name": "Voltage on RESET with respect to Ground",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.5,
          "typ": null,
          "max": 13,
          "conditions": "",
          "source_page": 308,
          "source": "datasheet"
        },
        {
          "name": "DC Current per I/O Pin",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 40,
          "conditions": "",
          "source_page": 308,
          "source": "datasheet"
        },
        {
          "name": "DC Current VCC and GND Pins",
          "symbol": "",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 200,
          "conditions": "",
          "source_page": 308,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "atmega328-au"
  ],
  "discovery_pitch": "ATMEGA328-AU (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega328-au.kicad_sym",
    "atmega328-au.kicad_mod",
    "atmega328-au.glb",
    "atmega328-au.step",
    "atmega328-au.lbr",
    "docs/hero.png",
    "docs/atmega328-au-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega328-au-hero.glb",
    "atmega328-au-hero.overlay.json",
    "atmega328-au-etched.glb",
    "atmega328-au-etched.step"
  ],
  "visibility": "public",
  "description": "Microchip Tech MICROCHIP, TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "org": "adom"
}