Microchip Technology

ATMEGA168-20MQ - 20MHz AVR 16KB Flash MCU | Microchip

MPN: ATMEGA168-20MQ βœ“ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 32-VQFN (5x5 mm) with exposed pad Package 20 MHz Speed 16 KB (8K x 16) Memory
From $2.47 USD / Unit
MOQ: 1 |
Price updated: 2026-09-16
Volume Pricing
Qty Unit Price Extended
1 $3.81 $3.81
10 $3.43 $34.30
100 $3.05 $305.00
500 $2.74 $1,370.00
1,000 $2.47 $2,470.00
ℹ️ All prices are in USD

ATMEGA168-20MQ Overview

The Microchip Technology ATMEGA168-20MQ is a high-performance, low-power 8-bit AVR RISC microcontroller executing up to 20 MIPS at 20 MHz, with 16 KB (8K x 16) self-programming ISP flash, 512 B EEPROM, and 1 KB SRAM, housed in a 32-pad VQFN (MLF, 5x5 mm) package with exposed pad.

An 8-bit AVR microcontroller is a Harvard-architecture RISC processor that combines program flash, data SRAM, and peripherals such as timers, UART, SPI, I2C (TWI), and ADC on a single chip. Within the power-management hierarchy of embedded systems, the ATmega168-class MCU occupies the entry-to-mid general-purpose controller tier, sitting above tinyAVR devices and below the 32-bit Cortex-M families. It is the classic engine of the Arduino ecosystem.

Key features include 131 mostly single-cycle instructions, 23 general-purpose I/O lines, 32 general-purpose working registers, an 8-channel 10-bit ADC, debugWIRE on-chip debug, and 1.8 V to 5.5 V family operation (20 MHz speed grade requires 4.5 V to 5.5 V). The Q variant suffix denotes extended temperature and green/RoHS packaging.

Technically, the advanced RISC core pipelines instruction fetch and execution so most instructions complete in one clock cycle, while read-while-write flash self-programming enables in-system firmware updates. Two 8-bit timers, one 16-bit timer, and a watchdog give flexible timing control, and the USART/SPI/TWI peripherals cover most serial connectivity needs.

Typical applications include industrial sensors and controls, consumer appliances, and Arduino-compatible embedded designs where the compact 5x5 mm MLF footprint conserves PCB area.

Design consideration: at 20 MHz the device must operate from 4.5 V to 5.5 V; decouple VCC/AVCC pins with 0.1 uF ceramics placed directly at the pads.

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

Drop-in alternatives for ATMEGA168-20MQ β€” 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-20MQ (same form factor and footprint) β€” differing in Package, Timers, Communication Interfaces, EEPROM Size, Program Memory Size.

Microchip Technology
Package: 32-VQFN exposed pad, 5x5 mm
Timers: Two 8-bit, one 16-bit with PWM
Communication Interfaces: USART, SPI, 2-wire serial (I2C-compatible)
Compare with ATMEGA168-20MQ β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
EEPROM Size: 512B
Program Memory Size: 16KB (8K x 16) Flash
Compare with ATMEGA168-20MQ β†’
Microchip Technology
Package: 32-VQFN (5x5 mm) exposed pad
Timers: Three flexible timer/counters
EEPROM Size: 512 B
Compare with ATMEGA168-20MQ β†’

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

ATMEGA168-20MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 32-VQFN (5x5 mm)
AVR 8-bit RISC Β· 8-Bit Β· 20MHz Β· 16KB (8K x 16) Flash Β· 512B Β· 1K x 8 Β· 23 Β· 2.7 V to 5.5 V

βœ“ In Stock

Contact for price

View Datasheet β†’

ATMEGA168-20MUR

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 32-VQFN (5x5 mm)
AVR Β· 8-Bit Β· 20 MHz Β· 16 KB (8K x 16) FLASH Β· 512 B Β· 1 KB Β· 2.7 V to 5.5 V Β· 23

