ATmega328P-AU KiCad symbol and footprint

8-bit AVR microcontroller, the chip on the Arduino Uno, in a 32-lead TQFP. PartSpark generated this schematic symbol and TQFP-32 PCB footprint from the part number alone. We then checked every pin and pad against the Microchip Technology datasheet.

TQFP-32, 7 × 7 mm, 0.8 mm pitch · 32 pins · 32 pads · footprint TQFP-32_7x7mm_P0.8mm · generated 2026-10-01

What we checked

Checked against the datasheet

Source: Microchip DS40001984A, Figure 5-3 (32-pin TQFP top view, page 16). Checked 2026-10-01.

  • All 32 pin numbers and names match Figure 5-3, the 32-pin TQFP top view on page 16 of Microchip DS40001984A, counter-clockwise from PD3 at pin 1.
  • Power pins are complete: VCC on 4 and 6, AVCC on 18, GND on 3, 5, and 21. The TQFP has no exposed pad.
  • The datasheet has no recommended land pattern, so the footprint uses standard TQFP pads: 1.50 × 0.55 mm at 0.8 mm pitch, rows 8.40 mm apart. KiCad’s own TQFP-32 footprint uses 1.475 × 0.55 mm pads 8.325 mm apart. Compare against your fab rules before release.

To use the files, add the .kicad_sym under Preferences → Manage Symbol Libraries and put the .kicad_mod in a .pretty folder registered under Manage Footprint Libraries with the nickname ProtoFlow.pretty, which is what the symbol’s Footprint field points to. Review the land pattern against your fab’s rules before ordering boards.

Pin map

ATmega328P-AU pinout

PinNameElectrical type
1PD3/INT1/OC2B/PCINT19Bidirectional
2PD4/T0/XCK/PCINT20Bidirectional
3GNDPower input
4VCCPower input
5GNDPower input
6VCCPower input
7PB6/XTAL1/TOSC1/PCINT6Bidirectional
8PB7/XTAL2/TOSC2/PCINT7Bidirectional
9PD5/T1/OC0B/PCINT21Bidirectional
10PD6/AIN0/OC0A/PCINT22Bidirectional
11PD7/AIN1/PCINT23Bidirectional
12PB0/ICP1/CLKO/PCINT0Bidirectional
13PB1/OC1A/PCINT1Bidirectional
14PB2/SS/OC1B/PCINT2Bidirectional
15PB3/MOSI/OC2A/PCINT3Bidirectional
16PB4/MISO/PCINT4Bidirectional
17PB5/SCK/PCINT5Bidirectional
18AVCCPower input
19ADC6Input
20AREFPassive
21GNDPower input
22ADC7Input
23PC0/ADC0/PCINT8Bidirectional
24PC1/ADC1/PCINT9Bidirectional
25PC2/ADC2/PCINT10Bidirectional
26PC3/ADC3/PCINT11Bidirectional
27PC4/ADC4/SDA/PCINT12Bidirectional
28PC5/ADC5/SCL/PCINT13Bidirectional
29PC6/RESET/PCINT14Bidirectional
30PD0/RXD/PCINT16Bidirectional
31PD1/TXD/PCINT17Bidirectional
32PD2/INT0/PCINT18Bidirectional