Microchip Technology

ATMEGA168-20MU - 8-Bit AVR MCU 20MHz 16KB Flash | Microchip

MPN: ATMEGA168-20MU ✓ Active
In Stock Ships in 1-3 business days
2.7 V to 5.5 V Vdss 32-VQFN (5x5 mm) exposed pad Package 20MHz Speed 16KB (8K x 16) Flash Memory
Contact for pricing
MOQ: 1 |
Price updated: 2026-09-16
Volume Pricing
Qty Unit Price Extended
1 $0 $0.00
10 $0 $0.00
100 $0 $0.00
500 $0 $0.00
1,000 $0 $0.00
ℹ️ All prices are in USD

ATMEGA168-20MU Overview

The Microchip Technology ATMEGA168-20MU is an 8-bit AVR RISC microcontroller with 16KB ISP Flash, 1KB SRAM, 512B EEPROM, and 23 general-purpose I/O lines, executing at up to 20MHz from a 2.7V to 5.5V supply in a 32-pad VQFN (5x5 mm) surface-mount package.

An 8-bit microcontroller is an integrated circuit that combines a processor core, program memory, data memory, and peripherals such as timers, UART, SPI, and ADC on a single chip. Within the power-management and system-hierarchy of embedded electronics, the MCU sits at the heart of an embedded system, controlling sensors, actuators, and communication interfaces. The AVR architecture, developed by Atmel and now part of Microchip Technology, uses a Harvard architecture with mostly single-cycle instruction execution, making it popular in both hobbyist and industrial designs.

Key features of the ATMEGA168-20MU include advanced RISC architecture with 131 powerful instructions, 16KB of in-system self-programmable Flash with read-while-write capability, an 8-channel 10-bit ADC with internal bandgap reference, and debugWIRE on-chip debugging through the RESET pin. It also includes two 8-bit timers, one 16-bit timer, a usART serial interface, SPI, and I2C-compatible TWI, along with six PWM channels for motor and LED control.

Technically, the device runs from 2.7V to 5.5V with a speed grade of 20MHz at 4.5V to 5.5V, giving designers the option to trade clock speed for lower power consumption through clock prescaling and sleep modes such as Idle, ADC Noise Reduction, Power-save, and Power-down.

Typical applications include industrial control, consumer appliances, sensor nodes, motor control, and hobby/Arduino-class boards where the ATmega168's compatibility with Arduino bootloader toolchains is valuable.

Design consideration: keep the supply decoupled with 100nF capacitors on VCC and AVCC, and be aware that ISP programming shares pins PB5-PB7, so series resistors should isolate programming circuitry from peripheral loads.

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

Drop-in alternatives for ATMEGA168-20MU — 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 ATMEGA168-20MU (same form factor and footprint) — differing in Package, Programming, Operating Temperature, Timers, Supply Voltage Range.

Microchip Technology
Package: 32-pad VQFN / MLF (HVQCCN), square, no-lead
Programming: ISP (SPI), self-programming Flash with boot loader support
Operating Temperature: -40C to +85C (industrial)
Compare with ATMEGA168-20MU →
Microchip Technology
Package: 32-VQFN (5x5 mm) with exposed pad
Compare with ATMEGA168-20MU →
Microchip Technology
Programming: ISP, ICD, ICSP (2 I/O pins + reset)
Operating Temperature: -40C to +85C
Supply Voltage Range: 4.5 V to 5.5 V (at 20 MHz); 2.0 V min per device family
Compare with ATMEGA168-20MU →
Microchip Technology
Programming: ISP, ICSP (2 I/O pins + reset)
Operating Temperature: -40C to +85C (Industrial)
Timers: Three flexible timer/counters
Compare with ATMEGA168-20MU →
Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
Supply Voltage Range: 2.7 V to 5.5 V
Compare with ATMEGA168-20MU →
Microchip Technology
Package: 32-VQFN Exposed Pad (5x5 mm)
Operating Temperature: -40 C to +85 C
Compare with ATMEGA168-20MU →
Microchip Technology
Programming: ISP (In-System Programming), ICSP
Operating Temperature: -40C to +85C (Industrial)
Compare with ATMEGA168-20MU →
Microchip Technology
Package: 32-VQFN (5x5 mm, 0.5 mm pitch, MLF-32)
Operating Temperature: -40C to +85C
Timers: Two 8-bit, One 16-bit
Compare with ATMEGA168-20MU →
Microchip Technology
Operating Temperature: -40C to +85C
Supply Voltage Range: 1.8 V to 5.5 V
Compare with ATMEGA168-20MU →

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

