ATMEGA328PB-MUR - 8-Bit AVR MCU 20MHz 32KB Flash QFN-32 | Microchip
Référence : ATMEGA328PB-MUR ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $2.6 | $2,60 |
| 10 | $2.34 | $23,40 |
| 100 | $2.08 | $208,00 |
| 500 | $1.87 | $935,00 |
| 1 000 | $1.68 | $1 680,00 |
ATMEGA328PB-MUR Présentation
An 8-bit AVR microcontroller is a Harvard-architecture processor that executes most instructions in a single clock cycle, combining program Flash, data SRAM, and EEPROM on one die. Within the power management and embedded control hierarchy, MCUs like the ATmega328PB sit at the heart of industrial sensors, consumer appliances, and hobbyist platforms such as Arduino-compatible boards.
Key differentiating features include two 8-bit timer/counters and two 16-bit timer/counters with compare modes and PWM, one UART with hardware LIN support, two I2C (TWI) interfaces, and two SPI interfaces - double the peripheral set of the ATmega328P. An 11-channel 10-bit ADC with differential programmable-gain inputs, 27 general purpose I/O lines, and a 32-general-purpose-register file round out the analog and digital capability.
The picoPower technology suite provides multiple sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby) with wake-up via interrupt, plus an on-chip debug capability via debugWIRE. The AVR enhanced RISC core executes powerful instructions in single cycles, and self-programmable Flash with read-while-write support enables in-system programming and boot-loader firmware updates without an external programmer.
Typical applications include battery-powered sensor nodes where picoPower sleep modes extend battery life, industrial control panels using the dual SPI/I2C buses for multi-peripheral designs, and Arduino-compatible consumer products. The 32-VFQFN 5x5 mm footprint suits space-constrained PCBs while remaining hand-solderable with hot air.
Design consideration: the ATmega328PB is software-backward-compatible with the ATmega328P but exposes its added Port E and second I2C/SPI buses on pins that differ, so verify the 32-pin VFQFN pin map before reusing a legacy ATmega328P footprint.
This page synthesizes distributor pricing, drop-in alternatives, application guidance, and design notes not found in the manufacturer datasheet alone.
Alternatives de remplacement direct pour ATMEGA328PB-MUR — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec ATMEGA328PB-MUR (même facteur de forme et même empreinte) — différant par Package, Operating Temperature, RoHS Status, Timers, EEPROM.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
ATMEGA328PB-MU
✅ Remplacement direct✓ En stock
$1.19 / unité
Voir la fiche technique →ATMEGA328PB-MNR
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
ATMEGA328P-MU
✅ Remplacement direct✓ En stock
$2.85 / unité
Voir la fiche technique →ATMEGA328-MUR
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$1.84 / unité
Voir la fiche technique →ATMEGA168PB-MU
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$1.31 / unité
Voir la fiche technique →ATMEGA328PB-MUR Valeurs maximales et caractéristiques électriques
| Core Processor | AVR |
| Core Size | 8-Bit |
| Speed | 20 MHz |
| Flash Memory | 32 KB (16K x 16) |
| EEPROM | 2 KB |
| SRAM | 4 KB (2K x 8) |
| General Purpose I/O | 27 |
| Working Registers | 32 |
| ADC Resolution | 10-bit |
| ADC Channels | 11 |
| I2C (TWI) Interfaces | 2 |
| SPI Interfaces | 2 |
| UART | 1 with hardware LIN |
| Timers | 2 x 8-bit, 2 x 16-bit |
| Boîtier | 32-VFQFN (5x5 mm) |
| Température de fonctionnement | -40C to +85C (Industrial) |
| Type de montage | Surface Mount |
| Programmability | ISP, read-while-write, debugWIRE |
| Low Power Technology | picoPower |
Configuration des broches de ATMEGA328PB-MUR
| Broche 1 | PD3 — Port D bit 3 (GPIO / PCINT19) |
| Broche 2 | PD4 — Port D bit 4 (GPIO / XCK / PCINT20) |
| Broche 3 | GND — Ground |
| Broche 4 | VCC — Digital supply voltage |
| Broche 5 | GND — Ground |
| Broche 6 | VCC — Digital supply voltage |
| Broche 7 | PB6 — Port B bit 6 (XTAL1 / TOSC1 / PCINT6) |
| Broche 8 | PB7 — Port B bit 7 (XTAL2 / TOSC2 / PCINT7) |
| Broche 9 | PD5 — Port D bit 5 (GPIO / T1 / PCINT21) |
| Broche 10 | PD6 — Port D bit 6 (GPIO / AIN0 / PCINT22) |
| Broche 11 | PD7 — Port D bit 7 (GPIO / AIN1 / PCINT23) |
| Broche 12 | PB0 — Port B bit 0 (GPIO / XCK0 / T0 / PCINT8) |
| Broche 13 | PB1 — Port B bit 1 (GPIO / OC1A / PCINT9) |
| Broche 14 | PB2 — Port B bit 2 (GPIO / SS / OC1B / PCINT10) |
| Broche 15 | PB3 — Port B bit 3 (MOSI / OC2A / PCINT11) |
| Broche 16 | PB4 — Port B bit 4 (MISO / PCINT12) |
| Broche 17 | PB5 — Port B bit 5 (SCK / PCINT13) |
| Broche 18 | AVCC — ADC supply voltage |
| Broche 19 | ADC6 — ADC input channel 6 (PE0) |
| Broche 20 | AREF — ADC reference voltage |
| Broche 21 | GND — Ground |
| Broche 22 | ADC7 — ADC input channel 7 (PE1) |
| Broche 23 | PC0 — Port C bit 0 (ADC8 / SCL1) |
| Broche 24 | PC1 — Port C bit 1 (ADC9 / SDA1) |
| Broche 25 | PC2 — Port C bit 2 (ADC10 / TOSC2) |
| Broche 26 | PC3 — Port C bit 3 (ADC11 / TOSC1) |
| Broche 27 | PC4 — Port C bit 4 (SDA / ADC12 / PCINT18) |
| Broche 28 | PC5 — Port C bit 5 (SCL / ADC13 / PCINT17) |
| Broche 29 | PC6 — RESET (active-low reset input) |
| Broche 30 | PD0 — Port D bit 0 (RXD / PCINT16) |
| Broche 31 | PD1 — Port D bit 1 (TXD / PCINT17) |
| Broche 32 | PD2 — Port D bit 2 (GPIO / INT0 / PCINT18) |
Applications typiques
ATMEGA328PB-MUR convient pour 6 applications: Battery-Powered Sensor Nodes, Arduino-Compatible Consumer Products, Industrial Control Panels, Motor Control and PWM Actuation, Legacy ATmega328P Board Migration, IoT Edge Nodes and Gateways.
Battery-Powered Sensor Nodes
The ATMEGA328PB-MUR suits battery-powered nodes because picoPower technology provides six sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby) with interrupt wake-up, letting the MCU spend most of its life in Power-down. A 20 MHz AVR core completes burst sampling quickly, then sleeps; the 11-channel 10-bit ADC reads sensors without an external converter. Design the node so the RTC or pin-change interrupt wakes the part on schedule, and expect battery life dominated by sleep-mode current rather than active duty, especially at reduced clock voltage scaling.
Recommandé
Arduino-Compatible Consumer Products
Arduino-compatible products benefit from the ATMEGA328PB-MUR because it is software-backward-compatible with the ATmega328P while adding two I2C buses, two SPI buses, and extra PWM channels that let a single MCU drive displays, sensors, and actuators without port expanders. The 32 KB Flash hosts boot-loader-based field updates, and the 5x5 mm VFQFN fits compact consumer PCBs. Firmware built with Arduino cores targeting the 328PB compiles unchanged from 328P projects; validate device signature and fuses during production programming.
Recommandé
Industrial Control Panels
Industrial control panels use the ATMEGA328PB-MUR for its -40C to +85C industrial rating, dual SPI and dual I2C interfaces that isolate a real-time sensor bus from a slower configuration bus, and four timer/counters generating PWM for actuator control. Hardware LIN on the UART supports point-to-point links to subordinate nodes in distributed I/O. For hotter enclosures, specify the ATMEGA328PB-MNR variant rated to +105C on the identical footprint, avoiding a board respin while meeting temperature derating requirements.
Recommandé
Motor Control and PWM Actuation
Motor and actuator control exploits the ATMEGA328PB-MUR's two 8-bit and two 16-bit timer/counters with compare modes, delivering up to nine PWM outputs from one 20 MHz core. The 16-bit timers support precise phase-correct PWM for fans, pumps, and servo positioning, while input-capture modes measure feedback tachometer signals. Differential ADC inputs with programmable gain read shunt or hall current signals. Keep PWM traces short and gate-drive grounds star-connected to the power stage to prevent switching noise from corrupting the 10-bit ADC conversions.
Recommandé
Legacy ATmega328P Board Migration
Manufacturers maintaining ATmega328P-based boards migrate to the ATMEGA328PB-MUR because the 328P is no longer recommended for new designs and the PB preserves the 32 KB Flash, 4 KB SRAM, and 20 MHz performance on the same 32-VFQFN footprint class. Where the PCB leaves the reassigned Port E and second-bus pins unused, the board often accepts the PB without respin. Recompile firmware unchanged, update the programmer's device signature, and verify sleep-mode currents and fuse defaults against the 40001906C datasheet before release.
Recommandé
IoT Edge Nodes and Gateways
IoT edge nodes pair the ATMEGA328PB-MUR with a radio module over one of its two SPI interfaces, reserving the second SPI or I2C bus for local sensors, and using the UART with hardware LIN for module handshaking. PicoPower sleep modes conserve battery between radio wake-ups, and 32 KB Flash fits protocol stacks plus boot loaders. Because the ADC offers 11 channels, a single MCU can aggregate several analog sensors before transmission, reducing bill-of-materials count versus discrete front ends in compact endpoint hardware.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour ATMEGA328PB-MUR — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | ATMEGA328PB-MU | ATMEGA328PB-MNR | ATMEGA328P-MU | ATMEGA168PB-MU |
|---|---|---|---|---|---|
| Package | 32-VFQFN (5x5 mm) | 32-VFQFN (5x5 mm) - same | 32-VFQFN (5x5 mm) - same | 32-VFQFN (5x5 mm) - same | 32-VFQFN (5x5 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB |
| SRAM | 4 KB | 4 KB | 4 KB | 2 KB | 1 KB |
| I2C Interfaces | 2 | 2 | 2 | 1 | 1 |
| SPI Interfaces | 2 | 2 | 2 | 1 | 1 |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +105C | -40C to +85C | -40C to +85C |
| Lifecycle Status | Active | Active | Active | NRND (not recommended for new designs) | Active |
| Max Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
Principaux différenciateurs
- Doubled communication peripherals (vs ATMEGA328P-MU)
- Active lifecycle status (vs ATMEGA328P-MU)
- Extended temperature option on same footprint (vs ATMEGA328PB-MU)
- Trade-off: SRAM advantage over legacy (vs ATMEGA328P-MU)
Notes de conception
The 32-VFQFN exposed pad must be soldered to a grounded copper pour via a 3x3 via array for mechanical reliability and thermal dissipation. Follow the Microchip QFN land-pattern guidelines: extend the pad aperture slightly beyond the package and use solder-mask-defined openings on perimeter pins to prevent bridging on the 0.5 mm pitch. Inspect with X-ray or angled AOI since the pads are hidden under the body after reflow.
Decouple each VCC pin (pins 4 and 6) with 100 nF ceramic capacitors placed within 2 mm of the pin, plus one 4.7 uF to 10 uF bulk capacitor near the supply entry. AVCC (pin 18) must be connected to VCC through a low-pass LC filter (e.g., 10 uH inductor and 100 nF) when ADC accuracy matters; per the Microchip datasheet, AVCC should never differ from VCC by more than 0.3 V. Tie GND pins 3, 5, and 21 directly to the exposed-pad pour.
When migrating from ATmega328P, do not assume pin identity: the PB moves the second I2C (SCL1/SDA1), second SPI, and Port E functions to different VFQFN pins. Also update the device signature in ISP programming tools - the 328PB signature differs from the 328P, so avrdude or production programmers must target the correct part or verification fails. Verify fuse defaults and sleep-mode current figures against datasheet 40001906C rather than 328P documentation.
Keep the crystal (PB6/PB7) traces as short as possible and surround the crystal area with a guard ground pour to reduce radiated emissions and improve start-up margin. Route SPI1 and SPI0 clock traces away from the ADC input traces, and place series termination resistors (22 to 33 ohm) on fast SPI SCK lines above 8 MHz to dampen ringing. These measures help pre-compliance testing for CISPR-class consumer products.
Informations de conformité
RoHS compliance and lead-free finish per distributor listings (DigiKey/Mouser) for the 32-VFQFN package. REACH, halogen-free, and conflict-minerals statuses not stated in the provided web data - request the official Microchip product environmental report.