Microchip Technology

ATMEGA328PB-MN - 20MHz 8-Bit AVR MCU | Microchip

MPN: ATMEGA328PB-MN ✓ چالاک
32-VFQFN (5 x 5 mm) Package 20 MHz Speed 32 KB (16K x 16) Memory
MOQ: 1 |

ATMEGA328PB-MN گشتی

Microchip Technology ATMEGA328PB-MN is a low-power, 8-bit AVR microcontroller with a 20 MHz maximum clock, 32 KB Flash memory, 2 KB EEPROM, 4 KB SRAM, and 27 general-purpose I/O lines in a 32-VFQFN 5 x 5 mm package. It also provides two flexible 16-bit timers with PWM and compare-match modes, two 8-bit timers, a 10-bit ADC, SPI, I2C, USART, and universal-control ports.

An 8-bit microcontroller is a compact computing platform that integrates a processor core, program memory, data memory, peripherals, and I/O into one semiconductor package. The ATmega328PB belongs to the AVR enhanced RISC microcontroller family, where its enhanced RISC architecture executes powerful instructions within a single clock cycle and achieves throughput close to 1 MIPS per MHz. This makes it a practical member of the broader embedded-controller and power-management semiconductor hierarchy.

Key features include 32 KB of Flash memory for firmware, 2 KB of EEPROM for nonvolatile data, 4 KB of SRAM for working memory, and 27 general-purpose I/O lines. The device operates at up to 20 MHz and includes two flexible 16-bit timers with PWM and compare-match modes. Its communication peripherals include SPI, I2C, USART, TWI, and universal-control ports, while the 10-bit ADC supports analog measurements.

The ATmega328PB combines picoPower operation with the AVR enhanced RISC architecture. It supports serial programming through ISP and in-circuit debugging through JTAG, using interfaces that integrate with Microchip development tools. Read-while-write Flash operation and the peripheral set make the device suitable for compact embedded control systems that need both deterministic digital I/O and analog measurement.

Typical uses include Arduino-compatible control boards, industrial automation modules, temperature and environmental monitors, motor and actuator controllers, small instruments, and low-power embedded products. Its 20 MHz processing capability and 27 I/O lines provide more interface flexibility than a basic 8-bit controller, while the 32-VFQFN package supports compact board layouts when careful thermal and assembly planning is applied.

Designers should compare the ATMEGA328PB against the original ATMEGA328P because the B revision adds I/O functionality and may use different fuse defaults. Existing layouts should also be checked for connections to the affected pins before treating the PB as a replacement. The industrial temperature option and dense leadless package make assembly, inspection, and rework more demanding than through-hole or larger-pitch packages.

This page consolidates verified manufacturer specifications, distributor availability, practical application guidance, and package considerations for engineers evaluating the ATMEGA328PB-MN. It distinguishes documented specifications from unverified or unavailable details so procurement and design decisions can be made without relying on assumed pin mappings, pricing tiers, or unsupported cross-brand equivalency.

جێگرەوەکانی جێگۆڕکێ بۆ ATMEGA328PB-MN — هەمان پاکەت، پین بە پین گونجاو. ئەو بەشانەی پاکەتی جیاوازیان هەیە و پێویستیان بە چاککردنەوەی PCB هەیە لابراون.

جۆرەکان لەم زنجیرەیەدا

مۆدێلەکانی هەمان زنجیرە کە بە شێوەی ڕاستەوخۆ گونجاون لەگەڵ ATMEGA328PB-MN (هەمان شێوە و پێکهاتەی شوێن) — جیاوازە لە ADC, Package, SRAM, Throughput.

Microchip Technology
ADC: 6 channels, 10-bit
Package: 32-pin VQFN (5x5 mm)
SRAM: 2 KB
بەراوردکردن لەگەڵ ATMEGA328PB-MN →

ATMEGA328P-MN

