Microchip Technology

ATMEGA328P-PU - 8-bit AVR MCU 32KB Flash 28-PDIP | Microchip

MPN: ATMEGA328P-PU βœ“ Active
In Stock Ships in 1-3 business days
4.5 V to 5.5 V Vdss 28-PDIP Package 20 MHz Speed 32 KB (16K x 16) Memory
Contact for pricing
MOQ: 1 |
Price updated: 2026-09-17
Volume Pricing
Qty Unit Price Extended
1 $0 $0.00
10 $0 $0.00
100 $0 $0.00
500 $0 $0.00
1,000 $0 $0.00
ℹ️ All prices are in USD

ATMEGA328P-PU Overview

The Microchip Technology ATMEGA328P-PU is an 8-bit AVR RISC microcontroller with 32 KB ISP Flash memory, 1 KB EEPROM, 2 KB SRAM, and 23 general-purpose I/O lines, housed in a 28-pin PDIP (PU) package. This is the classic microcontroller at the heart of the Arduino Uno R3, making it one of the most widely recognized MCUs in the industry.

An 8-bit microcontroller (MCU) is a single-chip computer that integrates a processor core, program memory, data memory, and peripherals such as timers, UART, SPI, and I2C on one die. Within the power-management hierarchy of embedded systems, an MCU sits between discrete logic and full application processors, executing control and sensing tasks in cost-sensitive designs. The AVR family, originally developed by Atmel and now part of Microchip Technology, popularized single-cycle RISC execution for 8-bit control.

The ATMEGA328P-PU executes 131 powerful instructions, most in a single clock cycle, through its AVR advanced RISC architecture with 32 general-purpose working registers. The P suffix denotes picoPower technology, delivering low power consumption with multiple sleep modes for battery-operated designs. Program memory supports In-System Programming (ISP) with read-while-write capability, enabling firmware updates over the Arduino bootloader or an ISP programmer such as the USBasp or AVRISP mkII.

The architecture pairs a Harvard-memory AVR core with a 10-bit ADC, three flexible timers (two 8-bit and one 16-bit), a full-duplex USART, and hardware SPI and TWI (I2C) interfaces. Operating voltage for the -PU grade is 4.5 V to 5.5 V, which supports direct 5 V logic interfacing without level shifting.

Typical applications include Arduino-compatible educational and maker boards, home automation and IoT sensor nodes, industrial control panels, and legacy equipment service replacements where a socketed DIP part simplifies field repair.

Design tip: keep the clock at 16 MHz for full 5 V Arduino compatibility; the -PU grade is rated for 20 MHz max clock in the 4.5 V to 5.5 V supply window per DigiKey listing. Always decouple VCC and AVCC with 100 nF capacitors.

This page synthesizes drop-in alternatives, package comparison data, and practical design notes not found in the manufacturer datasheet, with pricing as of 2026-09-17.

Drop-in alternatives for ATMEGA328P-PU β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with ATMEGA328P-PU (same form factor and footprint) β€” differing in Package, Communication Interfaces, RoHS Status, Supply Voltage Range, ADC.

Microchip Technology
Package: 28-PDIP (0.300 inch, 7.62 mm)
Communication Interfaces: USART, SPI, I2C (TWI)
Supply Voltage Range: 2.7 V to 5.5 V
Compare with ATMEGA328P-PU β†’
Microchip Technology
Package: 28-PDIP (0.300 inch, 7.62 mm)
Communication Interfaces: USART, SPI, I2C (TWI)
RoHS Status: Compliant (GREEN)
Compare with ATMEGA328P-PU β†’
Microchip Technology
Communication Interfaces: 1x USART, 1x SPI, 1x TWI (I2C)
RoHS Status: Compliant
Supply Voltage Range: 2.7 V to 5.5 V
Compare with ATMEGA328P-PU β†’
Microchip Technology
Package: 28-PDIP (0.300 in, 7.62 mm), through-hole
Communication Interfaces: USART, SPI, Two-Wire (I2C)
Supply Voltage Range: 2.7 V to 5.5 V
Compare with ATMEGA328P-PU β†’
Microchip Technology
Package: 28-PDIP (0.300 in, 7.62 mm)
RoHS Status: Compliant (I suffix)
Compare with ATMEGA328P-PU β†’
Microchip Technology
Package: 28-PDIP (0.300 in, 7.62 mm)
Communication Interfaces: USART, SPI, 2-Wire (I2C)
RoHS Status: Green / Compliant
Compare with ATMEGA328P-PU β†’
Microchip Technology
Communication Interfaces: USART, SPI, TWI (I2C)
RoHS Status: Green (RoHS compliant)
Supply Voltage Range: 2.5 V to 5.5 V
Compare with ATMEGA328P-PU β†’
Microchip Technology
Package: 40-pin PDIP (0.600 in / 15.24 mm)
Communication Interfaces: USART, SPI, TWI (I2C)
RoHS Status: Compliant
Compare with ATMEGA328P-PU β†’

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

