ATmega328PB-M

An AVR microcontroller in a QFN-32-1EP 5x5mm P0.5mm EP3.1x3.1mm package, from the ATmega328PB family. Its datasheet describes a high-performance, low-power AVR core with an on-chip multiplier and nonvolatile memory segments.

20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, QFN-32

Maker
Microchip
Package
QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm
Category
ICs
Pins
33
Datasheet checked
Nov 28, 2026
Used in
0 open boards
ATmega328PB-M symbol1PD32PD43PE04VCC5GND6PE17XTAL1/PB68XTAL2/PB79PD510PD611PD712PB013PB114PB215PB316PB417PB518AVCC19PE220AREF22PE323PC024PC125PC226PC327PC428PC529RESET#/PC630PD031PD132PD2

Symbol

33 pins, as the editor draws it

ATmega328PB-M footprint, 33 pads, top view123456789101112131415161718192021222324252627282930313233

Footprint

33 pads, top view, from Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm

Download the ATmega328PB-M for KiCad, Altium or EAGLE

Free, no account: the symbol and the footprint as a library of your tool, with a README of where each came from and its licence.

From KiCad's own library, under CC BY-SA 4.0 with KiCad's exception for designs: a board you make with it is yours. Check the pinout and the land pattern against the datasheet before you order boards.

Datasheet
Checked
Use it in a board

ATmega328PB-M pinout

33 pins, as the symbol and the footprint pair them.

PinNameType
1PD3Input/output
2PD4Input/output
3PE0Input/output
4VCCpower_in
5GNDGround
6PE1Input/output
7XTAL1/PB6Input/output
8XTAL2/PB7Input/output
9PD5Input/output
10PD6Input/output
11PD7Input/output
12PB0Input/output
13PB1Input/output
14PB2Input/output
15PB3Input/output
16PB4Input/output
17PB5Input/output
18AVCCpower_in
19PE2Input/output
20AREFPassive
21GNDGround
22PE3Input/output
23PC0Input/output
24PC1Input/output
25PC2Input/output
26PC3Input/output
27PC4Input/output
28PC5Input/output
29RESET#/PC6Input/output
30PD0Input/output
31PD1Input/output
32PD2Input/output
33GNDGround

Put the ATmega328PB-M in a board.

Describe the board; Cherry Blossom picks the parts, wires the schematic, lays out the PCB and checks it.

By signing up, you agree to our Terms of Service and Privacy Policy.