ATMEGA164A-PU - 8-bit AVR MCU 16KB Flash 20MHz | Microchip
부품 번호: ATMEGA164A-PU ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $4.26 | $4.26 |
| 10 | $3.98 | $39.80 |
| 100 | $3.65 | $365.00 |
| 500 | $3.4 | $1,700.00 |
| 1,000 | $3.15 | $3,150.00 |
ATMEGA164A-PU 개요
An 8-bit microcontroller is an integrated circuit that combines a processor core, memory, and peripherals such as timers, UARTs, and ADCs on a single chip, forming the highest-volume tier of the embedded systems hierarchy (MCU -> embedded processor -> semiconductor). The AVR architecture executes most of its powerful instruction set in a single clock cycle, achieving throughput near one MIPS per MHz, so designers can trade clock speed directly against power consumption.
Key features of the ATMEGA164A include 32 general purpose I/O lines, 32 general purpose working registers, two USARTs, SPI and two-wire (I2C) interfaces, an 8-channel 10-bit ADC, a real-time counter, three flexible timers with compare modes and PWM, and internal calibrated oscillator. It operates from 2.5 V to 5.5 V with operating grades for industrial (-40C to +85C) temperature ranges.
Technically, the device is built on AVR enhanced RISC architecture with single-cycle execution, read-while-write Flash for self-programming, and multiple sleep modes plus power-down/power-save operation for battery designs. DebugWIRE on-chip debugging is supported through the RESET pin with a single-wire interface.
Typical applications include industrial control and automation, instrumentation, and hobby/prototyping projects where the through-hole PDIP package simplifies hand soldering, socketing, and breadboarding.
Design consideration: for maximum reliability, decouple VCC and AVCC separately and use the external crystal option when you need UART timing accuracy beyond the internal oscillator tolerance.
This page synthesizes distributor pricing, drop-in alternatives within the ATmega164A/324A/644A/1284 family, and practical design notes not found in the manufacturer datasheet.
드롭인 대체품: ATMEGA164A-PU — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: ATMEGA164A-PU (동일 폼 팩터 및 풋프린트) — 차이점: Package, EEPROM, SRAM, Serial Interfaces, Debug Interface.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
ATMEGA164PA-PU
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
ATMEGA324A-PU
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
ATMEGA644A-PU
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
ATMEGA1284P-PU
✅ 드롭인✓ 재고 있음
$6.05 / 개
데이터시트 보기 →ATMEGA16-16PI
✅ 드롭인 ⚠️ 사양 미검증✓ 재고 있음
$3.72 / 개
데이터시트 보기 →ATMEGA32A-PU
✅ 드롭인 ⚠️ 사양 미검증✓ 재고 있음
$3.85 / 개
데이터시트 보기 →ATMEGA164A-PU 최대 정격 & 전기적 특성
| Core Architecture | AVR 8-bit RISC |
| Flash Memory | 16 KB (8K x 16) In-System Programmable |
| SRAM | 1 KB |
| EEPROM | 512 bytes |
| 최대 클록 주파수 | 20 MHz |
| Supply Voltage Range | 2.5 V to 5.5 V |
| General Purpose I/O | 32 lines |
| Working Registers | 32 x 8-bit |
| Timers/Counters | 2 x 8-bit, 1 x 16-bit |
| USART Interfaces | 2 |
| ADC | 8-channel 10-bit |
| Serial Interfaces | USART x2, SPI, TWI (I2C) |
| 패키지 | 40-PDIP (0.600 in, 15.24 mm) |
| 실장 유형 | Through-Hole |
| On-Chip Debug | DebugWIRE (single-wire via RESET) |
| Sleep Modes | Multiple including Power-down and Power-save |
| RoHS 상태 | Compliant |
ATMEGA164A-PU 핀 구성
| 핀 1 | PB0/XCK0/T0 — Port B bit 0 / USART0 external clock / Timer0 external clock |
| 핀 2 | PB1/T1 — Port B bit 1 / Timer1 external clock |
| 핀 3 | PB2/AIN0/INT2 — Port B bit 2 / Analog comparator input 0 / External interrupt 2 |
| 핀 4 | PB3/AIN1/OC0 — Port B bit 3 / Analog comparator input 1 / Timer0 output compare |
| 핀 5 | PB4/SS — Port B bit 4 / SPI slave select |
| 핀 6 | PB5/MOSI — Port B bit 5 / SPI master output, slave input |
| 핀 7 | PB6/MISO — Port B bit 6 / SPI master input, slave output |
| 핀 8 | PB7/SCK/OC0A/OC1C — Port B bit 7 / SPI clock / Timer output compare PWM |
| 핀 9 | RESET — Reset input; also DebugWIRE interface |
| 핀 10 | VCC — Digital supply voltage (2.5 V to 5.5 V) |
| 핀 11 | GND — Ground |
| 핀 12 | XTAL2 — Crystal oscillator output |
| 핀 13 | XTAL1 — Crystal oscillator input / external clock input |
| 핀 14 | PD0/RXD0 — Port D bit 0 / USART0 receive |
| 핀 15 | PD1/TXD0 — Port D bit 1 / USART0 transmit |
| 핀 16 | PD2/INT0/RXD1 — Port D bit 2 / External interrupt 0 / USART1 receive |
| 핀 17 | PD3/INT1/TXD1 — Port D bit 3 / External interrupt 1 / USART1 transmit |
| 핀 18 | PD4/XCK1/OC1B — Port D bit 4 / USART1 external clock / Timer1 output compare B |
| 핀 19 | PD5/OC1A — Port D bit 5 / Timer1 output compare A (PWM) |
| 핀 20 | PD6/ICP1 — Port D bit 6 / Timer1 input capture |
| 핀 21 | PD7/OC2A — Port D bit 7 / Timer2 output compare A (PWM) |
| 핀 22 | PC0/SCL — Port C bit 0 / TWI clock |
| 핀 23 | PC1/SDA — Port C bit 1 / TWI data |
| 핀 24 | PC2/TCK — Port C bit 2 / JTAG test clock |
| 핀 25 | PC3/TMS — Port C bit 3 / JTAG test mode select |
| 핀 26 | PC4/TDO — Port C bit 4 / JTAG test data output |
| 핀 27 | PC5/TDI — Port C bit 5 / JTAG test data input |
| 핀 28 | PC6/TOSC1 — Port C bit 6 / Timer oscillator input (32.768 kHz RTC crystal) |
| 핀 29 | PC7/TOSC2 — Port C bit 7 / Timer oscillator output |
| 핀 30 | AVCC — Analog supply for ADC (connect to VCC through low-pass filter) |
| 핀 31 | GND — Ground (analog ground reference) |
| 핀 32 | AREF — Analog reference voltage for ADC |
| 핀 33 | PA0/ADC0 — Port A bit 0 / ADC channel 0 |
| 핀 34 | PA1/ADC1 — Port A bit 1 / ADC channel 1 |
| 핀 35 | PA2/ADC2 — Port A bit 2 / ADC channel 2 |
| 핀 36 | PA3/ADC3 — Port A bit 3 / ADC channel 3 |
| 핀 37 | PA4/ADC4 — Port A bit 4 / ADC channel 4 |
| 핀 38 | PA5/ADC5 — Port A bit 5 / ADC channel 5 |
| 핀 39 | PA6/ADC6 — Port A bit 6 / ADC channel 6 |
| 핀 40 | PA7/ADC7 — Port A bit 7 / ADC channel 7 |
일반적인 애플리케이션
ATMEGA164A-PU 적합 용도: 6 애플리케이션s: Industrial Control and Automation, Instrumentation and Measurement, Hobby, Education and Prototyping, Embedded Communication Nodes, Motor Control and PWM Actuation, Consumer Appliance Control.
Industrial Control and Automation
The ATMEGA164A-PU fits industrial control nodes because it combines a 20 MHz AVR core with dual USARTs for RS-485/Modbus links, SPI and TWI for module expansion, and a 10-bit ADC for sensor feedback - all with the industrial -40C to +85C temperature grade. In a PLC-style remote I/O board, the 32 GPIO lines directly drive relays and optocoupled inputs, while the three timers generate PWM for actuators. Running from a 5 V industrial rail (2.5-5.5 V supply range) removes the need for a separate regulator stage. The through-hole 40-PDIP package also allows socketed replacement in the field, reducing maintenance downtime in retrofit installations where soldered SMD MCUs complicate repairs.
추천
Instrumentation and Measurement
For benchtop meters, data loggers, and sensor conditioning units, the ATMEGA164A-PU offers an 8-channel 10-bit ADC on Port A with an internal reference and AREF pin (pin 32) for external precision references, enabling multi-sensor scanning at moderate sample rates. The 16 KB Flash accommodates averaging, calibration, and linearization firmware, while 1 KB SRAM buffers sample arrays before transmission over one of the two USARTs. AVCC (pin 30) can be filtered separately from the digital rail to reduce ADC noise coupling, a common technique in the family datasheet's ADC application notes. The PDIP package eases prototyping on breadboards during instrument bring-up, and the TWI interface connects displays and EEPROM calibration stores.
추천
Hobby, Education and Prototyping
The 40-PDIP through-hole package is the defining advantage for hobbyists, students, and repair technicians: the ATMEGA164A-PU can be inserted into a ZIF socket, hand-soldered with a basic iron, and breadboarded without adapters. Community toolchains support it directly - the MCUdude MightyCore Arduino package covers the ATmega164, giving Arduino IDE compilation and ISP bootloading. Single-unit pricing around $4.26 (as of 2026-09-16) keeps experimentation affordable, and the 2.5-5.5 V supply range tolerates simple USB or battery supplies. Educational kits favor this part because the DIP-40 footprint makes pin mapping physically visible: Port A pins 33-40, Port B pins 1-8, aiding classroom instruction on MCU architecture.
추천
Embedded Communication Nodes
With two independent USARTs, the ATMEGA164A-PU bridges protocols natively - one port to a host or RS-232 debug console and the other to an RS-485 field bus through an external transceiver. The 20 MHz core provides roughly 20 MIPS (about 1 MIPS per MHz per the family datasheet), sufficient for software UART framing checks and CRC computation. TWI (I2C) handles RTC and EEPROM peripherals, while SPI drives Ethernet controllers or RF modules. Interrupt-driven receive buffers make efficient use of the 1 KB SRAM. Power-save sleep modes allow battery-backed gateways to wake on USART or timer events, and the picoPower ATMEGA164PA-PU variant drops in when ultra-low standby current is a requirement.
추천
Motor Control and PWM Actuation
The ATMEGA164A-PU's three timers - two 8-bit and one 16-bit - provide multiple PWM channels with compare modes suited to DC motor speed control, servo positioning, and LED dimming. The 16-bit timer supports input capture for RPM measurement from hall or encoder signals, closing the control loop with the 10-bit ADC reading current or position feedback. At 20 MHz, PWM resolution of 8 bits runs at 78 kHz, inaudible in motor applications. Dead-time control for half-bridge drivers is implemented in firmware using complementary compare outputs. The 32 GPIO lines interface directly to gate-driver logic, and the -40C to +85C grade suits motor-mounted enclosures exposed to elevated ambient temperatures.
추천
Consumer Appliance Control
In appliance boards - coffee machines, heaters, small pumps - the ATMEGA164A-PU delivers adequate compute (20 MHz AVR, ~20 MIPS), plenty of GPIO for buttons, LEDs, and relays, and a 10-bit ADC for NTC temperature sensing. The internal calibrated oscillator removes the crystal and its cost in non-critical timing applications, while read-while-write Flash supports in-field firmware updates through self-programming. Power-down sleep current keeps standby consumption low for always-plugged products, and the 2.5-5.5 V supply range accommodates capacitor-dropper or linear supplies common in appliance designs. The PDIP package also suits low-volume regional assembly lines without reflow equipment, and 512 B EEPROM retains user settings across power cycles.
추천
추천 제품 요약
엔지니어링 참조 데이터: ATMEGA164A-PU — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | ATMEGA164PA-PU | ATMEGA324A-PU | ATMEGA644A-PU | ATMEGA1284P-PU | ATMEGA16-16PI |
|---|---|---|---|---|---|---|
| Package | 40-PDIP (0.600 in) | 40-PDIP (0.600 in) - same | 40-PDIP (0.600 in) - same | 40-PDIP (0.600 in) - same | 40-PDIP (0.600 in) - same | 40-PDIP (0.600 in) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 32 KB | 64 KB | 128 KB | 16 KB |
| SRAM | 1 KB | 1 KB | 2 KB | 4 KB | 16 KB | 1 KB |
| EEPROM | 512 bytes | 512 bytes | 1 KB | 2 KB | 4 KB | 512 bytes |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 16 MHz |
| Supply Voltage Range | 2.5 V to 5.5 V | 1.8 V to 5.5 V | 2.5 V to 5.5 V | 2.5 V to 5.5 V | 1.8 V to 5.5 V | 4.5 V to 5.5 V |
| Power Technology | Standard AVR (ATmega164A) | picoPower (lower sleep current) | Standard | Standard | picoPower | Legacy |
| Lifecycle Status | Active | Obsolete/replacement suggested (per DigiKey forum, Nov 2024) | Active | Active | Active | Active (legacy family) |
주요 차별점
- Currently active production vs obsolete picoPower sibling (vs ATMEGA164PA-PU)
- 20 MHz maximum clock (vs ATMEGA16-16PI)
- Cost-optimized memory tier in a pin-compatible family ladder (vs ATMEGA324A-PU)
설계 노트
Decouple VCC (pin 10) and AVCC (pin 30) independently: place a 100 nF ceramic within 5 mm of each pin plus a 10 uF bulk capacitor per rail. The family datasheet recommends connecting AVCC to VCC through a low-pass filter (e.g., 10 uH inductor or 100-ohm resistor with 100 nF) when ADC accuracy matters, since digital switching noise on AVCC directly degrades the 10-bit converter's effective resolution. Keep the 5.5 V absolute maximum in mind for unregulated supplies.
For crystal reliability, mount the resonator between XTAL1 (pin 13) and XTAL2 (pin 12) within 10 mm of the device and keep crystal load capacitors' ground return short and direct to GND (pin 11). If using the 32.768 kHz RTC crystal on TOSC1/TOSC2 (pins 28-29), guard these traces from fast digital edges - the timer oscillator is sensitive to coupling. When the internal calibrated RC oscillator suffices, both crystal pins can be repurposed, freeing board area in PDIP-based designs.
Do not exceed the speed-versus-voltage curve: at 3.3 V, running 20 MHz is outside the safe operating envelope per the family datasheet; scale the clock down (approximately 13 MHz at 3.3 V). When substituting ATMEGA164PA for ATMEGA164A on existing boards, verify fuse settings - extended fuse defaults differ between revisions and can disable DebugWIRE or misconfigure brown-out detection. ISP programming requires the SPI pins (5-8) free of heavy loads; series resistors of 1-10 kohm protect shared peripherals during programming.
규정 준수 정보
RoHS compliant per DigiKey product listing. REACH, halogen-free, and conflict-minerals status not stated in provided data.