Microchip Technology

ATMEGA328P-MU - 8-bit AVR MCU 20MHz 32KB Flash | Microchip

MPN: ATMEGA328P-MU βœ— End of Life
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 32-VQFN (5x5 mm) Package 20 MHz Speed 32 KB (16K x 16) Flash Memory
From $1.28 USD / Unit
MOQ: 1 |
Price updated: 2026-09-17
Volume Pricing
Qty Unit Price Extended
1 $1.9 $1.90
10 $1.71 $17.10
100 $1.53 $153.00
500 $1.4 $700.00
1,000 $1.28 $1,280.00
ℹ️ All prices are in USD

ATMEGA328P-MU Overview

The Microchip Technology ATMEGA328P-MU is an 8-bit AVR RISC microcontroller with 32KB of ISP Flash memory, 20MHz maximum clock speed, and 2KB SRAM, housed in a 32-pin VQFN (5x5 mm) surface-mount package. It operates from a 1.8V to 5.5V supply and integrates 1KB EEPROM, 23 general-purpose I/O lines, and a picoPower low-power architecture.

An 8-bit microcontroller (MCU) is a complete computing system on a single chip, combining a CPU core, program memory (Flash), data memory (SRAM), non-volatile data storage (EEPROM), and peripherals such as timers, ADCs, and communication interfaces. Microcontrollers sit at the heart of embedded systems, bridging the gap between simple logic ICs and application processors in the broader semiconductor hierarchy.

Key features of the ATMEGA328P-MU include 131 single-cycle RISC instructions executing up to 20 MIPS at 20MHz, a 10-bit ADC with up to 15 channels (6 on the QFN package plus 2 extra ADC channels), and picoPower technology with multiple sleep modes for battery-powered designs. The P suffix denotes picoPower, delivering very low power consumption in active and idle modes.

Architecturally, the ATmega328P uses an AVR Harvard-architecture RISC core with 32 general-purpose working registers directly connected to the ALU, allowing two independent registers to be accessed in a single instruction executed in one clock cycle. On-chip debugging is supported via debugWIRE, and In-System Programming (ISP) allows firmware updates without removing the chip from the PCB.

Typical applications include Arduino-compatible boards, industrial control, consumer appliances, sensor nodes, and battery-operated instruments. The wide 1.8V to 5.5V operating range makes it well suited to both 3.3V and 5V systems, and the rich timer set (two 8-bit, one 16-bit) supports PWM motor control and precise timing.

Design consideration: at 5V and 20MHz, verify supply decoupling on all VCC/AVCC pins and keep the analog reference (AREF) quiet for accurate 10-bit ADC results.

This page synthesizes distributor pricing, drop-in alternatives, pinout data, and practical design notes not found in a single manufacturer datasheet, as of 2026-09-17.

Drop-in alternatives for ATMEGA328P-MU β€” 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-MU (same form factor and footprint) β€” differing in Package, Operating Temperature, Timers, Program Memory Size, Communication Interfaces.

Microchip Technology
Package: 32-VQFN exposed pad, 5x5 mm
Timers: Two 8-bit, one 16-bit with PWM
Program Memory Size: 16 KB (8K x 16) FLASH
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-VFQFN Exposed Pad (5x5 mm)
Communication Interfaces: USART, SPI, TWI (I2C)
Compare with ATMEGA328P-MU β†’
Microchip Technology
Operating Temperature: -40C to +105C
Program Memory Size: 16 KB (8K x 16)
Compare with ATMEGA328P-MU β†’
Microchip Technology
Operating Temperature: -40C to +125C
Program Memory Size: 16 KB (8K x 16) Flash
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-pad VQFN / MLF (HVQCCN), square, no-lead
Operating Temperature: -40C to +85C (industrial)
Timers: Three timer/counters with compare modes and PWM
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) with exposed pad
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
Operating Temperature: -40C to +85C (Industrial)
Timers: Three flexible timer/counters
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-VQFN Exposed Pad (5x5 mm)
Operating Temperature: -40 C to +85 C
Program Memory Size: 16 KB (8K x 16) Flash
Compare with ATMEGA328P-MU β†’
Microchip Technology
Program Memory Size: 16 KB (8K x 16) FLASH
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-QFN (5x5 mm) with exposed pad
Operating Temperature: -40C to +125C
Timers: 2 x 8-bit, 1 x 16-bit with PWM
Compare with ATMEGA328P-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) MLF, exposed pad
Operating Temperature: -40C to +105C
Compare with ATMEGA328P-MU β†’

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

