embedded processors controllers

ATmega328PB

Every spec below is cited to the manufacturer datasheet. Compare the closest alternatives, then ask the assistant what it means for your design.

00 — Overview

What the ATmega328PB does

The ATmega328PB is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. It features 32 KB of In-System Self-Programmable Flash, 1 KB EEPROM, and 2 KB Internal SRAM. The device operates at up to 20 MHz with a single supply of 1.8 to 5.5 V. It includes ten PWM channels, an 8-channel 10-bit ADC, and two 16-bit Timer/Counters. The ATmega328PB supports six sleep modes and offers a power-down current of 0.2 μA. It is available in 32-pin TQFP and 32-pin QFN packages. This microcontroller is designed for applications requiring optimized power consumption versus processing speed, such as embedded systems utilizing its peripheral touch controller or programmable USARTs.

Next step
Start building with ATmega328PB → Every number above is cited straight from the datasheet — ask what they mean for your design, and the assistant answers from the same source documents.
01 — Key specifications

Datasheet parameters

Datasheet parameters for ATmega328PB
ParameterMinTypMaxConditionsSource
quiescent current — — 1.3 µA Power-save mode(3); 32 KHz TOSC enabled, VCC = 1.8V Microchip datasheet, p. 407 — Table 33-3. ATmega328PB DC Characteristics - to , to (unless othe…
supply voltage range 1.8 V — 5.5 V Microchip datasheet, p. 12 — 3. Ordering Information
operating temperature -40 °C — 85 °C Microchip datasheet, p. 12 — 3. Ordering Information
cpu speed — 20 MHz — Microchip datasheet, p. 12 — 3. Ordering Information
program memory size — 32 KB — Microchip datasheet, p. 11 — 2. Configuration Summary
ram size — 2 KB — Microchip datasheet, p. 11 — 2. Configuration Summary
eeprom size — 1 KB — Microchip datasheet, p. 390 — Table 32-10. No. of Words in a Page and No. of Pages in the EEPROM
io count — 27 — Microchip datasheet, p. 11 — 2. Configuration Summary
adc resolution — 10 bit — Microchip datasheet, p. 11 — 2. Configuration Summary
core size — 8 bit — Microchip datasheet, p. 1
output voltage high 2 V — — IOH = 10mA, VCC = 3V; TA = 105°C Microchip datasheet, p. 406 — 33.2 DC Characteristics
output voltage low — — 700 mV IOL = 10mA, VCC = 3V; TA = 105°C Microchip datasheet, p. 406 — 33.2 DC Characteristics
02 — Alternatives

Closest matches to ATmega328PB

ATtiny13A-MMF 3.8× higher clock frequency, 2.0× higher output voltage high, 1.9× higher operating temperature
ATmega328P 4.0× lower input offset voltage, 2.0× higher output voltage high, 1.9× higher operating temperature
STM8L052C6 15.2× higher clock frequency, 6.7× lower fall time, 1.6× higher quiescent current
ATmega168A 2.0× lower eeprom size, 2.0× lower program memory size, 2.0× lower ram size
MSP430FR2310 16.0× lower program memory size, 8.0× higher propagation delay, 2.3× lower output voltage low
ATtiny1616 8.0× lower propagation delay, 4.8× higher clock frequency, 3.5× lower output voltage low
EFM8BB51F16G-C 3.9× higher quiescent current, 2.5× higher cpu speed, 2.0× lower program memory size
EFM8BB51F16G-C-QFN20 3.9× higher quiescent current, 2.5× higher cpu speed, 2.0× lower program memory size
03 — FAQ

Frequently asked questions

What is the ADC resolution of the ATmega328PB?

The ADC resolution is 10 bit.

What is the core size of the ATmega328PB?

The core size is 8 bit.

What is the maximum CPU speed of the ATmega328PB?

The maximum CPU speed is 20 MHz.

How many I/O pins does the ATmega328PB have?

The ATmega328PB has 27 I/O pins.

What is the maximum operating temperature for the ATmega328PB?

The operating temperature is 85 °C.

What is the program memory size of the ATmega328PB?

The program memory size is 32 KB.

What is the RAM size of the ATmega328PB?

The RAM size is 2 KB.

What is the maximum supply voltage for the ATmega328PB?

The maximum supply voltage is 5.5 V.

Design help What do I need around the ATmega328PB? →