Microchip Technology

ATMEGA168PB-ANR - 8-bit AVR MCU 16KB Flash 20MHz TQFP-32 | Microchip

MPN: ATMEGA168PB-ANR ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 32-TQFP (7x7 mm) Package 20MHz Speed 16KB (8K x 16) Memory
From $0.72 USD / Unit
MOQ: 1 |
Price updated: 2026-09-16
Volume Pricing
Qty Unit Price Extended
1 $1.1 $1.10
10 $0.99 $9.90
100 $0.86 $86.00
500 $0.78 $390.00
1,000 $0.72 $720.00
ℹ️ All prices are in USD

ATMEGA168PB-ANR Overview

The Microchip Technology ATMEGA168PB-ANR is a picoPower 8-bit AVR RISC microcontroller with 16KB ISP FLASH, 512B EEPROM, 1KB SRAM, up to 20MHz operation and 27 general-purpose I/O lines, housed in a 32-pin TQFP (7x7 mm) package.

An 8-bit AVR microcontroller is a Harvard-architecture RISC processor that executes most instructions in a single clock cycle, placing it in the broader hierarchy of MCU -> embedded microcontroller -> semiconductor integrated circuit. AVR MCUs are widely used where low power, deterministic execution and simple single-supply design matter, from Arduino-compatible boards to industrial sensors.

Key features of the ATMEGA168PB include advanced RISC architecture with 131 instructions, 32 general-purpose 8-bit working registers, three flexible timer/counters (two 8-bit, one 16-bit), a 10-bit ADC, and picoPower technology for ultra-low sleep currents. The PB variant improves analog performance and adds extra pin-mapping flexibility versus the earlier ATmega168PA.

Technical depth: the device offers read-while-write FLASH for in-system programming, six sleep modes including power-down, USART, SPI and two-wire (I2C) serial interfaces, an on-chip oscillator option, and brown-out detection. Execution throughput reaches up to 20 MIPS at 20MHz, and the enriched feature set supports functional-safety-oriented designs.

Typical applications include industrial sensor nodes, consumer appliances, battery-powered meters, and hobbyist/Arduino-compatible boards where pin-compatible upgrades of ATmega48/88/168/328 sockets are needed.

Design consideration: keep AVCC connected to VCC through a low-pass network and never let the reset pin float; budget 20MHz timing only at 4.5V-5.5V or verify the voltage-frequency derating curve for 3.3V systems.

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

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

Microchip Technology
Operating Temperature: -40 C to +85 C
Serial Interfaces: USART, SPI, Two-Wire (I2C)
Compare with ATMEGA168PB-ANR →
Microchip Technology
Operating Temperature: -40 C to +85 C (industrial)
Serial Interfaces: USART, SPI, TWI (I2C)
Compare with ATMEGA168PB-ANR →
Microchip Technology
EEPROM: 512 bytes
SRAM: 1 KB
Serial Interfaces: USART, SPI, Two-Wire (I2C)
Compare with ATMEGA168PB-ANR →
Microchip Technology
Operating Temperature: -40C to +85C
EEPROM: 512 B
Package: 32-VQFN (5x5 mm, 0.5 mm pitch, MLF-32)
Compare with ATMEGA168PB-ANR →
Microchip Technology
Operating Temperature: -40C to +85C
EEPROM: 1 KB
Package: TQFP-32 (7x7 mm, 0.8 mm pitch)
Compare with ATMEGA168PB-ANR →
Microchip Technology
Operating Temperature: -40C to +85C (Industrial)
EEPROM: 2 KB
Package: 32-TQFP (7 x 7 mm)
Compare with ATMEGA168PB-ANR →

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

ATMEGA168PA-ANR

✅ Drop-In
Microchip Technology
📦 TQFP-32 (7x7)
8-bit AVR RISC · 16 KB (8K x 16) Flash · 10,000 write/erase cycles (typical) · 1 KB · 512 bytes · 20 MHz · Up to 20 MIPS at 20 MHz · 1.8 V to 5.5 V

✓ In Stock

$1.44 / Unit

View Datasheet →

ATMEGA168PA-MU

