3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownATMEGA328P-AU
Microchip Tech · Microcontrollers (MCU/MPU/SOC) · TQFP-32(7x7)
ATMEGA328P-AU from Microchip Tech, in a TQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PD3 | bidirectional | Port D bit 3 is a bi-directional I/O with internal pull-up, also serving as INT1 external interrupt input and OC2B output. |
| 2 | PD4 | bidirectional | Port D bit 4 is a bi-directional I/O with internal pull-up, also serving as XCK USART clock and T0 Timer/Counter0 external counter input. |
| 3 | GND | power_in | Ground reference for the digital supply. |
| 4 | VCC | power_in | Digital supply voltage. |
| 5 | GND | power_in | Ground reference for the digital supply. |
| 6 | VCC | power_in | Digital supply voltage. |
| 7 | PB6 | bidirectional | Port B bit 6 serves as XTAL1 oscillator input or TOSC1 when a crystal clock source is selected, and cannot be used as I/O in that case. |
| 8 | PB7 | bidirectional | Port B bit 7 serves as XTAL2 oscillator output or TOSC2 when a crystal clock source is selected, and cannot be used as I/O in that case. |
| 9 | PD5 | bidirectional | Port D bit 5 is a bi-directional I/O with internal pull-up, also serving as T1 Timer/Counter1 external counter input and OC0B output. |
| 10 | PD6 | bidirectional | Port D bit 6 is a bi-directional I/O with internal pull-up, also serving as AIN0 analog comparator positive input and OC0A output. |
| 11 | PD7 | bidirectional | Port D bit 7 is a bi-directional I/O with internal pull-up, also serving as AIN1 analog comparator negative input. |
| 12 | PB0 | bidirectional | Port B bit 0 is a bi-directional I/O with internal pull-up, also serving as ICP1 input capture input and CLKO divided system clock output. |
| 13 | PB1 | bidirectional | Port B bit 1 is a bi-directional I/O with internal pull-up, also serving as OC1A Timer/Counter1 output compare match A output. |
| 14 | PB2 | bidirectional | Port B bit 2 is a bi-directional I/O with internal pull-up, also serving as SPI SS slave select and OC1B Timer/Counter1 output compare match B output. |
| 15 | PB3 | bidirectional | Port B bit 3 is a bi-directional I/O with internal pull-up, also serving as SPI MOSI and OC2A Timer/Counter2 output compare match A output. |
| 16 | PB4 | bidirectional | Port B bit 4 is a bi-directional I/O with internal pull-up, also serving as SPI MISO data line. |
| 17 | PB5 | bidirectional | Port B bit 5 is a bi-directional I/O with internal pull-up, also serving as SPI SCK clock line. |
| 18 | AVCC | power_in | Supply voltage pin for the A/D converter, PC3:0 and ADC7:6, which should be connected to VCC even if the ADC is not used. |
| 19 | ADC6 | passive | Analog input to the 10-bit A/D converter (available in TQFP and VQFN packages only). |
| 20 | AREF | passive | Analog reference pin for the A/D converter. |
| 21 | GND | power_in | Ground reference for the digital supply. |
| 22 | ADC7 | passive | Analog input to the 10-bit A/D converter (available in TQFP and VQFN packages only). |
| 23 | PC0 | bidirectional | Port C bit 0 is a 7-bit bi-directional I/O port pin with internal pull-up, also serving as ADC0 analog input channel 0 using analog power. |
| 24 | PC1 | bidirectional | Port C bit 1 is a bi-directional I/O with internal pull-up, also serving as ADC1 analog input channel 1 using analog power. |
| 25 | PC2 | bidirectional | Port C bit 2 is a bi-directional I/O with internal pull-up, also serving as ADC2 analog input channel 2 using analog power. |
| 26 | PC3 | bidirectional | Port C bit 3 is a bi-directional I/O with internal pull-up, also serving as ADC3 analog input channel 3 using analog power. |
| 27 | PC4 | bidirectional | Port C bit 4 is a bi-directional I/O with internal pull-up, also serving as SDA 2-wire serial data line and ADC4 input using digital power. |
| 28 | PC5 | bidirectional | Port C bit 5 is a bi-directional I/O with internal pull-up, also serving as SCL 2-wire serial clock line and ADC5 input using digital power. |
| 29 | PC6 | input | PC6 is the RESET input when the RSTDISBL fuse is unprogrammed, where a low level longer than the minimum pulse length generates a reset. |
| 30 | PD0 | bidirectional | Port D bit 0 is a bi-directional I/O with internal pull-up, also serving as RXD USART receive data input. |
| 31 | PD1 | bidirectional | Port D bit 1 is a bi-directional I/O with internal pull-up, also serving as TXD USART transmit data output. |
| 32 | PD2 | bidirectional | Port D bit 2 is a bi-directional I/O with internal pull-up, also serving as INT0 external interrupt 0 input. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Voltage on any pin except RESET with respect to Ground | -0.5 | V | with respect to Ground; upper limit printed as VCC+0.5V | 308 | |||
| Voltage on RESET with respect to Ground | -0.5 | 13 | V | with respect to Ground | 308 | ||
| DC Current per I/O Pin | 40 | mA | 308 | ||||
| DC Current VCC and GND Pins | 200 | mA | 308 | ||||
| Power Supply Voltage (speed 20 MHz) | VCC | 1.8 | 5.5 | V | ATmega328P-AU, speed 20 MHz, from ordering table | 635 | |
| Power Supply Current, Active mode | ICC | 0.3 | 0.5 | mA | Active 1MHz, VCC = 2V | 312 | |
| Power Supply Current, Active mode | ICC | 1.7 | 2.5 | mA | Active 4MHz, VCC = 3V | 312 | |
| Power Supply Current, Active mode | ICC | 5.2 | 9 | mA | Active 8MHz, VCC = 5V | 312 | |
| Power Supply Current, Idle mode | ICC | 0.04 | 0.15 | mA | Idle 1MHz, VCC = 2V | 312 | |
| Power Supply Current, Idle mode | ICC | 0.3 | 0.7 | mA | Idle 4MHz, VCC = 3V | 312 | |
| Power Supply Current, Idle mode | ICC | 1.2 | 2.7 | mA | Idle 8MHz, VCC = 5V | 312 | |
| Power Supply Current, Power-save mode | ICC | 0.8 | µA | Power-save mode, 32kHz TOSC enabled, VCC = 1.8V | 312 | ||
| Power Supply Current, Power-save mode | ICC | 0.9 | µA | Power-save mode, 32kHz TOSC enabled, VCC = 3V | 312 | ||
| Power Supply Current, Power-down mode | ICC | 4.2 | 8 | µA | Power-down mode, WDT enabled, VCC = 3V | 312 | |
| Power Supply Current, Power-down mode | ICC | 0.1 | 2 | µA | Power-down mode, WDT disabled, VCC = 3V | 312 |
CAD (KiCad official)
- Symbol:
ATMEGA328P-AU - Footprint:
Package_QFP:TQFP-32_7x7mm_P0.8mm - 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
atmega328p-au-etched.step/atmega328p-au-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);atmega328p-au.step/atmega328p-au.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (653 pp, sha256
b9b9d83cda56a95d, retrieved 2026-11-23) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).