Microchip Technology

ATMEGA164PA-ANR - 8-bit AVR MCU, 16KB Flash, 20MHz | Microchip

MPN: ATMEGA164PA-ANR βœ“ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 44-TQFP (10x10 mm) Package 20 MHz Speed 16 KB (8K x 16) ISP, read-while-write Memory
From $1.1 USD / Unit
MOQ: 1 |
Price updated: 2026-09-15
Volume Pricing
Qty Unit Price Extended
1 $1.64 $1.64
10 $1.52 $15.20
100 $1.38 $138.00
500 $1.24 $620.00
1,000 $1.1 $1,100.00
ℹ️ All prices are in USD

ATMEGA164PA-ANR Overview

The Microchip Technology ATMEGA164PA-ANR is a picoPower 8-bit AVR RISC microcontroller with 16 KB ISP flash memory, 512 B EEPROM, 1 KB SRAM, and 20 MHz maximum CPU clock, housed in a 44-pin TQFP (10x10 mm) surface-mount package supplied on tape and reel.

A microcontroller unit (MCU) integrates a processor core, memory, and peripherals on a single silicon die, forming the lowest layer of the embedded-system hierarchy (MCU -> embedded processor -> semiconductor). The AVR architecture executes most instructions in a single clock cycle, delivering throughput approaching 1 MIPS per MHz, which lets system designers trade processing speed directly against power consumption.

Key features include 32 general purpose I/O lines, 32 general purpose working registers, an real-time counter, three flexible timer/counters with compare modes and PWM outputs, two USARTs, a byte-oriented Two-Wire serial interface (TWI/I2C), and an 8-channel 10-bit ADC. The picoPower technology family supports multiple sleep modes for battery-powered designs operating from 1.8V to 5.5V.

Technical depth: the AVR enhanced RISC core pairs 135 instructions with the 32-register file, giving fast context switching and high code density. In-System Programming (ISP) with read-while-write flash allows firmware updates without removing the device, and debugWIRE in-circuit debugging is accessed through the reset line.

Typical applications include industrial automation and sensor nodes, consumer appliances and HVAC control, and battery-powered metering where the picoPower sleep modes minimize average current draw.

Design consideration: decouple all VCC and AVCC pins with 0.1 uF ceramics and keep the ADC analog supply separate from digital switching noise to preserve 10-bit ADC accuracy.

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

Drop-in alternatives for ATMEGA164PA-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 ATMEGA164PA-ANR (same form factor and footprint) β€” differing in ADC, Package, EEPROM, SRAM, Supply Voltage Range.

Microchip Technology
ADC: 8-channel, 10-bit successive approximation
Package: 44-pin TQFP (10x10 mm)
EEPROM: 4 KB
Compare with ATMEGA164PA-ANR β†’
Microchip Technology
ADC: 8-channel, 10-bit
Package: 44-TQFP (10 x 10 mm)
Supply Voltage Range: 2.7 V to 5.5 V (4.5 V to 5.5 V for 16 MHz operation)
Compare with ATMEGA164PA-ANR β†’

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

ATMEGA164A-AU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 44-TQFP (10x10 mm)
same 16 KB flash / 1 KB SRAM / pinout; standard-power (non-picoPower) variant, slightly higher active/sleep current

πŸ“‹ Reference alternative (not in catalog)

ATMEGA324PA-AU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 44-TQFP (10x10 mm)
32 KB flash vs 16 KB (+100%) and 2 KB SRAM vs 1 KB; identical pinout and picoPower family

πŸ“‹ Reference alternative (not in catalog)

ATMEGA644PA-AU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 44-TQFP (10x10 mm)
64 KB flash vs 16 KB and larger SRAM; same pinout, same 20 MHz AVR core

πŸ“‹ Reference alternative (not in catalog)

ATMEGA1284P-AU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 44-TQFP (10x10 mm)
128 KB flash vs 16 KB and 16 KB SRAM vs 1 KB; top of family, same footprint, picoPower

