ATMEGA328P-MU - 8-bit AVR MCU 20MHz 32KB Flash VQFN-32
N.º da peça: ATMEGA328P-MU ✗ Fim de vida| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $4.2 | $4,20 |
| 10 | $3.85 | $38,50 |
| 100 | $3.45 | $345,00 |
| 500 | $3.1 | $1.550,00 |
| 1.000 | $2.85 | $2.850,00 |
ATMEGA328P-MU Visão geral
An 8-bit microcontroller (MCU) is a single-chip computing subsystem that combines a CPU core, non-volatile program memory (Flash), volatile data memory (SRAM), non-volatile data storage (EEPROM), and a rich set of peripherals such as timers, ADC, and communication interfaces. MCUs sit at the heart of embedded systems, bridging the gap between simple logic ICs and application processors in the broader semiconductor hierarchy, and are typically deployed where deterministic real-time control, low power, and cost efficiency are paramount.
Key features of the ATMEGA328P-MU include 131 single-cycle RISC instructions, picoPower technology with multiple sleep modes for battery-powered systems, two 8-bit timers plus one 16-bit timer, a master/slave SPI interface, an I2C-compatible TWI, and a programmable USART. The P-suffix denotes the picoPower variant, with internal 8 MHz and 128 kHz calibrated RC oscillators that minimize external component count. On-chip debug is supported via debugWIRE and In-System Programming (ISP) enables field firmware upgrades without desoldering.
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. The QFN-32 (5x5 mm) package exposes two extra ADC inputs (ADC6, ADC7) compared to the PDIP-28, and provides a low thermal resistance path through the exposed pad for improved heat dissipation at 20 MHz / 5 V operation.
Typical applications include Arduino-compatible boards (Uno, Nano, Pro Mini), industrial sensor nodes, consumer appliances, hobby robotics, battery-powered instrumentation, and LED lighting controllers. Its 1.8 V to 5.5 V operating range supports both 3.3 V and 5 V rails, and the rich timer set enables precise PWM motor control and switching-mode LED dimming.
When designing with this device, place a 100 nF decoupling capacitor on each AVCC and VCC pin, keep the analog reference (AREF) quiet with its own bypass capacitor, and ensure the exposed thermal pad is soldered to a ground copper pour to meet the datasheet's 31 C/W theta-JA thermal budget.
This page synthesizes distributor pricing, drop-in alternatives, pinout data, and practical design notes not found in a single manufacturer datasheet, as of 2026-10-07.
Alternativas drop-in para ATMEGA328P-MU — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com ATMEGA328P-MU (mesmo formato e footprint) — diferindo em Package, Operating Temperature, Communication Interfaces, Timers, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
ATMEGA328PB-MU
✅ Drop-In✓ Em estoque
$1.19 / unidade
Ver ficha técnica →ATMEGA328P-AU
✅ Drop-In✓ Em estoque
$1.74 / unidade
Ver ficha técnica →ATMEGA328P-MUR
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
ATMEGA168PA-MU
✅ Drop-In✓ Em estoque
$1.72 / unidade
Ver ficha técnica →ATMEGA88PA-MU
✅ Drop-In✓ Em estoque
$1.26 / unidade
Ver ficha técnica →ATMEGA48PA-MU
✅ Drop-In✓ Em estoque
$1.08 / unidade
Ver ficha técnica →ATMEGA328P-AUR
✅ Drop-In✓ Em estoque
$2.18 / unidade
Ver ficha técnica →ATMEGA328P-MU Classificações máximas e características elétricas
| Core Architecture | AVR 8-bit RISC |
| Maximum Clock Speed | 20 MHz |
| Instruction Throughput | 20 MIPS |
| Flash Program Memory | 32 KB (16 K x 16) |
| SRAM | 2 KB |
| EEPROM | 1 KB |
| Operating Voltage Range | 1.8 V to 5.5 V |
| General-Purpose I/O | 23 lines |
| ADC | 10-bit, 8 channels (6 + 2 dedicated QFN/VFP) |
| Timers/Counters | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | USART, SPI (master/slave), TWI (I2C-compatible) |
| On-chip Oscillator | Internal 8 MHz calibrated, 128 kHz |
| Encapsulamento | 32-pin VQFN (5x5 mm, exposed pad) |
| Tipo de montagem | Surface Mount |
| Temperatura de operação | -40 C to +85 C (industrial) |
| Programming Interface | ISP, debugWIRE, TPI |
| Status RoHS | Compliant |
Configuração de pinos do ATMEGA328P-MU
| Pino 1 | PD3 — Digital I/O, INT1, OC2B, PCINT19 |
| Pino 2 | PD4 — Digital I/O, T0, XCK1, PCINT20 |
| Pino 3 | GND — Ground (common with exposed pad) |
| Pino 4 | VCC — Digital supply voltage |
| Pino 5 | GND — Ground |
| Pino 6 | VCC — Digital supply voltage |
| Pino 7 | PB6 — Digital I/O, XTAL1, PCINT6 |
| Pino 8 | PB7 — Digital I/O, XTAL2, PCINT7 |
| Pino 9 | PD5 — Digital I/O, OC0B, T1, PCINT21 |
| Pino 10 | PD6 — Digital I/O, OC0A, AIN0, PCINT22 |
| Pino 11 | PD7 — Digital I/O, OC1A, AIN1, PCINT23 |
| Pino 12 | PB0 — Digital I/O, ICP1, PCINT0 |
| Pino 13 | PB1 — Digital I/O, OC1A, CLKO, PCINT1 |
| Pino 14 | PB2 — Digital I/O, SS, OC1B, PCINT2 |
| Pino 15 | PB3 — Digital I/O, MOSI, OC2A, PCINT3 |
| Pino 16 | PB4 — Digital I/O, MISO, PCINT4 |
| Pino 17 | PB5 — Digital I/O, SCK, PCINT5 |
| Pino 18 | AVCC — Analog supply voltage |
| Pino 19 | ADC6 — Analog input 6 (QFN dedicated) |
| Pino 20 | AREF — ADC reference voltage |
| Pino 21 | GND — Ground |
| Pino 22 | ADC7 — Analog input 7 (QFN dedicated) |
| Pino 23 | PC0 — Digital I/O, ADC0, PCINT8 |
| Pino 24 | PC1 — Digital I/O, ADC1, PCINT9 |
| Pino 25 | PC2 — Digital I/O, ADC2, PCINT10 |
| Pino 26 | PC3 — Digital I/O, ADC3, PCINT11 |
| Pino 27 | PC4 — Digital I/O, ADC4, SDA, PCINT12 |
| Pino 28 | PC5 — Digital I/O, ADC5, SCL, PCINT13 |
| Pino 29 | RESET — Reset, active low |
| Pino 30 | PD0 — Digital I/O, RXD, PCINT16 |
| Pino 31 | PD1 — Digital I/O, TXD, PCINT17 |
| Pino 32 | PD2 — Digital I/O, INT0, PCINT18 |
Aplicações típicas
ATMEGA328P-MU é adequado para 6 aplicaçãos: Arduino-Compatible Development Boards, Industrial Sensor Nodes, Consumer Appliance Controllers, Battery-Powered Instrumentation, Hobby Robotics and RC Vehicles, LED Lighting Controllers.
Arduino-Compatible Development Boards
The ATMEGA328P-MU powers hundreds of Arduino-compatible boards (Uno, Nano, Pro Mini) where its 32 KB Flash accommodates the Optiboot bootloader plus typical sketches, and 2 KB SRAM supports library-rich code. The VQFN-32 (5x5 mm) footprint enables compact Nano-class designs while exposing 23 GPIO for shields. Developers benefit from Arduino IDE support and a vast library ecosystem, accelerating prototyping and education.
Recomendado
Industrial Sensor Nodes
The ATMEGA328P-MU fits battery-powered industrial sensor nodes because its picoPower architecture offers six sleep modes drawing under 1 uA in power-down, and the 10-bit ADC with 8 channels handles multiple sensors simultaneously. The 1.8 V to 5.5 V range supports direct Li-ion or 3.3 V coin-cell operation, while the I2C/TWI and SPI buses interface with modern digital sensors. Typical use: remote environmental monitoring, predictive maintenance tags, and wireless mesh nodes.
Recomendado
Consumer Appliance Controllers
Consumer appliances such as coffee machines, microwaves, and washing-machine control boards rely on the ATMEGA328P-MU's 23 GPIO to drive keypads, relays, displays, and sensors. Its 32 KB Flash fits feature sets including user-interface state logic, while the 16-bit timer supports precise timing for any sensor-driven control loops. The wide 1.8 V to 5.5 V input tolerates rectified mains supplies with linear regulation.
Recomendado
Battery-Powered Instrumentation
Battery-powered instruments such as handheld multimeters, dataloggers, and portable medical devices leverage the ATMEGA328P-MU's picoPower modes to extend runtime from a single Li-ion or AA cell. The internal 8 MHz RC oscillator eliminates an external crystal, reducing BOM cost and board area, while the 128 kHz watchdog allows ultra-low-power sleep between measurements. The 10-bit ADC supports sensor signal conditioning with software averaging.
Recomendado
Hobby Robotics and RC Vehicles
Robotics projects use the ATMEGA328P-MU to drive servos, ESCs, and DC motor controllers via PWM channels on the 16-bit timer, plus the two 8-bit timers for additional PWM outputs. The 23 GPIO supports multiple motor drivers, encoder inputs, and UART/SPI buses for IMU and radio modules. At 20 MHz / 20 MIPS, control loops run at comfortable 1 ms intervals without CPU loading.
Recomendado
LED Lighting Controllers
LED controllers benefit from the ATMEGA328P-MU's PWM channels for smooth RGB dimming and the 10-bit ADC for ambient-light feedback. The I2C/TWI bus interfaces with WS2812 or APA102 LED drivers, while the USART links to DMX or wireless modules for stage lighting and architectural installations. The wide operating range supports both 3.3 V and 5 V LED strips from a single design.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para ATMEGA328P-MU — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | ATMEGA328PB-MU | ATMEGA328P-AU | ATMEGA328P-MUR | ATMEGA168PA-MU | ATMEGA88PA-MU | ATMEGA48PA-MU | ATMEGA328P-AUR |
|---|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | VQFN-32 (5x5 mm) | VQFN-32 (5x5 mm) - same | TQFP-32 (7x7 mm) - same pinout | VQFN-32 (5x5 mm) - same | VQFN-32 (5x5 mm) - same | VQFN-32 (5x5 mm) - same | VQFN-32 (5x5 mm) - same | VQFN-32 (5x5 mm) - same |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB (-50%) | 8 KB (-75%) | 4 KB (-87%) | 32 KB |
| SRAM | 2 KB | 2 KB | 1 KB (-50%) | 1 KB (-50%) | 512 B (-75%) | |||
| EEPROM | 1 KB | 1 KB | 512 B | 512 B | 256 B | |||
| Maximum Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | ||
| Operating Voltage Range | 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 | |||
| Additional Peripherals vs Original | Standard | +2nd USART, +2nd I2C, +10-bit DAC, +more PWM | Identical to MU | Reduced memory, identical peripherals | ||||
| Lifecycle Status | NRND | Active (recommended for new designs) | NRND | Active |
Principais diferenciais
- Drop-in upgrade available with 2nd USART/I2C and 10-bit DAC (vs ATMEGA328PB-MU)
- TQFP variant exists for hand-soldering (vs ATMEGA328P-AU)
- Two extra ADC inputs vs PDIP-28 (vs ATMEGA328P-PU (DIP-28))
Notas de projeto
Decouple each ATMEGA328P-MU VCC/AVCC pin with a 100 nF ceramic capacitor placed within 3 mm of the pin, plus a bulk 10 uF aluminum-polymer or tantalum capacitor on the supply rail. For ADC accuracy, place a 10 nF + 100 nF capacitor network on AREF with the AVCC filter inductor (10 uH typical) to suppress digital switching noise coupling into analog measurements.
The ATMEGA328P-MU VQFN-32 has a theta-JA of approximately 31 C/W (per Microchip datasheet thermal data), so at full 20 MHz / 5 V operation the junction-to-ambient rise is around 7-8 C per 100 mA active current. Always solder the exposed thermal pad to a ground copper pour of at least 1 square inch to meet the thermal envelope under continuous worst-case operation.
Route the analog traces (ADC inputs, AREF, AVCC) away from digital switching lines; keep ground return paths short and use a star-ground topology with the MCU exposed pad as the single-point ground tie. Place the I2C pull-ups (typically 4.7 kohm) close to the SDA/SCL pins to reduce rise-time ringing on the bus.
Do not assume ATMEGA328P and ATMEGA328PB registers are identical at the silicon level — the 328PB adds new registers (e.g., second USART/UCSR1) and pin maps that require updated headers. If migrating firmware, verify AVR-libc version and compile-time MCU flags. Also note that ATmega328P runs at 10 MHz max below 2.7 V, not 20 MHz, so derate clock for low-voltage battery designs.
Informações de conformidade
RoHS compliant per Microchip product page. Not AEC-Q100 qualified for automotive — refer to Microchip automotive AVR catalog for Q-qualified variants. NRND status as of 2026-10-07; recommend ATmega328PB for new designs.