ATMEGA164PA-AU - 8-bit AVR MCU, 16KB Flash, 20MHz | Microchip
Артикул: ATMEGA164PA-AU ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $3.79 | $3,79 |
| 10 | $3.55 | $35,50 |
| 100 | $3.2 | $320,00 |
| 500 | $2.95 | $1.475,00 |
| 1.000 | $2.75 | $2.750,00 |
ATMEGA164PA-AU Обзор
A microcontroller unit (MCU) is a single integrated circuit that combines a processor core, memory, and programmable peripherals, forming the lowest tier of the embedded computing hierarchy (embedded ICs -> microcontrollers -> 8-bit MCUs). The AVR family, originally developed by Atmel and now part of Microchip Technology, uses a Harvard architecture with single-cycle instruction execution, making 8-bit AVRs a benchmark for efficient, deterministic embedded control.
Key features of the ATMEGA164PA-AU include 32 general purpose I/O lines, three flexible 16/8-bit timer/counters with compare modes and PWM, two USARTs, a byte-oriented Two-Wire Interface (TWI/I2C), an 8-channel 10-bit ADC, and picoPower technology for sub-uA sleep currents. The device operates from 1.8V to 5.5V across the full 20 MHz frequency range.
Technically, the AVR core executes 131 powerful instructions, most in a single clock cycle, with 32 general purpose working registers directly connected to the ALU. An on-chip 2-cycle hardware multiplier accelerates DSP-style math. Self-programmable ISP FLASH with read-while-write support enables in-field firmware updates without an external programmer.
Typical applications include industrial control and sensing nodes, consumer appliances, battery-powered metering, and hobby/educational platforms compatible with the Arduino ecosystem.
Design consideration: choose the internal 8 MHz RC oscillator for cost-sensitive designs and reserve the external 20 MHz crystal for timing-critical UART or precision ADC work; always decouple AVCC separately from VCC for best ADC accuracy.
This page synthesizes distributor pricing, verified drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Аналоги без доработки для ATMEGA164PA-AU — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с ATMEGA164PA-AU (тот же форм-фактор и посадочное место) — отличается по Package, Program Memory (Flash), EEPROM, SRAM, ADC.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
ATMEGA164A-AU
✅ Прямая замена✓ В наличии
$2.65 / шт.
Открыть даташит →ATMEGA324PA-AU
✅ Прямая замена✓ В наличии
$2.87 / шт.
Открыть даташит →ATMEGA644PA-AU
✅ Прямая замена✓ В наличии
$4.61 / шт.
Открыть даташит →ATMEGA1284P-AU
✅ Прямая замена✓ В наличии
$4.65 / шт.
Открыть даташит →ATMEGA1284-AUR
✅ Прямая замена✓ В наличии
$4.61 / шт.
Открыть даташит →ATMEGA164PA-AU Максимальные параметры и электрические характеристики
| Core Architecture | 8-bit AVR RISC |
| Flash Memory | 16 KB (8K x 16) ISP FLASH |
| EEPROM | 512 B |
| SRAM | 1 KB |
| Максимальная тактовая частота | 20 MHz |
| Throughput | Up to 20 MIPS at 20 MHz |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Number of I/O Lines | 32 |
| ADC | 8-channel, 10-bit |
| Timers/Counters | 3 (two 8-bit, one 16-bit) with PWM |
| USART | 2 |
| TWI (I2C) | Yes, byte-oriented |
| SPI | Yes |
| Instructions | 131, most single-cycle |
| Hardware Multiplier | On-chip 2-cycle multiplier |
| Корпус | 44-TQFP (10x10 mm) |
| Тип монтажа | Surface Mount |
| Low Power Technology | picoPower |
| Статус RoHS | Compliant (green package) |
Конфигурация выводов ATMEGA164PA-AU
| Контакт 1 | PB5 — Port B5 / T1 / OC1A / PCINT13 |
| Контакт 2 | PB4 — Port B4 / OC0A / PCINT12 |
| Контакт 3 | PB3 — Port B3 / ADC0 / OC2A / PCINT11 |
| Контакт 4 | PB2 — Port B2 / OC1B / INT2 / PCINT10 |
| Контакт 5 | PB1 — Port B1 / T1 / CLKO / PCINT9 |
| Контакт 6 | PB0 — Port B0 / XCK0 / T0 / PCINT8 |
| Контакт 7 | VCC — Digital supply voltage |
| Контакт 8 | GND — Ground |
| Контакт 9 | PB6 — Port B6 / OC1B / PCINT14 |
| Контакт 10 | PB7 — Port B7 / OC2B / OC0A / PCINT15 |
| Контакт 11 | PD7 — Port D7 / OC2B / TO0 / PCINT31 |
| Контакт 12 | PD6 — Port D6 / ICP1 / PCINT30 |
| Контакт 13 | PD5 — Port D5 / OC1A / PCINT29 |
| Контакт 14 | PD4 — Port D4 / XCK1 / TO1 / PCINT28 |
| Контакт 15 | PD3 — Port D3 / INT1 / PCINT27 |
| Контакт 16 | PD2 — Port D2 / INT0 / PCINT26 |
| Контакт 17 | PD1 — Port D1 / TXD0 / PCINT25 |
| Контакт 18 | PD0 — Port D0 / RXD0 / PCINT24 |
| Контакт 19 | XTAL2 — Inverting oscillator output |
| Контакт 20 | XTAL1 — Inverting oscillator input / external clock |
| Контакт 21 | PC7 — Port C7 / TOSC2 / PCINT23 |
| Контакт 22 | PC6 — Port C6 / TOSC1 / PCINT22 |
| Контакт 23 | PC5 — Port C5 / TDI / PCINT21 |
| Контакт 24 | PC4 — Port C4 / TDO / PCINT20 |
| Контакт 25 | PC3 — Port C3 / TMS / PCINT19 |
| Контакт 26 | PC2 — Port C2 / TCK / PCINT18 |
| Контакт 27 | PC1 — Port C1 / SDA / PCINT17 |
| Контакт 28 | PC0 — Port C0 / SCL / PCINT16 |
| Контакт 29 | PA7 — Port A7 / ADC7 / SCK / PCINT7 |
| Контакт 30 | PA6 — Port A6 / ADC6 / MISO / PCINT6 |
| Контакт 31 | PA5 — Port A5 / ADC5 / MOSI / PCINT5 |
| Контакт 32 | PA4 — Port A4 / ADC4 / PCINT4 |
| Контакт 33 | PA3 — Port A3 / ADC3 / PCINT3 |
| Контакт 34 | PA2 — Port A2 / ADC2 / PCINT2 |
| Контакт 35 | PA1 — Port A1 / ADC1 / PCINT1 |
| Контакт 36 | PA0 — Port A0 / ADC0 / PCINT0 |
| Контакт 37 | AREF — Analog reference for ADC |
| Контакт 38 | GND — Ground |
| Контакт 39 | AVCC — Analog supply for ADC (decouple separately) |
| Контакт 40 | VCC — Digital supply voltage |
| Контакт 41 | NC — Not connected (per datasheet) |
| Контакт 42 | NC — Not connected (per datasheet) |
| Контакт 43 | NC — Not connected (per datasheet) |
| Контакт 44 | NC — Not connected (per datasheet) |
Типичное применение
ATMEGA164PA-AU подходит для 6 применениеs: Industrial Control and Automation, Battery-Powered Metering and Sensing, Consumer Appliances, Arduino-Compatible Hobby and Education, Sensor Gateways and IoT Edge Nodes, Motor Control and PWM Actuation.
Industrial Control and Automation
The ATMEGA164PA-AU fits industrial control nodes that need deterministic 8-bit control, multiple UART links, and robust I/O. Its two USARTs allow simultaneous Modbus RTU communication and local diagnostics, while the 8-channel 10-bit ADC digitizes up to eight analog sensor inputs such as 4-20 mA conditioning outputs. Operating from 1.8V to 5.5V and tolerant of 20 MHz full-speed operation, it interfaces cleanly with 5V industrial logic and 3.3V co-processors alike. The three timers with PWM drive actuators and heater control loops; the on-chip 2-cycle hardware multiplier supports scaling math without a floating-point library. Wide availability across 12 distributors makes it a dependable choice for long-lived industrial BOMs.
Рекомендуется
Battery-Powered Metering and Sensing
picoPower technology is the decisive parameter for battery-powered metering: the ATMEGA164PA-AU achieves sub-uA sleep currents in power-save mode while retaining an asynchronous real-time counter for timekeeping, waking periodically to sample meters via the 10-bit ADC. The 1.8V floor allows operation directly from two alkaline cells or a lithium thionyl chloride cell through end-of-discharge, eliminating a boost converter and its quiescent draw. EEPROM storage retains calibration and tariff data through battery replacement cycles, with 100k write endurance. Designers typically clock the device from the internal 8 MHz RC during active bursts, then drop to a 32.768 kHz crystal on TOSC1/TOSC2 for timed wake-up, maximizing energy-per-measurement.
Рекомендуется
Consumer Appliances
In consumer appliances - coffee machines, fans, small heaters, dishwasher panels - the ATMEGA164PA-AU provides touch-button scanning, display driving, and motor PWM control in one low-cost 44-pin device. The 32 GPIO lines drive segment LCDs through external drivers or direct LED matrices, while three timers generate multiple independent PWM channels for blower and pump speed control. A 10-bit ADC reads NTC thermistors and user potentiometers. Its 20 MIPS core executes PID temperature loops with margin to spare, and the hardware TWI interfaces to humidity or pressure sensors. The TQFP-44 package handles the reflow profiles of high-volume consumer assembly and carries RoHS-compliant green packaging for global regulatory acceptance.
Рекомендуется
Arduino-Compatible Hobby and Education
The ATMEGA164PA-AU is a popular choice in the Arduino ecosystem through the MightyCore board support package, giving makers 44 pins - roughly double the I/O of an ATmega328P Uno - with familiar AVR programming in the Arduino IDE. The dual USARTs let one port drive a USB-serial bridge while the second talks to GPS or Bluetooth modules. Eight ADC channels and hardware PWM suit robotics and sensor-gateway builds. Because it ships blank, hobbyists burn the Optiboot-style bootloader with a USBasp or an Arduino-as-ISP; thereafter uploads run over serial. Its 16 KB FLASH accommodates typical sketches, and the pin-compatible 324PA/644PA/1284P family offers a free upgrade path when projects outgrow the memory.
Рекомендуется
Sensor Gateways and IoT Edge Nodes
For wired IoT edge nodes that do not need an RF SoC, the ATMEGA164PA-AU aggregates sensors over TWI (I2C) and SPI and forwards data on one or both USARTs to a cellular or Ethernet modem. The picoPower sleep modes keep duty-cycled nodes within tight energy budgets, while 1 KB SRAM handles framed sensor packets and a lightweight ring buffer. The 10-bit ADC supports on-board supply and temperature monitoring; an external precision ADC can be attached via SPI when 10 bits are insufficient. Designers value the wide 1.8V-5.5V operating range, which lets the MCU track a collapsing battery and negotiate with 3.3V modems without level shifters when run from a common rail.
Рекомендуется
Motor Control and PWM Actuation
The ATMEGA164PA-AU drives small DC motors, fans, and RC-style servos using its three timers with compare-mode PWM outputs distributed across Port B and Port D. Hardware PWM keeps jitter off the CPU, letting the 20 MIPS core run PID loops, encoder decoding on external interrupts INT0/INT1, and communication concurrently. The 2-cycle hardware multiplier accelerates the fixed-point arithmetic typical of motor control. A 10-bit ADC samples current shunts and back-EMF for sensorless speed estimation. Operating to 5.5V allows direct gate-drive logic for low-side MOSFET drivers from a 5V rail, and the 44-pin TQFP leaves enough GPIO for limit switches, enable lines, and a debugging UART simultaneously.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для ATMEGA164PA-AU — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | ATMEGA164A-AU | ATMEGA324PA-AU | ATMEGA644PA-AU | ATMEGA1284P-AU |
|---|---|---|---|---|---|
| Package | TQFP-44 (10x10 mm) | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same | TQFP-44 (10x10 mm) - same | TQFP-44 (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 |
| SRAM | 1 KB | 1 KB | 2 KB | 4 KB | 16 KB |
| EEPROM | 512 B | 512 B | 1 KB | 2 KB | 4 KB |
| Max Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| picoPower Technology | Yes | No | Yes | Yes | Yes |
| Peripherals (ADC/USART/TWI) | 8-ch 10-bit ADC, 2 USART, TWI | 8-ch 10-bit ADC, 2 USART, TWI | 8-ch 10-bit ADC, 2 USART, TWI | 8-ch 10-bit ADC, 2 USART, TWI | 8-ch 10-bit ADC, 2 USART, TWI |
Ключевые отличия
- picoPower technology for battery designs (против ATMEGA164A-AU)
- Best price-per-feature in the same footprint (против ATMEGA324PA-AU)
- Identical PCB footprint across five memory densities (против ATMEGA1284P-AU)
- Dual USARTs standard across the family (против ATMEGA164A-AU)
Заметки по проектированию
Decouple AVCC (pin 39) separately from VCC through an LC filter (10 uH inductor or ferrite bead plus 100 nF ceramic) and connect AVCC to VCC even when the ADC is unused, as required by the Microchip ATmega164A/PA datasheet. This keeps ADC switching noise out of the analog domain and preserves 10-bit conversion accuracy. Add a 100 nF capacitor at each VCC pin (7 and 40) placed within 5 mm of the pin with a solid via to the ground plane.
Keep the analog reference path clean: place a 100 nF capacitor on AREF (pin 37) and route it away from USART and crystal traces. If using the internal 1.1V bandgap reference for battery monitoring, remember conversions settle slowly - discard the first result after switching references, a documented behavior in Microchip's AVR datasheet family documentation. On a 4-layer board, allocate a continuous ground plane under the TQFP and stitch the exposed fan-out vias around the package perimeter.
The ATMEGA164PA-PU (PDIP) variant is obsolete per DigiKey forum reports - do not specify it for new designs; the -AU TQFP remains active. Also, the ATmega164/324/644/1284 family is NOT register-compatible with the ATmega16 classic part despite the similar name: port mapping, extended I/O registers, and fuse names differ, and code needs porting. Finally, at 5V do not exceed the 20 MHz rating, and when running below 1.8 V the device will brown-out - set the BOD fuse appropriately for your supply rail.
For the external 20 MHz crystal on XTAL1/XTAL2, follow the datasheet-recommended load: place the crystal within 10 mm of the pins with ground guard traces, and select load capacitors per the crystal vendor's CL specification (typically 12-22 pF). Avoid routing fast USART or PWM lines directly beneath the crystal. When using TOSC1/TOSC2 with a 32.768 kHz crystal for the asynchronous timer, keep these traces equally short and isolated - long watch-crystal traces pick up digital noise and cause timekeeping drift.
Информация о соответствии
RoHS compliant green package per distributor listings. AEC-Q100 automotive qualification not applicable to this commercial/industrial grade part. REACH and conflict mineral status not stated in provided data.