ATMEGA328-PU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 28-PDIP
same 32 KB Flash/2 KB SRAM DIP-28 pinout, non-picoPower die (slightly higher active current)

πŸ“‹ Reference alternative (not in catalog)

ATMEGA168PA-PU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 28-PDIP
8-bit AVR RISC Β· 16 KB (8K x 16) Β· 1 KB Β· 512 B Β· 20 MHz Β· 2.7 V to 5.5 V Β· 23 Β· 32

βœ“ In Stock

$1.86 / Unit

View Datasheet β†’

ATMEGA168V-10PU

βœ… Drop-In
Microchip Technology
πŸ“¦ 28-PDIP
AVR Β· 8-Bit Β· 10 MHz Β· 16 KB (8K x 16) Β· 512 B Β· 1 KB Β· 1.8 V to 5.5 V Β· 23

βœ“ In Stock

$2.01 / Unit

View Datasheet β†’

ATMEGA88PA-PU

βœ… Drop-In
πŸ“¦ 28-PDIP
Flash 8 KB vs 32 KB (-75%), SRAM 1 KB vs 2 KB, pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

ATMEGA48PA-PU

βœ… Drop-In
πŸ“¦ 28-PDIP
Flash 4 KB vs 32 KB (-87.5%), smallest memory family member, same pinout

πŸ“‹ Reference alternative (not in catalog)

ATMEGA8-16PU

βœ… Drop-In
πŸ“¦ 28-PDIP
older ATmega8 core, 8 KB Flash (-75%), reduced peripherals, same DIP-28 pinout

πŸ“‹ Reference alternative (not in catalog)

ATMEGA328P-PU Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit AVR RISC
Flash Program Memory 32 KB (16K x 16)
EEPROM 1 KB
SRAM 2 KB
Maximum Clock Frequency 20 MHz
Typical Arduino Clock Frequency 16 MHz
Supply Voltage Range 4.5 V to 5.5 V
General Purpose I/O Lines 23
Working Registers 32 general purpose
Instructions 131 instructions, most single-cycle
Package 28-PDIP
Mounting Type Through Hole
In-System Programming Yes (ISP, read-while-write)
ADC 10-bit
Product Series AVR ATmega
Interface Peripherals USART, SPI, TWI (I2C)

