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 8-bit microcontroller featuring an enhanced RISC architecture and PicoPower technology. It offers 32 KB of Flash memory, 1 KB of EEPROM, and 2 KB of SRAM. Operating voltages range from 1.8 to 5.5 V with speeds up to 20 MHz. The device includes ten PWM channels, an 8-channel 10-bit ADC, and a Peripheral Touch Controller for capacitive sensing. It supports six sleep modes to minimize power consumption, drawing as little as 0.2 μA in power-down. Available in 32-pin TQFP and QFN packages, this microcontroller is designed for applications requiring high performance with minimal energy usage across commercial and industrial temperature ranges.

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
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 eeprom 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
rise time 2 µs tclch Microchip datasheet, p. 409 — Table 33-5. External Clock Drive
output voltage high 2 V IOH = 10mA, VCC = 3V; TA = 105°C; voh; 33.2 DC Characteristics Microchip datasheet, p. 406 — 33.2 DC Characteristics
output voltage low 700 mV IOL = 10mA, VCC = 3V; TA = 105°C; vol; 33.2 DC Characteristics 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.2× lower clock frequency, 4.0× lower input offset voltage, 1.9× higher operating temperature
STM8L052C6 15.2× higher clock frequency, 6.7× lower fall time, 1.6× higher quiescent current
MSP430FR2310 16.4× lower program memory size, 8.0× higher propagation delay, 2.3× lower output voltage low
ATtiny25-20PU 16.0× lower program memory size, 16.0× lower ram size, 1.1× higher supply voltage range
EFM8BB2F16G 2.5× higher cpu speed, 2.0× lower program memory size, 1.3× lower supply voltage range
STM8S105C4 15.2× higher clock frequency, 6.7× lower fall time, 2.0× lower program memory size
ATmega32A 1.2× lower cpu speed, 1.1× higher supply voltage range, similar adc resolution
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.

What is the EEPROM size?

The EEPROM size is 1 kB.

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 output voltage high (VOH) when IOH = 10mA, VCC = 3V, and TA = 105°C?

The output voltage high is 2 V.

What is the maximum output voltage low (VOL) for the ATmega328PB when IOL = 10mA, VCC = 3V, and TA = 105°C?

The output voltage low is 700 mV.

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 rise time (tclch) specification for the ATmega328PB?

The rise time (tclch) is 2 µs.

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? →