Microchip Technology

ATMEGA168P-20AUR - 8-bit AVR MCU 16KB Flash 20MHz | Microchip

MPN: ATMEGA168P-20AUR ✓ Active
In Stock Ships in 1-3 business days
2.7 V to 5.5 V Vdss 32-TQFP (7x7 mm) Package 20 MHz Speed 16 KB (8K x 16) ISP Memory
From $1.49 USD / Unit
MOQ: 1 |
Price updated: 2026-09-16
Volume Pricing
Qty Unit Price Extended
1 $4.32 $4.32
10 $3.89 $38.90
100 $2.61 $261.00
500 $2.09 $1,045.00
1,000 $1.49 $1,490.00
ℹ️ All prices are in USD

ATMEGA168P-20AUR Overview

The Microchip Technology ATMEGA168P-20AUR is a high-performance, low-power 8-bit AVR RISC microcontroller with 16 KB ISP flash memory, 1 KB SRAM, 512 B EEPROM, and 23 general-purpose I/O lines, executing up to 20 MIPS at 20 MHz in a 32-pin TQFP (7x7 mm) package.

An 8-bit AVR microcontroller is a single-chip computer built around the AVR enhanced RISC architecture, in which most of the 131 powerful instructions execute in a single clock cycle. Within the power-management hierarchy, an MCU integrates a processor core, program flash, data SRAM, EEPROM, and peripherals such as timers, UART, SPI, I2C, and a 10-bit ADC on one die, replacing multi-chip solutions in embedded control systems.

Key differentiating specifications include the picoPower technology for ultra-low sleep-mode consumption, an 8-channel 10-bit ADC, in-system self-programmable flash with read-while-write support, debugWIRE on-chip debugging, and an industrial temperature rating of -40C to +85C. The 20 MHz maximum clock and 5 V operation position this part between the low-speed 8 MHz variants and higher-memory ATmega328P devices.

Architecturally, the ATmega168P pairs a fast-register-file RISC core (32 general-purpose working registers directly connected to the ALU) with Harvard-structured program and data buses. Two-cycle multiply hardware, three flexible timers with compare and PWM modes, a USART, and independent brown-out reset and watchdog circuits yield deterministic real-time behavior with minimal external components.

Typical applications include hobby and commercial Arduino-compatible boards, industrial sensor nodes and actuator control, consumer appliance front panels, battery-powered instrumentation, and motor/PWM control loops. The picoPower feature set makes it especially well suited to battery-operated designs requiring microamp-level sleep currents.

A key design consideration is supply-voltage versus clock-speed derating: above 8 MHz the device requires 4.5 V to 5.5 V operation, so a 3.3 V design must be clocked at 8 MHz or below per the manufacturer datasheet speed-versus-voltage curve.

This page synthesizes verified distributor pricing, drop-in alternatives, pinout data, and practical design notes not consolidated in the manufacturer datasheet, delivering unique cross-reference value for sourcing and design engineers. Pricing references are as of 2026-09-16.

Drop-in alternatives for ATMEGA168P-20AUR — 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 ATMEGA168P-20AUR (same form factor and footprint) — differing in Package, ADC Resolution, Serial Interfaces, Operating Temperature, EEPROM.

Microchip Technology
Serial Interfaces: USART, SPI, TWI (I2C)
Compare with ATMEGA168P-20AUR →
Microchip Technology
ADC Resolution: 10-bit
Serial Interfaces: USART, SPI, Two-Wire (I2C)
Operating Temperature: -40 C to +85 C
Compare with ATMEGA168P-20AUR →
Microchip Technology
Package: 32-TQFP (7 x 7 mm)
ADC Resolution: 10 bit, 8 channels (6 differential)
Compare with ATMEGA168P-20AUR →
Microchip Technology
Package: TQFP-32 (7x7 mm, 0.8 mm pitch)
Serial Interfaces: USART, SPI, I2C (TWI)
EEPROM: 1 KB
Compare with ATMEGA168P-20AUR →

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

ATMEGA168PA-AUR

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