ATMEGA328PB-MUR

βœ… Drop-In
Microchip Technology
πŸ“¦ 32-VQFN (5x5 mm)
AVR Β· 8-Bit Β· 20 MHz Β· 32 KB (16K x 16) Β· 2 KB Β· 4 KB (2K x 8) Β· 27 Β· 32

βœ“ In Stock

$1.68 / Unit

View Datasheet β†’

ATMEGA328-MUR

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 32-VQFN (5x5 mm)
AVR 8-bit RISC Β· 8-Bit Β· 20 MHz Β· 32 KB (16K x 16) Β· 2 KB Β· 1 KB Β· 2.5 V to 5.5 V (speed dependent) Β· 23

βœ“ In Stock

$1.84 / Unit

View Datasheet β†’

ATMEGA168PA-MU

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

βœ“ In Stock

$1.72 / Unit

View Datasheet β†’

ATMEGA168PB-MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 32-VQFN (5x5 mm)
AVR Β· 8-Bit Β· 20 MHz Β· 16 KB (8K x 16) Β· 512 B Β· 1 KB Β· 27 Β· 32

βœ“ In Stock

$1.31 / Unit

View Datasheet β†’

ATMEGA88PA-MU

βœ… Drop-In
πŸ“¦ 32-VQFN (5x5 mm)
Flash 8KB vs 32KB (-75%), SRAM 1KB, same pinout and peripheral set for simple firmware

πŸ“‹ Reference alternative (not in catalog)

ATMEGA328P-MU Maximum Ratings & Electrical Characteristics

Core Processor AVR 8-bit RISC
Core Size 8-bit
Speed 20 MHz
Program Memory Size 32 KB (16K x 16) Flash
EEPROM Size 1 KB
RAM Size 2 KB
Number of I/O 23
Supply Voltage Range 1.8 V to 5.5 V
ADC Resolution 10-bit
ADC Channels 8 (6 external + 2 multiplexed)
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Communication Interfaces USART, SPI, I2C (TWI)
Timers 2 x 8-bit, 1 x 16-bit
Operating Temperature -40C to +85C
Package 32-VQFN (5x5 mm)
Mounting Type Surface Mount
Programming ISP, debugWIRE
Oscillator Type Internal

ATMEGA328P-MU Pin Configuration

QFN-32 Package Pinout Diagram QFN-32 5x5mm, P0.5mm, EP 3.1x3.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 QFN-32
Pin 1 PD3 (PCINT19/OC2B/INT1) β€” Port D bit 3, pin change interrupt, PWM output, external interrupt 1
Pin 2 PD4 (PCINT20/XCK/T0) β€” Port D bit 4, pin change interrupt, USART clock, Timer0 clock input
Pin 3 GND β€” Ground
Pin 4 VCC β€” Digital supply voltage
Pin 5 GND β€” Ground
Pin 6 VCC β€” Digital supply voltage
Pin 7 PB6 (PCINT6/XTAL1/TOSC1) β€” Port B bit 6, crystal oscillator input or Timer oscillator
Pin 8 PB7 (PCINT7/XTAL2/TOSC2) β€” Port B bit 7, crystal oscillator output
Pin 9 PD5 (PCINT21/OC0B/T1) β€” Port D bit 5, PWM output, Timer1 clock input
Pin 10 PD6 (PCINT22/OC0A/AIN0) β€” Port D bit 6, PWM output, analog comparator positive input
Pin 11 PD7 (PCINT23/AIN1) β€” Port D bit 7, analog comparator negative input
Pin 12 PB0 (PCINT0/CLKO/ICP1) β€” Port B bit 0, clock output, Timer1 input capture
Pin 13 PB1 (PCINT1/OC1A) β€” Port B bit 1, 16-bit Timer1 PWM output A
Pin 14 PB2 (PCINT2/SS/OC1B) β€” Port B bit 2, SPI slave select, Timer1 PWM output B
Pin 15 PB3 (PCINT3/OC2A/MOSI) β€” Port B bit 3, PWM output, SPI master out
Pin 16 PB4 (PCINT4/MISO) β€” Port B bit 4, SPI master in
Pin 17 PB5 (PCINT5/SCK) β€” Port B bit 5, SPI clock
Pin 18 AVCC β€” ADC supply voltage
Pin 19 ADC6 β€” ADC input channel 6 (QFN package)
Pin 20 AREF β€” Analog reference for ADC
Pin 21 GND β€” Ground
Pin 22 ADC7 β€” ADC input channel 7 (QFN package)
Pin 23 PC0 (PCINT8/ADC0) β€” Port C bit 0, ADC channel 0
Pin 24 PC1 (PCINT9/ADC1) β€” Port C bit 1, ADC channel 1
Pin 25 PC2 (PCINT10/ADC2) β€” Port C bit 2, ADC channel 2
Pin 26 PC3 (PCINT11/ADC3) β€” Port C bit 3, ADC channel 3
Pin 27 PC4 (PCINT12/SDA/ADC4) β€” Port C bit 4, I2C data, ADC channel 4
Pin 28 PC5 (PCINT13/SCL/ADC5) β€” Port C bit 5, I2C clock, ADC channel 5
Pin 29 PC6 (PCINT14/RESET) β€” Reset input, active low (or Port C bit 6 if RSTDISBL fuse set)
Pin 30 PD0 (PCINT16/RXD) β€” Port D bit 0, USART receive
Pin 31 PD1 (PCINT17/TXD) β€” Port D bit 1, USART transmit
Pin 32 PD2 (PCINT18/INT0) β€” Port D bit 2, external interrupt 0

