Microchip Technology

ATMEGA168PB-MU - 8-bit AVR MCU 16KB Flash 20MHz QFN-32 | Microchip

MPN: ATMEGA168PB-MU βœ“ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 32-VFQFN (5x5 mm) with exposed pad Package 20 MHz Speed 16 KB (8K x 16) Memory
From $1.31 USD / Unit
MOQ: 1 |
Price updated: 2026-09-16
Volume Pricing
Qty Unit Price Extended
1 $1.85 $1.85
10 $1.68 $16.80
100 $1.52 $152.00
500 $1.4099 $704.95
1,000 $1.31 $1,310.00
ℹ️ All prices are in USD

ATMEGA168PB-MU Overview

The Microchip Technology ATMEGA168PB-MU is an 8-bit AVR RISC microcontroller delivering 20 MHz operation, 16 KB ISP flash memory and 1 KB SRAM in a 32-pin VFQFN (5x5 mm) package with exposed pad.

An 8-bit microcontroller is a single-chip computer that processes data in 8-bit words and integrates a CPU, memory, timers, and communication peripherals on one die. The ATmega168PB belongs to the AVR ATmega family of microcontrollers, part of the broader power-management hierarchy of embedded processors, and succeeds the ATmega168A/P generations with lower power and added peripherals. The picoPower technology and AVR enhanced RISC architecture execute most instructions in a single clock cycle, achieving throughputs approaching 1 MIPS per MHz.

Key features include 16 KB (8K x 16) self-programmable flash with read-while-write support, 512 B EEPROM, 1 KB SRAM, 27 general-purpose I/O lines, and 32 general-purpose working registers. Peripheral set comprises three flexible timers/counters with compare modes, a 10-bit ADC, a USART with wake-up on start condition, and two-wire interface (I2C) and SPI serial ports. The device operates from 1.8 V to 5.5 V over the industrial temperature range of -40C to +85C, and is classified by DigiKey as an AVR ATmega Functional Safety (FuSa) microcontroller IC.

Architecturally, the AVR core uses Harvard structure with separate program and data buses; the single-cycle instruction execution allows system designers to optimize power consumption versus processing speed, choosing slower clocks for battery life rather than lower supply voltage rails.

Typical applications include industrial sensor nodes, consumer appliances, battery-powered portable devices, and hobby/Arduino-compatible embedded systems, where the QFN/MLF footprint suits space-constrained, automated PCB assembly.

For design, verify pin functionality changes when migrating from ATmega48/88/168 to the PB generation, per Microchip application note MCU8APPS-456, since PB parts are drop-in for the 32-pin VFQFN only under stated conditions.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.

Drop-in alternatives for ATMEGA168PB-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 ATMEGA168PB-MU (same form factor and footprint) β€” differing in Package, Flash Memory, Supply Voltage Range, Operating Temperature, Core Processor.

Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
Flash Memory: 16 KB (8K x 16) ISP
Supply Voltage Range: 2.7 V to 5.5 V
Compare with ATMEGA168PB-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) Exposed Pad
Supply Voltage Range: 2.7 V to 5.5 V
Compare with ATMEGA168PB-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm, 0.5 mm pitch, MLF-32)
Operating Temperature: -40C to +85C
Core Processor: AVR 8-bit RISC
Compare with ATMEGA168PB-MU β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
Operating Temperature: -40C to +85C
Compare with ATMEGA168PB-MU β†’

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

ATMEGA328PB-MU

βœ… Drop-In
πŸ“¦ 32-VFQFN (5x5 mm)
32 KB flash, 2 KB SRAM, 1 KB EEPROM vs 16 KB/1 KB/512 B; adds second USART and more timers - pin-to-pin in same VFQFN-32

πŸ“‹ Reference alternative (not in catalog)

ATMEGA168PA-MU