✅ Drop-In
Microchip Technology
📦 TQFP-32 (7x7)
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 →

ATMEGA168P-20AU

✅ Drop-In
Microchip Technology
📦 TQFP-32 (7x7)
AVR 8-bit RISC · 16 KB (8K x 16) Flash · 512 B · 1 KB · 20 MHz · 2.7 V to 5.5 V · 23 · 32

✓ In Stock

$2.91 / Unit

View Datasheet →

ATMEGA168A-AU

✅ Drop-In
Microchip Technology
📦 TQFP-32 (7x7)
8-bit AVR RISC · 16 KB (8K x 16) Flash · Flash (ISP, read-while-write) · 512 B · 1 KB · 20 MHz · 2.7 V to 5.5 V · 23

✓ In Stock

$1.42 / Unit

View Datasheet →

ATMEGA88PB-ANR

✅ Drop-In
📦 TQFP-32 (7x7)
FLASH 8KB vs 16KB (-50%), same 1KB SRAM/512B EEPROM, identical pinout and peripherals

📋 Reference alternative (not in catalog)

ATMEGA328P-AU

✅ Drop-In
Microchip Technology
📦 TQFP-32 (7x7)
AVR 8-bit RISC · 8-bit · 20 MHz · 20 MIPS at 20 MHz · 32 KB (16K x 16) · 1 KB · 2 KB · 1.8 V to 5.5 V

✓ In Stock

$1.85 / Unit

View Datasheet →

ATMEGA328PB-AU

✅ Drop-In
Microchip Technology
📦 TQFP-32 (7x7)
AVR · 8-Bit · 20 MHz · 32 KB (16K x 16) · 2 KB · 4 KB · 27 · I2C x2, SPI x2, USART x2

✓ In Stock

$1.12 / Unit

View Datasheet →

ATMEGA168PB-ANR Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit AVR RISC
Flash Memory 16KB (8K x 16)
EEPROM 512B
SRAM 1KB
Maximum Clock Frequency 20MHz
General Purpose I/O 27 lines
Timers/Counters 2 x 8-bit, 1 x 16-bit
ADC Resolution 10-bit
Serial Interfaces USART, SPI, 2-wire (I2C)
Supply Voltage Range 1.8 V to 5.5 V
Low Power Technology picoPower
Operating Temperature -40C to +105C
Package 32-TQFP (7x7 mm)
Mounting Type Surface Mount
Packaging Tape & Reel (ANR suffix)
Programming Interfaces ISP, debugWIRE
Green Compliance RoHS-compliant, halide-free (per Microchip ordering data)

ATMEGA168PB-ANR Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 PD3 (PCINT19/OC2B/INT1) — Port D bit 3, pin-change interrupt 19, Timer2 output compare B, external interrupt 1
Pin 2 PD4 (PCINT20/XCK/T0) — Port D bit 4, USART external clock, Timer0 clock input
Pin 3 GND — Ground
Pin 4 VCC — Digital supply voltage
Pin 5 GND — Ground
Pin 6 VCC — Digital supply voltage
Pin 7 PB6 (PCINT6/XTAL1/TOSC1) — Port B bit 6, crystal oscillator input / timer oscillator
Pin 8 PB7 (PCINT7/XTAL2/TOSC2) — Port B bit 7, crystal oscillator output
Pin 9 PD5 (PCINT21/OC0B/T1) — Port D bit 5, Timer0 output compare B, Timer1 clock input
Pin 10 PD6 (PCINT22/OC0A/AIN0) — Port D bit 6, Timer0 output compare A, analog comparator positive input
Pin 11 PD7 (PCINT23/AIN1) — Port D bit 7, analog comparator negative input
Pin 12 PB0 (PCINT0/CLKO/ICP1) — Port B bit 0, clock output, Timer1 input capture
Pin 13 PB1 (PCINT1/OC1A) — Port B bit 1, Timer1 output compare A
Pin 14 PB2 (PCINT2/SS/OC1B) — Port B bit 2, SPI slave select, Timer1 output compare B
Pin 15 PB3 (PCINT3/OC2A/MOSI) — Port B bit 3, Timer2 output compare A, SPI master output
Pin 16 PB4 (PCINT4/MISO) — Port B bit 4, SPI master input
Pin 17 PB5 (PCINT5/SCK) — Port B bit 5, SPI clock
Pin 18 AVCC — ADC supply voltage
Pin 19 ADC6 — ADC input channel 6
Pin 20 AREF — Analog reference for ADC
Pin 21 GND — Ground
Pin 22 ADC7 — ADC input channel 7
Pin 23 PC0 (PCINT8/ADC0) — Port C bit 0, ADC channel 0
Pin 24 PC1 (PCINT9/ADC1) — Port C bit 1, ADC channel 1
Pin 25 PC2 (PCINT10/ADC2) — Port C bit 2, ADC channel 2
Pin 26 PC3 (PCINT11/ADC3) — Port C bit 3, ADC channel 3
Pin 27 PC4 (PCINT12/SDA/ADC4) — Port C bit 4, two-wire data line, ADC channel 4
Pin 28 PC5 (PCINT13/SCL/ADC5) — Port C bit 5, two-wire clock line, ADC channel 5
Pin 29 PC6 (PCINT14/RESET) — Reset input (active low), must be driven for ISP
Pin 30 PD0 (PCINT16/RXD) — Port D bit 0, USART receive
Pin 31 PD1 (PCINT17/TXD) — Port D bit 1, USART transmit
Pin 32 PD2 (PCINT18/INT0) — Port D bit 2, external interrupt 0