Typical Applications

ATMEGA328P-MU is suitable for 6 applications: Arduino-Compatible Boards, Battery-Powered Sensor Nodes, Industrial Control and Automation, Consumer Appliances, Motor Control and PWM Systems, Test and Measurement Instruments.

🧩

Arduino-Compatible Boards

The ATmega328P is the MCU at the heart of the classic Arduino Uno and Nano platforms, and the ATMEGA328P-MU brings that proven ecosystem to compact VQFN-32 board designs. Its 32KB Flash holds bootloaders plus generous user sketches, while the 1.8V to 5.5V supply range supports both 3.3V and 5V board variants. The internal 8MHz RC oscillator enables crystal-less low-cost designs, and ISP plus a UART bootloader allows programming without special sockets. Because Arduino core support, fuse presets, and countless tutorials target this exact die, development risk is minimal, making it the default choice for hobbyist and maker product lines.

πŸ”‹

Battery-Powered Sensor Nodes

With picoPower technology and multiple sleep modes, the ATMEGA328P-MU achieves microamp-level standby consumption, which is essential for battery-powered sensor nodes expected to run for months or years. The internal 8MHz oscillator eliminates external clock components, and the 10-bit ADC samples up to 8 channels for temperature, humidity, or voltage monitoring. Operating down to 1.8V allows direct use with two alkaline cells or a single Li-SOCl2 cell through the discharge curve. Designers typically use power-down sleep with watchdog wake intervals; per datasheet guidance, unused GPIOs should be defined as outputs low or inputs with pull-ups to minimize leakage in sleep.

🏭

Industrial Control and Automation

The ATMEGA328P-MU fits cost-sensitive industrial control nodes with its -40C to +85C rating, brown-out detection, watchdog timer, and power-on reset for reliable autonomous operation. Two 8-bit timers plus one 16-bit timer generate PWM for motor drives, heater control, or valve actuators, while the USART and SPI/I2C interfaces link to drives, HMIs, and field sensors. The 32KB Flash accommodates protocol stacks and parameter tables, and the 1KB EEPROM stores calibration data across power cycles. Field firmware updates are performed in-system through the ISP header, minimizing downtime in installed equipment where board removal is impractical.

πŸ“±

Consumer Appliances

Consumer appliances such as coffee machines, fans, small pumps, and lighting controllers benefit from the ATMEGA328P-MU's low unit cost, wide 1.8V to 5.5V supply tolerance, and integrated peripherals that reduce bill-of-materials count. The internal oscillator and internal bandgap reference allow fully crystal-less and external-reference-free designs at modest accuracy targets, while PWM outputs drive LEDs and small motors directly through transistors. The VQFN-32 (5x5 mm) package keeps PCB area small for handheld and compact products. Touch-sensing can be implemented in firmware using the ADC, and the 10-bit ADC reads user controls, thermistors, and battery levels.

βš™οΈ

Motor Control and PWM Systems

The ATmega328P timer architecture makes the ATMEGA328P-MU a solid fit for small motor control: the 16-bit Timer1 provides high-resolution PWM with programmable dead-time behavior, and the two 8-bit timers supply additional PWM channels or system ticks. Outputs at 8-bit resolution can run at up to roughly 15.6kHz from a 16MHz clock, pushing beyond audible noise when using phase-correct modes. The 20MHz maximum rating gives headroom for closed-loop control math in firmware, while the ADC samples current shunts or encoder-derived voltages for feedback. brown-out detection ensures safe PWM shutdown during brownout events to protect power stages.

