Microchip Technology

ATMEGA328PB-MNR - 20MHz 8-Bit AVR MCU | Microchip Technology

MPN: ATMEGA328PB-MNR ✓ Active
32-VFQFN, 5 mm × 5 mm Package 20 MHz Speed Flash Memory
MOQ: 1 |

ATMEGA328PB-MNR Overview

Microchip Technology ATMEGA328PB-MNR is a low-power, 8-bit AVR enhanced-RISC microcontroller operating up to 20 MHz, with 32 KB of Flash program memory, 2 KB of EEPROM, 4 KB of SRAM, and 27 general-purpose I/O lines in a 32-VFQFN 5 mm × 5 mm package. The device combines an AVR CPU, I2C, SPI, UART, two flexible timer/counters, and picoPower technology for embedded-control applications.

A microcontroller is a programmable semiconductor that integrates a CPU core, memory, and peripherals into one compact device. The ATmega328PB belongs to the hierarchy of 8-bit MCU -> AVR microcontroller -> RISC embedded controller -> semiconductor. It executes instructions in a single clock cycle, providing throughput close to 1 MIPS per MHz, making it suitable for compact control systems that must combine responsive processing with low power consumption.

Key features include 32 KB of Flash memory organized as 16K × 16, 4 KB of internal SRAM, 2 KB of EEPROM, 27 general-purpose I/O pins, and 32 general-purpose working registers. The ATmega328PB also provides I2C, SPI, and UART interfaces. Its picoPower implementation supports low-power operation, while the 20 MHz maximum clock rate provides useful processing headroom for control, communication, and peripheral coordination tasks.

The AVR enhanced-RISC architecture uses a Harvard-style organization with separate program-memory and data-memory spaces. Flash supports read-while-write operation, allowing the MCU to continue operating from one Flash page while another page is programmed. The two flexible timer/counters support timing and waveform-generation tasks, while the serial peripherals enable connection to sensors, displays, transceivers, and service interfaces without requiring multiple external controller packages.

Typical applications include Arduino-compatible embedded modules, compact industrial controllers, battery-powered condition-monitoring equipment, serial data concentrators, hobby robotics, and small sensor nodes. The 32-VFQFN package also helps reduce board area, although its fine pitch and exposed-pad construction require careful PCB layout and assembly planning.

Designers should follow the manufacturer datasheet for the complete 32-pin assignment, exposed-pad connection, decoupling requirements, and programming interface. The exposed thermal pad must be connected to the supply and ground planes as specified, while high-current supply and return paths should be arranged to minimize switching-loop area and maintain stable operation.

This product record combines verified manufacturer and distributor information with practical application guidance, interface selection, pricing context, and same-package replacement analysis. It is intended to help engineers identify whether the ATMEGA328PB-MNR fits a compact 8-bit embedded-control design without overlooking package, memory, peripheral, or programming constraints.

Drop-in alternatives for ATMEGA328PB-MNR — 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 ATMEGA328PB-MNR (same form factor and footprint) — differing in Package, Operating Temperature, SRAM, EEPROM, Communication Interfaces.

Microchip Technology
Package: 32-VQFN (5x5 mm) MLF, exposed pad
Operating Temperature: -40C to +105C
SRAM: 1 KB
Compare with ATMEGA328PB-MNR →
Microchip Technology
Package: 32-pin QFN with exposed pad, 10 mm x 10 mm
SRAM: 2 KB
EEPROM: 1024 bytes
Compare with ATMEGA328PB-MNR →
Microchip Technology
Package: 32-pin VQFN (5x5 mm)
Operating Temperature: -40 °C to +105 °C
SRAM: 2 KB
Compare with ATMEGA328PB-MNR →
Microchip Technology
Package: 32-pin VQFN (5x5 mm, exposed pad)
Operating Temperature: -40 C to +85 C (industrial)
SRAM: 2 KB
Compare with ATMEGA328PB-MNR →
Microchip Technology
Package: 32-VFQFN (5x5 mm)
Operating Temperature: -40C to +105C (automotive)
Compare with ATMEGA328PB-MNR →
Microchip Technology
Package: 32-VFQFN (5x5 mm)
Operating Temperature: -40C to +85C (Industrial)
SRAM: 4 KB (2K x 8)
Compare with ATMEGA328PB-MNR →