πŸ“‹ Reference alternative (not in catalog)

ATMEGA16-16AU

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 44-TQFP
8-bit AVR RISC Β· 16 MHz Β· 16 KB (8K x 16) in-system programmable Β· 1 KB Β· 512 B Β· 2.7 V to 5.5 V (4.5 V to 5.5 V for 16 MHz operation) Β· 16 MIPS at 16 MHz Β· 133 instructions, most single-cycle

βœ“ In Stock

$4.41 / Unit

View Datasheet β†’

ATMEGA1284-AUR

βœ… Drop-In
Microchip Technology
πŸ“¦ 44-TQFP (10x10 mm)
8-bit AVR RISC Β· 128 KB ISP Flash (64K x 16) Β· 16 KB Β· 4 KB Β· 20 MHz Β· Up to 20 MIPS at 20 MHz Β· 1.8 V to 5.5 V Β· 2.7 V to 5.5 V

βœ“ In Stock

$4.61 / Unit

View Datasheet β†’

ATMEGA164PA-ANR Maximum Ratings & Electrical Characteristics

Core AVR 8-bit RISC
Flash Memory 16 KB (8K x 16) ISP, read-while-write
EEPROM 512 B
SRAM 1 KB
Maximum Clock Frequency 20 MHz
Supply Voltage Range 1.8 V to 5.5 V
I/O Count 32 general purpose I/O lines
Timers/Counters 3 flexible timer/counters with compare modes and PWM
USART 2
Serial Interfaces Two-Wire serial interface (TWI/I2C), SPI, 2x USART
ADC 8-channel 10-bit
MIPS per MHz Approaching 1 MIPS/MHz (single-cycle execution)
Low Power Technology picoPower with multiple sleep modes and real-time counter
Programming/Debug In-System Programming (ISP), debugWIRE via reset line
Package 44-TQFP (10x10 mm)
Mounting Type Surface Mount
Packing Tape and Reel (T/R)
RoHS Status Compliant (GRN / green per Mouser listing)

ATMEGA164PA-ANR 44-tqfp (10x10 mm) Pin Configuration Guide