ATMEGA328P-PU Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 PC6 / RESET β€” Reset input (active low); digital I/O if RSTDISBL fuse programmed
Pin 2 PD0 / RXD β€” Port D bit 0; USART receive
Pin 3 PD1 / TXD β€” Port D bit 1; USART transmit
Pin 4 PD2 / INT0 β€” Port D bit 2; external interrupt 0
Pin 5 PD3 / INT1 / OC2B β€” Port D bit 3; external interrupt 1; Timer2 PWM output B
Pin 6 PD4 / T0 / XCK β€” Port D bit 4; Timer0 external clock; USART external clock
Pin 7 VCC β€” Digital supply voltage (4.5 V to 5.5 V)
Pin 8 GND β€” Ground
Pin 9 PB6 / XTAL1 / TOSC1 β€” Port B bit 6; crystal oscillator input / RTC oscillator
Pin 10 PB7 / XTAL2 / TOSC2 β€” Port B bit 7; crystal oscillator output / RTC oscillator
Pin 11 PD5 / T1 / OC0B β€” Port D bit 5; Timer1 external clock; Timer0 PWM output B
Pin 12 PD6 / AIN0 / OC0A β€” Port D bit 6; analog comparator positive input; Timer0 PWM output A
Pin 13 PD7 / AIN1 β€” Port D bit 7; analog comparator negative input
Pin 14 PB0 / ICP1 / CLK0 β€” Port B bit 0; Timer1 input capture; divisible system clock output
Pin 15 PB1 / OC1A β€” Port B bit 1; Timer1 PWM output A
Pin 16 PB2 / SS / OC1B β€” Port B bit 2; SPI slave select; Timer1 PWM output B
Pin 17 PB3 / MOSI / OC2A β€” Port B bit 3; SPI master output; Timer2 PWM output A
Pin 18 PB4 / MISO β€” Port B bit 4; SPI master input
Pin 19 PB5 / SCK β€” Port B bit 5; SPI serial clock
Pin 20 AVCC β€” ADC supply voltage; connect to VCC through low-pass filter
Pin 21 AREF β€” ADC analog reference; decouple to GND with 100 nF when using internal reference
Pin 22 GND β€” Ground
Pin 23 PC0 / ADC0 β€” Port C bit 0; ADC channel 0
Pin 24 PC1 / ADC1 β€” Port C bit 1; ADC channel 1
Pin 25 PC2 / ADC2 β€” Port C bit 2; ADC channel 2
Pin 26 PC3 / ADC3 β€” Port C bit 3; ADC channel 3
Pin 27 PC4 / ADC4 / SDA β€” Port C bit 4; ADC channel 4; TWI data
Pin 28 PC5 / ADC5 / SCL β€” Port C bit 5; ADC channel 5; TWI clock

Typical Applications

ATMEGA328P-PU is suitable for 6 applications: Arduino Uno R3 Compatible Boards, Home Automation and IoT Sensor Nodes, Industrial Control and Legacy Equipment Repair, Education and STEM Training Platforms, Consumer Appliances and Toys, Prototyping and Custom Embedded Development.

🧩

Arduino Uno R3 Compatible Boards

The ATMEGA328P-PU is the stock microcontroller of the Arduino Uno R3, running at 16 MHz from a 5 V rail with the standard Uno bootloader and fuse configuration. Its 32 KB Flash hosts sketches plus the 0.5 KB bootloader, while 2 KB SRAM and 1 KB EEPROM support typical maker projects. The DIP-28 package is a strategic advantage here: it is socketed, so failed chips can be swapped in seconds and pre-bootloaded chips (like replacement packs sold on Amazon) can be distributed to education labs. Use a 16 MHz crystal, 22 pF load capacitors, 10 kohm reset pull-up, and 100 nF decoupling on VCC and AVCC to match the official Uno reference design exactly.

🧩

Home Automation and IoT Sensor Nodes

For 5 V sensor nodes reporting temperature, humidity, or occupancy, the ATMEGA328P-PU combines picoPower sleep modes with the peripherals hobbyist and commercial designs already use: PC4/PC5 SDA/SCL for I2C sensors (BME280-class), PD0/PD1 USART for external radio modules, and PB3-PB5 SPI for SD logging. In sleep-down states the ATmega328P draws microamp-level current, enabling months of battery life from 3x AA cells with a 5 V boost regulator feeding the -PU grade's 4.5-5.5 V window. The 10-bit ADC reads analog sensors directly at AVCC reference. The DIP package suits hand-assembled prototype nodes; migrate to ATMEGA328PB-AU (TQFP) for volume production and lower unit cost.

🏭

Industrial Control and Legacy Equipment Repair

The ATMEGA328P-PU's DIP-28 socket footprint is why it persists in industrial service: legacy control boards from PLC peripherals to motor-start sequencers use socketed ATmegas specifically so field technicians can replace them without desoldering. The 5 V I/O tolerates industrial logic levels, the watchdog timer adds fault recovery, and the USART/SPI links to HMI displays or RS-485 transceivers. With a 20 MHz maximum clock rating at 4.5-5.5 V, timing headroom exists beyond the common 16 MHz. For long-life industrial designs, source from authorized channels (DigiKey, Rochester Electronics on DigiKey Marketplace) to avoid counterfeit clones, which are prevalent for this high-demand part number.

πŸ’‘

Education and STEM Training Platforms