ATMEGA328PB-MN

✅ Drop-In
📦 32-VFQFN, 5 mm × 5 mm
Same ATmega328PB device and 32-VFQFN footprint; MN is the tray option rather than the MNR tape-and-reel option, with 0% listed electrical difference.

📋 Reference alternative (not in catalog)

ATMEGA328PB-MBTVAO

✅ Drop-In
Microchip Technology
📦 32-VFQFN, 5 mm × 5 mm
AVR · 8-Bit · 32 KB (16K x 16) Flash · 2 KB · 4 KB SRAM · 20 MHz · 27 general-purpose I/O lines

Contact for price

View Datasheet →

ATMEGA328P-MNR

✅ Drop-In
Microchip Technology
📦 32-VFQFN, 5 mm × 5 mm
AVR 8-bit RISC · 32 KB (16K x 16) · 2 KB · 1 KB · 20 MHz · 1.8 V to 5.5 V · Up to 20 MIPS at 20 MHz · 23

Contact for price

View Datasheet →

ATMEGA328P-MUR

✅ Drop-In
Microchip Technology
📦 32-VFQFN, 5 mm × 5 mm
AVR 8-bit RISC · 20 MHz · 20 MIPS · 32 KB (16 K x 16) · 2 KB · 1 KB · 1.8 V to 5.5 V · 23 lines

Contact for price

View Datasheet →

ATMEGA328PB-MNR Maximum Ratings & Electrical Characteristics

Processor Architecture AVR enhanced RISC
CPU Width 8-bit
Maximum Clock Frequency 20 MHz
Program Memory Type Flash
Program Memory Size 32 KB (16K × 16)
Maximum ISP Flash Memory 64 KB
EEPROM Memory 2 KB
SRAM 4 KB
General-Purpose I/O Lines 27
General-Purpose Working Registers 32
Flexible Timer/Counters 2
Serial Interfaces I2C, SPI, UART
Process Technology Low-power CMOS
Low-Power Technology picoPower
Package 32-VFQFN, 5 mm × 5 mm
Mounting Type Surface mount
Operating Temperature -40°C to +105°C
Temperature Grade Industrial
RoHS Packaging Pb-free packaging complies with RoHS

ATMEGA328PB-MNR 32-vfqfn, 5 mm × 5 mm Pin Configuration Guide