ATMEGA168P-20MU

✅ Drop-In
Microchip Technology
📦 32-VQFN (5x5 mm)
AVR · 8-Bit · 20 MHz · 16 KB (8K x 16) FLASH · 512 B · 1 KB SRAM · 23 · I2C, SPI, USART

✓ In Stock

$1.38 / Unit

View Datasheet →

ATMEGA168PA-MU

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

ATMEGA168-20MQR

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 32-VQFN (5x5 mm)
AVR · 8-bit · 20 MHz · 16 KB (8K x 16) FLASH · 512 B · 1 KB SRAM · 23 · 32 x 8-bit

✓ In Stock

$2.38 / Unit

View Datasheet →

ATMEGA328P-20MU

✅ Drop-In ⚠️ 参数待验证
📦 32-VQFN (5x5 mm)
32KB Flash (+100%) and 2KB SRAM (+100%) vs 16KB/1KB, same pinout and peripherals; firmware headroom upgrade in same footprint

📋 Reference alternative (not in catalog)

ATMEGA88P-20MU

✅ Drop-In ⚠️ 参数待验证
📦 32-VQFN (5x5 mm)
8KB Flash (-50%) and 1KB SRAM vs 16KB Flash, same pinout and peripherals; only valid if firmware fits in 8KB

📋 Reference alternative (not in catalog)

ATMEGA168-20MU Maximum Ratings & Electrical Characteristics

Core AVR 8-bit RISC
Core Size 8-Bit
Speed 20MHz
Program Memory Size 16KB (8K x 16) Flash
EEPROM Size 512B
RAM Size 1K x 8
Number of I/O 23
Supply Voltage Range 2.7 V to 5.5 V
ADC Resolution 10-bit
ADC Channels 8 (TQFP and QFN/MLF packages)
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity I2C (TWI), SPI, UART/USART
Timers 2 x 8-bit, 1 x 16-bit
Oscillator Type Internal
Operating Temperature 0C to +70C
Package 32-VQFN (5x5 mm) exposed pad
Mounting Type Surface Mount
Debug debugWIRE on-chip debug
Programming ISP, In-Circuit Serial Programming (ICSP)