Educational platforms standardize on the ATMEGA328P-PU because the AVR core is simple enough to teach bare-metal concepts (registers, timers, interrupts) while remaining fully Arduino IDE compatible. The 131-instruction RISC set and 32 working registers map cleanly onto assembly-language coursework, and In-System Programming lets students burn bootloaders themselves with a USBasp. DIP packaging means students wire the crystal, reset circuit, and ISP header themselves on breadboards - a formative exercise impossible with QFN parts. At 16 MHz and 5 V, timing labs, PWM motor control, and ADC sampling exercises behave identically to the Uno, keeping curriculum and hardware aligned across academic generations.

πŸ”§

Consumer Appliances and Toys

Cost-sensitive consumer products - toy controllers, small appliance timers, LED novelty products - use the ATMEGA328P-PU when code size fits 32 KB and 5 V logic simplifies the BOM. The integrated 10-bit ADC reads potentiometers and NTC thermistors, three timers generate PWM for motors and LED dimming, and the internal 8 MHz RC oscillator can eliminate the external crystal in non-timing-critical toys, cutting two components. picoPower sleep modes matter for battery toys with standby functions. For high-volume consumer builds, ATMEGA328PB variants offer equivalent performance at roughly one-third the price with better supply stability per Seeed Studio reporting, making them the recommended production migration.

πŸ”§

Prototyping and Custom Embedded Development

Engineers prototyping a new product frequently begin with a solderless-breadboard ATMEGA328P-PU before committing to a custom PCB, because the DIP form factor, ubiquitous Arduino toolchain, and enormous community libraries (Servo, Ethernet, Adafruit sensors) compress development time. The part's ISP support allows fuse-level control of clock source (external 16 MHz crystal or internal 8/1 MHz RC), brown-out detection, and boot-size configuration. Once the firmware and schematic stabilize, the identical die is available as ATMEGA328P-AU (TQFP-32) or ATMEGA328P-MU (VQFN-32) for the production PCB, so firmware ports without modification. Keep AVCC tied to VCC through an LC filter for clean ADC results during development.