Pin configuration for ATMEGA164PA-ANR (44-tqfp (10x10 mm) package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.

44-tqfp (10x10 mm) package pinout diagram for ATMEGA164PA-ANR

No detailed pinout data available for ATMEGA164PA-ANR.

Refer to the datasheet for full pin configuration.

Typical Applications

ATMEGA164PA-ANR is suitable for 6 applications: Industrial Automation and Control, Battery-Powered Sensor Nodes, Consumer Appliances and HVAC Control, Metering and Energy Monitoring, Hobby, Maker, and Educational Platforms, Networking and Communication Accessories.

🏭

Industrial Automation and Control

The ATMEGA164PA-ANR fits industrial control nodes because its 32 GPIO lines drive relays, optocouplers, and status LEDs directly, while the three timer/counters generate PWM outputs for actuator and motor speed control without CPU overhead. The two USARTs allow one channel to communicate with a PLC or SCADA link (Modbus over RS-485 via a transceiver) while the second services a local HMI or configuration terminal. The 8-channel 10-bit ADC reads analog process variables such as pressure, temperature, and potentiometer setpoints with roughly 1 mV-class resolution at 5V supply. Operating from 1.8V to 5.5V at up to 20 MHz, it tolerates noisy industrial rails, and the 512 B EEPROM stores calibration and configuration data across power cycles without external NVM.

🧩

Battery-Powered Sensor Nodes

For battery-operated sensing products, the picoPower technology of the ATMEGA164PA-ANR is the decisive parameter: multiple sleep modes with an asynchronous real-time counter allow the MCU to sleep in the low-microamp class between measurements while keeping a time base alive. A typical duty cycle wakes the part on timer interrupt, samples one or more of the 8 ADC channels measuring temperature, humidity, or voltage, and transmits the packet over USART to a wireless module before returning to sleep. The wide 1.8V to 5.5V supply range lets the design run directly from two alkaline cells or a single lithium cell via a simple LDO, extending battery life. The 16 KB flash comfortably holds a lightweight sensor-firmware image with sensor linearization tables in EEPROM.

πŸ”§

Consumer Appliances and HVAC Control

White goods, fan coils, and HVAC boards benefit from the ATMEGA164PA-ANR's blend of PWM generation, TWI (I2C) bus for user-interface peripherals, and 10-bit ADC for NTC thermistor reading. The three timer/counters with compare modes independently drive PWM channels for blower speed, damper servo positioning, and backlight dimming, while hardware TWI communicates with display drivers, EEPROM, and capacitive-touch controllers on the front panel. The 20 MHz clock provides enough headroom for PI control loops at typical 10-100 Hz HVAC update rates with margins for communication handling. Its wide 1.8V-5.5V input range and industrial-grade AVR robustness simplify qualification across 3.3V and 5V platform variants of the same appliance board.

⚑

Metering and Energy Monitoring

Energy meters and submetering nodes use the ATMEGA164PA-ANR's 8-channel 10-bit ADC to sample voltage and current channels, computing RMS power in software; the 20 MHz single-cycle AVR core provides sufficient instruction throughput for fixed-point DSP-style accumulation at 50/60 Hz line frequencies. The 512 B EEPROM preserves cumulative energy registers, tamper flags, and calibration coefficients through brownouts and power loss, a critical metering requirement. The two USARTs allow a primary RS-485/Modbus communication channel plus a secondary optical or service port for calibration in the field. The picoPower sleep modes also suit battery-backed or energy-harvesting meter variants where standby current is budgeted in microamps.

πŸ“Ί

Hobby, Maker, and Educational Platforms

The AVR ecosystem, free Microchip Studio/AVR-GCC toolchain, and ubiquitous ISP programmers make the ATMEGA164PA-ANR attractive for educational boards and open hardware. Its 32 I/O and dual USART allow a single MCU to drive LCDs, keypads, and a debug console simultaneously, and the familiar ATmega architecture matches the enormous base of AVR tutorials and libraries. The 16 KB flash is adequate for most classroom projects, including Arduino-core ports, while the 1 KB SRAM suits small state machines and protocol stacks. DebugWIRE requires only the reset line, so low-cost development boards can expose full debugging without dedicating pins, an advantage over many competing 8-bit families in teaching environments.

🌐

Networking and Communication Accessories

Small networking peripherals - serial-to-Ethernet converters, sensor gateways, and configuration front-ends - use the ATMEGA164PA-ANR's two USARTs to bridge device buses: one port talks to the target equipment (RS-232/485), the other to a module or service processor, while TWI manages a network EEPROM storing MAC addresses and configuration blocks. The 20 MHz core sustains buffered UART throughput well beyond 115200 baud with interrupt-driven FIFOs in the 1 KB SRAM, and hardware SPI can drive fast shift registers for status panels. The wide 1.8V-5.5V supply range allows direct interfacing with both 3.3V modules and legacy 5V line circuits using appropriate level considerations, consolidating what would otherwise need two voltage-domain MCUs.

What is the ATMEGA164PA-ANR microcontroller?
The ATMEGA164PA-ANR is a Microchip Technology picoPower 8-bit AVR RISC microcontroller with 16 KB ISP flash, 512 B EEPROM, 1 KB SRAM, 32 I/O lines, two USARTs, TWI, and an 8-channel 10-bit ADC, clocked up to 20 MHz in a 44-TQFP (10x10 mm) package. According to the Microchip product page, it executes most instructions in a single cycle, achieving roughly 1 MIPS per MHz.
What is the operating voltage range of ATMEGA164PA-ANR?
The ATMEGA164PA-ANR operates from a single supply of 1.8V to 5.5V, covering 1.8V, 3.3V, and 5V systems. This wide range, combined with picoPower sleep modes, makes it suitable for both battery-operated and 5V industrial designs. Per the FindIC specification summary, the supply voltage is listed as 1.8 to 5.5 V for the 44-pin TQFP device.
What is the price of ATMEGA164PA-ANR?
The ATMEGA164PA-ANR starts at approximately $1.6391 in single-unit quantity at LCSC as of 2026-09-16. Volume pricing typically drops toward the $1.10 to $1.30 range at 1000-piece quantities on major distributors. Octopart lists 11 distributors carrying the part, so comparing DigiKey, Mouser, and LCSC quotes at your target volume is recommended for the best landed cost.
Where to buy ATMEGA164PA-ANR online?
The ATMEGA164PA-ANR can be purchased online from DigiKey (ships same day from stock), Mouser, LCSC (in stock, from $1.6391), and microchipDIRECT, the manufacturer's own store. Octopart aggregates 11 distributors for price comparison. For production volumes, check tape-and-reel availability and lead time directly with microchipDIRECT, which supports factory-direct ordering with real-time inventory.
Is ATMEGA164PA-ANR in stock?
Yes, multiple distributors show the ATMEGA164PA-ANR in stock. DigiKey's listing states 'Buy now, ships today,' and LCSC lists the part as in-stock (product C2055311). Stock levels change daily, so verify real-time inventory at DigiKey, Mouser, or LCSC before finalizing a BOM, and consider ordering tape-and-reel quantities (T/R suffix) early for production builds.
What is the difference between ATMEGA164PA-ANR and ATMEGA164PA-AN?
The ATMEGA164PA-AN and ATMEGA164PA-ANR are functionally identical MCUs: both are 8-bit AVR with 16 KB flash, 1.8V to 5.5V supply, and 44-pin TQFP packaging. The difference is packing only - the 'R' suffix indicates tape-and-reel packing for automated assembly, while the non-R part is supplied in trays. FindIC notes consistent functional characteristics and matching main parameters between the two orderable variants.
ATMEGA164PA-ANR vs ATMEGA324PA-AU - which is better for my design?
Choose the ATMEGA164PA-ANR when 16 KB flash and 1 KB SRAM are sufficient; choose the ATMEGA324PA-AU when you need 32 KB flash and 2 KB SRAM. Both share the same AVR core, 20 MHz operation, and identical TQFP-44 pinout, so upgrading is a true drop-in on the same PCB footprint. The 324PA costs slightly more but doubles code headroom, useful when adding stacks, DSP filtering, or OTA-capable firmware images.
What is the best drop-in replacement for ATMEGA164PA-ANR?
The closest drop-in replacement is the ATMEGA164A-AU from Microchip: same 44-TQFP footprint, same 16 KB flash / 1 KB SRAM / 512 B EEPROM, and same pinout, differing mainly in being the standard-power variant rather than the picoPower 'PA' version. Higher-memory same-footprint options are ATMEGA324PA-AU, ATMEGA644PA-AU, and ATMEGA1284P-AU. Always verify full electrical characteristics against the ATmega164A/PA/324A/PA/644A/PA/1284/P datasheet before switching.
Can ATMEGA644PA-AU replace ATMEGA164PA-ANR?
Yes, the ATMEGA644PA-AU is pin-compatible with the ATMEGA164PA-ANR in TQFP-44 and offers 64 KB flash versus 16 KB, plus larger SRAM. It is a superset within the same Microchip ATmega family covered by the shared datasheet (Atmel-8272 summary). The trade-offs are a higher unit price and slightly different EEPROM sizing, so it is best when code growth is expected; for minimal BOM cost keep the 164PA.
Where to download the ATMEGA164PA-ANR datasheet PDF?
The ATMEGA164PA-ANR datasheet can be downloaded free from Microchip's product page (microchip.com/en-us/product/ATmega164PA) and from the official device summary document 'Atmel-8272 8-bit AVR Microcontroller ATmega164A_PA-324A_PA-644A_PA-1284_P summary' hosted on ww1.microchip.com. Mirror copies are available on Octopart and datasheets.com. Always use the Microchip-hosted PDF as the authoritative revision for design work.
Hey Google, what can replace ATMEGA164PA-ANR?
Pin-compatible replacements for the ATMEGA164PA-ANR include the Microchip ATMEGA164A-AU (same memory, standard-power version), and higher-memory same-footprint family members ATMEGA324PA-AU, ATMEGA644PA-AU, and ATMEGA1284P-AU, all in 44-TQFP. No cross-brand pin-compatible equivalent was found in the cross-reference data, so Microchip family parts are the recommended substitution path. Review the shared family datasheet to confirm peripheral differences before requalification.
Is ATMEGA164PA-ANR suitable for battery-powered applications?
Yes. The ATMEGA164PA-ANR is a picoPower device explicitly designed for low average current: it offers multiple sleep modes with an asynchronous real-time counter that keeps timing alive in power-down states. Combined with the 1.8V minimum supply and 20 MHz full-speed capability, it fits battery sensors and metering products that spend most of their life sleeping and only wake briefly to sample the 10-bit ADC or transmit via USART.
What are the key specifications of ATMEGA164PA-ANR that engineers should know?
The essential ATMEGA164PA-ANR specifications are: 8-bit AVR RISC core at up to 20 MHz (~1 MIPS/MHz), 16 KB ISP flash with read-while-write, 512 B EEPROM, 1 KB SRAM, 1.8V-5.5V supply, 32 GPIO, three timer/counters with PWM, two USARTs, TWI (I2C), SPI, an 8-channel 10-bit ADC, and a 44-TQFP 10x10 mm package. These figures come from the Microchip product page and Atmel-8272 datasheet summary.
What is the best cross-brand equivalent for ATMEGA164PA-ANR?
No verified cross-brand pin-compatible equivalent was found in the searched cross-reference sources (Microchip, DigiKey, and third-party cross-reference tools). While other vendors offer similar 8-bit MCUs (for example NXP 8051-family or ST STM8 parts), none share the AVR TQFP-44 pinout, so they would require PCB redesign and firmware porting. The safest substitution strategy is within the Microchip ATmega family itself, which shares the AVR toolchain and ISP programming flow.
How do I program and debug the ATMEGA164PA-ANR?
The ATMEGA164PA-ANR supports In-System Programming (ISP) with read-while-write flash through the SPI pins, using tools such as the Microchip AVR ISP mkII or Atmel-ICE. For debugging, debugWIRE uses just two device I/O pins plus the reset line, per the Microchip ATmega164A product page, giving entry-level users in-circuit debugging without consuming additional pins. Remember to enable the debugWIRE fuse correctly, since an incorrect fuse setting can lock out ISP access.

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

Selection Guide

Choose the ATMEGA164PA-ANR when you need a low-cost, low-power 8-bit MCU with 16 KB flash, 32 I/O, dual USART, and 10-bit ADC on a 5V- or 3.3V-tolerant 1.8V-5.5V design, especially for battery sensor nodes and appliance control. Choose the ATMEGA164A-AU only if cost must drop further and sleep current is irrelevant, since it drops picoPower. Choose ATMEGA324PA-AU, ATMEGA644PA-AU, or ATMEGA1284P-AU when your firmware outgrows 16 KB - all share the identical 44-TQFP footprint, so the swap requires no PCB rework. Legacy ATMEGA16-16AU suits simple 16 MHz designs but lacks picoPower and the richer peripheral set. There is no verified cross-brand pin-compatible alternative, so remaining within Microchip's ATmega family preserves your toolchain (AVR-GCC, ISP, debugWIRE) and minimizes requalification effort.

Comparison with Alternatives

Parameter This Product ATMEGA164A-AU ATMEGA324PA-AU ATMEGA644PA-AU ATMEGA1284P-AU
Package 44-TQFP (10x10 mm) 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same 44-TQFP (10x10 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 16 KB 16 KB 32 KB 64 KB 128 KB
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Supply Voltage Range 1.8 V to 5.5 V 2.7 V to 5.5 V (standard-power variant) 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V
picoPower Low-Power Technology Yes No Yes Yes Yes
EEPROM 512 B 512 B 1 KB 2 KB 4 KB

Key Differentiators

  • picoPower technology for battery designs (vs ATMEGA164A-AU)
  • Lowest cost in same-footprint family (vs ATMEGA324PA-AU)
  • Widest migration headroom on one PCB (vs ATMEGA1284P-AU)

Design Notes

Connect all VCC pins (as well as AVCC) to a clean supply and place a 0.1 uF ceramic capacitor at each supply pin, plus a bulk 10 uF capacitor per board rail. AVCC must be tied to VCC through a low-pass filter (for example 10 ohm resistor plus 0.1 uF) when ADC accuracy matters, since digital switching noise on AVCC directly degrades the 10-bit ADC's effective resolution. Never leave AVCC floating even if the ADC is unused - the datasheet requires it connected for correct port-A operation.

Fuse configuration is the most common failure mode when migrating across the ATmega164A/PA/324A/PA/644A/PA/1284/P family: clock-source, CKDIV8, and debugWIRE fuse defaults differ between variants, and enabling debugWIRE disables normal ISP access until it is disabled again through debug hardware. Also verify Brown-out Detection (BOD) fuses for battery designs - without BOD, EEPROM writes during supply collapse can corrupt calibration data stored in the 512 B EEPROM.

The 44-TQFP (10x10 mm) footprint needs no thermal pad, but use 0.5 mm-pitch layout rules per IPC-SM-782-style land-pattern guidance and place the crystal within 10 mm of XTAL1/XTAL2 with ground guard traces to reduce jitter and stray coupling. Route the two USART and SPI buses away from ADC input traces; if PA0-PA7 (the ADC port) run parallel to switching traces, insert a ground shield trace to protect the 10-bit conversion results from crosstalk artifacts.

Estimated: at 5V, 20 MHz, and full peripheral activity, the ATMEGA164PA draws only in the low tens of milliamperes class, giving roughly 100-150 mW dissipation - negligible for a 44-TQFP on standard FR4, so no heatsinking is required. Sleep-mode design matters far more than thermal design in this device: real system power is dominated by how long the picoPower core remains asleep with the real-time counter running.

Compliance Information

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

Mouser listing describes the part as 'GRN' (green/halogen-free). RoHS and lead-free status per standard Microchip ordering-code conventions; REACH and conflict-minerals statements not stated in the provided data.

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

Related Searches

ATMEGA164PA-ANR ATMEGA164PA-ANR datasheet PDF Microchip ATmega164PA microcontroller ATMEGA164PA-ANR price in stock ATMEGA164PA-ANR 44-TQFP pinout picoPower 8-bit AVR 16KB flash 20MHz ATMEGA164PA-ANR drop-in replacement ATMEGA324PA ATMEGA164PA-ANR vs ATMEGA164A-AU ATMEGA164PA battery powered sensor node what is the operating voltage of ATMEGA164PA-ANR AVR microcontroller 2 USART TWI 10-bit ADC buy ATMEGA164PA-ANR online

Related Components & Terms

Microchip Technology Atmel ATMEGA164PA-ANR ATmega164A ATMEGA324PA-AU ATMEGA1284P-AU AVR 8-bit RISC microcontroller MCU picoPower ISP (In-System Programming) debugWIRE TWI (Two-Wire Interface) USART 10-bit ADC 44-TQFP TQFP package family surface mount RoHS 1.8V-5.5V supply industrial automation battery-powered sensor node metering Modbus RS-485
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