✓ In Stock

$1.85 / Unit

View Datasheet →

ATMEGA168-20AU

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

✓ In Stock

$1.82 / Unit

View Datasheet →

ATMEGA168A-AU

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 32-TQFP (7x7 mm)
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 →

ATMEGA328P-AU

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 32-TQFP (7x7 mm)
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 →

ATMEGA88-20AU

✅ Drop-In
📦 32-TQFP (7x7 mm)
pin-compatible but reduced memory: 8 KB flash / 1 KB SRAM / 512 B EEPROM vs 16 KB flash (-50% flash); same 20 MHz

📋 Reference alternative (not in catalog)

ATMEGA48-20AUR

✅ Drop-In
📦 32-TQFP (7x7 mm)
pin-compatible but 4 KB flash / 512 B SRAM / 256 B EEPROM (-75% flash, -50% SRAM); same 20 MHz and peripherals

📋 Reference alternative (not in catalog)

ATMEGA168P-20AUR Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit AVR RISC
Flash Memory 16 KB (8K x 16) ISP
SRAM 1 KB
EEPROM 512 B
Maximum Clock Frequency 20 MHz
Supply Voltage Range 2.7 V to 5.5 V
Number of I/O Lines 23
ADC Resolution 10 bit
ADC Channels 8 (TQFP/QFN packages)
Communication Interfaces USART, SPI, I2C (TWI)
Timers 2 x 8-bit, 1 x 16-bit
PWM Channels Yes (timer compare outputs)
Debug Interface debugWIRE on-chip debugging
Programming In-Circuit Serial Programming (ICSP)
Low Power Technology picoPower
Operating Temperature -40C to +85C
Package 32-TQFP (7x7 mm)
Mounting Type Surface Mount
Lifecycle Status Active