πŸ”§

Test and Measurement Instruments

Handheld meters, dongle analyzers, and bench accessories use the ATMEGA328P-MU for its precise timing resources and straightforward ADC integration. The 16-bit Timer1 with input capture measures frequency and pulse width with clock-cycle resolution, and the analog comparator provides zero-cross or threshold detection without external components. SPI and USART interfaces stream readings to displays, PCs, or logging modules, while debugWIRE enables single-wire in-circuit debugging during instrument firmware development. The wide 1.8V to 5.5V range supports both battery instruments and USB-powered (5V) designs, and the -40C to +85C rating covers field use.

What are the key specifications of ATMEGA328P-MU that engineers should know?
The ATMEGA328P-MU is an 8-bit AVR RISC microcontroller running at up to 20MHz with 32KB ISP Flash, 1KB EEPROM, and 2KB SRAM. It operates from 1.8V to 5.5V, provides 23 GPIO lines, a 10-bit ADC, USART/SPI/I2C interfaces, and comes in a 32-pin VQFN (5x5 mm) package rated -40C to +85C. According to Microchip product data, its picoPower architecture makes it suitable for battery-powered designs.
What is the price of ATMEGA328P-MU?
As of 2026-09-17, the ATMEGA328P-MU is priced from approximately $1.28 in 1000-unit quantities, with single-unit pricing around $1.90 on XAIPART. LCSC lists the part from $1.2767 with over 1000 units in stock, and Octopart aggregates pricing from 10 distributors. Pricing varies with volume, distributor, and stock position, so request a quote for exact current pricing.
Where to buy ATMEGA328P-MU online?
You can buy the ATMEGA328P-MU from XAIPART directly, as well as from major distributors including DigiKey, Mouser, and LCSC, all of which list the part in stock. As of June 2026, Microchip Direct reported roughly 312,000 units in stock with DigiKey and Mouser each holding 40,000+ units. XAIPART offers volume pricing tiers from 1 to 1000+ units with the same genuine Microchip parts.
Is ATMEGA328P-MU in stock and what is its lead time?
Yes, the ATMEGA328P-MU is widely in stock as of September 2026. Findchips reported approximately 46,000 units at DigiKey, 43,000 at Mouser, and about 312,000 at Microchip Direct as of June 2026, and LCSC shows 1,087 units. Because distributor stock is deep, typical lead time is same-day to a few days for standard quantities, with no extended factory lead times currently reported.
What is the difference between ATMEGA328P-MU and ATMEGA328PB-MUR?
The ATMEGA328PB is an enhanced, backwards-compatible successor to the ATMEGA328P with the same 32KB Flash and 2KB SRAM. According to Seeed Studio and Microchip documentation, the PB variant adds extra USART, SPI, and I2C peripherals plus additional 16-bit timers, while keeping the same VQFN-32 footprint and pinout. Code written for the 328P generally runs on the 328PB, but errata and register extensions should be reviewed before migration.
ATMEGA328P-MU vs ATMEGA168PA-MU - which is better for a battery-powered project?
For battery-powered projects needing more program space, the ATMEGA328P-MU is the better choice: it offers 32KB Flash versus 16KB on the ATMEGA168PA (-50%), while both share the same 20MHz performance, 1.8V to 5.5V range, and identical VQFN-32 pinout. If your compiled firmware fits within 16KB and cost matters most, the ATmega168PA saves board cost as a drop-in replacement. Both support picoPower sleep modes for low standby current.
When should I choose ATMEGA328P-MU over ATMEGA328PB-MUR?
Choose the ATMEGA328P-MU when you need maximum ecosystem maturity, guaranteed drop-in compatibility with existing ATmega328P-based designs (including Arduino bootloaders and fuse settings), or when legacy code certification matters. Choose the ATMEGA328PB-MUR for new designs that benefit from extra USART, SPI, I2C, and 16-bit timers. Microchip positions the 328P as not recommended for new designs (NRND), so new projects should default to the PB unless legacy constraints apply.
Is ATMEGA328P-MU suitable for industrial control applications?
Yes, the ATMEGA328P-MU is suitable for industrial control within its -40C to +85C operating range. It provides a brown-out detector, power-on reset, watchdog timer, and 10-bit ADC for sensor interfacing, with 32KB Flash for control firmware. For harsher automotive-grade requirements, confirm qualification level with Microchip, since the standard ATmega328P is not marketed as AEC-Q100 qualified. Its ISP capability also supports field firmware updates in deployed equipment.
What is the best drop-in replacement for ATMEGA328P-MU?
The best drop-in replacement for the ATMEGA328P-MU is the ATMEGA328PB-MUR, which shares the same 32-pin VQFN (5x5 mm) footprint and pinout while offering 32KB Flash and enhanced peripherals. The ATMEGA328-MUR (non-P variant) is also pin-compatible with identical memory, differing mainly in picoPower optimizations. Both are Microchip same-family parts, so bootloader, fuse, and code compatibility is essentially preserved without PCB changes.
Where to download the ATMEGA328P-MU datasheet PDF?
You can download the ATMEGA328P-MU datasheet PDF from Microchip's official product page at microchip.com/en-us/product/ATMEGA328P, which links the complete 'High Performance, Low Power AVR 8-Bit Microcontroller Family' datasheet (662 pages per the indexed copy). Mirror copies are also available at Octopart and Alldatasheet. Always prefer the manufacturer's site to ensure you have the latest revision and errata document.
Where can I find the ATMEGA328P-MU pinout for the VQFN-32 package?
The ATMEGA328P-MU VQFN-32 pinout is documented in the Microchip/Atmel ATmega328P datasheet in the pin configuration section for the 32-pin MLF/QFN package. Pins 1 through 32 map to ports PD, PB, and PC plus power, ground, ADC6, ADC7, and RESET; the exposed pad is ground. XAIPART provides a complete labeled pinout diagram on this page, and the datasheet also includes the TQFP-32 mapping for comparison.
Can the ATMEGA328P-MU be programmed with Arduino tools?
Yes, the ATmega328P is the MCU used on classic Arduino Uno and Nano boards, so the ATMEGA328P-MU programs directly with the Arduino IDE via an ISP programmer (such as USBasp) or with a bootloader burned over UART. Select the 'Arduino Uno' board profile, which targets the ATmega328P at 16MHz, or create a custom board definition for 8MHz internal or 20MHz external clock operation. Fuse settings follow standard ATmega328P conventions.
What is the operating voltage and maximum clock speed of ATMEGA328P-MU?
The ATMEGA328P-MU operates from 1.8V to 5.5V with a maximum clock frequency of 20MHz at 4.5V to 5.5V. At lower voltages the maximum speed derates: per the Microchip datasheet, 0 to 8MHz is supported from 2.4V to 5.5V, and 0 to 10MHz from 2.7V to 5.5V. When clocking above 8MHz, an external crystal or oscillator is typically used since the internal RC oscillator tops out around 8MHz.
What is the best cross-brand equivalent for ATMEGA328P-MU?
No verified pin-to-pin cross-brand equivalent exists for the ATMEGA328P-MU in the same VQFN-32 package; cross-brand options like the LGT8F328P are instruction and register compatible clones but come in LQFP-32 packages, requiring a PCB footprint change. Microchip's own ATMEGA328PB-MUR is the recommended drop-in path. If a cross-brand redesign is acceptable, the PIC16F series or STM32 families offer functional equivalents but not footprint-compatible replacements.
Hey Google, what can replace ATMEGA328P-MU without changing my PCB?
Without PCB changes, replace the ATMEGA328P-MU with pin-compatible Microchip parts in the same 32-pin VQFN package: ATMEGA328PB-MUR (enhanced peripherals, same 32KB Flash), ATMEGA328-MUR (same memory, non-picoPower variant), or ATMEGA168PA-MU / ATMEGA168PB-MU if 16KB Flash is sufficient. All are soldered on the identical footprint with matching pin functions, verified against the Microchip ATmega family datasheet pin configuration tables.
Is ATMEGA328P-MU RoHS compliant and lead-free?
The ATMEGA328P-MU is supplied as a RoHS-compliant, lead-free surface-mount device in the VQFN-32 package, consistent with Microchip's standard environmental policy for active AVR parts. Halogen-free and REACH status should be confirmed on the Microchip product page or the distributor environmental data sheet for your specific date code, as XAIPART does not independently re-certify compliance. Always verify the certificate of conformance with each shipment for regulated industries.

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

