ATMEGA328PB-AU

ATMEGA328PBAU is an 8-bit AVR microcontroller from MICROCHIP in a TQFP-32(7x7) package. It has 32KB of program flash and 27 I/O pins, runs at up to 20MHz on a 1.8V to 5.5V supply, and is used as the main controller on small boards.

AVR 8 Bit 20MHz TQFP-32(7x7) Microcontrollers RoHS

Maker
MICROCHIP
Package
TQFP-32(7x7)
Category
ICs
Pins
32
Number of I/O
27
Operating Temperature
-40℃~+85℃
Voltage - Supply
1.8V~5.5V
CPU Maximum Speed
20MHz
Datasheet checked
Nov 28, 2026
Used in
0 open boards
LCSC
C132230

Price at LCSC

QuantityEach
1+$1.7317
10+$1.4756
30+$1.3153
250+$1.1088
500+$1.0361
1,000+$1.0030

LCSC C132230, as of Nov 27, 2026, 3,115 in stock then. Prices change daily; see today's on LCSC.

ATMEGA328PB-AU symbol, 32 pins1PD3(INT1)2PD4(XCK/T0)3GND4VCC5GND6VCC7PB6(XTAL1/…8PB7(XTAL2/…9PD5(T1)10PD6(AIN0)11PD7(AIN1)12PB0(ICP)13PB1(OC1A)14PB2(SS/OC1…15PB3(MOSI/O…16PB4(MISO)32PD2(INT0)31PD1(TXD)30PD0(RXD)29PC6(/RESET)28PC5(ADC5/S…27PC4(ADC4/S…26PC3(ADC3)25PC2(ADC2)24PC1(ADC1)23PC0(ADC0)22ADC721AGND20AREF19ADC618AVCC17PB5(SCK)

Symbol

32 pins, drawn from its pin list

ATMEGA328PB-AU footprint, 32 pads, top view1234567891011121314151617181920212223242526272829303132

Footprint

32 pads, top view, from Package_QFP:TQFP-32_7x7mm_P0.8mm

ATMEGA328PB-AU, 3D model: KiCad library (Package_QFP/TQFP-32_7x7mm_P0.8mm), CC BY-SA 4.0

3D model

3D model: KiCad library (Package_QFP/TQFP-32_7x7mm_P0.8mm), CC BY-SA 4.0Download 3D model (STEP, 443 KB)

Download the ATMEGA328PB-AU 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.

Symbol from the schematic of https://github.com/kanflo/aaduino at c15edf9 (MIT), footprint from KiCad's library (CC-BY-SA-4.0), each credited in the README. Check the pinout and the land pattern against the datasheet before you order boards.

Datasheet
Checked
Use it in a board

ATMEGA328PB-AU specifications

As LCSC lists them for C132230 (ATMEGA328PB-AU, MICROCHIP), read Nov 27, 2026.

ADC (Bit)
10bit
Number of I/O
27
Operating Temperature
-40℃~+85℃
Voltage - Supply
1.8V~5.5V
Program Memory Type
FLASH
EEPROM
1KB
Program Storage Size
32KB
CPU Core
AVR
Core Size
8 Bit
CPU Maximum Speed
20MHz
Oscillator Type
Built-in
Lifecycle
normal
RoHS
Compliant

ATMEGA328PB-AU pinout

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

PinNameType
1PD3(INT1)Input/output
2PD4(XCK/T0)Input/output
3GNDGround
4VCCInput/output
5GNDGround
6VCCInput/output
7PB6(XTAL1/TOSC1)Input/output
8PB7(XTAL2/TOSC2)Input/output
9PD5(T1)Input/output
10PD6(AIN0)Input/output
11PD7(AIN1)Input/output
12PB0(ICP)Input/output
13PB1(OC1A)Input/output
14PB2(SS/OC1B)Input/output
15PB3(MOSI/OC2)Input/output
16PB4(MISO)Input/output
17PB5(SCK)Input/output
18AVCCInput/output
19ADC6Input/output
20AREFInput/output
21AGNDGround
22ADC7Input/output
23PC0(ADC0)Input/output
24PC1(ADC1)Input/output
25PC2(ADC2)Input/output
26PC3(ADC3)Input/output
27PC4(ADC4/SDA)Input/output
28PC5(ADC5/SCL)Input/output
29PC6(/RESET)Input/output
30PD0(RXD)Input/output
31PD1(TXD)Input/output
32PD2(INT0)Input/output

Symbol, footprint and 3D model of the ATMEGA328PB-AU

Where each came from and under which licence

What the open-source boards that use it drew it with, where each came from and under which licence.

Footprint
From KiCad's library, Package_QFP:TQFP-32_7x7mm_P0.8mm.
Licence: CC-BY-SA-4.0 · medium confidence
3D model
From KiCad's library, Package_QFP:TQFP-32_7x7mm_P0.8mm.
Licence: CC-BY-SA-4.0 · medium confidence

Put the ATMEGA328PB-AU 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.