Typical Applications

ATMEGA168PB-ANR is suitable for 6 applications: Industrial Sensor Nodes, Battery-Powered Consumer Devices, Arduino-Compatible Hobby and Educational Boards, Home Appliance Control, Measurement and Instrumentation Front Ends, Automotive-Adjacent Body Electronics.

🏭

Industrial Sensor Nodes

The ATMEGA168PB-ANR fits industrial sensor nodes where a 1.8V-5.5V supply range, -40C to +105C temperature rating and picoPower sleep currents allow years of battery-assisted operation. Its 10-bit ADC digitizes bridge and analog sensor outputs directly, while SPI and two-wire interfaces connect digital sensors such as pressure or humidity ICs. The 16KB FLASH accommodates filtering, linearization and Modbus-style serial firmware with room for a bootloader. In a node powered from a 24V industrial rail via a regulator, the MCU spends most time in power-down mode, waking on pin-change or timer interrupts to sample and transmit over USART, keeping average current in the low-microamp range.

📱

Battery-Powered Consumer Devices

For battery-powered meters, remote controls and portable appliances, the ATMEGA168PB-ANR's picoPower technology delivers six sleep modes with sub-uA-class power-down current, which directly extends battery life. The on-chip brown-out detector and internal oscillator remove external components, shrinking BOM cost in high-volume products. The 27 GPIO lines drive keypads, LCD segments and LEDs without port expanders, while the 10-bit ADC reads battery voltage for state-of-charge indication. A typical design runs at 1MHz internal RC from two AA cells (3V), waking once per second via watchdog timer to sample and display, achieving multi-year operation from the same 16KB FLASH code budget that would otherwise demand a larger MCU.

🧩

Arduino-Compatible Hobby and Educational Boards

The ATMEGA168PB-ANR is fully supported by community Arduino toolchains such as MiniCore and by Microchip's ATmega168PB Xplained Mini kit, making it a natural choice for educational and maker boards. With 16KB FLASH it runs the same bootloader-and-sketch model as the classic Arduino Uno (ATmega328P) while lowering unit cost, and the identical TQFP-32 footprint lets designers reuse Uno-derived layouts. The USART serves as the USB-serial programming channel; SPI and I2C connect shields for displays and sensors. At 16MHz from 5V it executes roughly 16 MIPS, adequate for robotics, instrumentation and IoT prototypes, and debugWIRE offers single-wire on-chip debugging through Microchip Studio during firmware development.

💡

Home Appliance Control

