ATMEGA164PA-MNR - 8-bit AVR MCU 16KB Flash 20MHz | Microchip
部品番号: ATMEGA164PA-MNR ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $4.06 | $4.06 |
| 10 | $3.68 | $36.80 |
| 100 | $3.3 | $330.00 |
| 500 | $2.96 | $1,480.00 |
| 1,000 | $2.66 | $2,660.00 |
ATMEGA164PA-MNR 概要
An 8-bit AVR microcontroller is a Harvard-architecture MCU that separates program flash from data SRAM, sitting in the wider hierarchy of microcontrollers under the power-efficient embedded control IC category. The ATmega family is widely used where low standby power, deterministic execution, and mature tooling (AVR GCC, Atmel Studio / MPLAB X) matter more than raw processing throughput.
Key features of the ATMEGA164PA-MNR include 32 general purpose I/O lines, three flexible timer/counters with compare modes and PWM, two USARTs, a byte-oriented Two-Wire (I2C-compatible) serial interface, an 8-channel 10-bit ADC, and a real-time counter with separate oscillator. The picoPower technology enables sub-uA sleep currents, and the device supports ISP and IAP flash programming with read-while-write capability. Operating voltage spans 2.5V/3.3V/5V systems per distributor parametric data, covering both 3.3V and 5V logic designs.
Per Microchip application note AVR527, the ATmega164PA is a functionally identical drop-in replacement for the ATmega164P within the same 44-pin package, differing only in electrical characteristics due to a new manufacturing process - so existing firmware migrates without code changes.
Typical applications include industrial sensor nodes, consumer appliances, battery-powered metering, HVAC control, and hobby/embedded products where a 5V-tolerant 8-bit MCU with on-chip ADC simplifies the BOM.
When designing with this MCU, budget flash carefully: 16 KB holds structured C code well, but floating-point-heavy code or large lookup tables may force a move to the pin-compatible ATmega324PA/644PA/1284P.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
ドロップイン代替品: ATMEGA164PA-MNR — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: ATMEGA164PA-MNR (同一形状・フットプリント) — 相違点: Flash Memory, RoHS Status, Package, Operating Temperature, Working Registers.
クイック比較ツール — 並列比較する代替部品を選択:
ATMEGA164P-20MUR
✅ ドロップイン✓ 在庫あり
$1.5 / 個
データシートを見る →ATMEGA164A-MU
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$3.01 / 個
データシートを見る →ATMEGA164P-20MQ
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$2.96 / 個
データシートを見る →ATMEGA324PA-MU
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$2.05 / 個
データシートを見る →ATMEGA644PA-MU
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$3.78 / 個
データシートを見る →ATMEGA1284P-MUR
✅ ドロップイン✓ 在庫あり
価格はお問い合わせください
データシートを見る →ATMEGA164PA-MNR 最大定格&電気的特性
| Core Architecture | AVR enhanced RISC, 8-bit |
| Max Clock Frequency | 20 MHz |
| Flash Memory | 16 KB (8K x 16) ISP flash, read-while-write |
| SRAM | 1 KB |
| EEPROM | 512 B |
| I/O Lines | 32 general purpose I/O |
| Timers | 3 timer/counters with compare modes and PWM |
| USART | 2 |
| Serial Interfaces | Two-Wire (I2C), SPI |
| ADC | 8-channel 10-bit |
| Operating Voltage | 2.5 V / 3.3 V / 5 V |
| Low Power Technology | picoPower |
| Programming | ISP, IAP; debugWire/ICSP via reset line |
| パッケージ | 44-VQFN (7x7 mm) exposed pad |
| 実装タイプ | Surface Mount |
| Packaging | Tape & Reel (T/R) |
| RoHS ステータス | Compliant (GRN / green per Mouser) |
| Working Registers | 32 x 8-bit general purpose |
ATMEGA164PA-MNR ピン構成
| ピン 1 | VCC — Digital supply voltage |
| ピン 2 | PA0 (ADC0) — Port A bit 0 / ADC channel 0 |
| ピン 3 | PA1 (ADC1) — Port A bit 1 / ADC channel 1 |
| ピン 4 | PA2 (ADC2) — Port A bit 2 / ADC channel 2 |
| ピン 5 | PA3 (ADC3) — Port A bit 3 / ADC channel 3 |
| ピン 6 | PA4 (ADC4) — Port A bit 4 / ADC channel 4 |
| ピン 7 | PA5 (ADC5) — Port A bit 5 / ADC channel 5 |
| ピン 8 | PA6 (ADC6) — Port A bit 6 / ADC channel 6 |
| ピン 9 | PA7 (ADC7) — Port A bit 7 / ADC channel 7 |
| ピン 10 | PB0 (XCK0/T0) — Port B bit 0 / USART0 clock / Timer0 clock input |
| ピン 11 | PB1 (T1) — Port B bit 1 / Timer1 clock input |
| ピン 12 | PB2 (AIN0/INT2) — Port B bit 2 / analog comparator input 0 / external interrupt 2 |
| ピン 13 | PB3 (AIN1/OC0) — Port B bit 3 / comparator input 1 / Timer0 output compare |
| ピン 14 | PB4 (SS) — Port B bit 4 / SPI slave select |
| ピン 15 | PB5 (MOSI) — Port B bit 5 / SPI master output |
| ピン 16 | PB6 (MISO) — Port B bit 6 / SPI master input |
| ピン 17 | PB7 (SCK) — Port B bit 7 / SPI clock |
| ピン 18 | AREF — ADC analog reference |
| ピン 19 | GND — Ground |
| ピン 20 | AVCC — ADC supply voltage |
| ピン 21 | PC0 (SCL) — Port C bit 0 / Two-Wire clock |
| ピン 22 | PC1 (SDA) — Port C bit 1 / Two-Wire data |
| ピン 23 | PC2 (TCK) — Port C bit 2 / JTAG test clock |
| ピン 24 | PC3 (TMS) — Port C bit 3 / JTAG test mode select |
| ピン 25 | PC4 (TDO) — Port C bit 4 / JTAG test data output |
| ピン 26 | PC5 (TDI) — Port C bit 5 / JTAG test data input |
| ピン 27 | PC6 (TOSC1) — Port C bit 6 / RTC oscillator input |
| ピン 28 | PC7 (TOSC2) — Port C bit 7 / RTC oscillator output |
| ピン 29 | PD0 (RXD0) — Port D bit 0 / USART0 receive |
| ピン 30 | PD1 (TXD0) — Port D bit 1 / USART0 transmit |
| ピン 31 | PD2 (RXD1/INT0) — Port D bit 2 / USART1 receive / external interrupt 0 |
| ピン 32 | PD3 (TXD1/INT1) — Port D bit 3 / USART1 transmit / external interrupt 1 |
| ピン 33 | PD4 (ICP1) — Port D bit 4 / Timer1 input capture |
| ピン 34 | PD5 (OC1A) — Port D bit 5 / Timer1 output compare A |
| ピン 35 | PD6 (OC1B) — Port D bit 6 / Timer1 output compare B |
| ピン 36 | PD7 (OC2) — Port D bit 7 / Timer2 output compare |
| ピン 37 | RESET — Reset input (active low) |
| ピン 38 | XTAL2 — Main oscillator output |
| ピン 39 | XTAL1 — Main oscillator input |
| ピン 40 | NC — Not connected (per datasheet) |
| ピン 41 | NC — Not connected (per datasheet) |
| ピン 42 | NC — Not connected (per datasheet) |
| ピン 43 | NC — Not connected (per datasheet) |
| ピン 44 | NC — Not connected (per datasheet) |
| ピン EP | GND (Exposed Pad) — Ground return / thermal pad, solder to PCB ground |
主な用途
ATMEGA164PA-MNR の用途: 6 件s: Industrial Sensor Nodes, Battery-Powered Metering, HVAC and Appliance Control, Consumer Electronics and Remote Controls, Hobby, Education, and Rapid Prototyping, Building Automation and Access Control.
Industrial Sensor Nodes
The ATMEGA164PA-MNR fits industrial sensor nodes because its 8-channel 10-bit ADC digitizes multiple analog sensors directly, its Two-Wire and SPI interfaces link digital sensors, and two USARTs support RS-485-based field buses through external transceivers. The AVR single-cycle execution delivers deterministic scan loops at 20 MHz while picoPower sleep modes keep average current in the microamp range between readings. Typical topology places the MCU between sensor front ends and a USART-driven RS-485 transceiver, with the ADC sampling at modest rates where the 10-bit resolution suffices. Unlike analog-front-end-heavy designs, integrating the ADC on-chip removes a separate converter from the BOM, cutting cost and board area in compact DIN-rail or node enclosures.
おすすめ
Battery-Powered Metering
For electricity, water, and thermal meters, the ATMEGA164PA-MNR's picoPower architecture is the decisive fit: sleep currents drop to sub-uA levels while the real-time counter with its separate oscillator keeps timekeeping alive at minimal current draw. The 512 B EEPROM stores calibration constants and tamper flags through power cycles, and the 10-bit ADC plus internal bandgap reference handles basic load-signal measurement. A typical design wakes the MCU on a pulse or RTC interrupt, performs a measurement burst, updates the LCD or accumulation registers, and returns to deep sleep - the 1 MIPS-per-MHz throughput means the wake window is milliseconds long, preserving battery budget over 10+ year service intervals. The 5V operating capability also simplifies direct interfacing with metering front ends.
おすすめ
HVAC and Appliance Control
Home appliances and HVAC controllers benefit from the ATMEGA164PA-MNR's three timers with PWM outputs, which directly drive TRIAC/IGBT gate stages or brushless motor drivers for fans, dampers, and pumps. The 32 GPIO lines cover relays, buttons, and indicators in one chip, while the 8-channel 10-bit ADC reads NTC temperature sensors, pot-position feedback, and supply-voltage supervision. Two USARTs allow one channel for a user-display front board and another for a service/debug port. Because appliance control boards typically run at 5V with noisy relay environments, the AVR's robust 5V I/O structure and classic flash-based firmware model (updated via ISP in production) make manufacturing straightforward without external programming controllers.
おすすめ
Consumer Electronics and Remote Controls
Cost-sensitive consumer devices use the ATMEGA164PA-MNR where a single 8-bit MCU replaces scattered logic: it scans keypads through 32 GPIO, drives segment or dot-matrix LCDs through SPI/Two-Wire to display drivers, and manages IR communication via timer-based carrier generation and the ADC-based battery monitor. The 20 MHz clock provides ample headroom for IR protocol decoding in software, and the 16 KB flash accommodates multi-language menu strings and lookup tables. The VQFN (7x7 mm) exposed-pad package keeps the PCB footprint small for handheld form factors while the thermal pad grounds the chip for EMC robustness. The AEC-adjacent green packaging and tape-and-reel supply support high-volume SMT assembly lines.
おすすめ
Hobby, Education, and Rapid Prototyping
The ATmega164PA family is a mainstay of the hobbyist and educational ecosystem because it is programmable with free AVR GCC toolchains, MPLAB X, and countless ISP programmers, and its datasheet documents every register exhaustively. The 44-pin VQFN gives students and makers access to all 32 I/O lines in a hand-solderable-with-practice footprint (or use the TQFP44 ATMEGA164PA-AUR variant for breadboard adapters). The 8-channel 10-bit ADC, hardware PWM, and hardware USARTs let newcomers graduate from Blink to motor control and serial projects without external peripherals. Because firmware is portable upward across the pin-compatible 324/644/1284 family, a prototype sketched on the 164PA scales directly to a commercial build when memory runs out.
おすすめ
Building Automation and Access Control
Door controllers, occupancy sensors, and room modules in building automation leverage the ATMEGA164PA-MNR's Two-Wire interface to address I2C expanders, RTCs, and EEPROMs on a shared bus, while one USART handles RS-485 multidrop networking and the second services diagnostics. The 16 KB flash holds protocol stacks for simple fieldbus framing plus local logic, and the EEPROM retains IDs, credentials, and counters across power loss. PicoPower sleep keeps wall-mounted, battery-backed modules within energy budgets, and the ADC supervises battery voltage and reads hall-effect or magnetic sensors. The industrial 5V I/O tolerates the electrically noisy environments typical of buildings, reducing external protection component count.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: ATMEGA164PA-MNR — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | ATMEGA164P-20MUR | ATMEGA164A-MU | ATMEGA1284P-MUR |
|---|---|---|---|---|
| Package | 44-VQFN (7x7) | 44-VQFN (7x7) - same | 44-VQFN (7x7) - same | 44-VQFN (7x7) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 16 KB | 128 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 16 KB |
| Max Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| picoPower Technology | Yes | Yes (P revision) | No (A revision) | Yes (P revision) |
| Silicon Revision | PA (functionally identical drop-in for P per AVR527) | P (predecessor) | A (cost-optimized) | 1284P family |
| Drop-in Relation | Reference | Pin-to-pin, code-compatible | Pin-to-pin, code-compatible | Pin-to-pin, code-compatible (more memory) |
主な差別化要因
- picoPower low-sleep-current silicon (vs ATMEGA164A-MU)
- Drop-in migration from ATmega164P (vs ATMEGA164P-20MUR)
- Flash upgrade path on identical footprint (vs ATMEGA1284P-MUR)
設計ノート
The 44-VQFN (7x7 mm) exposed pad is the primary ground return and must be soldered to a grounded copper pour with an array of thermal vias (typically 4-9 vias under the pad). Poor exposed-pad soldering causes intermittent ground faults and elevated EMC emissions that are very hard to debug. Follow the Microchip QFN land-pattern application guidance: use a solder-mask-defined aperture slightly smaller than the pad and a printed or stencil paste pattern of ~50-70% coverage on the center pad to prevent float during reflow.
Decouple VCC and AVCC separately: place 100 nF ceramic capacitors within 2-3 mm of pins 1 (VCC) and 20 (AVCC), plus a bulk 4.7-10 uF capacitor near the IC. Connect AVCC to VCC through a low-pass filter (e.g., 10 uH inductor or ferrite plus capacitor) when ADC accuracy matters, and tie AREF to a 100 nF capacitor - never to a large reservoir cap alone. In picoPower designs, ensure residual board leakage and pull-ups on unused I/O are minimized, otherwise sleep current targets will not be met.
Clock speed is voltage-dependent: do not run 20 MHz below the datasheet's minimum VCC for that frequency, or marginal timing will appear only over temperature - check the speed versus VCC curve in the family datasheet before fixing the crystal. RESET (pin 37) needs a 10 k pull-up for reliable power-on; when using debugWire, note that disabling RESET for debugWire output makes subsequent ISP reprogramming require a 12V high-voltage programmer unless debugWire is disabled first. Finally, keep JTAG-enable fuse state in mind: PC2-PC5 default to JTAG and lose general I/O function until the JTAG fuse is cleared.
コンプライアンス情報
Mouser lists the part as GRN (green); Microchip standard ATmega packaging is RoHS-compliant and lead-free. REACH and conflict minerals status not stated in provided data.