What is the ATMEGA328P-PU and what are its key specifications?
The ATMEGA328P-PU is a Microchip Technology 8-bit AVR RISC microcontroller in a 28-pin PDIP package. Key specifications: 32 KB ISP Flash memory, 1 KB EEPROM, 2 KB SRAM, 23 general-purpose I/O lines, 32 working registers, and a 4.5 V to 5.5 V supply range with up to 20 MHz clock. It is the microcontroller used on the Arduino Uno R3. According to the Microchip product page, the core features picoPower technology for low-power operation and In-System Programming with read-while-write.
What is the ATMEGA328P-PU price and where can I buy it online?
The ATMEGA328P-PU is stocked by distributors including DigiKey, Octopart-listed suppliers (13 distributors), and Ampheo, with units available that ship same day per DigiKey listings. XAIPART quotes this part on request; pricing as of 2026-09-17 should be confirmed at checkout since AVR prices fluctuate with supply. Typical historical single-unit pricing for this family has ranged from a few dollars, but exact current pricing is not published in the verified data for this page - request a quote for a firm number.
Is the ATMEGA328P-PU in stock and what is the lead time?
Yes, DigiKey lists the ATMEGA328P-PU as available with same-day shipping, and Octopart reports availability from 13 distributors, so stock depth is generally strong for this legacy-popular part. However, ATmega family parts have experienced periodic allocation; for volume orders beyond distributor stock, Microchip direct and Rochester Electronics (listed on DigiKey Marketplace) are authorized secondary sources. Lead time for factory orders is typically not published - confirm with your distributor as of your order date.
What is the difference between ATMEGA328P-PU and ATMEGA328P-AU?
The ATMEGA328P-PU and ATMEGA328P-AU contain the same die and firmware-compatible core, but differ in package: the -PU is a 28-pin through-hole PDIP, while the -AU is a 32-pin surface-mount TQFP. They are NOT pin-to-pin drop-in replacements for each other because footprints and pin counts differ. Choose -PU for prototyping, DIP sockets, and Arduino Uno R3 repairs; choose -AU for production PCBs needing smaller size and two additional ADC channels (ADC6/ADC7). Performance and memory (32 KB Flash, 2 KB SRAM) are identical.
What is the difference between ATMEGA328P-PU and ATMEGA328PB?
The ATMEGA328PB is a backwards-compatible enhanced version of the ATMEGA328P: it keeps the AVR core and base pinout but adds a second USART, a second I2C (TWI) interface, extra timers, and 5 additional I/Os, at roughly one-third the price per Seeed Studio reporting. Code written for the 328P generally runs on the 328PB, but you must use the correct board definition in the Arduino IDE. Note the common 328PB variants are TQFP/QFN (e.g., ATMEGA328PB-AU, ATMEGA328PB-MUR), not PDIP, so they do not fit a DIP socket.
What is the best drop-in replacement for ATMEGA328P-PU?
The closest same-package drop-in replacements are other ATmega DIP-28 family members: ATMEGA328-PU (same memory, non-picoPower die), ATMEGA168PA-PU/ATMEGA168V-10PU (16 KB Flash instead of 32 KB), and ATMEGA88PA-PU/ATMEGA48PA-PU (8 KB / 4 KB Flash). All share the identical DIP-28 pinout, so any plugs directly into an Arduino Uno socket. According to Arduino Forum guidance, ATmega48/88 require third-party board platform support, while the 168 uses the Arduino NG/older board profile. Always burn the appropriate bootloader before use.
Is there a cross-brand equivalent to the ATMEGA328P-PU in the same DIP-28 footprint?
No verified cross-brand pin-to-pin equivalent in DIP-28 exists in the cross-reference data for the ATMEGA328P-PU. Microchip's PIC16F887 and similar PIC16 parts are frequently cited as functional alternatives, but they differ in pinout, peripherals, and toolchain, so they are not drop-in replacements - PCB or socket wiring must change. For a true DIP-28 socket drop-in, stay within the Microchip AVR family (ATmega48/88/168/328 series). Cross-brand options require design-level rework and firmware porting; treat them as re-design alternatives, not substitutes.
Can I use the ATMEGA328P-PU in an Arduino Uno R3 board?
Yes. The ATMEGA328P-PU is the exact microcontroller used on the Arduino Uno R3. You can plug it directly into the Uno DIP socket; if the chip is factory-new, it must first be loaded with the Arduino Uno bootloader (via a working Uno with the 'Arduino as ISP' sketch or an external ISP programmer). Replacement chips sold for the Uno, such as the yddmyo pre-bootloaded ATMEGA328P-PU packs on Amazon, ship with the bootloader pre-installed. Set the board to Arduino Uno and flash normally after bootloader installation.
What supply voltage does the ATMEGA328P-PU require?
The ATMEGA328P-PU operates from a 4.5 V to 5.5 V supply according to DigChip specification data for the -PU grade. This narrow window is the standard 5 V operating range, giving full-logic-level I/O compatibility with 5 V sensors and shields - unlike the ATMEGA328P-V variants rated down to 1.8 V. Note the verified data also cites a 16 MHz clock speed at this supply grade, while the family maximum is 20 MHz. For 3.3 V battery designs, choose a V-grade ATmega part instead, or level-shift the 5 V -PU.
Where can I download the ATMEGA328P-PU datasheet PDF?
The authoritative document is the Microchip 'ATmega328P' datasheet, downloadable from the Microchip product page at microchip.com/en-us/product/ATMEGA328P. Third-party mirrors include Alldatasheet (the full Microchip family document runs 662 pages; a 32-page Atmel summary sheet also exists) and Datasheets.com. Avoid using only the short summary documents for design work - the full family datasheet contains electrical characteristics, packaging drawings, and errata you need. XAIPART also links to the official Microchip source from this page.
What is the ATMEGA328P-PU pinout?
The ATMEGA328P-PU uses the standard 28-pin DIP pinout shared across the ATmega48/88/168/328 family. Pin 1 is PC6/RESET; pins 2-6 are PD0-PD4 (with UART RX/TX on PD0/PD1); pin 7 VCC; pin 8 GND; pins 9-10 PB6/PB7 (XTAL1/XTAL2 for the 16 MHz crystal); pins 11-19 continue PD5-PD7 and PB0-PB5 including MOSI/MISO/SCK on PB3-PB5; pin 20 AVCC; pin 21 AREF; pin 22 GND; pins 23-28 are PC0-PC5 (ADC0-ADC5, with SDA/SCL on PC4/PC5). The full pin-by-pin table is on this page.
How do I program the ATMEGA328P-PU - which tools are compatible?
You can program the ATMEGA328P-PU three ways: (1) Arduino IDE via the Arduino Uno bootloader and USB-serial connection; (2) an ISP programmer such as USBasp, AVRISP mkII, or a second Arduino running the ArduinoISP sketch, using 6-pin ISP signals (MOSI PB3, MISO PB4, SCK PB5, RESET PC6); (3) Atmel Studio 7 / Microchip Studio with an Atmel-ICE for debugging. The chip supports In-System Programming with read-while-write per Microchip documentation, so no socket removal is needed once ISP wiring exists. Fuse settings for a 16 MHz external crystal match the standard Uno fuse configuration.
Is the ATMEGA328P-PU RoHS compliant and lead-free?
The RoHS/lead-free status of the ATMEGA328P-PU is not stated in the verified data collected for this page, so it is marked as needing confirmation rather than assumed - most current Microchip ATmega production parts are RoHS-compliant and lead-free, but you should verify the material declaration on the Microchip product page or request the certificate of conformance from your distributor. REACH, halogen-free, and conflict-minerals statuses should likewise be confirmed via Microchip's official compliance documentation before specifying in regulated markets.
ATMEGA328P vs ATMEGA168PA-PU - which should I choose for my project?
Choose the ATMEGA328P-PU when your sketch exceeds 16 KB Flash or you need Arduino Uno R3 ecosystem compatibility; it offers 32 KB Flash, 1 KB EEPROM, and 2 KB SRAM. The ATMEGA168PA-PU shares the identical DIP-28 pinout and same AVR core but halves the memory to 16 KB Flash, 512 B EEPROM, and 1 KB SRAM, and it usually costs less. For small sensor sketches the 168 suffices; for anything using libraries like SD, Ethernet, or NeoPixel strings, the 328P is the safer choice. Both run the same Arduino toolchain with the correct board profile selected.
Hey Google, what can replace a damaged ATMEGA328P-PU in my Arduino Uno?
Any DIP-28 ATmega48/88/168/328-family chip can physically replace a damaged ATMEGA328P-PU in a Uno socket, per Arduino Forum replacement guidance: ATMEGA328-PU is the closest (same 32 KB memory, no picoPower), and ATMEGA168PA-PU, ATMEGA88PA-PU, or ATMEGA48PA-PU work with reduced memory and third-party board support. The practical recommendation is a pre-bootloaded ATMEGA328P-PU or ATMEGA328-PU so you can flash the Uno bootloader easily. Before blaming the chip, verify the 16 MHz crystal, reset pull-up, and 5 V rail - damaged boards often kill chips through back-powering or static.