White goods and small appliances benefit from the ATMEGA168PB-ANR's combination of -40C to +105C ambient rating, 1.8V-5.5V single-supply operation and rich timer set for AC-load control. The two 8-bit timers generate PWM for TRIAC phase-angle or LED dimming control, and the 16-bit timer handles encoder input from knobs with hardware capture for precise timing. The 16KB FLASH stores touch-decision logic, buzzer tones and fault handling, while the 10-bit ADC reads NTC thermistors for over-temperature protection. Noise immunity on the AVR core plus the internal brown-out reset maintain deterministic behavior on the electrically noisy 220V environments typical of appliance control PCBs.

🔧

Measurement and Instrumentation Front Ends

Handheld meters and simple instrumentation use the ATMEGA168PB-ANR's 10-bit ADC with differential input modes and programmable gain (1x/8x/20x/32x) to measure small sensor signals without an external amplifier stage. The internal 1.1V bandgap reference provides a stable ratiometric baseline; AVCC filtering plus the noise-reduction sleep mode before each conversion improves effective resolution. The 1KB SRAM buffers multi-point calibration tables, and 512B EEPROM stores factory trim values across power cycles. For higher-resolution needs, the SPI port clocks external delta-sigma ADCs such as the MCP342x family, keeping the design single-chip for logic while the AVR handles averaging, scaling and display driving on the same 16KB code budget.

🚗

Automotive-Adjacent Body Electronics

The ATMEGA168PB-ANR serves cost-sensitive 12V automotive-adjacent subsystems such as seat controllers, lighting modules and sensor pods that sit outside strict AEC-Q100 mandates but still see wide temperature swings. Its -40C to +105C rating matches cabin-to-engine-bay boundary conditions, and the 5V operation pairs cleanly with automotive 12V rails through a 5V regulator. The 16-bit timer with input capture decodes LIN-style or PWM protocols, and the USART connects LIN transceivers for body-bus communication. PicoPower modes support ignition-off keep-alive tasks below 10uA. Designers needing certified automotive grade should move to Q-grade AVR variants, but for aftermarket and auxiliary modules the 168PB provides the same pin-compatible layout footprint.

Recommended Products Summary

