Components / Integrated circuits / ATmega328P-PU (blank)

ATmega328P-PU (blank)

The Uno's microcontroller as a bare DIP chip without a bootloader.

Function8-bit AVR microcontroller
Supply voltage1.8 to 5.5 V
Inputs and outputs23 I/O, 6 ADC
SpeedUp to 20 MHz
Integrated CircuitsReviewedMPN ATMEGA328P-PUUsed in 3 projects
ATMEGA32
In short

What is the ATmega328P-PU (blank) and what is it used for?

The Uno's microcontroller as a bare DIP chip without a bootloader. Makers use it for building your own Arduino.

How it works

The 8-bit AVR microcontroller used on the Arduino Uno, with 32 KB flash and 2 KB RAM.

Key specifications

Integrated circuit specValue
Function8-bit AVR microcontroller
Supply voltage1.8 to 5.5 V
Inputs and outputs23 I/O, 6 ADC
SpeedUp to 20 MHz
PackageDIP-28
Watch out forBurn a bootloader with an ISP programmer first

Pinout

1RESET (PC6), 10 kΩ pull-up to VCC
2and 3RXD (PD0) and TXD (PD1)
4to 6PD2 (INT0), PD3 (INT1, PWM), PD4
7VCC
8GND
9and 10XTAL1 and XTAL2 (16 MHz crystal)
11to 13PD5 (PWM), PD6 (PWM), PD7
14to 19PB0, PB1 (PWM), PB2 (SS, PWM), PB3 (MOSI, PWM), PB4 (MISO), PB5 (SCK)
20AVCC, connect to VCC
21AREF
22GND
23to 28PC0 to PC5 (ADC0 to ADC5, SDA on 27, SCL on 28)

How to use it

A blank chip has no bootloader. Burn one with an Arduino as ISP (pins 17, 18, 19 and 1) choosing Arduino Uno as the board, then add a 16 MHz crystal with two 22 pF capacitors, 100 nF on each VCC pin and a 10 kΩ reset pull-up. Arduino pin D13 is physical pin 19.

Applications

Alternatives

Buy at

Common questions

What is the ATmega328P-PU (blank) used for?

In maker projects: building your own Arduino.

How does the ATmega328P-PU (blank) work?

The 8-bit AVR microcontroller used on the Arduino Uno, with 32 KB flash and 2 KB RAM.

What voltage does the ATmega328P-PU (blank) need?

1.8 to 5.5 V.

What can I use instead of the ATmega328P-PU (blank)?

Arduino Nano and ATtiny85-20PU microcontroller.