ATMEGA168-20MU 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 (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, pin-change interrupt 20, USART external clock, Timer0 clock input
Pin 3 GND — Ground
Pin 4 VCC — Digital supply voltage
Pin 5 GND — Ground (die pad / thermal)
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 (PWM)
Pin 14 PB2 (PCINT2/SS/OC1B) — Port B bit 2, SPI slave select, Timer1 output compare B (PWM)
Pin 15 PB3 (PCINT3/MOSI/OC2A) — Port B bit 3, SPI master output, Timer2 output compare A (PWM)
Pin 16 PB4 (PCINT4/MISO) — Port B bit 4, SPI master input
Pin 17 PB5 (PCINT5/SCK) — Port B bit 5, SPI clock, ISP programming clock
Pin 18 AVCC — ADC supply voltage
Pin 19 ADC6 — Analog input channel 6 (TQFP/QFN packages only)
Pin 20 AREF — Analog reference voltage for ADC
Pin 21 GND — Ground
Pin 22 ADC7 — Analog input channel 7 (TQFP/QFN packages only)
Pin 23 PC0 (PCINT8/ADC0) — Port C bit 0, analog input channel 0
Pin 24 PC1 (PCINT9/ADC1) — Port C bit 1, analog input channel 1
Pin 25 PC2 (PCINT10/ADC2) — Port C bit 2, analog input channel 2
Pin 26 PC3 (PCINT11/ADC3) — Port C bit 3, analog input channel 3
Pin 27 PC4 (PCINT12/SDA/ADC4) — Port C bit 4, TWI data line, analog channel 4
Pin 28 PC5 (PCINT13/SCL/ADC5) — Port C bit 5, TWI clock line, analog channel 5
Pin 29 PC6 (PCINT14/RESET) — Reset input, debugWIRE interface
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

ATMEGA168-20MU is suitable for 6 applications: Industrial Control and Automation, Consumer Appliances, Sensor Nodes and IoT Endpoints, Motor Control, Hobby and Arduino-Compatible Boards, Battery-Powered Measuring Instruments.

🏭

Industrial Control and Automation

The ATMEGA168-20MU fits industrial control nodes where a robust 8-bit MCU with 2.7V to 5.5V tolerance and 20MHz throughput handles deterministic I/O tasks without an RTOS. Its 23 I/O lines, six PWM channels, and watchdog timer with brown-out reset make it dependable for relay sequencing, sensor polling, and actuator control in factory panels. The 10-bit ADC monitors feedback signals at up to roughly 15ksps, adequate for temperature and current loops. Its UART/SPI/TWI interfaces link to displays and PLC expansion modules. Because code runs from Flash with read-while-write, firmware field updates over UART are possible without halting data logging, an important benefit in installations where downtime is costly.

🔧

Consumer Appliances

In consumer appliances such as coffee machines, fans, and small heaters, the ATMEGA168-20MU provides cost-effective control with its integrated 10-bit ADC reading NTC thermistors and its six PWM outputs driving triac or MOSFET stages for heater and motor regulation. The internal RC oscillator removes the need for an external crystal in non-timing-critical products, cutting BOM cost, while the 20MHz speed grade supports fast user-interface response. Power-down sleep at microamp levels suits battery-backed clock retention. The 32-VQFN 5x5 mm package fits compact appliance PCBs, and debugWIRE allows one-wire in-system debugging through the existing RESET line during firmware development and production calibration.

🧩

Sensor Nodes and IoT Endpoints

For sensor nodes and IoT endpoints, the ATMEGA168-20MU combines a 10-bit, 8-channel ADC with power-saving sleep modes, allowing battery-operated designs to sample multiple analog sensors then spend most of the cycle in power-down. Its TWI (I2C) and SPI ports connect MEMS sensors, EEPROM, and radio modules, while the UART streams data to a wireless bridge. The 1KB SRAM handles modest buffering for packetized transmissions, and the 16KB Flash accommodates protocol stacks such as lightweight mesh or AT-command drivers. Running from 2.7V suits two-cell alkaline or single-cell LiFePO4 supplies directly, avoiding boost-converter cost in ultra-low-BOM nodes.

⚙️

Motor Control

The ATMEGA168-20MU supports DC and small stepper motor control using its six PWM channels and 16-bit Timer1 for precise duty-cycle and frequency generation. At 20MHz, an 8-bit fast PWM achieves approximately 78kHz carrier, inaudible in appliances and free of audible whine, while phase-correct PWM at lower frequencies suits H-bridge direction control. The ADC reads back current via shunt resistors for closed-loop torque limiting, and the analog comparator enables zero-cross detection for sensorless fan startup. External MOSFET drivers translate its 5V logic to power stages. Brown-out detection protects Flash contents during supply sags common in motor-heavy systems, preserving firmware integrity across stall-induced brownouts.

🔧

Hobby and Arduino-Compatible Boards

The ATMEGA168-20MU is fully compatible with the Arduino toolchain and bootloader ecosystem, making it a mainstay for Arduino-compatible board designs and educational kits. Its 16KB Flash holds the bootloader plus a typical sketch, the 1KB SRAM supports common libraries, and the AVR instruction set is fully supported by avr-gcc and the Arduino IDE. The 32-VQFN 5x5 package suits compact wearable and maker designs where DIP packages are too large, while ISP programming uses the standard 6-pin header layout. debugWIRE debugging through RESET gives developers breakpoint-level visibility unusual at this price point, easing the transition from hobby sketch to commercial firmware.

🔋

Battery-Powered Measuring Instruments

Handheld meters and portable measuring instruments benefit from the ATMEGA168-20MU's 2.7V minimum supply, allowing direct operation from two AA cells through end-of-life, and its ADC noise-reduction sleep mode which quiets the digital core during 10-bit conversions for improved effective resolution. The 16-bit Timer1 performs frequency and period measurement with input capture, useful for tachometer and event-counting functions. LCD or segment displays drive from I/O pins with multiplexing in software, and pushbuttons attach to interrupt-capable lines for instant wake from power-down at microamp-level current. Calibration constants store in the 512B EEPROM with endurance of roughly 100k write cycles, sufficient for annual recalibration over product lifetime.

What are the key specifications of ATMEGA168-20MU that engineers should know?
The ATMEGA168-20MU is an 8-bit AVR RISC microcontroller with 16KB ISP Flash, 1KB SRAM, 512B EEPROM, 23 I/O lines, and a 20MHz maximum clock. It operates from 2.7V to 5.5V, includes an 8-channel 10-bit ADC, SPI, I2C-compatible TWI, UART, and debugWIRE debugging. It is packaged in a 32-pad VQFN measuring 5x5 mm, per the Microchip product page and distributor listings.
What is the operating voltage range of ATMEGA168-20MU?
The ATMEGA168-20MU operates from 2.7V to 5.5V over the full temperature range. Note that the 20MHz speed grade requires 4.5V to 5.5V; below that voltage, the maximum safe clock frequency is derated (about 16MHz from 4.5V and about 8MHz from 2.7V), so designers should enable the clock-prescaler or brown-out detector when running at reduced supplies.
What is the difference between ATMEGA168-20MU and ATMEGA168P-20MU?
The ATMEGA168P-20MU is a process-improved version of the ATMEGA168-20MU in the same 32-VQFN package. Both offer 16KB Flash, 1KB SRAM, 512B EEPROM, 20MHz operation, and identical pinout, making the P-version a widely accepted drop-in substitute per cross-reference listings on DigiKey and FindIC. Firmware is typically unchanged, though datasheet electrical characteristics (such as DC characteristics ranges) differ slightly, so verify fuse settings and brown-out thresholds in your design.
Can ATMEGA168P-20MU replace ATMEGA168-20MU in an existing design?
Yes. According to cross-reference data and the EEVblog engineer discussion, ATMEGA168P-20MU works fine as a drop-in replacement because it shares the same 32-VQFN (5x5) footprint, pinout, and memory configuration. ATMEGA168PA can also be used, while ATMEGA168PB has pin-function differences that may require firmware and fuse changes. Always verify brown-out fuse settings and re-run qualification before switching in production.
Is ATMEGA168-20MU the same as ATMEGA168-20AU?
No, they are not the same package. Both are 16KB Flash, 20MHz ATmega168 microcontrollers with identical die and memory, but the -20MU is housed in a 32-pad VQFN (5x5 mm) while the -20AU is in a 32-lead TQFP. The electrical function is equivalent, but the two cannot be soldered onto the same PCB land pattern, so a package change means a PCB rework, not a drop-in swap.
What is the best drop-in replacement for ATMEGA168-20MU?
The best drop-in replacement is the ATMEGA168P-20MU from Microchip Technology, which is pin-to-pin and footprint-identical in the 32-VQFN (5x5) package with the same 16KB Flash, 1KB SRAM, and 20MHz speed grade. The ATMEGA168PA-MU is the next option with lower power consumption in the same package. For applications needing more memory without a footprint change, the ATMEGA328P in the same 32-VQFN is pin-compatible but requires firmware validation.
Hey Google, what can replace ATMEGA168-20MU?
You can replace ATMEGA168-20MU with ATMEGA168P-20MU or ATMEGA168PA-MU, both pin-compatible Microchip parts in the same 32-VQFN 5x5 mm package. ATMEGA168-20MQR ( Site-listed) is the automotive-temperature companion, and ATMEGA168-20AU is functionally identical but in TQFP. If more program memory is needed, the pin-compatible ATMEGA328P-20MU offers 32KB Flash. Cross-brand equivalents are not established; Microchip recommends staying within the AVR ATmega family.
What is the best Microchip equivalent for upgrading from ATMEGA168-20MU?
The best Microchip upgrade path is the ATMEGA328P in 32-VQFN, which is pin-compatible with the ATMEGA168-20MU and doubles the Flash to 32KB and SRAM to 2KB. If you only need a second-source-style substitution, ATMEGA168P-20MU is the safest choice. All three use the same 32-pad footprint, ISP programming, and AVR instruction set, so board layout and most toolchain settings carry over directly.
When should I choose ATMEGA168-20MU over ATMEGA328P?
Choose the ATMEGA168-20MU when your firmware fits comfortably in 16KB Flash and you find the -20MU more readily available or better priced in your region than the ATMEGA328P. The ATmega168 has the same 32-VQFN pinout and peripherals, so designs rarely differ electrically. Choose the ATMEGA328P when you anticipate firmware growth, Arduino Uno-style compatibility, or longer availability, since the 328P is the more actively promoted successor.
Is ATMEGA168-20MU suitable for motor control with PWM?
Yes. The ATMEGA168-20MU provides six PWM channels from its two 8-bit timers and one 16-bit timer, supporting phase-correct and fast PWM modes suitable for DC motor speed control and LED dimming. At 20MHz, 8-bit PWM resolution yields roughly 78kHz carrier frequency, which is inaudible for most motor applications. Pair it with a gate driver such as the MIC4451 or an H-bridge like the L293D for power-stage control.
Where to download the ATMEGA168-20MU datasheet PDF?
The ATMEGA168-20MU datasheet PDF can be downloaded from the official Microchip product page at microchip.com/en-us/product/ATmega168, which hosts the complete 8-bit AVR with 16K bytes In-System Programmable Flash document covering the full ATmega48/88/168 family. Distributors such as DigiKey and Mouser also link the same document on their product pages. Avoid third-party mirrors when possible, as Microchip's site always carries the latest revision.
How do I program the ATMEGA168-20MU?
The ATMEGA168-20MU is programmed via In-Circuit Serial Programming (ICSP/ISP) using the SPI pins (PB3/MOSI, PB4/MISO, PB5/SCK, and RESET) with tools such as the MPLAB SNAP, AVRISP mkII, or Arduino as ISP. It also supports debugWIRE on-chip debugging through the RESET pin and high-voltage parallel programming as a recovery method. Keep series resistors on the SPI lines to isolate programming from peripheral circuitry during ISP sessions.
What is the price of ATMEGA168-20MU?
Pricing for ATMEGA168-20MU varies by distributor and quantity tier; typical single-unit pricing from major distributors has historically ranged around the low single-digit USD level, but current unit price must be confirmed at checkout as of 2026-09-16. DigiKey, Mouser, and Octopart list live pricing from 11 distributors for this part. XAIPART shows a quote-based model, so request a quote for exact volume pricing and lead time.
Where to buy ATMEGA168-20MU online and is it in stock?
The ATMEGA168-20MU is listed by DigiKey (ships today per their listing), Mouser, Octopart (aggregating 11 distributors), and XAIPART. Availability fluctuates because the ATmega168 family is maturing, so DigiKey's 'ships today' status should be verified at order time as of 2026-09-16. If stock is constrained, the pin-compatible ATMEGA168P-20MU is usually more widely stocked and is the recommended substitution path.
What is the lead time for ATMEGA168-20MU and is it RoHS compliant?
Lead time depends on distributor stock; DigiKey shows same-day shipping from stock while factory orders from Microchip can extend several weeks for volume buys as of 2026-09-16. On compliance, the VQFN-packaged ATmega168 family is RoHS-compliant and lead-free (MSL-rated for reflow), though exact RoHS/REACH certificates should be pulled from Microchip's product page for your specific date code. Request formal compliance documentation from XAIPART when ordering for regulated markets.

Engineering reference data for ATMEGA168-20MU — comparison, design guidance, and compliance information.

Selection Guide

Choose ATMEGA168-20MU when you need a proven classic AVR die at 20MHz with 16KB Flash in a compact 32-VQFN 5x5 mm package and your design already qualifies the original ATmega168 silicon. Choose ATMEGA168P-20MU (preferred in new builds) as it is pin-to-pin identical, actively promoted by Microchip, and typically easier to source. Choose ATMEGA168PA-MU for battery-powered products where picoPower sleep currents materially extend battery life, accepting a fuse re-check. Choose ATMEGA328P-20MU when firmware may outgrow 16KB or Arduino-compatibility matters - it doubles Flash and SRAM in the same footprint at modest cost. Avoid ATMEGA88P unless your code demonstrably fits 8KB. All these share the same land pattern, so a single PCB layout covers the whole family and protects against allocation shortages.

Comparison with Alternatives

Parameter This Product ATMEGA168P-20MU ATMEGA168PA-MU ATMEGA328P-20MU ATMEGA88P-20MU
Package 32-VQFN (5x5 mm) 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same
Brand Microchip Technology (Atmel legacy) Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory (Flash) 16KB 16KB 16KB 32KB 8KB
SRAM 1KB 1KB 1KB 2KB 1KB
EEPROM 512B 512B 512B 1KB 512B
Max Clock Speed 20MHz 20MHz 20MHz 20MHz 20MHz
Supply Voltage 2.7 V to 5.5 V 2.7 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
Power Features Standard idle/power-down sleep modes Improved process, similar power profile picoPower ultra-low sleep current picoPower ultra-low sleep current picoPower ultra-low sleep current
Drop-in Status - Pin-to-pin, direct substitute Pin-to-pin, verify fuses Pin-compatible, firmware re-test needed Pin-compatible, only if code fits 8KB

Key Differentiators

  • 20MHz speed grade over full industrial-clock range (vs ATMEGA88P-20MU)
  • Broad 2.7V to 5.5V supply tolerance (vs ATMEGA168PA-MU)
  • Straight drop-in substitution path (vs ATMEGA168P-20MU)

Design Notes

The 32-VQFN (5x5) package has a central exposed pad that must be soldered to a grounded copper pour for reliable operation; use an array of thermal vias (roughly 3x3, 0.3mm drill) under the pad connected to the ground plane. Decouple VCC (pins 4/6) and AVCC (pin 18) each with a 100nF ceramic capacitor placed within 2mm of the pin. Tie AVCC to VCC through an LC or RC filter (10uH ferrite or 10-ohm resistor plus 100nF) when ADC accuracy matters. AREF needs a 100nF capacitor to ground even when using the internal reference.

When substituting ATMEGA168P/PA for the ATMEGA168, fuses are not always programmed identically by production programmers; verify LOW/HIGH/EXTENDED fuse bytes (especially brown-out threshold and clock source) after reflow and reprogram if needed. The RESET pin doubles as the debugWIRE interface - once DWEN fuse is set, ISP is disabled until debugWIRE is exited via the debugger, which can look like a dead chip. ISP shares PB3-PB5 with SPI peripherals; add 10k series resistors so SD cards or displays do not fight the programmer.

Estimated: the ATMEGA168-20MU draws approximately 0.2mA per MHz actively at 5V, so a 20MHz active core consumes roughly 5-6mA (estimate from AVR datasheet typical curves, not a single headline spec). In a 2xAA battery node, budget for power-down sleep around sub-uA level and wake via pin-change interrupts; at a 1% duty cycle from sleep, average current falls to tens of microamps, giving multi-year battery life. Enable brown-out detection set near 2.7V to prevent Flash corruption at end-of-battery discharge.

Keep the crystal (if used on PB6/PB7) within 10mm of the pins with load capacitors grounded directly to the exposed-pad ground pour; long crystal traces pick up digital switching noise and cause startup failures at 20MHz. For the 8-channel ADC on this QFN variant, route analog inputs (PC0-PC5, ADC6, ADC7) away from the SPI and UART lines, and place a 10nF capacitor on each analog input to form an RC with the source impedance (keep source impedance below 10k for full 10-bit accuracy per ADC sample-and-hold requirements).

Compliance Information

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

VQFN-packaged ATmega168 family is offered lead-free/RoHS-compliant per distributor listings; formal RoHS/REACH certificates should be obtained from Microchip for the exact date code. Not an automotive AEC-Q100 part.

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

Related Searches

ATMEGA168-20MU ATMEGA168-20MU datasheet PDF Microchip ATMEGA168-20MU price ATMEGA168-20MU vs ATMEGA168P-20MU ATMEGA168-20MU drop-in replacement 32-VQFN 8-bit microcontroller 20MHz 16KB flash ATMEGA168-20MU pinout 32-VQFN ATMEGA168 Arduino compatible MCU QFN ATMEGA168-20MU substitute equivalent buy ATMEGA168-20MU in stock what can replace ATMEGA168-20MU ATMEGA168-20MU ISP programming debugWIRE

Related Components & Terms

Microchip Technology Atmel Corporation ATMEGA168-20MU ATMEGA168P-20MU ATMEGA168PA-MU ATMEGA328P-20MU AVR 8-bit microcontroller RISC Harvard architecture ISP (In-System Programming) debugWIRE ICSP 32-VQFN QFN package family surface mount (SMD) 10-bit ADC TWI / I2C SPI UART/USART PWM RoHS brown-out detection Arduino ecosystem picoPower
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