ATA663054 LIN/linear regulator companion for industrial bus nodes Used in: Industrial Sensor Nodes ATMEGA328P-AU Microchip Technology Used in: Industrial Sensor Nodes, Automotive-Adjacent Body Electronics ATMEGA88PB-ANR Lower-cost 8KB sibling for reduced firmware Used in: Battery-Powered Consumer Devices AT32UC3L0128 Upgrade path for higher integration (verify pinout independently) Used in: Battery-Powered Consumer Devices ATMEGA328PB-AU Microchip Technology Used in: Arduino-Compatible Hobby and Educational Boards ATMEGA16U2 USB-serial bridge for programming interface Used in: Arduino-Compatible Hobby and Educational Boards AT42QT1070 Capacitive touch sensor companion IC Used in: Home Appliance Control ATTINY85-20PU Sub-function co-processor option Used in: Home Appliance Control MCP3421A0T-E/CH 18-bit external delta-sigma ADC over I2C Used in: Measurement and Instrumentation Front Ends MCP1700-3302E/TT Low-quiescent 3.3V LDO for battery operation Used in: Measurement and Instrumentation Front Ends ATA6624C LIN system-basis chip (regulator + transceiver) for 12V rails Used in: Automotive-Adjacent Body Electronics
What is the ATMEGA168PB-ANR microcontroller?
The ATMEGA168PB-ANR is a Microchip picoPower 8-bit AVR RISC microcontroller with 16KB ISP FLASH, 512B EEPROM, 1KB SRAM, 27 GPIO lines and up to 20MHz clock, in a 32-pin TQFP (7x7 mm) package. According to the Microchip product page, it includes three timer/counters, a 10-bit ADC, USART/SPI/I2C interfaces and six sleep modes, rated from -40C to +105C.
What is the difference between ATMEGA168PB and ATMEGA168PA?
The ATMEGA168PB is an enhanced die revision of the ATMEGA168PA with the same 16KB/1KB/512B memory set, 20MHz maximum clock and identical TQFP-32 footprint. The PB adds improved ADC performance, additional peripheral pin-mapping options (enhanced capacitive-touch and extra timer routing), and better power figures per Microchip's PB-series documentation. Both are pin-compatible; firmware written for the PA generally runs on the PB after verifying any peripheral remap registers.
Can ATMEGA328P replace ATMEGA168PB-ANR?
Yes, electrically the ATMEGA328P in TQFP-32 (e.g. ATMEGA328P-AU) is pin-to-pin compatible with the ATMEGA168PB and can be used as a hardware drop-in, but it doubles FLASH to 32KB and SRAM to 2KB. Firmware must be recompiled with the correct device signature for ISP programming, and code relying on exact signature bytes or bootloader images will need updating. Conversely, the 168PB cannot always replace a 328P design that needs >16KB.
What is the best drop-in replacement for ATMEGA168PB-ANR?
The closest drop-in is the ATMEGA168PA-ANR, the prior die revision in the identical 32-TQFP (7x7) package with the same 16KB FLASH, 1KB SRAM, 20MHz rating and -40C to +105C range. Because the PB is an enhancement of the PA, the PA substitutes cleanly in most designs where the PB-specific peripheral remapping is not used. Within the same family, ATMEGA328P TQFP-32 parts also fit the same footprint with more memory.
Where can I download the ATMEGA168PB-ANR datasheet PDF?
The official datasheet covering the ATmega48PB/88PB/168PB family is available from the Microchip product page at microchip.com/en-us/product/ATmega168PB, which links the current complete PDF. Mirror sites such as alldatasheet.com also host the ATMEL-era PDF (25-page summary and the full 400+ page complete document), but Microchip's site guarantees the latest revision and errata.
What is the price of ATMEGA168PB-ANR?
As of 2026-09-16, the ATMEGA168PB-ANR typically trades around US$1.10 at single-unit quantity, dropping to roughly $0.72 at 1000-piece volumes across distributors such as DigiKey, Mouser and Octopar-listed sellers, based on Octopart aggregating 10 distributors. Actual pricing varies with stock conditions; XAIPART tiers start at $1.10 (qty 1) as of 2026-09-16. Lead times are usually short since the part is an active Microchip product.
Is ATMEGA168PB-ANR suitable for 3.3V operation?
Yes, the ATMEGA168PB operates from 1.8V to 5.5V, so 3.3V rails are fully supported. However, the maximum safe clock frequency derates with voltage per the AVR voltage-frequency curve: 20MHz is guaranteed only near 4.5V-5.5V, while at 3.3V designs typically run up to about 13.3-16MHz with margin. Consult the operating envelope in the manufacturer datasheet before fixing the oscillator frequency for your supply rail.
What are the key specifications of ATMEGA168PB-ANR engineers should know?
Key specifications: 8-bit AVR RISC core at up to 20MHz (up to 20 MIPS), 16KB self-programmable ISP FLASH with read-while-write, 512B EEPROM, 1KB SRAM, 27 GPIO lines, 32 general-purpose registers, two 8-bit and one 16-bit timer, 10-bit ADC, USART/SPI/I2C, picoPower sleep modes, 1.8V-5.5V single supply, -40C to +105C, in a 32-TQFP 7x7 mm package. These figures come from the Microchip product page and the ATmega48PB/88PB/168PB datasheet.
Where to buy ATMEGA168PB-ANR online?
The ATMEGA168PB-ANR can be purchased from DigiKey (stock listed with same-day shipping), Mouser, and secondary distributors aggregated on Octopart (10 distributors compared). XAIPART also lists the part with tiered pricing from $1.10 at quantity 1 as of 2026-09-16. Always verify reel date codes and buy from authorized channels, since AVR parts in TQFP-32 are common counterfeit targets.
ATMEGA168PB-ANR vs ATMEGA88PB-ANR - which should I choose?
Choose the ATMEGA168PB-ANR when code size approaches or exceeds 8KB, since the ATMEGA88PB-ANR offers only 8KB FLASH, 512B SRAM and 512B... the 88PB gives 8KB/1KB/512B while the 168PB gives 16KB/1KB/512B. Both share the same TQFP-32 footprint, pinout, 20MHz clock and peripheral set, so selection is essentially a memory-budget decision. If flash utilization is under ~70% of 8KB, the 88PB saves cost; otherwise the 168PB's 16KB provides headroom for OTA-style rewrites and bootloader space.
Is there a cross-brand (non-Microchip) equivalent for ATMEGA168PB-ANR?
No true cross-brand pin-to-pin equivalent in the 32-TQFP package was found in the verified cross-reference data for the ATMEGA168PB-ANR; competing 8-bit MCUs (Microchip PIC16, ST STM8) use different pin maps and development ecosystems. AVR family members from the same Microchip portfolio (ATMEGA168PA, ATMEGA328P/328PB in TQFP-32) are the practical substitutes. Migration to another vendor requires PCB rework and firmware rewrite, so same-family drop-ins are strongly preferred for second sourcing.
Does the ATMEGA168PB-ANR have an ADC and how many channels?
Yes, the ATMEGA168PB integrates a 10-bit successive-approximation ADC with up to 8 multiplexed single-ended channels (8 of the 27 GPIO are ADC-capable on the TQFP package) plus differential modes with optional 1x/8x/20x/32x gain stages. The ADC reference can be VCC, an internal bandgap, or an external AREF pin. Conversion time is 13 ADC clock cycles, and the analog supply (AVCC) should be filtered for best noise performance.
Can the ATMEGA168PB be programmed with Arduino tools?
Yes, community toolchains such as MiniCore and XMiniCore (GitHub) provide Arduino IDE support for the ATmega168 family including the PB variant, and the official ATmega168PB Xplained Mini kit from Microchip integrates with Atmel Studio/Microchip Studio for debugging. ISP programming uses the standard 6-pin header via an ISP programmer like Atmel-ICE or USBasp. Burn an appropriate bootloader and select the correct device signature when flashing, since bootloaders built for the 328P will reject the 168PB signature.
What is the operating temperature range of ATMEGA168PB-ANR?
The ATMEGA168PB-ANR is rated from -40C to +105C ambient, per Mouser's product listing (20 MHz, TQFP, 105C, GREEN T&R). This industrial-extended range suits automotive-cabin-adjacent and industrial equipment environments, though junction temperature limits still constrain power dissipation at high ambient. For applications above +85C, verify the maximum junction rating in the datasheet thermal section and derate clock or supply margin accordingly.
Is ATMEGA168PB-ANR RoHS compliant and lead-free?
Yes. According to Microchip's ordering information for the ATmega168PB family (onlinedocs.microchip.com), Pb-free packaging complies with the European RoHS directive, and the part is additionally halide-free and fully Green. The tape-and-reel ANR suffix uses the same compliant package plating. Compliance documentation (certificate of conformance, material declarations) can be requested through Microchip's support portal or the distributor listing.