ATMEGA168P-20AUR 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 — Port D bit 3 (PCINT19/OC2B/INT1)
Pin 2 PD4 — Port D bit 4 (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 (PCINT6/XTAL1/TOSC1) - crystal input
Pin 8 PB7 — Port B bit 7 (PCINT7/XTAL2/TOSC2) - crystal output
Pin 9 PD5 — Port D bit 5 (PCINT21/OC0B/T1)
Pin 10 PD6 — Port D bit 6 (PCINT22/OC0A/AIN0)
Pin 11 PD7 — Port D bit 7 (PCINT23/AIN1)
Pin 12 PB0 — Port B bit 0 (PCINT0/CLKO/ICP1)
Pin 13 PB1 — Port B bit 1 (PCINT1/OC1A)
Pin 14 PB2 — Port B bit 2 (PCINT2/SS/OC1B)
Pin 15 PB3 — Port B bit 3 (PCINT3/OC2A/MOSI)
Pin 16 PB4 — Port B bit 4 (PCINT4/MISO)
Pin 17 PB5 — Port B bit 5 (PCINT5/SCK)
Pin 18 AVCC — ADC supply voltage
Pin 19 ADC6 — ADC input channel 6 (TQFP/QFN only)
Pin 20 AREF — Analog reference voltage
Pin 21 GND — Ground
Pin 22 ADC7 — ADC input channel 7 (TQFP/QFN only)
Pin 23 PC0 — Port C bit 0 (ADC8/PCINT8)
Pin 24 PC1 — Port C bit 1 (ADC9/PCINT9)
Pin 25 PC2 — Port C bit 2 (ADC10/PCINT10)
Pin 26 PC3 — Port C bit 3 (ADC11/PCINT11)
Pin 27 PC4 — Port C bit 4 (ADC12/SDA/PCINT12) - I2C data
Pin 28 PC5 — Port C bit 5 (ADC13/SCL/PCINT13) - I2C clock
Pin 29 PC6 — Port C bit 6 (RESET/PCINT14) - active-low reset
Pin 30 PD0 — Port D bit 0 (RXD/PCINT16) - UART receive
Pin 31 PD1 — Port D bit 1 (TXD/PCINT17) - UART transmit
Pin 32 PD2 — Port D bit 2 (PCINT18/INT0)

Typical Applications

ATMEGA168P-20AUR is suitable for 6 applications: Arduino-Compatible and Hobby Boards, Industrial Sensor Nodes, Battery-Powered Portable Devices, Motor Control and PWM Actuation, Home Automation and IoT Endpoints, Consumer Appliance Control Panels.

🧩

Arduino-Compatible and Hobby Boards

The ATMEGA168P-20AUR is the classic 8-bit AVR heart of Arduino-compatible boards: it runs the Arduino bootloader on its 16 KB ISP flash and exposes 23 I/O lines matching the documented ATmega168/328 Arduino pin mapping. Per Microchip, ICSP programming via MPLAB SNAP uses only two I/O pins plus RESET, so a standard 6-pin header preserves both bootloading and debugWIRE debugging. At a 16 MHz external crystal and 5 V rail, the core delivers 16 MIPS with single-cycle execution of most instructions. The main trade-off versus the ATmega328P is 16 KB versus 32 KB flash, which constrains larger sketches and bootloader size, making the 328P preferable when sketch complexity grows.

🏭

Industrial Sensor Nodes

In industrial sensing and monitoring nodes, the ATMEGA168P-20AUR pairs its 8-channel 10-bit ADC directly with analog sensors such as thermistors, pressure bridges, and 4-20 mA front ends, sampling up to about 15 kSPS at full resolution. The industrial -40C to +85C temperature range and 2.7-5.5 V supply tolerance support 24 V-rail designs via simple regulation, while brown-out detection and the watchdog timer provide autonomous fault recovery in unattended installations. picoPower sleep modes drop consumption to microamp levels for battery-backed data loggers. The USART and SPI interfaces connect to RS-485 transceivers or external flash for data buffering, and the 512 B EEPROM stores calibration coefficients across power cycles without external non-volatile memory.

📱

Battery-Powered Portable Devices

Battery-operated meters, remote controls, and wearables benefit from the ATMEGA168P-20AUR's picoPower feature set: power-down sleep modes reduce supply current to sub-microamp levels while the asynchronous timer keeps an RTC counting, and pin-change interrupts wake the core on button presses or sensor events. Running from two AA cells (nominal 3 V) is feasible with an 8 MHz or internal 1 MHz clock, since the device operates down to 2.7 V per distributor datasheet data. The 10-bit ADC enables battery-voltage supervision, and the 512 B EEPROM preserves user settings across battery replacement. Designers should budget sleep/wake latency and use sleep-heavy duty cycles; a coin-cell design benefits from the ATMEGA168PA-AUR's further-reduced consumption in the same footprint.

⚙️

Motor Control and PWM Actuation

The ATMEGA168P-20AUR generates PWM from its three timers - two 8-bit and one 16-bit - offering phase-correct and fast PWM modes with configurable prescalers, sufficient for DC motor speed control, servo positioning, and LED dimming at 8- or 10-bit resolution. The 16-bit timer supports input capture for tachometer feedback, closing speed loops in firmware. At 20 MHz and 5 V, the core delivers 20 MIPS of control bandwidth, and 23 I/O lines drive H-bridge gates through MOSFET driver ICs. Per Microchip application practice, pair the MCU with a gate driver rather than driving power MOSFETs directly, and use the ADC to monitor motor current via a shunt for stall detection and overcurrent protection.

🌐

Home Automation and IoT Endpoints

As a connected endpoint, the ATMEGA168P-20AUR handles protocol bridging and local control: its hardware USART, SPI, and I2C/TWI interfaces connect directly to Wi-Fi or sub-GHz modules and sensor clusters without bit-banging overhead. The 16 KB flash accommodates a control application plus a lightweight serial protocol stack, while 23 I/O lines drive relays, triacs, and status indicators. In 3.3 V smart-home designs, clock the device at 8 MHz to satisfy the voltage-speed derating curve and achieve direct 3.3 V logic compatibility with radio modules. picoPower idle modes allow always-on presence detection at modest average current; for strict energy budgets, choose the ATMEGA168PA-AUR drop-in. A watchdog plus brown-out reset ensures autonomous recovery after radio-module brownouts.

📺

Consumer Appliance Control Panels

Appliance front panels - ovens, air conditioners, coffee machines - use the ATMEGA168P-20AUR to scan keypads, drive multiplexed seven-segment or LCD displays, and manage buzzer feedback from its timer PWM outputs. The 10-bit ADC reads NTC temperature sensors and user potentiometers, while the 512 B EEPROM retains user preferences and cycle counters across power interruptions. The -40C to +85C industrial grade and internal brown-out reset tolerate mains-sag conditions common in appliance environments. Running at 5 V with an 8-16 MHz crystal gives ample headroom for display refresh and debouncing within one main-loop iteration. Its low unit cost at 1000-piece volume (about $1.49 as of 2026-09-16) fits high-volume appliance BOM targets.

Recommended Products Summary

ATMEGA328P-AU Microchip Technology Used in: Arduino-Compatible and Hobby Boards, Home Automation and IoT Endpoints ATMEGA168PA-AUR Microchip Technology Used in: Arduino-Compatible and Hobby Boards, Battery-Powered Portable Devices MAX485 RS-485 transceiver for field bus Used in: Industrial Sensor Nodes MCP1700 Low-quiescent LDO for sensor rail Used in: Industrial Sensor Nodes DS3231SN Precision RTC companion Used in: Battery-Powered Portable Devices L293D H-bridge motor driver Used in: Motor Control and PWM Actuation IR2104 Half-bridge MOSFET gate driver Used in: Motor Control and PWM Actuation ESP8266EX Wi-Fi connectivity module via UART Used in: Home Automation and IoT Endpoints ULN2003A Darlington array for relay/segment drive Used in: Consumer Appliance Control Panels 74HC595 Serial shift register for LED segment expansion Used in: Consumer Appliance Control Panels
What are the key specifications of ATMEGA168P-20AUR?
The ATMEGA168P-20AUR is an 8-bit AVR RISC microcontroller with 16 KB ISP flash, 1 KB SRAM, 512 B EEPROM, 23 I/O lines, and a 20 MHz maximum clock (20 MIPS). It integrates an 8-channel 10-bit ADC, USART, SPI, I2C, three timers, debugWIRE debugging, and picoPower low-power modes, in a 32-pin TQFP (7x7 mm) package rated -40C to +85C. According to the Microchip product page and distributor listings, supply voltage spans 2.7 V to 5.5 V, with full 20 MHz operation at 4.5-5.5 V.
What is the supply voltage range of ATMEGA168P-20AUR?
The ATMEGA168P-20AUR operates from a 2.7 V to 5.5 V single supply, according to distributor datasheet summaries (DigChip). However, the AVR speed-versus-voltage relationship applies: the full 20 MHz clock rating requires approximately 4.5 V to 5.5 V, while low-voltage 2.7 V operation must be limited to lower clock frequencies. Designs targeting 3.3 V rails should be clocked at 8 MHz or below and verified against the speed-grade curve in the manufacturer datasheet.
What is the difference between ATMEGA168P-20AUR and ATMEGA328P-AU?
The primary difference is program memory: ATMEGA168P-20AUR has 16 KB flash, 512 B EEPROM, and 1 KB SRAM, while the ATMEGA328P-AU doubles those to 32 KB flash, 1 KB EEPROM, and 2 KB SRAM. Both share the identical 32-pin TQFP pinout, identical peripherals (10-bit ADC, USART, SPI, I2C, three timers), and the same 20 MHz speed grade, so the 328P is pin-compatible and commonly used as an upgrade when flash runs out.
ATMEGA168P-20AUR vs ATMEGA168PA-AUR - which should I choose?
For most designs, the ATMEGA168PA-AUR is the better choice: it is the picoPower-optimized refresh of the same die family with lower active and sleep current, in the identical 32-TQFP pinout. The ATMEGA168P-20AUR offers equivalent 16 KB flash, 1 KB SRAM, 20 MHz, and 2.7-5.5 V operation. Choose the P-20AUR for existing designs validated on it; choose the PA-AUR for new battery-powered designs to gain lower quiescent consumption without PCB change.
What is the best drop-in replacement for ATMEGA168P-20AUR?
The best drop-in replacement is the ATMEGA168PA-AUR, which shares the exact 32-pin TQFP footprint, 16 KB flash, 1 KB SRAM, 512 B EEPROM, and 20 MHz rating, with improved picoPower consumption. The ATMEGA168A-AU and ATMEGA168-20AU are also same-package 16 KB pin-compatible alternates. If more memory is acceptable, the ATMEGA328P-AU is pin-to-pin compatible with doubled flash. Always verify fuse settings and datasheet errata before requalification.
Is ATMEGA168P-20AUR compatible with Arduino boards?
Yes. The ATmega168 family is pin-mapped by Arduino documentation (the official Arduino Pin Mapping 168 page covers ATmega168/328), and the ATMEGA168P runs Arduino bootloaders directly. It provides the same 23 I/O lines, 10-bit ADC channels, and USART used by classic Arduino boards. Note the 16 KB flash limits sketch size versus the 32 KB ATmega328P used in the Arduino Uno, and the -20AU part requires a 16 MHz external crystal for standard Arduino timing.
What package is ATMEGA168P-20AUR and what is its pin count?
The ATMEGA168P-20AUR is supplied in a 32-pin thin quad flat package (32-TQFP, 7x7 mm body, 1.0 mm nominal height) in tape-and-reel packaging, per DigiKey and Heisener listings. The 32-TQFP belongs to the QFP surface-mount family and offers a 0.8 mm pin pitch. The QFN/MLF-32 variant of the same die shares the pinout, enabling footprint reuse only between package families with land-pattern adaptation.
Can I get a cross-brand equivalent for ATMEGA168P-20AUR?
No verified cross-brand pin-to-pin equivalent for the ATMEGA168P-20AUR in 32-TQFP was found in the provided cross-reference data; verified alternates are all Microchip/Atmel same-family AVR parts (ATMEGA168PA-AUR, ATMEGA168A-AU, ATMEGA168-20AU, ATMEGA88-20AU, ATMEGA48-20AUR). Microchip's own cross-reference search tool recommends Microchip alternates, and competing 8-bit MCUs from other vendors would require PCB and firmware redesign. Treat any third-party 'equivalent' claims with caution and validate pin-to-pin against both datasheets.
What is the price of ATMEGA168P-20AUR?
As of 2026-09-16, distributor pricing for ATMEGA168P-20AUR starts around $1.48 at volume on LCSC, with Heisener listing a unit price of approximately $4.32 and immediate availability from stock. XAIPART tier pricing reflects this spread: $4.32 at qty 1, stepping down to about $1.49 at 1000 pieces. Actual pricing varies with distributor stock and order quantity, so obtain current quotes for volume procurement.
Is ATMEGA168P-20AUR in stock and where can I buy it?
Yes, ATMEGA168P-20AUR is in stock at multiple distributors as of 2026-09-16. LCSC lists it in stock from $1.4834, Heisener reports 144,000 pieces in stock with immediate shipment, and DigiKey offers buy-now with same-day shipping. It is also available via Mouser, Newark, and Octopart-listed brokers. XAIPART sources from verified distributors; request a quote on this page for volume pricing and lead-time confirmation.
Where to download the ATMEGA168P-20AUR datasheet PDF?
The authoritative ATmega168P datasheet PDF is available on the official Microchip product page at microchip.com/en-us/product/ATmega168P, which also links application notes, errata, and development-tool documentation. Distributor sites such as LCSC, DigiKey, and Win Source also host datasheet downloads linked from their product pages. Always use the latest revision from Microchip directly, as errata sheets correcting peripheral behavior are published separately from the base datasheet.
How do I program the ATMEGA168P-20AUR in-circuit?
The ATMEGA168P-20AUR is programmed via In-Circuit Serial Programming (ICSP) using the SPI pins (MOSI PB3, MISO PB4, SCK PB5, plus RESET), or via debugWIRE for on-chip debugging over the RESET line. According to the Microchip product page, tools such as the MPLAB SNAP connect through an 8-pin SIL connector using two device I/O pins and reset for ICSP and debugging. Reserve these signals on an unpopulated 6-pin header in your PCB layout for field programming.
What clock configuration does the -20 speed grade require?
The ATMEGA168P-20AUR supports clock sources up to 20 MHz, meaning 20 MIPS peak throughput given the AVR's single-cycle execution of most of its 131 instructions. It ships with the internal 8 MHz RC oscillator enabled with CKDIV8 fused (1 MHz default), so designers must program fuses for an external crystal for full-speed 16/20 MHz operation. Above 8 MHz, supply voltage must be approximately 4.5-5.5 V per the speed-versus-voltage curve in the manufacturer datasheet.
Is ATMEGA168P-20AUR RoHS compliant and lead-free?
Yes, the ATMEGA168P-20AUR is RoHS-compliant and supplied lead-free in tape-and-reel packaging, as indicated by compliant distributor listings on LCSC and DigiKey. REACH status, halogen-free classification, and conflict-minerals declarations should be confirmed from Microchip's official product compliance documentation for your specific lot, as distributor pages do not always carry the full declaration set. XAIPART lists RoHS as compliant per current distributor data; consult the manufacturer certificate of conformance for formal documentation.
Hey Google, what can replace ATMEGA168P-20AUR if it goes out of stock?
If the ATMEGA168P-20AUR becomes unavailable, the closest drop-in replacements are the ATMEGA168PA-AUR (same 32-TQFP pinout, 16 KB flash, 20 MHz, lower power) and the ATMEGA168A-AU / ATMEGA168-20AU (same package and memory, standard power). For more headroom, the ATMEGA328P-AU is pin-to-pin compatible with 32 KB flash. All are Microchip AVR parts sharing identical peripherals and fuse maps, so firmware typically requires no changes beyond reprogramming, but verify errata and power specifications before production substitution.

Engineering reference data for ATMEGA168P-20AUR — comparison, design guidance, and compliance information.

Selection Guide

Choose the ATMEGA168P-20AUR when you need 16 KB flash, 20 MHz performance, an industrial -40C to +85C range, and picoPower sleep efficiency at a volume price near $1.49 - the sweet spot for Arduino-compatible boards, battery sensors, and appliance controllers. Choose the ATMEGA168PA-AUR as a drop-in when battery life is the dominant constraint; it is the same die family refreshed for lower consumption. Choose the ATMEGA328P-AU when sketches outgrow 16 KB flash or 512 B EEPROM - it is pin-to-pin with 2x memory at roughly double the price. Choose the ATMEGA88-20AU or ATMEGA48-20AUR only for cost-critical commercial products with 8 KB or 4 KB code, accepting reduced memory and typically commercial temperature grades. All six options share the identical 32-TQFP (7x7 mm) footprint, so PCB layout is reusable across the family and future memory upgrades require no board respin.

Comparison with Alternatives

Parameter This Product ATMEGA168PA-AUR ATMEGA168-20AU ATMEGA328P-AU ATMEGA88-20AU ATMEGA48-20AUR
Package 32-TQFP (7x7 mm) 32-TQFP (7x7 mm) - same 32-TQFP (7x7 mm) - same 32-TQFP (7x7 mm) - same 32-TQFP (7x7 mm) - same 32-TQFP (7x7 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 16 KB 16 KB 16 KB 32 KB 8 KB 4 KB
SRAM 1 KB 1 KB 1 KB 2 KB 1 KB 512 B
EEPROM 512 B 512 B 512 B 1 KB 512 B 256 B
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Power Technology picoPower (P variant) picoPower (PA, lowest power) Standard (non-picoPower) picoPower (P variant) Standard Standard
ADC Channels (10-bit) 8 8 8 8 8 8
Operating Temperature -40C to +85C -40C to +85C 0C to +70C (commercial) -40C to +85C 0C to +70C (commercial) 0C to +70C (commercial)

Key Differentiators

  • picoPower die with full 20 MHz rating (vs ATMEGA168-20AU)
  • Cost-optimized 16 KB flash tier (vs ATMEGA328P-AU)
  • Industrial temperature grade (vs ATMEGA48-20AUR)
  • Same footprint path to lower power (vs ATMEGA168PA-AUR)

Design Notes

Respect the AVR speed-versus-voltage derating curve: the ATMEGA168P-20AUR is specified at 2.7 V to 5.5 V, but the full 20 MHz clock rating requires roughly 4.5 V to 5.5 V. A 3.3 V design must be limited to 8 MHz or less. Decouple both VCC pins (pins 4 and 6) with 100 nF ceramic capacitors placed within 5 mm of each pin, and decouple AVCC (pin 18) separately, connecting it to VCC through a low-pass LC filter (10 uH + 100 nF) when ADC accuracy matters. Enable brown-out detection at 2.7 V to prevent EEPROM corruption during brownouts.

Keep the analog ground and digital ground as a single plane with careful placement rather than split planes: route the ADC input traces (PC0-PC5, ADC6, ADC7) away from crystal and UART switching lines. Place the 16 MHz crystal within 10 mm of PB6/PB7 with short return traces and 22 pF load capacitors tuned to the crystal spec. Reserve an unpopulated 6-pin ICSP header (MOSI, MISO, SCK, RESET, VCC, GND) so field programming with MPLAB SNAP or an ISP programmer is possible without disassembly - per Microchip this uses two I/O pins plus RESET.

The device ships with CKDIV8 fuse programmed, so a fresh ATMEGA168P-20AUR runs at 1 MHz from the internal 8 MHz RC oscillator - code written for a 16 MHz crystal will time out at 1/16 speed until fuses are set. RESET (PC6) is by default a reset input; do not repurpose it to I/O unless debugWIRE is disabled first, or you will lock out ISP programming. Also note that driving RESET low disables the debugWIRE interface. Verify errata for the specific flash revision from Microchip before relying on edge-case peripheral behaviors.

Estimated: at 5 V, 20 MHz active mode with typical 20 mA-plus-I/O supply current (say 25 mA total with loaded outputs), power dissipation is about 0.125 W. The 32-TQFP 7x7 mm junction-to-ambient resistance is on the order of 60-100 C/W (typical for this package), so junction rise is only about 8-12 C over ambient - no heatsinking is needed. Thermal design only becomes a concern if many I/O pins source heavy DC loads simultaneously; keep per-port drive current within datasheet absolute-maximum limits.

Compliance Information

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

RoHS compliant and lead-free per current distributor listings (LCSC, DigiKey). REACH, halogen-free, and conflict-minerals declarations not stated in provided data - obtain formal certificates from Microchip compliance documentation.

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

Related Searches

ATMEGA168P-20AUR ATMEGA168P-20AUR datasheet PDF Microchip ATMEGA168P-20AUR price ATMEGA168P-20AUR pinout TQFP-32 16KB flash 20MHz AVR microcontroller ATMEGA168P-20AUR drop-in replacement ATMEGA168P-20AUR vs ATMEGA328P ATMEGA168P Arduino compatible microcontroller buy ATMEGA168P-20AUR in stock ATMEGA168P-20AUR equivalent cross reference ATmega168P picoPower sleep current what can replace ATMEGA168P-20AUR ATMEGA168P-20AUR supply voltage range

Related Components & Terms

Microchip Technology Atmel ATMEGA168P-20AUR ATMEGA168PA-AUR ATMEGA168-20AU ATMEGA328P-AU ATMEGA88-20AU ATMEGA48-20AUR AVR 8-bit RISC microcontroller MCU picoPower debugWIRE ICSP 32-TQFP QFP surface-mount family RoHS Arduino 10-bit ADC USART SPI I2C / TWI PWM brown-out detection watchdog timer
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