Engineering reference data for ATMEGA328P-PU β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the ATMEGA328P-PU when you need maximum flash (32 KB), native Arduino Uno R3 compatibility, and a socketed through-hole DIP-28 for prototyping or field-replaceable service - it is the only family member combining all three. Choose ATMEGA328-PU for the identical memory at typically lower cost if picoPower sleep current is irrelevant. Choose ATMEGA168PA-PU to save cost on small sketches within 16 KB, accepting half the SRAM. Choose ATMEGA88PA-PU or ATMEGA48PA-PU only for minimal firmware, noting they lack native Arduino board support. For 3.3 V battery designs, pick a PA/V-grade part instead - the -PU's 4.5 V floor rules it out. For volume production, migrate to ATMEGA328PB or ATMEGA328P-AU/MU SMD variants: same die, roughly one-third the price per Seeed Studio reporting, and better supply stability, at the cost of losing the DIP socket.

Comparison with Alternatives

Parameter This Product ATMEGA328-PU ATMEGA168PA-PU ATMEGA88PA-PU ATMEGA48PA-PU ATMEGA8-16PU
Package 28-PDIP (through hole) 28-PDIP - same 28-PDIP - same 28-PDIP - same 28-PDIP - same 28-PDIP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 32 KB 32 KB 16 KB 8 KB 4 KB 8 KB
SRAM 2 KB 2 KB 1 KB 1 KB 0.5 KB 1 KB
EEPROM 1 KB 1 KB 512 B 512 B 256 B 512 B
Supply Voltage 4.5 V to 5.5 V 4.5 V to 5.5 V 1.8 V to 5.5 V (PA grade) 1.8 V to 5.5 V (PA grade) 1.8 V to 5.5 V (PA grade) 4.5 V to 5.5 V
Max Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 16 MHz
Arduino Ecosystem Compatibility Uno R3 native Uno-compatible (non-P die) Arduino NG/older board profile Third-party (MightyCore) Third-party (MightyCore) Third-party (MightyCore)
picoPower Technology Yes No Yes Yes Yes No