βœ… Drop-In
Microchip Technology
πŸ“¦ 32-VFQFN/MLF (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 β†’

ATMEGA168A-MU

βœ… Drop-In
Microchip Technology
πŸ“¦ 32-VFQFN/MLF (5x5 mm)
8-bit AVR RISC Β· 16 KB (8K x 16) ISP Β· 512 B Β· 1 KB Β· 20 MHz Β· 20 MIPS at 20 MHz Β· 2.7 V to 5.5 V Β· 23

βœ“ In Stock

$1.38 / Unit

View Datasheet β†’

ATMEGA168P-20MUR

βœ… Drop-In
Microchip Technology
πŸ“¦ 32-VFQFN/MLF (5x5 mm)
AVR Β· 8-Bit Β· 20 MHz Β· 16 KB (8K x 16) Β· 512 B Β· 1 KB Β· 2.7 V to 5.5 V Β· 23

βœ“ In Stock

$1.58 / Unit

View Datasheet β†’

ATMEGA88PB-MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 32-VFQFN (5x5 mm)
8 KB flash, 512 B SRAM, 256 B EEPROM (-50% flash, -50% SRAM), otherwise pin-compatible same-footprint PB family member

πŸ“‹ Reference alternative (not in catalog)

ATMEGA48PB-MU

βœ… Drop-In
πŸ“¦ 32-VFQFN (5x5 mm)
4 KB flash, 256 B SRAM, 256 B EEPROM (-75% flash, -75% SRAM) for cost-reduced designs; same pinout per MCU8APPS-456

πŸ“‹ Reference alternative (not in catalog)

ATMEGA168PB-MU Maximum Ratings & Electrical Characteristics

Core Processor AVR
Core Size 8-Bit
Speed 20 MHz
Flash Memory 16 KB (8K x 16)
EEPROM 512 B
SRAM 1 KB
General Purpose I/O 27
Working Registers 32
Supply Voltage Range 1.8 V to 5.5 V
Timers/Counters 3 flexible timers/counters with compare modes
ADC Resolution 10-bit
Connectivity USART, SPI, I2C (Two-Wire Interface)
Operating Temperature -40C to +85C (Industrial)
Package 32-VFQFN (5x5 mm) with exposed pad
Mounting Type Surface Mount
Technology picoPower low-power CMOS
RoHS Status Compliant (Green package)
Throughput Approaching 1 MIPS per MHz

ATMEGA168PB-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 β€” Port D bit 3 (GPIO / PCINT19)
Pin 2 PD4 β€” Port D bit 4 (GPIO / PCINT20 / XCK / T0)
Pin 3 GND β€” Ground
Pin 4 VCC β€” Digital supply voltage
Pin 5 GND β€” Ground
Pin 6 VCC β€” Digital supply voltage
Pin 7 PB6 β€” Port B bit 6 (XTAL1 / TOSC1 / PCINT6)
Pin 8 PB7 β€” Port B bit 7 (XTAL2 / TOSC2 / PCINT7)
Pin 9 PD5 β€” Port D bit 5 (GPIO / PCINT21 / T1 / OC0B)
Pin 10 PD6 β€” Port D bit 6 (GPIO / PCINT22 / AIN0 / OC0A)
Pin 11 PD7 β€” Port D bit 7 (GPIO / PCINT23 / AIN1)
Pin 12 PB0 β€” Port B bit 0 (GPIO / PCINT0 / ICP1 / CLKO)
Pin 13 PB1 β€” Port B bit 1 (GPIO / PCINT1 / OC1A)
Pin 14 PB2 β€” Port B bit 2 (GPIO / PCINT2 / SS / OC1B)
Pin 15 PB3 β€” Port B bit 3 (GPIO / PCINT3 / MOSI / OC2A)
Pin 16 PB4 β€” Port B bit 4 (GPIO / PCINT4 / MISO)
Pin 17 PB5 β€” Port B bit 5 (GPIO / PCINT5 / SCK)
Pin 18 AVCC β€” ADC supply voltage
Pin 19 ADC6 β€” Analog input channel 6
Pin 20 ADC7 β€” Analog input channel 7
Pin 21 PC0 β€” Port C bit 0 (ADC0 / PCINT8)
Pin 22 PC1 β€” Port C bit 1 (ADC1 / PCINT9)
Pin 23 PC2 β€” Port C bit 2 (ADC2 / PCINT10)
Pin 24 PC3 β€” Port C bit 3 (ADC3 / PCINT11)
Pin 25 PC4 β€” Port C bit 4 (ADC4 / SDA / PCINT12)
Pin 26 PC5 β€” Port C bit 5 (ADC5 / SCL / PCINT13)
Pin 27 PC6 β€” RESET (active-low reset input)
Pin 28 PD0 β€” Port D bit 0 (GPIO / PCINT16 / RXD)
Pin 29 PD1 β€” Port D bit 1 (GPIO / PCINT17 / TXD)
Pin 30 PD2 β€” Port D bit 2 (GPIO / PCINT18 / INT0)
Pin 31 GND β€” Ground
Pin 32 VCC β€” Digital supply voltage

Typical Applications

ATMEGA168PB-MU is suitable for 6 applications: Industrial Sensor Nodes, Battery-Powered Portable Devices, Consumer Appliances and White Goods, Hobby and Arduino-Compatible Systems, Embedded Communication Interfaces, Motor Control and PWM Actuation.

🏭

Industrial Sensor Nodes

The ATMEGA168PB-MU fits industrial sensor nodes because its 1.8 V to 5.5 V supply range tolerates unregulated 3 V battery packs or noisy 5 V rails, while its industrial -40C to +85C rating covers factory-floor temperature swings. The 10-bit ADC digitizes thermistors, pressure bridges, and 4-20 mA conditioned signals directly, and the USART plus two-wire interface link to RS-485 transceivers or display drivers. In a typical node, the MCU spends most time in picoPower sleep modes, waking on comparator, external interrupt, or watchdog timeout, so average current drops to microamp levels. Its 16 KB flash holds sensor calibration tables and Modbus or custom protocol firmware with room to spare. Recommend 0.1 uF decoupling on VCC/AVCC and solid exposed-pad grounding for ADC accuracy.

πŸ“±

Battery-Powered Portable Devices

picoPower technology makes the ATMEGA168PB-MU well suited to battery-powered portable products such as remote controls, meters, and wearable accessories. Operating directly from two alkaline cells (3 V) or a lithium coin cell (3 V) within the 1.8 V to 5.5 V range eliminates a regulator stage, saving board area and quiescent drain. Power-down and power-save modes reduce current to sub-microamp levels while the asynchronous timer keeps RTC functions alive, and the USART wake-up on start-condition feature lets the device sleep until an external event arrives. The 20 MHz capability is available when running on 5 V for burst processing, while 1 MHz internal oscillator modes stretch battery life at 3 V. Designers should measure real sleep current with all unused GPIO defined as inputs with pull-ups disabled, a common pitfall that inflates standby drain several-fold.

πŸ”§

Consumer Appliances and White Goods

The ATMEGA168PB-MU serves appliance control boards where cost, robustness, and code space balance: 16 KB flash accommodates button debouncing, LED or LCD driving, motor relay sequencing, and fault-logging code, while 1 KB SRAM supports small state machines. The three timers with compare modes generate PWM for fan, heater, or dimmer control, and the 10-bit ADC reads NTC temperature sensors and user potentiometers. The 32-VFQFN (5x5 mm) surface-mount package supports automated assembly, and its Green RoHS package meets global appliance environmental requirements. Its industrial temperature rating handles enclosure interiors that exceed consumer-grade limits. DigiKey classifies the device as a Functional Safety (FuSa) MCU, which supports appliance safety workflows. Use the watchdog timer and brown-out detector enabled by fuse settings for power-dip resilience in mains-powered environments.

🧩

Hobby and Arduino-Compatible Systems

The ATMEGA168PB-MU is Arduino-compatible through the MiniCore and XMiniCore community hardware packages, and Microchip's ATmega168PB Xplained Mini kit provides an official Arduino Uno form-factor evaluation platform. The 16 KB flash is sufficient for typical sketches using Serial, I2C (Wire), and SPI libraries, with the caveat that large sketches may need optimization versus 32 KB ATmega328 boards. The AVR toolchain - Atmel Studio / Microchip Studio, avr-gcc, and avrdude - supports ISP programming through the standard 6-pin header, so existing UNO-style programming hardware works unchanged. Its PB-generation peripherals (extra timer and pin-function options) benefit advanced users while remaining transparent to Arduino API code. For prototypes, pair with a USB-serial bridge and rely on the internal 8 MHz oscillator to omit the external crystal in space-constrained builds.

🌐

Embedded Communication Interfaces

With USART, SPI, and two-wire interface (I2C) on board, the ATMEGA168PB-MU acts as a protocol bridge or companion controller in systems where a main processor needs offloading. The USART with wake-on-start-condition enables low-power listening for LIN-style or custom serial links; SPI runs sensor or flash devices at high clock rates; and the two-wire interface supports multi-drop peripheral networks with addressing. The PB generation's additional timer resources support precise baud-rate generation and software protocol timing. Running at 5 V provides TTL-level noise margin for cable runs, while 3.3 V operation interfaces directly with modern logic. The 27 GPIO lines cover chip-selects, direction control, and status handshakes without external expanders. Firmware volume for UART buffers, CRC routines, and command parsers fits comfortably in the 16 KB flash with 1 KB SRAM for buffering.

βš™οΈ

Motor Control and PWM Actuation

The ATMEGA168PB-MU's three flexible timers/counters with compare modes generate multiple hardware PWM channels for small DC motor, servo, fan, and LED actuation tasks. At 20 MHz, 8-bit PWM resolution is available at roughly 78 kHz carrier, above audible range for fan and pump control, while slower carriers suit hobby servos and H-bridge drive. The 10-bit ADC reads back current-sense or potentiometer feedback for closed-loop speed control, and external interrupts handle encoder or zero-cross inputs. The 1.8 V to 5.5 V range matches single-cell or USB-powered actuators, and the industrial temperature rating covers enclosed driver boards. Flash space of 16 KB accommodates PID control, ramp profiles, and fault handling. When driving inductive loads, use freewheeling diodes on the external power stage - the MCU GPIO itself must remain within its absolute maximum ratings.

Recommended Products Summary

ATMEGA328PB-MU Higher-memory same-footprint option for richer protocol stacks Used in: Industrial Sensor Nodes, Hobby and Arduino-Compatible Systems, Embedded Communication Interfaces, Motor Control and PWM Actuation MCP1700-3302E/TT Low-quiescent-current LDO for battery supply Used in: Industrial Sensor Nodes MCP2515 CAN controller over SPI for industrial buses Used in: Industrial Sensor Nodes ATMEGA88PB-MU Cost-reduced 8 KB drop-in for simple portable firmware Used in: Battery-Powered Portable Devices MCP7940N I2C real-time clock with battery backup Used in: Battery-Powered Portable Devices ATMEGA168PA-MU Microchip Technology Used in: Consumer Appliances and White Goods MCP23008 I2C GPIO expander for extra relay/button lines Used in: Consumer Appliances and White Goods ATmega168PB Xplained Mini Official evaluation kit Used in: Hobby and Arduino-Compatible Systems MCP2562 CAN transceiver for vehicle/industrial networking Used in: Embedded Communication Interfaces DRV8837 Low-voltage H-bridge motor driver Used in: Motor Control and PWM Actuation
What is the flash memory size of ATMEGA168PB-MU?
The ATMEGA168PB-MU contains 16 KB of ISP (In-System Programmable) flash memory organized as 8K x 16, with read-while-write capabilities. According to the Microchip ATmega168PB product page, it also includes 512 B of EEPROM and 1 KB of SRAM, plus 27 general purpose I/O lines. The flash supports self-programming, enabling boot-loader firmware updates without external programming hardware.
What is the maximum clock speed of ATMEGA168PB-MU?
The ATMEGA168PB-MU runs at a maximum clock frequency of 20 MHz across its full 1.8 V to 5.5 V supply range. Because the AVR enhanced RISC core executes most instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, meaning up to roughly 20 MIPS at 20 MHz, per Microchip product documentation.
What is the difference between ATMEGA168PB and ATMEGA168PA?
The ATmega168PB is a successor generation to the ATmega168PA with lower power consumption and additional/modified peripheral functionality. According to Microchip application note MCU8APPS-456, the ATmega48PB/88PB/168PB can function as a drop-in replacement for the 32-pin TQFP and 32-pin VFQFN/MLF packages, but there are conditions to follow - engineers must review the Added/Modified Pin Functionality chapter before reusing an existing PCB.
What is the best drop-in replacement for ATMEGA168PB-MU?
For higher memory needs in the identical 32-VFQFN footprint, the ATMEGA328PB-MU is the best drop-in alternative, doubling flash to 32 KB while keeping pin compatibility. For cost-sensitive designs, ATMEGA88PB-MU (8 KB flash) shares the same package and pinout. Same-generation options include ATMEGA168PA-MU, ATMEGA168A-MU, and ATMEGA168-20MU in the same MLF/VFQFN-32 footprint, though the non-PB variants have fewer peripherals. Always verify the MCU8APPS-456 migration notes for pin-function conditions.
Where can I download the ATMEGA168PB-MU datasheet PDF?
The ATMEGA168PB-MU datasheet PDF is available from the official Microchip product page at microchip.com/en-us/product/ATmega168PB and from the Microchip onlinedocs portal. Distributor copies are also hosted at DigiKey (part 5029504) and Octopart datasheet repositories. Per FindIC, a datasheet file of approximately 385 KB is available for download covering the complete ATmega48PB/88PB/168PB family.
Where can I find the ATMEGA168PB-MU pinout for the 32-VFQFN package?
The complete 32-pin VFQFN (5x5 mm, MLF-style with exposed pad) pinout is in the pin configuration chapter of the Microchip ATmega168PB datasheet. The pinout is shared across the ATmega48PB/88PB/168PB family in this package, so the family datasheet pin diagram applies. The exposed pad on the underside is a ground connection and must be soldered to the PCB ground plane for both electrical and thermal performance.
What is the price of ATMEGA168PB-MU?
As of 2026-09-16, ATMEGA168PB-MU is listed by LCSC from approximately $1.4099 per unit, with 7 units in stock at that listing. On XAIPART, tiered pricing is $1.85 at qty 1, dropping to about $1.31 at qty 1000. Prices vary by distributor and stock position - Octopart lists 11 distributors for bulk comparison, so check current quotes before ordering production volumes.
Is ATMEGA168PB-MU in stock and where can I buy it online?
Yes, ATMEGA168PB-MU is broadly available: DigiKey lists it as buy-now with same-day shipping, Mouser lists inventory and pricing, LCSC shows stock from about $1.4099, and Wolfchip reported 44,940 pcs in stock as of January 2026. As of 2026-09-16, XAIPART also supports the part. Purchase channels include all these authorized distributors plus Octopart price comparison across 11 distributors.
What is the lead time for ATMEGA168PB-MU?
Lead time for ATMEGA168PB-MU depends on channel: DigiKey offers buy-now/same-day shipment for stock quantities, and Wolfchip reports immediate shipment from its 44,940-piece stock position (as of January 2026). Franchise distributor stock of Microchip ATmega parts is generally healthy since the device is an active, non-NRND product; for large production volumes beyond distributor stock, expect factory lead times that Microchip confirms via quote - typically on the order of standard semiconductor industry allocation windows.
ATMEGA168PB-MU vs ATMEGA328PB-MU - which is better for my application?
Choose ATMEGA168PB-MU when 16 KB flash, 512 B EEPROM and 1 KB SRAM are sufficient and cost matters; choose ATMEGA328PB-MU when you need 32 KB flash, 2 KB SRAM or additional peripherals. Both share the same 32-VFQFN footprint and pinout, so swapping is a firmware and bill-of-materials decision, not a PCB redesign. According to Microchip documentation, the ATmega328PB also adds a second USART and more timers versus the ATmega168PB, which matters for multi-serial applications.
When should I choose ATMEGA168PB over ATMEGA48PB-MU?
Choose ATMEGA168PB-MU when your firmware exceeds the 4 KB flash and 256 B SRAM of the ATMEGA48PB-MU - common once you add boot-loaders, protocol stacks, or floating-point routines. The ATMEGA168PB provides 16 KB flash, 512 B EEPROM and 1 KB SRAM, four times the memory of the ATmega48PB. Both share the identical 32-VFQFN package, 20 MHz speed rating, and 1.8 V to 5.5 V supply range, so the choice is purely program-memory sizing and unit cost.
Can ATMEGA168PA-MU replace ATMEGA168PB-MU?
Yes, in the reverse direction of the usual migration: the ATMEGA168PA-MU is generally usable where the PB was specified if you do not rely on PB-only peripheral features. Per Microchip application note MCU8APPS-456, the PB generation was designed as a drop-in replacement for the PA in the 32-pin VFQFN/MLF package subject to Added/Modified Pin Functionality conditions. The PA has the same 16 KB/512 B/1 KB memory, 20 MHz rating and industrial temperature range, but slightly different peripheral counts - verify the specific peripheral you use.
Is ATMEGA168PB-MU Arduino compatible?
Yes, the ATMEGA168PB is Arduino-compatible through community hardware packages: MCUdude's MiniCore supports the ATmega8/48/88/168/328 family, and the XMiniCore package specifically supports the ATmega168PB Xplained Mini board. Microchip itself offers the ATmega168PB Xplained Mini evaluation kit as an Arduino Uno form-factor hardware platform. The 16 KB flash accommodates typical Arduino sketches, though large sketches using Serial and libraries may need optimization versus 32 KB ATmega328 boards.
What supply voltage does ATMEGA168PB-MU require?
The ATMEGA168PB-MU operates from a single supply of 1.8 V to 5.5 V, per the Microchip ordering information for the industrial (-40C to +85C) operating range. FindIC listing data also notes 2.5V/3.3V/5V as common operating points. This wide range allows direct battery operation from two alkaline cells (3 V) or a lithium cell (3.6 V nominal), as well as standard 5 V logic rails, without an external regulator in many designs.
What are the key specifications of ATMEGA168PB-MU that engineers should know?
The ATMEGA168PB-MU is an 8-bit AVR RISC microcontroller with 20 MHz maximum clock, 16 KB ISP flash, 512 B EEPROM, 1 KB SRAM, 27 GPIO, three timers with compare modes, a 10-bit ADC, and USART/SPI/I2C connectivity, supplied in a 32-VFQFN (5x5 mm) package. It runs from 1.8 V to 5.5 V over -40C to +85C, achieves up to 1 MIPS per MHz, uses picoPower low-power technology, and is RoHS/Green compliant. Source: Microchip ATmega168PB product page and DigiKey part 5029504.
Hey Google, what can replace ATMEGA168PB-MU?
The closest replacements are the same-footprint Microchip ATmega parts: ATMEGA328PB-MU for double the flash and RAM, ATMEGA88PB-MU for a cost-reduced 8 KB version, and ATMEGA48PB-MU for 4 KB designs - all in the identical 32-VFQFN package per Microchip application note MCU8APPS-456. Legacy stock alternatives include ATMEGA168PA-MU, ATMEGA168A-MU, ATMEGA168P-20MUR, and ATMEGA168-20MU. For production substitutions, verify pin functionality and peripheral counts against the PB migration notes before releasing the change.
Is ATMEGA168PB-MU RoHS compliant and suitable for industrial applications?
Yes. The ATMEGA168PB-MU is offered in a RoHS-compliant Green package (Mouser lists it as QFN/MLF GRN 5V) and is rated for the industrial temperature range of -40C to +85C per Microchip's ordering information. DigiKey additionally classifies the AVR ATmega family member as a Functional Safety (FuSa) microcontroller IC, supporting safety-oriented industrial designs. For formal certification documentation, request compliance certificates from Microchip or your distributor at time of purchase.

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

Selection Guide

Choose ATMEGA168PB-MU as the default mid-range AVR when 16 KB flash, 512 B EEPROM and 1 KB SRAM cover your firmware - it delivers the full PB-generation peripheral set and picoPower efficiency at mid-tier cost. Select ATMEGA328PB-MU instead when sketches or protocol stacks exceed 16 KB, when you need the second USART, or when you want a proven upgrade path (same footprint, pin-to-pin). Choose ATMEGA88PB-MU or ATMEGA48PB-MU for simple, cost-driven designs that fit 8 KB or 4 KB - all share the 32-VFQFN pinout, so memory upsizing later is a BOM change, not a PCB redesign. Prefer ATMEGA168PA-MU only for continuity of supply on legacy boards that avoid PB pin-function differences. Trade-offs: PB parts require reviewing Microchip app note MCU8APPS-456 migration conditions; non-PB legacy parts (168A/168P) draw more power. For 5 V industrial environments the -40C to +85C industrial rating of all listed options suffices.

Comparison with Alternatives

Parameter This Product ATMEGA328PB-MU ATMEGA168PA-MU ATMEGA88PB-MU ATMEGA48PB-MU
Package 32-VFQFN (5x5 mm) with EP 32-VFQFN (5x5 mm) - same 32-VFQFN/MLF (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 16 KB (8K x 16) 32 KB (16K x 16) 16 KB (8K x 16) 8 KB (4K x 16) 4 KB (2K x 16)
SRAM 1 KB 2 KB 1 KB 512 B 256 B
EEPROM 512 B 1 KB 512 B 256 B 256 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
Peripheral Set 3 timers, 10-bit ADC, USART, SPI, TWI More timers, 2x USART, 2x TWI, 2x SPI (PB additions) 3 timers, 10-bit ADC, USART, SPI, TWI (PA set) Reduced timer/serial set vs 168PB Reduced timer/serial set vs 168PB
Operating Temperature -40C to +85C (Industrial) -40C to +85C -40C to +85C -40C to +85C -40C to +85C

Key Differentiators

  • Double the memory at the same footprint (vs ATMEGA328PB-MU)
  • Lower power and more peripherals than the PA generation (vs ATMEGA168PA-MU)
  • Balanced memory sizing for mid-range firmware (vs ATMEGA88PB-MU)
  • Cost floor with same pinout (vs ATMEGA48PB-MU)

Design Notes

The 32-VFQFN exposed pad is the primary ground connection and must be soldered to a PCB thermal land with an array of thermal vias to the ground plane. QFN center-pad voiding during reflow is a common yield problem: use a divided solder-paste pattern (typically 60-70% coverage across 4-6 apertures) rather than one large paste block. Follow Microchip's QFN land-pattern recommendations, and treat the MLF-to-VFQFN footprint equivalence described in application note MCU8APPS-456 when migrating legacy ATmega168 layouts.

Decouple both VCC pins (pins 4, 6, 32) and AVCC (pin 18) with 0.1 uF ceramics placed within 2-3 mm of each pin, plus one 4.7-10 uF bulk capacitor per supply domain. Tie AVCC to VCC through a low-pass LC filter (e.g., 10 uH + 10 uF) when ADC accuracy matters, and never leave AVCC unconnected even if the ADC is unused. Enable the internal brown-out detector via fuses for battery applications, since SRAM corruption below the minimum operating voltage is the most common field failure on AVR designs.

When migrating from ATmega168/168A/168PA to the PB version, review the Added/Modified Pin Functionality chapter of application note MCU8APPS-456 before reusing the PCB - PB parts are drop-in for the 32-pin VFQFN only under stated conditions, and some pins carry additional analog functions. Also note that PC6 (pin 27) is dedicated RESET on this pinout: enable the external-reset fuse or add an optional pull-up (10k) to VCC, since a floating reset pin causes sporadic boot failures that are difficult to diagnose.

Estimated: at 5 V and 20 MHz with all peripherals active, the ATmega168PB draws on the order of 10-15 mA of dynamic current (about 50-75 mW), which produces a junction rise well under 5 C over a typical land pattern given the exposed-pad thermal path - no heatsinking is required. Thermal design attention is instead justified only when many GPIO pins source near-maximum current simultaneously; in that case, verify per-pin and total device current limits against the datasheet absolute maximum table.

Compliance Information

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

Green RoHS-compliant package per Mouser (QFN/MLF GRN 5V) and LCSC listing. DigiKey additionally classifies the part as a Functional Safety (FuSa) microcontroller. REACH and conflict-minerals statements not found in provided data.

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

Related Searches

ATMEGA168PB-MU datasheet PDF ATMEGA168PB-MU pinout 32-VFQFN Microchip ATmega168PB microcontroller ATMEGA168PB-MU price buy ATMEGA168PB-MU drop-in replacement ATMEGA168PB vs ATMEGA168PA difference ATMEGA328PB-MU same package 16KB alternative 8-bit AVR 20MHz 16KB flash QFN microcontroller ATmega168PB Arduino compatible MiniCore ATMEGA168PB-MU stock availability lead time what is picoPower AVR microcontroller ATmega168PB Xplained Mini evaluation kit

Related Components & Terms

Microchip Technology ATMEGA168PB-MU ATmega168PB ATMEGA328PB-MU ATMEGA168PA-MU ATMEGA88PB-MU ATMEGA48PB-MU AVR 8-bit microcontroller RISC picoPower MCU8APPS-456 RoHS 32-VFQFN (5x5 mm) QFN / MLF package family surface mount ISP flash memory 10-bit ADC USART two-wire interface (I2C) SPI Arduino / MiniCore Functional Safety (FuSa) industrial temperature range
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