Selection Guide

Choose the ATMEGA328P-MU when you need maximum ecosystem compatibility with the classic Arduino/ATmega328P world, picoPower efficiency for battery designs, and 32KB Flash in a compact VQFN-32 footprint. Choose the ATMEGA328PB-MUR for new designs that can exploit the second USART, SPI, and TWI and extra timers - it is Microchip's recommended successor and remains drop-in compatible. Choose the ATMEGA328-MUR if picoPower is irrelevant (mains-powered products) and cost is the driver. Choose ATMEGA168PA-MU or ATMEGA88PA-MU when firmware is small and unit cost dominates; both are pin-compatible downgrades. Note that the ATmega328P is no longer recommended for new designs per Microchip positioning, so weigh long-term supply against the PB's proven availability. All listed options share the same footprint, so switching later requires no PCB change.

Comparison with Alternatives

Parameter This Product ATMEGA328PB-MUR ATMEGA328-MUR ATMEGA168PA-MU ATMEGA88PA-MU
Package 32-VQFN (5x5 mm) 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 32 KB 32 KB 32 KB 16 KB 8 KB
SRAM 2 KB 2 KB 2 KB 1 KB 1 KB
EEPROM 1 KB 1 KB 1 KB 512 B 512 B
Max Clock Speed 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Supply Voltage 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V
USART Count 1 2 1 1 1
picoPower Technology Yes Yes No (standard power) Yes Yes