Engineering reference data for ATMEGA168PB-ANR — comparison, design guidance, and compliance information.

Selection Guide

Choose the ATMEGA168PB-ANR when your firmware fits in 16KB with 1KB SRAM, you need -40C to +105C industrial temperature, and battery life or low standby current matters - its picoPower die and 1.8V-5.5V range make it the strongest 168-class option. Choose the ATMEGA168PA-ANR if PB-specific peripheral remapping is not used and the older die is cheaper or more available. Choose the ATMEGA88PB-ANR to cut cost when code stays under ~7KB. Choose the ATMEGA328P-AU when you need 2KB SRAM or Arduino-Uno binary compatibility, but note its +85C ceiling; choose the ATMEGA328PB-AU for 32KB plus dual USART/TWI on the identical footprint. All seven alternatives share the TQFP-32 (7x7) footprint, so footprint-level design reuse is guaranteed across the whole family - the real switching cost is firmware signature and memory re-verification, not PCB rework.

Comparison with Alternatives

Parameter This Product ATMEGA168PA-ANR ATMEGA88PB-ANR ATMEGA328P-AU ATMEGA328PB-AU
Package TQFP-32 (7x7 mm) TQFP-32 (7x7 mm) - same TQFP-32 (7x7 mm) - same TQFP-32 (7x7 mm) - same TQFP-32 (7x7 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 16KB 16KB 8KB 32KB 32KB
SRAM 1KB 1KB 1KB 2KB 2KB
Max Clock 20MHz 20MHz 20MHz 20MHz 20MHz
Operating Temperature -40C to +105C -40C to +105C -40C to +105C -40C to +85C -40C to +105C
Low-Power Technology picoPower (PB revision) picoPower (PA revision) picoPower (PB revision) picoPower (P revision) picoPower (PB revision)
Extra Peripherals 2x 8-bit + 1x 16-bit timers, 1x USART Same peripheral set Same peripheral set, half flash Same peripheral set, more memory 2x USART, extra timer, 2x TWI/SPI masters

Key Differentiators

  • Extended -40C to +105C operating range (vs ATMEGA328P-AU)
  • picoPower PB-die refinements (vs ATMEGA168P-20AU)
  • Cost-efficient middle of the family (vs ATMEGA328PB-AU)
  • Trade-off: smaller SRAM than 328-series (vs ATMEGA328P-AU)

Design Notes

Connect AVCC (pin 18) to VCC through an LC low-pass (e.g. 10uH inductor or ferrite bead with 100nF at AVCC) even when the ADC is unused - the datasheet requires AVCC within 0.3V of VCC for the device to function. Decouple both VCC pins (4, 6) with 100nF ceramics placed within 2mm of the pins. At 5V/20MHz, active current is roughly 5-6mA typical; in power-down with WDT off, expect sub-uA levels, so select regulator quiescent current (e.g. MCP1700-class, 1.6uA) to preserve sleep savings in battery designs.

Keep the crystal (if used) within 10mm of pins 7-8 with short ground return traces, and place 22pF-class load capacitors per the crystal datasheet. Route the RESET trace (pin 29) away from PWM/relay lines; a glitch here during ISP leaves the board unprogrammable. Reserve the 6-pin ISP header footprint (or test pads for MISO/MOSI/SCK/RESET/VCC/GND) in production layouts - retrofitting programming access after layout freeze is the most common AVR design pitfall.

Two VCC and two GND pins must both be connected - floating pin 4 or 6 produces intermittent resets that mimic software bugs. Do not omit the brown-out detector fuse when running from unregulated supplies; SRAM corruption below 1.8V otherwise bricks EEPROM contents. When migrating firmware from ATmega328P, note the 168PB has half the RAM (1KB vs 2KB), so stack-heavy sketches (String, large buffers) overflow silently - set a stack canary or reduce heap usage before porting.

Estimated: at 5V and 20MHz with all I/O sourcing 20mA, worst-case die dissipation stays below ~0.25W, giving junction rise under 15C over ambient with the TQFP-32 thermal resistance (typically ~100 C/W on a minimum-copper board). No heatsink is required for any realistic AVR workload; the practical thermal constraint is ambient ceiling: above +85C ambient, verify junction margin per the datasheet absolute maximum of 150C.

Compliance Information

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

Per Microchip ordering documentation (onlinedocs.microchip.com): Pb-free packaging complies with the European RoHS directive; also halide-free and fully Green. Not marketed as AEC-Q100 qualified - select a Q-grade AVR variant for certified automotive use.

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

Related Searches

ATMEGA168PB-ANR datasheet ATMEGA168PB-ANR price Microchip ATMEGA168PB-ANR buy ATMEGA168PB-ANR pinout TQFP-32 ATmega168PB vs ATmega168PA difference ATMEGA168PB-ANR drop-in replacement 16KB flash 8-bit AVR microcontroller 20MHz ATmega168PB Arduino MiniCore support ATmega168PB picoPower battery life what is the best alternative to ATMEGA168PB-ANR ATMEGA168PB-ANR equivalent 32-TQFP ATmega168PB Xplained Mini evaluation kit

Related Components & Terms

Microchip Technology ATMEGA168PB-ANR ATmega168PB ATmega168PA ATMEGA88PB-ANR ATMEGA328P-AU ATMEGA328PB-AU AVR 8-bit RISC microcontroller MCU picoPower ISP (in-system programming) debugWIRE TQFP-32 surface mount package RoHS directive 10-bit ADC USART / SPI / two-wire (I2C) Arduino MiniCore ATmega168PB Xplained Mini
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