✅ جێگرەوەی ڕاستەوخۆ
Microchip Technology
📦 32-VFQFN (5 x 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

پەیوەندی بۆ نرخ

بینینی داتاشیت →

ATMEGA328PB-MN زۆرترین ڕێژە و تایبەتمەندییە کارەباییەکان

Microcontroller Type 8-bit AVR microcontroller
Architecture AVR enhanced RISC
زۆرترین فرێکوێنسیی کاتژمێر 20 MHz
Flash Memory 32 KB (16K x 16)
EEPROM Memory 2 KB
SRAM 4 KB
General-Purpose I/O Lines 27
General-Purpose Working Registers 32
ADC 10-bit
Timer Count 2 x 16-bit and 2 x 8-bit
پاکێج 32-VFQFN (5 x 5 mm)
پلەی گەرمیی کارکردن -40 °C to +105 °C
Technology Low-power CMOS with picoPower
Programming Interfaces ISP, JTAG, and ICSP
Serial Interfaces SPI, I2C/TWI, USART, and universal-control ports
Throughput Close to 1 MIPS per MHz
دۆخی RoHS Compliant
جۆری دامەزراندن Surface mount

ڕێنمایی ڕێکخستنی پینی ATMEGA328PB-MN 32-vfqfn (5 x 5 mm)

ڕێکخستنی پین بۆ ATMEGA328PB-MN (پاکێجی 32-vfqfn (5 x 5 mm)). ئەم IC ی دیجیتاڵە GPIO، ڕووکارەکانی پەیوەندی (UART، SPI، I2C) و پینی وزە لەخۆدەگرێت. سەرنج بدە بە داتاشیتی بەرھەمھێنەر بۆ فەنکشنەکانی پینی جێگرەوە و ھەڵبژاردنەکانی ڕێکخستن. پێویستە بۆ دیزاینی سیستەمی جێگیر و ڕێکخستنی PCB.

نەخشەی پینئاوتی پاکێجی 32-vfqfn (5 x 5 mm) بۆ ATMEGA328PB-MN

هیچ داتای وردی پینئاوت بەردەست نییە بۆ ATMEGA328PB-MN.

سەرنج بدە بە داتاشیت بۆ ڕێکخستنی تەواوی پینەکان.

بەکارهێنانە باوەکان

ATMEGA328PB-MN گونجاوە بۆ 6 بەکارھێنانs: Arduino-Compatible Embedded Control, Industrial Automation and Sensor Interface, Temperature and Environmental Monitoring, Motor and Actuator Control, Low-Power IoT Edge Node, Compact Data Logger and Instrument.

🔧

Arduino-Compatible Embedded Control

The ATMEGA328PB-MN fits compact Arduino-compatible control platforms because it combines a 20 MHz AVR core with 32 KB Flash, 2 KB EEPROM, 4 KB SRAM, and 27 general-purpose I/O lines. It can execute firmware while supporting PWM outputs, serial communication, and analog acquisition. Compared with the original ATMEGA328P, the PB revision adds I/O resources, so new boards should use the PB pinout and fuse settings. The 32-VFQFN 5 x 5 mm package reduces board area, but its 0.5 mm lead pitch requires suitable assembly and inspection processes.

🏭

Industrial Automation and Sensor Interface

ATMEGA328PB-MN is appropriate for compact industrial sensor interfaces because its industrial temperature rating spans -40 °C to +105 °C, while the 10-bit ADC supports analog measurement and 27 I/O lines accommodate digital sensors, indicators, and actuators. Its two 16-bit timers and two 8-bit timers support timing and PWM-related functions. The AVR architecture executes instructions in a single clock cycle and reaches throughput close to 1 MIPS per MHz, providing useful responsiveness at 20 MHz without requiring a higher-complexity processor.

🧩

Temperature and Environmental Monitoring

The ATMEGA328PB-MN can serve as the acquisition and control MCU in environmental monitoring equipment because the 10-bit ADC processes analog sensor inputs, while UART, I2C, and SPI provide paths to local displays, data loggers, or remote communications. Its 32 KB Flash accommodates application firmware, 2 KB EEPROM preserves parameters, and 4 KB SRAM supports runtime buffering. For battery-powered instruments, the low-power CMOS and picoPower implementation should be evaluated against the device-specific sleep and active-current data before finalizing the power budget.

⚡

Motor and Actuator Control

ATMEGA328PB-MN is suited to small motor and actuator control loops because it provides two flexible 16-bit timers with PWM and compare-match modes, two 8-bit timers, and 27 general-purpose I/O lines. These resources allow control software to generate timing signals, read inputs, and supervise actuator sequencing at a 20 MHz clock rate. Designers should size external drive stages for the load, include appropriate protection, and account for switching losses separately because the microcontroller itself is the control element rather than the high-current power stage.

🌐

Low-Power IoT Edge Node

The ATMEGA328PB-MN can serve as the edge controller in a small IoT node because its picoPower low-power CMOS implementation, 20 MHz AVR core, and multiple serial interfaces allow local sensing, control, and communication. UART or SPI can connect a radio module, while I2C supports sensors and EEPROM, and the 10-bit ADC handles analog inputs. Power consumption depends on operating mode, clock configuration, and peripherals, so the design should use the datasheet current measurements for each state and keep the radio's transmit and receive demand separate from the MCU budget.

📺

Compact Data Logger and Instrument

ATMEGA328PB-MN is well matched to compact instruments that need local control, nonvolatile configuration storage, and serial data export. The 32 KB Flash provides firmware space, 2 KB EEPROM can retain calibration or setup parameters, and 4 KB SRAM supports transient data handling. USART enables a simple host or service interface, while SPI accommodates higher-speed storage or external peripherals. For instruments with long-term data retention, designers should evaluate external nonvolatile storage because the MCU's on-chip EEPROM is intended for a limited and finite write-cycle budget.

What are the key specifications of ATMEGA328PB-MN that engineers should know?
The ATMEGA328PB-MN is an 8-bit AVR microcontroller rated for up to 20 MHz, with 32 KB Flash, 2 KB EEPROM, 4 KB SRAM, and 27 general-purpose I/O lines. According to the Microchip ATmega328PB datasheet 40001906C, it also provides a 10-bit ADC, two 16-bit timers, two 8-bit timers, SPI, I2C, USART, and universal-control ports. It is supplied in a 32-VFQFN 5 x 5 mm package and is specified for industrial temperatures from -40 °C to +105 °C.
Where to buy ATMEGA328PB-MN online?
The ATMEGA328PB-MN is available from DigiKey, Mouser, and LCSC among the verified sources listed for this product. The listed LCSC starting price is $1.8083 as of 2026-10-28, while distributor stock and transaction terms can change. The official Microchip product page and datasheet are available for technical review, and the DigiKey and Mouser listings provide purchasing links for the exact 32-VFQFN ordering code.
What is the price of ATMEGA328PB-MN?
The verified LCSC listing shows ATMEGA328PB-MN starting at $1.8083 as of 2026-10-28. DigiKey and Mouser also list the part, but their verified snippets do not expose numeric prices in the supplied data. Because only one numeric distributor price was provided, no unsupported quantity-break prices have been generated. Buyers should confirm the live price, stock, and shipping charge at the selected distributor.
What is the lead time for ATMEGA328PB-MN?
The verified distributor results indicate that ATMEGA328PB-MN can ship from DigiKey and is marked in stock by LCSC as of 2026-10-28, but no numeric lead time was supplied. The part should therefore be treated as commercially available while the current manufacturer and distributor inventory is confirmed before committing a production schedule. The available web evidence supports sourcing the exact 32-VFQFN ordering code, but not a guaranteed factory lead-time figure.
Is ATMEGA328PB-MN in stock?
Yes, the verified listings state that ATMEGA328PB-MN ships today from DigiKey and is in stock at LCSC as of 2026-10-28. These statements indicate distributor availability, not a permanent inventory guarantee. Because the ATMEGA328PB-MN ordering code specifies the 32-VFQFN 5 x 5 mm package, confirm that the listing and shipment use the same package suffix before placing an order.
Where to download the ATMEGA328PB-MN datasheet PDF?
The official ATmega328PB datasheet can be downloaded from Microchip at the provided PDF link, with document 40001906C identifying the current verified revision. The manufacturer product page also provides product information and links to development and programming resources. Use the manufacturer PDF for authoritative pin, electrical, clock, memory, and package information rather than relying only on distributor summaries.
Where can I find the ATMEGA328PB-MN pinout?
The pinout should be taken from the pin-configuration and package drawings in Microchip ATmega328PB datasheet 40001906C. The verified component description confirms a 32-VFQFN 5 x 5 mm package, but the supplied web snippets do not expose the complete numbered signal mapping. Consequently, this listing does not reproduce individual pin names and marks that mapping as [DATA_NEEDED: complete 32-pin ATMEGA328PB-MN pinout] rather than inventing it.
Is ATMEGA328PB-MN pin-compatible with ATMEGA328P?
The ATMEGA328PB is software-related to the ATMEGA328P, but it is not unconditionally pin-compatible in every existing design. The verified replacement discussion notes that ATmega328PB adds I/O functionality associated with pins 3 and 6, meaning those connections should be left unused when considering an upgrade. Designers should compare the complete package drawings, fuse defaults, and board connections before treating the two devices as interchangeable.
ATMEGA328PB-MN vs ATMEGA328P-MUR: which is better for an existing design?
The ATMEGA328PB-MN is preferable for a new design that benefits from the PB revision's additional I/O and peripherals, while the ATMEGA328P-MUR is relevant when preserving an established ATMEGA328P design. The ATMEGA328P-MUR uses the same 32-VFQFN family package and 20 MHz class of AVR device, but the PB revision introduces pin and fuse considerations. The verified comparison data lists both at 32 KB Flash and 2 KB SRAM, but does not provide enough verified detail to declare them universal drop-in equivalents.
When should I choose ATMEGA328PB-MN over ATMEGA328P-MUR?
Choose the ATMEGA328PB-MN when the additional I/O resources and PB-specific peripherals justify checking the changed pin functions and fuse configuration. Retain an ATMEGA328P-MUR-based design when software, qualification, or supply-chain continuity depends on the original device. The ATMEGA328PB-MN provides 27 general-purpose I/O lines according to the Microchip product page, while verified comparison data identifies the ATMEGA328P-MUR as a 32-KB Flash, 2-KB SRAM, 20 MHz AVR device.
Is ATMEGA328PB-MN suitable for industrial embedded control?
Yes, the ATMEGA328PB-MN is specified for industrial temperatures from -40 °C to +105 °C and combines 20 MHz processing with 27 I/O lines and multiple communication peripherals. According to Microchip datasheet 40001906C, the device is built on a low-power CMOS AVR enhanced RISC platform using picoPower technology. Its 32-VFQFN package reduces board area, although assembly and rework require equipment capable of handling the 0.5 mm lead pitch.
What can replace ATMEGA328PB-MN?
No verified, genuinely pin-to-pin drop-in replacement for the ATMEGA328PB-MN was identified in the supplied cross-reference data. The ATMEGA328P-MUR shares the 32-VFQFN class and has similar core memory and speed ratings, but the PB revision adds I/O on affected pins and can require different fuse settings. An ATMEGA328P is therefore a conditional functional alternative, not a universal drop-in replacement for every assembled ATMEGA328PB-MN board.
Is ATMEGA328PB-MN the same as ATMEGA328P-MUR?
No, the ATMEGA328PB-MN and ATMEGA328P-MUR are related 32-VFQFN AVR microcontrollers, but they are not identical in every respect. Verified comparison data identifies both as 32 KB Flash, 2 KB SRAM, 20 MHz devices, while the ATMEGA328PB product family adds I/O functionality and updated fuse behavior. The devices should be treated as related options rather than automatically interchangeable without a package, pin, and fuse-level review.
What is the best Microchip equivalent for ATMEGA328PB-MN?
The closest verified Microchip-family option is the ATMEGA328P-MUR because it appears in the same 32-VFQFN class and shares the principal 20 MHz, 32 KB Flash, and 2 KB SRAM attributes. It is not listed as a true drop-in alternative here because the ATMEGA328PB revision changes the use of pins 3 and 6 and has related fuse implications. New ATMEGA328PB-MN designs should use the PB-specific datasheet and tools to avoid compatibility surprises.
Which development tools are compatible with ATMEGA328PB-MN?
ATMEGA328PB-MN is supported by the Microchip ATmega development ecosystem identified on the official product page, including MPLAB programming and debugging workflows. The verified product information specifically describes MPLAB Snap programming through an 8-pin SIL connector using I/O pins and the reset line. ISP and JTAG are also identified as device programming and debugging interfaces, allowing engineers to select a tool configuration matching their board connector and application.
Does ATMEGA328PB-MN meet RoHS requirements?
Yes, the verified Microchip datasheet extract states that Pb-free packaging complies with the European Directive for Restriction of Hazardous Substances, commonly identified as RoHS. The ATMEGA328PB-MN is therefore documented as RoHS compliant for this packaging configuration. The supplied data does not separately establish REACH, halogen-free, conflict-minerals, or AEC-Q100 status, so those fields remain unknown or not applicable rather than being inferred.

داتای سەرچاوەی ئەندازیاری بۆ ATMEGA328PB-MN — بەراوردکردن، ڕێنمایی دیزاین و زانیاری پابەندبوون.

ڕێنمایی هەڵبژاردن

Choose the ATMEGA328PB-MN for a new embedded-control design that benefits from the PB revision's additional I/O resources, 27 general-purpose lines, 10-bit ADC, and extensive serial and timer peripherals. It is particularly attractive for compact Arduino-compatible controllers, industrial sensing modules, and low-power instruments operating from -40 °C to +105 °C. The 32-VFQFN package minimizes footprint but requires assembly capability for a 0.5 mm lead pitch. The ATMEGA328P-MUR is more appropriate for a proven legacy design whose PCB, firmware, qualification, and fuse configuration already depend on the original ATMEGA328P. Do not substitute it without checking pins 3 and 6 and the relevant fuse behavior. No cross-brand drop-in replacement was verified. If a higher-performance MCU, larger memory map, or more abundant ecosystem is required, consider a different architecture as a redesign rather than a direct replacement.

بەراوردکردن لەگەڵ جێگرەوەکان

پارامەتر ئەم بەرهەمە
Package 32-VFQFN (5 x 5 mm)
Brand Microchip Technology
Microcontroller Type 8-bit AVR microcontroller
Maximum Clock Frequency 20 MHz
Flash Memory 32 KB (16K x 16)
EEPROM Memory 2 KB
SRAM 4 KB
General-Purpose I/O Lines 27
ADC Resolution 10-bit
Operating Temperature -40 °C to +105 °C

تێبینییەکانی دیزاین

Do not automatically classify the ATMEGA328PB as a universal ATMEGA328P drop-in replacement. The verified replacement discussion identifies additional I/O functionality involving pins 3 and 6. Before replacing an existing device, compare the complete package drawing, board connections, and fuse defaults. A design that leaves the affected pins unused may have fewer compatibility constraints, but that condition must be verified rather than assumed.

Treat the 32-VFQFN 5 x 5 mm package as a fine-pitch assembly challenge. Provide solderable lands that satisfy the package drawing and assembly-process requirements, control trace spacing for programming and debug access, and inspect the perimeter joints carefully for bridging. The manufacturer's package drawing and the selected board manufacturer's assembly guidelines should govern land geometry and process capability.

Build the power budget from the operating mode, clock configuration, and enabled peripherals rather than assuming a single current value. The device is specified as a low-power CMOS picoPower MCU, but active processing, ADC use, timers, and communication interfaces change demand. Apply the verified datasheet operating-current data to each state and verify the power-supply design with the required startup, transient, and communication-load margin.

Preserve the programming and debug interface required by the product ecosystem. The official product information describes MPLAB Snap connection through an 8-pin SIL connector using two device I/O pins and the reset line. Keep the ISP and debug access unobstructed, follow the reference interface layout, and isolate sensitive analog inputs from switching nodes so the 10-bit ADC can be used effectively in measurement-oriented designs.

زانیاری پابەندبوون

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
بێ قوڕقوشم
Yes
بێ ھالۆجین
Unknown
کانزا ناکۆکەکان
Unknown

Microchip datasheet extract 40001906C states that Pb-free packaging complies with the European Directive for Restriction of Hazardous Substances. No verified REACH, halogen-free, conflict-minerals, or automotive qualification statement was supplied.

داتا پشتڕاستکراوەتەوە لە: 2026-10-28 — داتا لەلایەن تیمی ئەندازیاری پێکھاتەکانی XAIPART پشتڕاستکراوەتەوە و ڕێکخراوە

گەڕانە پەیوەندیدارەکان

ATMEGA328PB-MN ATMEGA328PB-MN datasheet Microchip ATMEGA328PB-MN ATMEGA328PB-MN price ATMEGA328PB-MN 32-VFQFN ATMEGA328PB 20MHz 32KB Flash microcontroller ATMEGA328PB-MN pinout ATMEGA328PB-MN vs ATMEGA328P-MUR ATMEGA328PB-MN drop-in replacement ATMEGA328PB-MN Arduino compatible ATMEGA328PB-MN industrial controller where to buy ATMEGA328PB-MN ATMEGA328PB-MN lead time and stock can ATMEGA328P replace ATMEGA328PB-MN

پێکهاتە و زاراوە پەیوەندیدارەکان

Microchip Technology ATMEGA328PB-MN ATMEGA328PB ATMEGA328P-MUR ATMEGA168PB-MU ATMEGA1608-MU AVR enhanced RISC architecture 8-bit microcontroller embedded microcontroller semiconductor low-power CMOS picoPower Universal Flash memory EEPROM SRAM 10-bit ADC SPI I2C/TWI USART PWM ISP JTAG ICSP 32-VFQFN QFN package family surface mount RoHS
داواکاری نرخی خێرا RFQ
وردەکارییەکانی تەواو پڕ بکەرەوە — تیمی فرۆشتنی ئێمە لە ماوەی 24 کاتژمێردا وەڵام دەداتەوە
ژمارەی پارچە بەرهەمهێنەر پاکەت QTY نرخی ئامانج کۆی گشتی
✓
نرخەکە نێردرا!

لە ماوەی ٢٤ کاتژمێردا وەڵامی ئیمەیڵەکەت دەدەینەوە

1
داواکاری نرخ پێشکەشکرا
2
نرخپێدان وەرگیرا
3
داواکاری دانرا
4
پارەدان
5
نێردرا
6
گەیەنراوە
بینینی وردەکاریی داواکاری نرخ