Key Differentiators

  • Double the Flash of mid-family parts at identical footprint (vs ATMEGA168PA-MU)
  • picoPower efficiency for battery designs (vs ATMEGA328-MUR)
  • Deepest ecosystem maturity versus enhanced successor (vs ATMEGA328PB-MUR)
  • Twice the EEPROM of lower-memory drop-ins (vs ATMEGA88PA-MU)

Design Notes

Decouple every VCC and AVCC pin with 100nF ceramic capacitors placed within 5mm of the pin, plus one bulk 10uF capacitor near the MCU. AVCC must be connected to VCC even when the ADC is unused, per Microchip datasheet requirements. If ADC accuracy matters, filter AVCC through an LC network (10uH inductor with 100nF/10uF) rather than tying it directly to the noisy digital rail. Ensure the VQFN exposed pad is soldered to a grounded copper pour for both thermal and ground-integrity benefits.

Keep the crystal (pins 7/8, PB6/PB7) within 10mm of the IC with short ground-return traces, and use load capacitors per the crystal specification (typically 12-22pF for common 16MHz crystals). If the ADC is used, route analog signals away from the SPI/USART clock lines and guard the AREF pin with a 100nF capacitor to ground - never place a large capacitor directly on AREF unless the datasheet reference mode allows it. Unused ADC channels can be driven to ground in firmware or tied to ground to prevent floating-input noise.

Fuse misconfiguration is the most common bring-up failure: setting SPIEN incorrectly or disabling RESET (RSTDISBL) can permanently brick the part on the board. Always verify fuses with an ISP programmer before production programming. Additionally, at 5V/20MHz, the internal RC oscillator is not factory-calibrated above 8MHz - an external crystal is required. When migrating from ATMEGA328P to ATMEGA328PB, note that the PB has different default peripheral mappings and its own errata sheet; do not assume register-for-register identity.

Compliance Information

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

RoHS compliant and lead-free per standard Microchip supply policy for active AVR parts; exact REACH/halogen-free status should be confirmed against the Microchip product page for the specific date code.

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

Related Searches

ATMEGA328P-MU datasheet ATMEGA328P-MU price buy Microchip ATMEGA328P-MU ATMEGA328P-MU pinout VQFN-32 ATMEGA328P-MU vs ATMEGA328PB ATMEGA328P-MU drop-in replacement 8-bit AVR microcontroller 32KB Flash 20MHz ATMEGA328P-MU Arduino compatible MCU ATMEGA328P-MU equivalent substitute low power picoPower microcontroller battery ATMEGA328P-MU in stock lead time what can replace ATMEGA328P-MU

Related Components & Terms

Microchip Technology ATMEGA328P-MU ATMEGA328PB-MUR ATMEGA328-MUR ATMEGA168PA-MU ATMEGA88PA-MU AVR 8-bit RISC microcontroller MCU picoPower 32-VQFN (5x5 mm) QFN package family surface mount ISP (In-System Programming) debugWIRE USART SPI I2C (TWI) 10-bit ADC Arduino Uno RoHS embedded systems battery-powered sensor node flash memory
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