Pin configuration for ATMEGA328PB-MNR (32-vfqfn, 5 mm × 5 mm package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.

32-vfqfn, 5 mm × 5 mm package pinout diagram for ATMEGA328PB-MNR

No detailed pinout data available for ATMEGA328PB-MNR.

Refer to the datasheet for full pin configuration.

Typical Applications

ATMEGA328PB-MNR is suitable for 6 applications: Arduino-Compatible Embedded Modules, Industrial Sensor and Condition Monitoring, Battery-Powered Remote Sensor Nodes, Serial Data Concentrators, Hobby Robotics and Small Motor Systems, Programmable Logic and Interface Control.

🔧

Arduino-Compatible Embedded Modules

ATMEGA328PB-MNR fits compact Arduino-compatible controller modules because it provides a 20 MHz AVR core, 32 KB of Flash, 2 KB of EEPROM, 4 KB of SRAM, and 27 general-purpose I/O lines. I2C and SPI support common sensor and display connections, while UART provides a programming and serial-command path. Designers should compare the PB pin table against the legacy ATmega328P layout before reusing an existing shield, and should preserve the exposed-pad supply and ground connection. Compared with the earlier ATmega328P, the PB revision provides 27 rather than up to 22 I/O lines, creating additional peripheral-routing options when the PCB is designed specifically for it.

🏭

Industrial Sensor and Condition Monitoring

The ATMEGA328PB-MNR is suitable for industrial condition-monitoring controllers that combine local sensing, periodic sampling, and status reporting. Its two flexible timer/counters can support timing or output-waveform functions, while I2C and SPI provide interfaces to sensors and data-capture devices. The industrial-grade temperature range is -40°C to +105°C, and 4 KB of SRAM plus 2 KB of EEPROM provide resources for buffering and persistent configuration. A practical implementation should use picoPower-compatible sleep modes between samples, validate the external sensor's accuracy requirements, and include watchdog recovery so a firmware fault does not interrupt long-term monitoring.

🔋

Battery-Powered Remote Sensor Nodes

ATMEGA328PB-MNR can serve as the low-power controller in a compact remote sensor node because it combines picoPower technology with a 4 KB SRAM, 2 KB of EEPROM, and 27 I/O lines. The 20 MHz clock supports responsive local processing while low-power operating modes can reduce consumption between sensor measurements. Two timer/counters, I2C, SPI, and UART make it possible to coordinate a sensor, local indicator, and communications link without a separate host MCU. Runtime is primarily determined by the selected sleep mode, sensor duty cycle, and radio activity; the implementation should measure the complete sleep current rather than relying only on processor current.

🌐

Serial Data Concentrators

ATMEGA328PB-MNR works well in a small serial concentrator that receives commands through UART and distributes control or monitoring functions across I2C and SPI peripherals. The 32 KB Flash memory supports application firmware and protocol tables, while 4 KB of SRAM handles transient packet buffering and the two timer/counters support periodic polling. The MCU can also provide a bootloader through its serial programming interface. For a production design, use robust connector protection, separate logic levels where required, and verify that the serial transceiver's supply and signal limits match the ATMEGA328PB-MNR operating conditions before release.

🤖

Hobby Robotics and Small Motor Systems

The ATMEGA328PB-MNR is appropriate for compact robotics controllers that need deterministic digital I/O, timers, and multiple communication buses. Its 20 MHz AVR core provides ample responsiveness for coordinating sensors, actuators, and operator commands, while 27 I/O lines offer more routing flexibility than the earlier ATmega328P's up to 22 lines. PWM-capable timer outputs can control compatible actuator signals, but motor systems require suitable drivers because the microcontroller pins cannot directly source motor current. Keep high-current switching paths away from sensitive timing traces and use a separate regulator or driver where transient loads could disturb the MCU supply rail.

🖥️

Programmable Logic and Interface Control

ATMEGA328PB-MNR can implement compact programmable logic or interface-control functions where a small deterministic firmware task is preferable to a larger MCU. The two flexible timer/counters, 27 I/O lines, and support for I2C, SPI, and UART allow the device to coordinate sensors, displays, and communications without external programmable logic. Flash provides read-while-write operation, helping firmware remain available while nonvolatile parameters are updated. The 32-VFQFN package reduces board area, but its fine pitch and exposed pad require careful assembly process control, continuous ground-plane connection, and verification of the manufacturer's recommended reflow profile.

What are the key specifications of ATMEGA328PB-MNR that engineers should know?
The ATMEGA328PB-MNR is a 20 MHz, 8-bit AVR microcontroller with 32 KB of Flash, 2 KB of EEPROM, 4 KB of SRAM, and 27 general-purpose I/O lines. According to the Microchip ATmega328PB datasheet 40001906C, it also includes I2C, SPI, UART, two flexible timer/counters, and picoPower technology. The device is supplied in a 32-VFQFN 5 mm × 5 mm package for industrial-temperature operation from -40°C to +105°C.
What is the operating voltage of ATMEGA328PB-MNR?
The verified source excerpts for ATMEGA328PB-MNR do not state a numeric operating-supply-voltage range, so a value should not be assumed. According to Microchip datasheet 40001906C, the authoritative electrical characteristics and operating conditions must be used during design. Confirm the voltage limits against the selected clock, analog peripherals, and I/O levels before connecting external sensors, communication transceivers, or programming hardware.
Where can I download the ATMEGA328PB-MNR datasheet PDF?
The official ATMEGA328PB-MNR datasheet can be downloaded from Microchip Technology at https://ww1.microchip.com/downloads/en/DeviceDoc/40001906A.pdf. The manufacturer also provides a later document link at https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/40001906C.pdf. These manufacturer PDFs contain the authoritative pin assignments, electrical characteristics, package information, and programming details.
Where can I find the ATMEGA328PB-MNR pinout?
The ATMEGA328PB-MNR pinout should be taken from the package drawing and pin-description section of Microchip datasheet 40001906C. The verified package is 32-VFQFN, and the exposed thermal pad must be implemented according to the manufacturer land-pattern instructions. A generic QFN-32 image is not sufficient for board release because the exposed-pad connection and individual signal assignments must be verified against the exact device.
Where to buy ATMEGA328PB-MNR online?
ATMEGA328PB-MNR is available from authorized distributors including DigiKey, Mouser, and LCSC. The verified LCSC listing reports a starting price of $2.3337 and identifies the device as in stock, while DigiKey states that orders can ship today. Prices and inventory are dynamic, so procurement should confirm the quantity price and stock position as of 2026-10-29 before issuing a purchase order.
What is the price of ATMEGA328PB-MNR?
The verified starting price for ATMEGA328PB-MNR is $2.3337 from LCSC as of 2026-10-29. DigiKey and Mouser also provide commercial listings, but the supplied source excerpts do not expose complete quantity-break prices. Therefore, the $2.3337 figure should be treated as the listed starting price rather than a guaranteed price at every order quantity.
What is the lead time for ATMEGA328PB-MNR?
The verified DigiKey listing states that ATMEGA328PB-MNR can ship today, indicating current distributor availability for at least some order quantities. No numerical factory lead time is included in the supplied evidence, so production planning should request a dated quotation from the selected authorized distributor. Stock as of 2026-10-29 should be confirmed before committing a build schedule.
Is ATMEGA328PB-MNR in stock?
Yes, the verified distributor results explicitly report availability: DigiKey says the part ships today, and LCSC identifies ATMEGA328PB-MNR as in stock. These statements support using the Schema.org InStock condition as of 2026-10-29. Because distributor inventory changes quickly, confirm the requested quantity and manufacturing origin before placing an order.
ATMEGA328PB-MNR vs ATMEGA328P-MNR — which is better for an embedded-control design?
ATMEGA328PB-MNR is preferable when a design needs the B-device peripherals and I/O capabilities, while ATMEGA328P-MNR serves legacy ATmega328P designs that retain the established pin arrangement. According to Microchip datasheet 40001906C, ATMEGA328PB provides 27 general-purpose I/O lines, I2C, SPI, UART, and two flexible timer/counters. Existing PCB compatibility must be checked because the PB revision changes the use of certain pins.
What is the difference between ATMEGA328PB-MNR and ATMEGA328PB-MN?
ATMEGA328PB-MNR and ATMEGA328PB-MN provide the same ATmega328PB device in 32-VFQFN form, with the principal verified ordering difference being packaging presentation: MNR is tape-and-reel while MN is the tray option. The verified comparison identifies ATMEGA328PB-MN as a 32-pin VQFN exposed-pad tray-package ordering variant. Firmware, fuse, and memory behavior remain the same device family.
When should I choose ATMEGA328PB-MNR over ATMEGA328P-MNR?
Choose ATMEGA328PB-MNR when the design can be updated to accommodate the PB device's expanded peripheral and I/O configuration or when its functional-safety-oriented feature set is relevant. According to Microchip datasheet 40001906C, it combines a 20 MHz AVR core with 32 KB Flash, 4 KB SRAM, 2 KB EEPROM, I2C, SPI, UART, and two flexible timer/counters. Retain ATMEGA328P-MNR for unchanged legacy boards after verifying pin-level compatibility.
Is ATMEGA328PB-MNR suitable for battery-powered sensor nodes?
ATMEGA328PB-MNR is suitable for battery-powered embedded products because it is a low-power CMOS AVR MCU built with picoPower technology and offers 4 KB SRAM, 2 KB EEPROM, and 27 I/O lines. According to Microchip datasheet 40001906C, its two flexible timer/counters and serial interfaces can support timing, sensing, and local communication. Actual battery life still depends on the selected sleep mode, sensor duty cycle, and quiescent-current configuration.
What can replace ATMEGA328PB-MNR on the same PCB?
ATMEGA328PB-MN is the closest same-package ordering alternative because it uses the same 32-VFQFN device in a tray presentation. ATMEGA328P-MNR also uses the 32-VFQFN footprint, but it is not a universally safe drop-in replacement for every PB design because selected PB pins differ. According to Microchip datasheet 40001906C, engineers should compare the complete pin table, exposed pad, fuse configuration, and firmware assumptions before substitution.
Is ATMEGA328PB-MNR the same as ATMEGA328P-MNR?
No, ATMEGA328PB-MNR and ATMEGA328P-MNR are not identical for every PCB and application. According to Microchip datasheet 40001906C, ATMEGA328PB adds I/O and peripheral capabilities relative to the earlier ATmega328P family. Both appear in 32-VFQFN options, but the PB revision can require previously unused pins to be disconnected or reassigned, so firmware and schematic reviews are mandatory.
What Microchip equivalent is best for ATMEGA328PB-MNR?
The closest Microchip ordering equivalent is ATMEGA328PB-MN because it retains the ATmega328PB device and 32-VFQFN construction while changing the delivery presentation from reel to tray. The verified cross-reference identifies ATMEGA328PB-MN as a 32-pin VQFN exposed-pad tray option. No verified cross-manufacturer part was demonstrated to provide identical AVR peripherals, memory organization, and pin compatibility, so changing MCU architecture requires a full hardware and firmware redesign.
Does ATMEGA328PB-MNR support RoHS-compliant manufacturing?
Yes, the verified ordering information states that Pb-free packaging complies with the European Directive on the Restriction of Hazardous Substances. According to Microchip datasheet 40001906C, the ATMEGA328PB-MNR is identified as an industrial-grade, -40°C to +105°C device with Pb-free packaging. RoHS refers to restricted hazardous substances in the component and packaging, not to the absence of every environmental concern.

Engineering reference data for ATMEGA328PB-MNR — comparison, design guidance, and compliance information.

Selection Guide

Choose ATMEGA328PB-MNR for a new compact 8-bit embedded design that benefits from 20 MHz AVR performance, 32 KB Flash, 4 KB SRAM, 2 KB EEPROM, 27 I/O lines, I2C, SPI, UART, and picoPower operation. It is especially useful when the board can be laid out specifically for the PB pin arrangement. Select ATMEGA328PB-MN when the same electrical device is required but a tray rather than tape-and-reel presentation is operationally preferable. ATMEGA328P-MNR or ATMEGA328P-MUR can suit an unchanged legacy 32-VFQFN design, but the lower 2 KB SRAM, 1 KB EEPROM, and up to 22 I/O lines create meaningful functional differences. No verified cross-manufacturer alternative demonstrated equivalent AVR memory organization, peripheral behavior, and pin compatibility; a PIC or ARM-based substitute therefore generally requires PCB, driver, and firmware redesign rather than a drop-in substitution.

Comparison with Alternatives

Parameter This Product ATMEGA328PB-MN ATMEGA328PB-MBTVAO ATMEGA328P-MNR ATMEGA328P-MUR
Package 32-VFQFN, 5 mm × 5 mm 32-VFQFN, 5 mm × 5 mm 32-VFQFN, 5 mm × 5 mm 32-VFQFN, 5 mm × 5 mm 32-VFQFN, 5 mm × 5 mm
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Processor Architecture AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit AVR enhanced RISC, 8-bit
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Flash Memory 32 KB (16K × 16) 32 KB 32 KB 32 KB 32 KB
EEPROM Memory 2 KB 2 KB 2 KB 1 KB 1 KB
SRAM 4 KB 4 KB 4 KB 2 KB 2 KB
General-Purpose I/O Lines 27 27 27 Up to 22 Up to 22
Timer/Counters 2 2 2 2 2

Key Differentiators

  • Expanded general-purpose I/O availability within the established AVR family (vs ATMEGA328P-MNR)
  • Larger SRAM and EEPROM resources for embedded-control workloads (vs ATMEGA328P-MNR)
  • Same 32-VFQFN device available in reel and tray logistics (vs ATMEGA328PB-MN)
  • Compact 20 MHz AVR processing in a 5 mm × 5 mm package (vs ATMEGA165PV-8MNR)

Design Notes

Implement the 32-VFQFN footprint from the Microchip package drawing and connect the exposed thermal pad to the appropriate ground or supply structure specified by the manufacturer. Place the MCU close to its decoupling network, route the exposed-pad vias with the land pattern's thermal-via guidance, and avoid placing high-current switching nodes beneath the package. Fine-pitch assembly also requires checking the PCB's minimum feature capability and solder-mask behavior before production release.

Provide local bulk and high-frequency decoupling according to Microchip datasheet 40001906C, and keep the supply return path continuous beneath the MCU and exposed pad. Since the verified excerpts do not provide numeric voltage limits, do not infer a voltage range from generic ATmega328P material. Validate the exact supply window, I/O levels, and peripheral operating conditions from the PB datasheet. If external sensors, radios, or motors share the rail, isolate their switching-current paths to prevent controller resets.

Do not assume that every 32-VFQFN ATmega328P board can use ATMEGA328PB without modification. The PB revision provides 27 general-purpose I/O lines, while the earlier family provides up to 22, and selected PB-specific pins differ in function. Review the exact signal on every changed footprint location, disconnect inaccessible PB-only pins as applicable, and recompile with the correct device definition and fuse settings. The bootloader and application should also be tested on the production PCB revision.

Keep I2C, SPI, UART, and timer traces short where possible, especially when the MCU drives sensors, displays, or fast serial devices. Provide pull-ups or series termination according to the connected peripheral and trace topology rather than applying a universal value. For asynchronous serial communication, verify signal levels and grounding with the transceiver in the complete system. Clock, programming, and debug routes should be kept away from motor-drive nodes and high-current switching loops.

Although the ATMEGA328PB-MNR uses a 5 mm × 5 mm VQFN, normal 8-bit control workloads generally place more emphasis on exposed-pad continuity and local supply stability than on an external heatsink. Estimate PCB copper temperature rise from the actual regulator dissipation and ambient conditions during sustained maximum-clock operation. Do not combine the package area with a generic theta-JA value to predict junction temperature; use the manufacturer's board-dependent thermal guidance and validate the assembled design in its final enclosure.

Compliance Information

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

The verified ordering data explicitly states that Pb-free packaging complies with the European RoHS Directive. No verified REACH, halogen-free, conflict-minerals, or automotive AEC-Q100 statement was provided.

Data verified on: 2026-10-29 — data verified and curated by XAIPART's component engineering team

Related Searches

ATMEGA328PB-MNR Microchip ATMEGA328PB-MNR datasheet ATMEGA328PB-MNR 32-VFQFN pinout ATMEGA328PB-MNR 20MHz 8-bit microcontroller ATMEGA328PB-MNR price buy ATMEGA328PB-MNR online ATMEGA328PB-MNR vs ATMEGA328P-MNR ATMEGA328PB-MNR drop-in replacement ATMEGA328PB-MNR Arduino compatible controller ATMEGA328PB-MNR industrial sensor controller What can replace ATMEGA328PB-MNR? Where to download ATMEGA328PB-MNR datasheet PDF? ATMEGA328PB-MNR lead time and stock ATMEGA328PB 27 I/O Arduino module

Related Components & Terms

Microchip Technology ATMEGA328PB-MNR ATMEGA328PB-MN ATMEGA328PB-MBTVAO ATMEGA328P-MNR ATMEGA328P-MUR 8-bit microcontroller AVR enhanced RISC picoPower low-power CMOS embedded controller semiconductor 32-VFQFN QFN family surface-mount package Flash memory EEPROM SRAM I2C SPI UART RoHS industrial control Arduino-compatible module 20 MHz clock
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
✓
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