Key Differentiators

  • Largest Flash in the DIP-28 ATmega family (vs ATMEGA168PA-PU)
  • Full Arduino Uno R3 native support (vs ATMEGA88PA-PU)
  • Socketable DIP for field service (vs ATMEGA328P-AU)
  • Trade-off: higher operating voltage floor than PA variants (vs ATMEGA168PA-PU)

Design Notes

On a breadboard or DIP socket, wire VCC (pin 7) and AVCC (pin 20) together through a 10 uH inductor or 10-ohm resistor with 100 nF to GND at each pin - AVCC must never float, even if the ADC is unused, or ADC readings are erratic. Add 100 nF ceramic decoupling directly across VCC/GND (pins 7/8) and keep the path to the regulator under 5 cm. The 16 MHz crystal needs 22 pF load capacitors within 10 mm of pins 9/10; long crystal traces cause intermittent start-up, a leading cause of 'dead Arduino' returns.

Factory-fresh ATMEGA328P-PU chips ship with fuse settings for a 1 MHz internal RC oscillator and no bootloader - they will not run Arduino sketches until the Uno bootloader is burned via ISP (Arduino as ISP sketch or USBasp) and fuses are set to the Uno configuration (external 16 MHz crystal). Also beware counterfeits: this part number is heavily cloned; devices with mismatched signatures or failed flash verify are common on grey-market channels. Buy from DigiKey, Mouser, or Rochester Electronics (authorized secondary) for traceable units.

The -PU grade requires 4.5 V to 5.5 V per DigChip specification data; do not feed it from a 3.3 V rail - code may run but is out of specification and flash writes (EEPROM/bootloader) become unreliable below 4.5 V at 16 MHz. Budget roughly 5 V x active current plus peripheral loads when sizing a linear regulator; estimated: with a typical 16 MHz active current in the tens of mA range, a TO-220 7805 with a 12 V input dissipates on the order of a few hundred mW at light loads, acceptable without a heatsink, but verify against the current datasheet figure for your exact conditions.

Keep the SPI bus (PB3-PB5) and the ISP header wired in a daisy-chain topology so programming does not conflict with peripheral devices: series 1 kohm resistors on MOSI, MISO, and SCK isolate attached slaves during flashing. Ensure RESET (pin 1) has a 10 kohm pull-up to VCC and an optional 100 nF cap to the DTR line of USB-serial adapters for auto-reset bootloader entry. Unpulled reset lines are the most common cause of chips entering random reset states near switching loads such as relays.

Compliance Information

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Lead Free
Unknown
Halogen Free
Unknown
Conflict Minerals
Unknown

Compliance data not present in the verified web data for this fetch. Most current Microchip ATmega production parts are RoHS-compliant, but this must be confirmed via the Microchip product page or distributor compliance certificate before specification.

Data verified on: 2026-09-17 β€” data verified and curated by XAIPART's component engineering team

Related Searches

ATMEGA328P-PU ATMEGA328P-PU datasheet PDF Microchip ATMEGA328P-PU price ATMEGA328P-PU Arduino Uno bootloader ATMEGA328P-PU pinout 28 pin DIP ATMEGA328P-PU vs ATMEGA328P-AU difference ATMEGA328P-PU drop-in replacement 32KB ATMEGA328P-PU equivalent DIP-28 buy ATMEGA328P-PU in stock what can replace ATMEGA328P-PU ATMEGA328P-PU 16MHz 5V supply voltage how to program ATMEGA328P-PU with USBasp ATMEGA328P-PU RoHS compliant

Related Components & Terms

Microchip Technology Atmel ATMEGA328P-PU ATMEGA328-PU ATMEGA168PA-PU ATMEGA88PA-PU ATMEGA48PA-PU ATMEGA328P-AU ATMEGA328PB AVR 8-bit microcontroller RISC picoPower In-System Programming (ISP) Arduino Uno R3 PDIP-28 through-hole MightyCore USBasp RoHS TWI / I2C SPI USART 16 MHz crystal oscillator 10-bit ADC
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details