βœ“ In Stock

$2.12 / Unit

View Datasheet β†’

ATMEGA168-15MD

βœ… Drop-In
Microchip Technology
πŸ“¦ 32-VQFN (5x5 mm)
AVR 8-bit RISC Β· 8 bit Β· 16 KB (8K x 16) FLASH Β· ISP FLASH (read-while-write) Β· 1 KB Β· 512 B Β· 16 MHz Β· 2.7 V to 5.5 V

βœ“ In Stock

$1.29 / Unit

View Datasheet β†’

ATMEGA168V-10MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 32-VQFN (5x5 mm)
10 MHz max clock (-50%) but supports 1.8 V low-voltage operation vs 4.5-5.5 V at 20 MHz

πŸ“‹ Reference alternative (not in catalog)

ATMEGA328P-MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 32-VQFN (5x5 mm)
32 KB flash vs 16 KB (+100%), PicoPower technology, pin-to-pin compatible ATmega168-class upgrade

πŸ“‹ Reference alternative (not in catalog)

ATMEGA88-20MU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 32-VQFN (5x5 mm)
8 KB flash vs 16 KB (-50%) and 512 B SRAM vs 1 KB, same 20 MHz and identical pinout

πŸ“‹ Reference alternative (not in catalog)

ATMEGA168-20MQ Maximum Ratings & Electrical Characteristics

Core Processor AVR
Core Size 8-Bit
Speed 20 MHz
Throughput Up to 20 MIPS at 20 MHz
Flash Memory 16 KB (8K x 16)
EEPROM 512 B
SRAM 1 KB
General Purpose I/O 23
Working Registers 32
ADC 8-channel 10-bit (on 32-pad packages)
Supply Voltage (family) 1.8 V to 5.5 V
Supply Voltage (20 MHz speed grade) 4.5 V to 5.5 V
Communication Interfaces USART, SPI, I2C (TWI)
Timers 2 x 8-bit, 1 x 16-bit
Debug debugWIRE on-chip debug system
Package 32-VQFN (5x5 mm) with exposed pad
Mounting Type Surface Mount
RoHS Status Compliant (green package)
Instructions 131, most single-clock cycle

