embedded processors controllers

ATmega328P

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 ATmega328P does

The ATmega328P is an 8-bit AVR microcontroller featuring 32K bytes of in-system programmable flash, 1Kbyte EEPROM, and 2Kbytes of internal SRAM. It operates at speeds up to 16MHz with a supply voltage of 2.7V to 5.5V. The device includes six PWM channels, an 8-channel 10-bit ADC, and supports multiple serial interfaces including USART, SPI, and I2C. Available in 32-lead TQFP and 32-pad QFN/MLF packages, it functions across automotive temperature ranges from –40°C to +125°C. This microcontroller is designed for high-performance, low-power applications requiring advanced RISC architecture and extensive peripheral features.

Next step
Start building with ATmega328P → 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 ATmega328P
ParameterMinTypMaxConditionsSource
quiescent current — 9.2 mA 14 mA Active 16MHz, VCC = 5V Microchip datasheet, p. 260 — 28.3 DC Characteristics
supply voltage range 2.7 V — 5.5 V Microchip datasheet, p. 2
input offset voltage — 10 mV 40 mV 0.4V < Vin< VCC- 0.5 (absolute value) Microchip datasheet, p. 259 — 28.2 DC Characteristics (Continued)
operating temperature -40 °C — 125 °C Microchip datasheet, p. 2
cpu speed — 16 MHz — Microchip datasheet, p. 2
program memory size — 32 KB — Microchip datasheet, p. 6 — Table 2-1. Memory Size Summary
ram size — 2 KB — Microchip datasheet, p. 6 — Table 2-1. Memory Size Summary
eeprom size — 1 KB — Microchip datasheet, p. 6 — Table 2-1. Memory Size Summary
io count — 23 — Microchip datasheet, p. 2
adc resolution — 10 bit — Microchip datasheet, p. 1
core size — 8 bit — Microchip datasheet, p. 1
fall time — — 250 ns 10pF < Cb< 400pF(3) Microchip datasheet, p. 264 — Table 28-7. 2-wire Serial Bus Requirements
output voltage high 4.1 V — — IOH = -20mA, VCC = 5V Microchip datasheet, p. 259 — 28.2 DC Characteristics (Continued)
output voltage low — — 800 mV IOL = 20mA, VCC = 5V Microchip datasheet, p. 259 — 28.2 DC Characteristics (Continued)
02 — Alternatives

Closest matches to ATmega328P

ATmega328PB 4.0× higher input offset voltage, 2.0× lower output voltage high, 1.9× lower operating temperature
ATtiny1616 8.0× lower clock frequency, 4.0× lower output voltage low, 2.0× lower program memory size
ATmega168A 2.0× lower eeprom size, 2.0× lower program memory size, 2.0× lower ram size
PIC16LF1824 8.0× lower ram size, 6.2× higher fall time, 6.2× higher rise time
EFM8BB21F16A-C-QFN20 4.2× higher quiescent current, 3.1× higher cpu speed, 2.0× lower program memory size
EFM8BB21F16G 4.2× higher quiescent current, 3.1× higher cpu speed, 2.0× lower program memory size
EFM8BB2F16G 4.1× higher quiescent current, 3.1× higher cpu speed, 2.0× lower program memory size
MSP430G2553IPW28R 10.0× lower clock frequency, 4.0× lower ram size, 2.0× higher core size
03 — FAQ

Frequently asked questions

What is the ADC resolution of the ATmega328P?

The ADC resolution is 10 bit.

What is the core size of the ATmega328P?

The core size is 8 bit.

What is the maximum CPU speed of the ATmega328P?

The maximum CPU speed is 16 MHz.

What is the fall time for the ATmega328P when 10pF < Cb < 400pF under 2-wire Serial Bus Requirements?

The fall time is 250 ns.

What is the input offset voltage when 0.4V < Vin< VCC- 0.5 (absolute value) and TA = -40°C to +125°C, VCC = 2.7V to 5.5V (unless otherwise noted)?

The input offset voltage is 10 mV.

How many I/O pins does the ATmega328P have?

The ATmega328P has 23 I/O pins.

What is the maximum operating temperature for the ATmega328P?

The maximum operating temperature is 125 °C.

What is the quiescent current in the Active 16MHz, VCC = 5V condition?

The quiescent current is 9.2 mA.

Design help What do I need around the ATmega328P? →