component
ATMEGA328-AU
Public Made by Adomby adom
Microchip Tech MICROCHIP, TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
Publish 0.1.0
640b3e6
ATMEGA328-AU
Microchip Tech · MICROCHIP · TQFP-32(7x7)
ATMEGA328-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 with internal pull-up, also external interrupt INT1, Timer/Counter2 output compare B OC2B, and pin change interrupt PCINT19. |
| 2 | PD4 | bidirectional | Port D bit 4 with internal pull-up, also USART external clock XCK, Timer/Counter0 external counter input T0, and pin change interrupt PCINT20. |
| 3 | GND | power_in | Ground. |
| 4 | VCC | power_in | Digital supply voltage; the device operates from 1.8 to 5.5 V. |
| 5 | GND | power_in | Ground. |
| 6 | VCC | power_in | Digital supply voltage; the device operates from 1.8 to 5.5 V. |
| 7 | PB6 | bidirectional | 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. |
| 8 | PB7 | bidirectional | 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. |
| 9 | PD5 | bidirectional | 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. |
| 10 | PD6 | bidirectional | 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. |
| 11 | PD7 | bidirectional | 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. |
| 12 | PB0 | bidirectional | Port B bit 0 with internal pull-up, also Timer/Counter1 input capture ICP1, divided system clock output CLKO, and pin change interrupt PCINT0. |
| 13 | PB1 | bidirectional | Port B bit 1 with internal pull-up, also Timer/Counter1 output compare match A output OC1A and pin change interrupt PCINT1. |
| 14 | PB2 | bidirectional | 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. |
| 15 | PB3 | bidirectional | Port B bit 3 with internal pull-up, also SPI MOSI, Timer/Counter2 output compare match A output OC2A, and pin change interrupt PCINT3. |
| 16 | PB4 | bidirectional | Port B bit 4 with internal pull-up, also SPI master input / slave output MISO and pin change interrupt PCINT4. |
| 17 | PB5 | bidirectional | Port B bit 5 with internal pull-up, also SPI clock SCK (master clock output / slave clock input) and pin change interrupt PCINT5. |
| 18 | AVCC | power_in | 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. |
| 19 | ADC6 | input | Analog input channel 6 of the 10-bit A/D converter (TQFP and VQFN package only), powered from the analog supply. |
| 20 | AREF | input | Analog reference pin for the A/D converter. |
| 21 | GND | power_in | Ground. |
| 22 | ADC7 | input | Analog input channel 7 of the 10-bit A/D converter (TQFP and VQFN package only), powered from the analog supply. |
| 23 | PC0 | bidirectional | Port C bit 0 (7-bit port with internal pull-ups), also ADC input channel 0 using analog power and pin change interrupt PCINT8. |
| 24 | PC1 | bidirectional | Port C bit 1 with internal pull-up, also ADC input channel 1 using analog power and pin change interrupt PCINT9. |
| 25 | PC2 | bidirectional | Port C bit 2 with internal pull-up, also ADC input channel 2 using analog power and pin change interrupt PCINT10. |
| 26 | PC3 | bidirectional | Port C bit 3 with internal pull-up, also ADC input channel 3 using analog power and pin change interrupt PCINT11. |
| 27 | PC4 | bidirectional | 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. |
| 28 | PC5 | bidirectional | 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. |
| 29 | PC6 | bidirectional | 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. |
| 30 | PD0 | bidirectional | 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. |
| 31 | PD1 | bidirectional | 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. |
| 32 | PD2 | bidirectional | Port D bit 2 with internal pull-up, also external interrupt source INT0 and pin change interrupt PCINT18. |
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 |
|---|---|---|---|---|---|---|---|
| Power supply voltage (operational range, ATmega328-AU) | VCC | 1.8 | 5.5 | V | Ordering information: Power Supply 1.8 - 5.5 V, speed 20 MHz, Industrial operational range | 634 | |
| Maximum frequency (ATmega328-AU speed grade) | 20 | MHz | Ordering information: speed 20 MHz (footnote 3, see Figure 29-1 frequency vs. VCC) | 634 | |||
| Operating temperature (industrial range, ATmega328-AU) | -40 | 85 | °C | Ordering information: Industrial (-40C to 85C) | 634 | ||
| Operating temperature | -55 | 125 | °C | 308 | |||
| Storage temperature | -65 | 150 | °C | 308 | |||
| Voltage on any pin except RESET with respect to Ground | -0.5 | V | Maximum printed as VCC+0.5V | 308 | |||
| Voltage on RESET with respect to Ground | -0.5 | 13 | V | 308 | |||
| DC Current per I/O Pin | 40 | mA | 308 | ||||
| DC Current VCC and GND Pins | 200 | mA | 308 |
CAD (KiCad official)
- Symbol:
ATMEGA328-AU - Footprint:
Package_QFP:TQFP-32_7x7mm_P0.8mm - 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
atmega328-au-etched.step/atmega328-au-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);atmega328-au.step/atmega328-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-05, tier: manufacturer) - 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).
# ATMEGA328-AU
**Microchip Tech** · MICROCHIP · TQFP-32(7x7)
ATMEGA328-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 with internal pull-up, also external interrupt INT1, Timer/Counter2 output compare B OC2B, and pin change interrupt PCINT19. |
| 2 | PD4 | bidirectional | Port D bit 4 with internal pull-up, also USART external clock XCK, Timer/Counter0 external counter input T0, and pin change interrupt PCINT20. |
| 3 | GND | power_in | Ground. |
| 4 | VCC | power_in | Digital supply voltage; the device operates from 1.8 to 5.5 V. |
| 5 | GND | power_in | Ground. |
| 6 | VCC | power_in | Digital supply voltage; the device operates from 1.8 to 5.5 V. |
| 7 | PB6 | bidirectional | 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. |
| 8 | PB7 | bidirectional | 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. |
| 9 | PD5 | bidirectional | 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. |
| 10 | PD6 | bidirectional | 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. |
| 11 | PD7 | bidirectional | 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. |
| 12 | PB0 | bidirectional | Port B bit 0 with internal pull-up, also Timer/Counter1 input capture ICP1, divided system clock output CLKO, and pin change interrupt PCINT0. |
| 13 | PB1 | bidirectional | Port B bit 1 with internal pull-up, also Timer/Counter1 output compare match A output OC1A and pin change interrupt PCINT1. |
| 14 | PB2 | bidirectional | 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. |
| 15 | PB3 | bidirectional | Port B bit 3 with internal pull-up, also SPI MOSI, Timer/Counter2 output compare match A output OC2A, and pin change interrupt PCINT3. |
| 16 | PB4 | bidirectional | Port B bit 4 with internal pull-up, also SPI master input / slave output MISO and pin change interrupt PCINT4. |
| 17 | PB5 | bidirectional | Port B bit 5 with internal pull-up, also SPI clock SCK (master clock output / slave clock input) and pin change interrupt PCINT5. |
| 18 | AVCC | power_in | 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. |
| 19 | ADC6 | input | Analog input channel 6 of the 10-bit A/D converter (TQFP and VQFN package only), powered from the analog supply. |
| 20 | AREF | input | Analog reference pin for the A/D converter. |
| 21 | GND | power_in | Ground. |
| 22 | ADC7 | input | Analog input channel 7 of the 10-bit A/D converter (TQFP and VQFN package only), powered from the analog supply. |
| 23 | PC0 | bidirectional | Port C bit 0 (7-bit port with internal pull-ups), also ADC input channel 0 using analog power and pin change interrupt PCINT8. |
| 24 | PC1 | bidirectional | Port C bit 1 with internal pull-up, also ADC input channel 1 using analog power and pin change interrupt PCINT9. |
| 25 | PC2 | bidirectional | Port C bit 2 with internal pull-up, also ADC input channel 2 using analog power and pin change interrupt PCINT10. |
| 26 | PC3 | bidirectional | Port C bit 3 with internal pull-up, also ADC input channel 3 using analog power and pin change interrupt PCINT11. |
| 27 | PC4 | bidirectional | 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. |
| 28 | PC5 | bidirectional | 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. |
| 29 | PC6 | bidirectional | 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. |
| 30 | PD0 | bidirectional | 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. |
| 31 | PD1 | bidirectional | 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. |
| 32 | PD2 | bidirectional | Port D bit 2 with internal pull-up, also external interrupt source INT0 and pin change interrupt PCINT18. |
## 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 |
|---|---|---|---|---|---|---|---|
| Power supply voltage (operational range, ATmega328-AU) | VCC | 1.8 | | 5.5 | V | Ordering information: Power Supply 1.8 - 5.5 V, speed 20 MHz, Industrial operational range | 634 |
| Maximum frequency (ATmega328-AU speed grade) | | | | 20 | MHz | Ordering information: speed 20 MHz (footnote 3, see Figure 29-1 frequency vs. VCC) | 634 |
| Operating temperature (industrial range, ATmega328-AU) | | -40 | | 85 | °C | Ordering information: Industrial (-40C to 85C) | 634 |
| Operating temperature | | -55 | | 125 | °C | | 308 |
| Storage temperature | | -65 | | 150 | °C | | 308 |
| Voltage on any pin except RESET with respect to Ground | | -0.5 | | | V | Maximum printed as VCC+0.5V | 308 |
| Voltage on RESET with respect to Ground | | -0.5 | | 13 | V | | 308 |
| DC Current per I/O Pin | | | | 40 | mA | | 308 |
| DC Current VCC and GND Pins | | | | 200 | mA | | 308 |
## CAD (KiCad official)
- Symbol: `ATMEGA328-AU`
- Footprint: `Package_QFP:TQFP-32_7x7mm_P0.8mm`
- 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files: `atmega328-au-etched.step` / `atmega328-au-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `atmega328-au.step` / `atmega328-au.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf) (653 pp, sha256 `b9b9d83cda56a95d`, retrieved 2026-11-05, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-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).
[Datasheet PDF](docs/atmega328-au-datasheet.pdf)