ATMEGA168-20MQ 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)
Pin 2 PD4 β€” Port D, bit 4 (GPIO / 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 (GPIO / XTAL1 clock input)
Pin 8 PB7 β€” Port B, bit 7 (GPIO / XTAL2 clock output)
Pin 9 PD5 β€” Port D, bit 5 (GPIO / T1)
Pin 10 PD6 β€” Port D, bit 6 (GPIO / AIN0)
Pin 11 PD7 β€” Port D, bit 7 (GPIO / AIN1)
Pin 12 PB0 β€” Port B, bit 0 (GPIO / ICP1/CLKO)
Pin 13 PB1 β€” Port B, bit 1 (GPIO / OC1A)
Pin 14 PB2 β€” Port B, bit 2 (GPIO / SS/OC1B)
Pin 15 PB3 β€” Port B, bit 3 (GPIO / MOSI/OC2A)
Pin 16 PB4 β€” Port B, bit 4 (GPIO / MISO)
Pin 17 PB5 β€” Port B, bit 5 (GPIO / SCK)
Pin 18 AVCC β€” ADC supply voltage
Pin 19 ADC6 β€” ADC input channel 6
Pin 20 AREF β€” Analog reference voltage
Pin 21 GND β€” Ground
Pin 22 ADC7 β€” ADC input channel 7
Pin 23 PC0 β€” Port C, bit 0 (GPIO / ADC0)
Pin 24 PC1 β€” Port C, bit 1 (GPIO / ADC1)
Pin 25 PC2 β€” Port C, bit 2 (GPIO / ADC2)
Pin 26 PC3 β€” Port C, bit 3 (GPIO / ADC3)
Pin 27 PC4 β€” Port C, bit 4 (GPIO / ADC4/SDA)
Pin 28 PC5 β€” Port C, bit 5 (GPIO / ADC5/SCL)
Pin 29 PC6/RESET β€” Reset input or Port C, bit 6 (GPIO)
Pin 30 PD0 β€” Port D, bit 0 (GPIO / USART RXD)
Pin 31 PD1 β€” Port D, bit 1 (GPIO / USART TXD)
Pin 32 PD2 β€” Port D, bit 2 (GPIO / INT0)

Typical Applications

ATMEGA168-20MQ is suitable for 6 applications: Industrial Sensor Nodes, Arduino-Compatible Hobby and Makerspace Boards, Consumer Appliance Control, Battery-Powered Portable Instruments, Motor and Lighting Control, Networking and Communication Adapters.

🏭

Industrial Sensor Nodes

The ATMEGA168-20MQ fits industrial sensor nodes because its 8-channel 10-bit ADC digitizes multiple analog sensors directly, while the 1.8-5.5 V family supply range and green extended-temperature package tolerate harsh factory environments. In a typical node the MCU samples thermistors or pressure bridges through the ADC, filters locally using the 1 KB SRAM, and transmits readings via the USART or TWI bus to a gateway. Running at 20 MIPS, there is ample headroom for lightweight filtering and CRC-checked serial protocols. Operating at 5 V also gives the ADC a wide, noise-tolerant input range compared with 3.3 V controllers, improving measurement resolution in electrically noisy cabinets.

🧩

Arduino-Compatible Hobby and Makerspace Boards

The ATMEGA168-20MQ is a natural fit for Arduino-compatible boards: the ATmega168 was one of the original Arduino core MCUs, and community toolchains such as MiniCore support it directly. Its 16 KB flash hosts a bootloader plus a modest sketch, and debugWIRE allows in-circuit debugging without extra hardware on hobbyist boards. The compact 5x5 mm QFN suits small shields and wearable-sized boards, while the 20 MHz/5 V speed grade matches classic Arduino Uno-class timing assumptions. Designers should break out PB3/PB4/PB5 plus RESET as an ISP header so end users can re-flash bootloaders on assembled boards.

⚑

Consumer Appliance Control

Consumer appliance controllers - rice cookers, coffee machines, small HVAC units - benefit from the ATMEGA168-20MQ's combination of 23 GPIO lines, three timers, and low unit cost. Two 8-bit timers generate phase-correct PWM for heater and fan control while the 16-bit timer handles timekeeping and zero-cross detection for triac dimming. The 10-bit ADC reads NTC temperature sensors and user potentiometers, and the TWI interface drives OLED or segment display controllers. The green RoHS package meets consumer environmental compliance requirements, and the 20 MHz throughput comfortably runs state machines plus safety interlock code simultaneously.

πŸ“±

Battery-Powered Portable Instruments

Although the 20 MHz MQ speed grade is specified at 4.5-5.5 V, portable instrument designers still select the ATmega168 family for its power-management features: idle, ADC noise reduction, power-save, power-down, and standby sleep modes with wake on pin change, watchdog, or timer. Using ATMEGA168V-10MU variants (same footprint) enables true 1.8-5.5 V low-voltage battery operation, letting one PCB design span mains-powered (20 MHz, 5 V) and battery-powered (10 MHz, 1.8 V) product lines. The 10-bit ADC with a 1.1 V internal reference supports battery-voltage and thermistor monitoring, and the USART handles USB-bridge or RF-module communication in handheld meters.

πŸ’‘

Motor and Lighting Control

Small motor drivers and LED lighting controllers use the ATMEGA168-20MQ's PWM resources extensively: the two 8-bit timers provide multiple phase-correct PWM channels for DC motor speed or multi-channel LED dimming, and the 16-bit timer offers input capture for fan tachometer feedback or encoder reading. At 20 MHz, PWM resolution and loop rates exceed what is needed for typical brushed-DC and fan applications, while hardware SPI can feed LED driver ICs. The 5 V logic domain interfaces directly with common gate-driver and constant-current driver ICs, and the extended-temperature Q package survives enclosed lighting fixtures where ambient temperatures run high.

🌐

Networking and Communication Adapters

The ATMEGA168-20MQ serves in low-cost network adapters, serial-to-Ethernet bridges, and RS-485 field devices where its hardware USART, SPI, and TWI peripherals connect PHYs and transceivers. The 20 MIPS throughput sustains respectable serial line rates and interrupt-driven buffering within the 1 KB SRAM, and the 16 KB flash accommodates lightweight TCP or Modbus stacks. The extended-temperature green package suits outdoor network nodes and rooftop sensors. Designers commonly pair the MCU with external SPI Ethernet controllers or RS-485 transceivers, and read-while-write self-programming allows field firmware updates over the communication link without a programmer attached.

Recommended Products Summary

ATMEGA168-20AU Microchip Technology Used in: Industrial Sensor Nodes, Arduino-Compatible Hobby and Makerspace Boards, Networking and Communication Adapters ATMEGA164PA-AUR Microchip Technology Used in: Industrial Sensor Nodes ATMEGA328P-MU Uno-class drop-in upgrade with 32 KB flash in the same footprint Used in: Arduino-Compatible Hobby and Makerspace Boards, Consumer Appliance Control, Motor and Lighting Control ATMEGA168-15MD Microchip Technology Used in: Consumer Appliance Control ATMEGA168V-10MU Same-footprint low-voltage variant for battery designs Used in: Battery-Powered Portable Instruments ATMEGA165PA-AU Microchip Technology Used in: Battery-Powered Portable Instruments ATMEGA88-20MU Lower-flash cost-reduced variant for simple single-channel lighting boards Used in: Motor and Lighting Control ATMEGA164P-20MQ Microchip Technology Used in: Networking and Communication Adapters
What is the ATMEGA168-20MQ and what are its key specifications?
The ATMEGA168-20MQ is a Microchip AVR 8-bit microcontroller running at up to 20 MHz (20 MIPS) with 16 KB flash, 512 B EEPROM, 1 KB SRAM, 23 GPIO lines, and an 8-channel 10-bit ADC in a 32-pad VQFN (5x5 mm) package. According to the Microchip product page and DigiKey listing, the device includes debugWIRE on-chip debug and supports the standard ATmega168 peripheral set: USART, SPI, and TWI (I2C).
What supply voltage does the ATMEGA168-20MQ need at 20 MHz?
The ATMEGA168-20MQ requires 4.5 V to 5.5 V when operating at its full 20 MHz speed grade. While the ATmega168 family as a whole supports 1.8 V to 5.5 V operation, the datasheet frequency-versus-voltage curve derates maximum clock speed below 4.5 V, so a 5 V rail is required for 20 MHz designs. The FindIC listing explicitly tags this part as 5V, extended temperature, green package.
What is the price of ATMEGA168-20MQ?
The ATMEGA168-20MQ is listed at approximately $3.81 per unit in single-piece quantity as of 2026-09-16, based on distributor data (Heisener shows 2,304 pieces in stock at $3.8146). Typical volume pricing declines with quantity breaks at 10, 100, 500, and 1000 pieces. Because prices fluctuate with the open-market IC shortage cycle, always request a current quote before committing a BOM.
Is ATMEGA168-20MQ in stock and where can I buy it online?
Yes, the ATMEGA168-20MQ is available from multiple distributors. DigiKey lists it with the note 'Buy now, ships today', and Heisener reports 2,304 pieces in stock with a lead time marked 'To be Confirmed' as of the September 2026 data pull. Octopart aggregates pricing from 10 distributors for this MPN. XAIPART also carries the part with quantity-break pricing and datasheet access.
What is the difference between ATMEGA168-20MQ and ATMEGA168-20MU?
The ATMEGA168-20MQ and ATMEGA168-20MU are the same 20 MHz, 16 KB flash ATmega168 die in the same 32-pad VQFN/MLF package, differing mainly in temperature range and ordering suffix conventions carried over from the Atmel era. The Q suffix denotes extended temperature and green/RoHS packaging. Both are pin-to-pin drop-in replacements for each other with 100% parametric match on flash, SRAM, EEPROM, and peripheral count.
ATMEGA168-20MQ vs ATMEGA328P-MU - which is better for an Arduino-compatible design?
For Arduino-compatible designs, the ATMEGA328P-MU doubles flash to 32 KB (versus 16 KB on the ATmega168) while remaining pin-to-pin compatible in the same 32-pad QFN package. Choose the ATMEGA168-20MQ when firmware fits in 16 KB and cost is the priority; choose the ATMEGA328P-MU when you need Uno-level memory headroom, larger bootloader plus application space, or future firmware growth. Both share identical pinout, ADC channel count, and 5 V 20 MHz operating points, so swapping requires no PCB change.
What is the best drop-in replacement for ATMEGA168-20MQ?
The best drop-in replacement for the ATMEGA168-20MQ is the ATMEGA168-20MU, the identical die and 32-pad VQFN package under the standard temperature range suffix. It is pin-to-pin compatible with 100% matching key parameters. For more flash in the same footprint, the ATMEGA328P-MU is a 90% parametric match (32 KB vs 16 KB flash, all else equal). For cost-sensitive builds that can tolerate a 15 MHz maximum clock, the ATMEGA168-15MD drops into the same land pattern at an 80% parametric match.
Is there a cross-brand equivalent for ATMEGA168-20MQ in the same package?
No verified cross-brand pin-to-pin equivalent was found in our web data for the ATMEGA168-20MQ in the 32-pad VQFN (5x5 mm) package. AVR competitors such as Microchip PIC16F or ST STM8 families differ in pinout and register architecture, so they require firmware rewrites and PCB respins and are functional substitutes rather than drop-in replacements. If supply risk is a concern, staying within the Microchip ATmega168/328 family preserves the same footprint and toolchain.
Can ATMEGA168-20AU replace ATMEGA168-20MQ?
Not as a direct drop-in. The ATMEGA168-20AU is electrically identical - same 20 MHz clock, 16 KB flash, 512 B EEPROM, 1 KB SRAM - but it is packaged in a 32-lead TQFP, whereas the 20MQ uses a 32-pad VQFN (MLF). The two footprints are not solder-compatible on the same land pattern, so a TQFP substitution requires a PCB layout change. However, this is a code-compatible migration: your firmware and peripheral usage carry over unchanged, making the AU version a valid second-source for new layouts.
Where can I download the ATMEGA168-20MQ datasheet PDF?
You can download the ATMEGA168-20MQ datasheet from the official Microchip product page at microchip.com/en-us/product/ATmega168, which links the current complete ATmega48A/48PA/88A/88PA/168A/168PA family datasheet. Third-party mirrors such as abc-semi.com and digchip.com also host PDF copies, but Microchip's site guarantees the latest revision. The datasheet covers electrical characteristics, register descriptions, and the frequency-versus-voltage derating curve relevant to the 20 MHz speed grade.
Where do I find the ATMEGA168-20MQ pinout?
The ATMEGA168-20MQ pinout is documented in the ATmega168 family datasheet under the 32-pad MLF/QFN package diagram. Pin 1 is PD3 (marked by the center dot), and the full sequence is: PD3, PD4, GND, VCC, GND, VCC, PB6, PB7, PD5, PD6, PD7, PB0-PB5, AVCC, ADC6, AREF, GND, ADC7, PC0-PC5, RESET/PC6, then PD0-PD2 back to pad 32. XAIPART provides an interactive pinout diagram on this page alongside the downloadable datasheet.
Does ATMEGA168-20MQ support Arduino programming?
Yes, the ATMEGA168-20MQ is fully supported by the Arduino IDE ecosystem, as the ATmega168 is one of the boards supported by core packages such as MiniCore. Programming is performed through ISP (SPI pins PB3/PB4/PB5 plus RESET) or a serial bootloader. You must select a 16 KB flash ATmega168 board definition, and note that the QFN package requires either pre-programmed parts or a socket/ISP header on the PCB since the chip cannot be swapped as easily as a DIP package.
Is the ATMEGA168-20MQ RoHS compliant and lead-free?
Yes, the ATMEGA168-20MQ uses the green package option per distributor listings - the onlinecomponents.com listing explicitly states '32-Pin VQFN EP RoHS Compliant', and the FindIC data tags it GREEN. The MQ suffix identifies the RoHS-compliant, lead-free extended-temperature variant, in contrast to legacy non-green Atmel-era order codes. Always confirm REACH status and any conflict-minerals reporting requirements with your supplier when shipping into the EU.
Is ATMEGA168-20MQ suitable for industrial temperature environments?
Yes, the ATMEGA168-20MQ targets extended-temperature industrial applications, as indicated by its Q package suffix and its FindIC listing tag 'EXT TEMP'. For precise temperature range limits on this specific order code, consult the Microchip datasheet packing information or the MicrochipDirect cross-reference tool, as ranges vary by suffix (typically -40C to +85C for industrial grade). The green MLF package and 5 V operating margin make it a solid choice for factory sensor nodes, motor-adjacent controls, and appliance boards.
Can ATMEGA168-20MQ operate below 5 V, and what happens at lower voltages?
The ATmega168 family supports 1.8 V to 5.5 V operation overall, but the 20 MHz maximum frequency is only guaranteed at 4.5 V to 5.5 V per the datasheet frequency-versus-voltage relationship. At 3.3 V, the safe maximum clock derates to roughly 13-14 MHz; running 20 MHz at 3.3 V is outside specification and risks instability or flash corruption. If your design is 3.3 V, either clock the part down (the ATMEGA168V-10MU is a dedicated 10 MHz low-voltage MLF variant) or level-shift for a 5 V rail.

Engineering reference data for ATMEGA168-20MQ β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the ATMEGA168-20MQ when you need a 20 MHz, 5 V ATmega168-class controller in the compact 32-pad QFN footprint with extended-temperature qualification - typical for industrial sensors, appliance controls, and enclosed lighting boards. If your worst-case ambient is milder and cost is tighter, the ATMEGA168-20MU offers the identical die in the same footprint at industrial grade. If firmware may grow past 16 KB, step up to the pin-identical ATMEGA328P-MU (32 KB flash, 2 KB SRAM, PicoPower) and accept a small price premium. For 3.3 V or battery-powered designs, the ATMEGA168V-10MU covers 1.8 V operation at the cost of a 10 MHz ceiling, and the ATMEGA168-15MD splits the difference at 15 MHz. Avoid cross-brand substitutions: PIC and STM8 families require new pinouts and firmware. Staying within the ATmega48/88/168/328 family guarantees one PCB layout across all memory and speed variants.

Comparison with Alternatives

Parameter This Product ATMEGA168-20MU ATMEGA168-15MD ATMEGA168V-10MU ATMEGA328P-MU ATMEGA88-20MU
Package 32-VQFN (5x5 mm) MLF 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same 32-VQFN (5x5 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Max Clock Speed 20 MHz 20 MHz 15 MHz 10 MHz 20 MHz 20 MHz
Flash Memory 16 KB 16 KB 16 KB 16 KB 32 KB 8 KB
SRAM 1 KB 1 KB 1 KB 1 KB 2 KB 512 B
EEPROM 512 B 512 B 512 B 512 B 1 KB 512 B
Supply Voltage at Max Speed 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V (PicoPower) 4.5 V to 5.5 V
GPIO / ADC Channels 23 GPIO / 8-ch 10-bit ADC 23 GPIO / 8-ch 10-bit ADC 23 GPIO / 8-ch 10-bit ADC 23 GPIO / 8-ch 10-bit ADC 23 GPIO / 8-ch 10-bit ADC 23 GPIO / 8-ch 10-bit ADC
Temperature Grade Extended (Q suffix) Industrial (standard U suffix) Extended (D suffix) Industrial (standard U suffix) Industrial (standard U suffix) Industrial (standard U suffix)

Key Differentiators

  • Extended-temperature green package in 20 MHz grade (vs ATMEGA168-20MU)
  • Double the program memory within the same 32-pad QFN footprint (vs ATMEGA88-20MU)
  • Cost advantage over the flash-upgraded variant (vs ATMEGA328P-MU)

Design Notes

The 20 MHz speed grade of the ATMEGA168-20MQ is only guaranteed at 4.5 V to 5.5 V. Do not attempt to run this specific part at 20 MHz from a 3.3 V rail - the family datasheet's frequency-vs-voltage curve derates maximum clock speed with falling VCC, and out-of-spec operation risks flash write corruption. For 3.3 V designs requiring the same footprint, switch to ATMEGA168V-10MU or ATMEGA328P-MU, which support 1.8 V to 5.5 V operation.

The 32-pad MLF/QFN package requires a good exposed-pad connection for grounding. Provide an array of 3x3 or 4x4 via-in-pad connections under the exposed pad to the ground plane for both thermal relief and signal integrity. Place 0.1 uF ceramic decoupling capacitors directly adjacent to both VCC pins (pads 4 and 6), AVCC (pad 18), and AREF (pad 20). Connect AVCC to VCC through a low-pass LC filter when ADC accuracy matters; never leave AVCC floating even if the ADC is unused.

On the QFN package, ADC6 and ADC7 (pads 19 and 22) exist only on TQFP/QFN parts and are dedicated ADC inputs with no digital function. Keep their traces short and away from crystal or PWM routing. If using an external crystal on PB6/PB7 (pads 7-8), keep the crystal within 5 mm of the pads with guard ground. debugWIRE shares the RESET line (pad 29) - reserve a 100-ohm series resistor footprint on RESET so debugWIRE and HV programming can coexist without PCB cuts.

PC6/RESET is configured as RESET by default and as GPIO only after clearing a fuse - changing it removes in-circuit reset capability and complicates ISP recovery. Also note that with only 16 KB flash, a bootloader plus feature-rich sketch can fill memory quickly; if firmware growth is expected over product life, prototype with the pin-identical ATMEGA328P-MU instead. Verify the Q-suffix extended temperature rating against your enclosure thermal profile before final qualification.

Compliance Information

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

Distributor listings state 'RoHS Compliant' and 'GREEN' package for the MQ suffix. REACH, halogen-free, and conflict-minerals status not stated in provided data.

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

Related Searches

ATMEGA168-20MQ datasheet ATMEGA168-20MQ price buy Microchip ATMEGA168-20MQ ATMEGA168-20MQ pinout QFN-32 ATMEGA168-20MQ vs ATMEGA328P ATMEGA168-20MQ drop-in replacement ATmega168 32-QFN 5x5 microcontroller 20MHz ATMEGA168-20MQ Arduino compatible QFN board what supply voltage does ATMEGA168-20MQ need at 20 MHz ATMEGA168-20MQ equivalent substitute 16KB flash 8-bit AVR microcontroller QFN ATMEGA168-20MQ lead time stock availability

Related Components & Terms

Microchip Technology Atmel ATMEGA168-20MQ ATMEGA168-20MU ATMEGA168-20AU ATMEGA168-15MD ATMEGA328P-MU ATMEGA88-20MU AVR 8-bit microcontroller RISC architecture debugWIRE ISP in-system programming TWI I2C USART SPI 10-bit ADC VQFN 5x5 mm MLF package QFN family surface mount RoHS Arduino MiniCore industrial sensor nodes frequency-voltage derating
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