ATMEGA164PV-10PU - 8-bit AVR MCU 16KB Flash 40-PDIP | Microchip
MPN: ATMEGA164PV-10PU β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.26 | $2.26 |
| 10 | $2.1 | $21.00 |
| 100 | $1.95 | $195.00 |
| 500 | $1.82 | $910.00 |
| 1,000 | $1.7 | $1,700.00 |
ATMEGA164PV-10PU Overview
An 8-bit AVR microcontroller is a single-chip computer that integrates a RISC processor core, program FLASH, data SRAM, EEPROM, timers, serial peripherals, and analog-to-digital conversion on one die. Within the embedded systems hierarchy it belongs to the microcontroller -> embedded processor -> semiconductor taxonomy, sitting below 32-bit MCUs and above simple 8-bit controllers in capability. The AVR architecture executes most of its 133 instructions in a single clock cycle through its 32 general-purpose working registers, delivering up to 10 MIPS at 10 MHz.
Key features include the picoPower technology for ultra-low sleep-mode consumption, 16KB of self-programmable ISP FLASH with read-while-write support, and a rich peripheral set: two USARTs, three flexible timer/counters with compare modes and PWM, a 10-bit ADC, byte-oriented Two-Wire Interface (I2C-compatible), SPI serial port, programmable watchdog timer, internal calibrated RC oscillator, and on-chip debug capability via JTAG. The wide 1.8V to 5.5V supply range and 'V' speed grade make it tolerant of battery voltage sag.
Architecturally, the device uses an advanced Harvard-structure RISC core with single-cycle instruction execution, hardware multiplier support in the ATmega family, and in-system programming via SPI, enabling firmware updates on assembled boards without a socket.
Typical applications include industrial control panels, battery-powered instruments, educational and hobby embedded platforms, and legacy AVR board maintenance where a through-hole 40-pin DIP footprint is required.
When designing with this part, remember the 'PV' suffix denotes a 10 MHz maximum clock at the low-voltage grade; for new designs Microchip recommends the newer ATMEGA164PA family, which is parameter-similar and footprint-compatible.
This page synthesizes distributor pricing, drop-in alternatives, pinout data, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for ATMEGA164PV-10PU β 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 ATMEGA164PV-10PU (same form factor and footprint) β differing in Core Architecture, Package, Debug Interface, EEPROM, Operating Temperature.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
ATMEGA164A-PU
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
ATMEGA164PA-PU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA324P-PU
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
ATMEGA644-PU
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
ATMEGA16-16PI
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$3.72 / Unit
View Datasheet βATMEGA162-16PU
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$3.1 / Unit
View Datasheet βATMEGA164PV-10PU Maximum Ratings & Electrical Characteristics
| Core Architecture | AVR 8-bit RISC |
| Data Bus Width | 8 Bit |
| Program Memory (FLASH) | 16KB (8K x 16) |
| EEPROM | 512B |
| SRAM | 1KB |
| Maximum Clock Speed | 10 MHz |
| Supply Voltage Range | 1.8 V to 5.5 V |
| General Purpose I/O | 32 I/O lines, 4 x 8-bit ports (A-D) |
| Instruction Set | 133 instructions, most single-cycle |
| Performance | Up to 10 MIPS at 10 MHz |
| USART | 2 x USART |
| Timer/Counters | 3 x timer/counters with compare modes and PWM |
| Serial Interfaces | Two-Wire Interface (I2C), SPI, 2 x USART |
| Package | 40-PDIP (through-hole, 53.3 mm row spacing typical) |
| Low Power Technology | picoPower |
| Programming / Debug | ISP via SPI, JTAG on-chip debug |
| Lifecycle Stage | Active (newer ATMEGA164PA available) |
ATMEGA164PV-10PU Pin Configuration
| Pin 1 | VCC β Digital supply voltage |
| Pin 2 | PA0 (ADC0) β Port A bit 0 / ADC channel 0 |
| Pin 3 | PA1 (ADC1) β Port A bit 1 / ADC channel 1 |
| Pin 4 | PA2 (ADC2) β Port A bit 2 / ADC channel 2 |
| Pin 5 | PA3 (ADC3) β Port A bit 3 / ADC channel 3 |
| Pin 6 | PA4 (ADC4) β Port A bit 4 / ADC channel 4 |
| Pin 7 | PA5 (ADC5) β Port A bit 5 / ADC channel 5 |
| Pin 8 | PA6 (ADC6) β Port A bit 6 / ADC channel 6 |
| Pin 9 | PA7 (ADC7) β Port A bit 7 / ADC channel 7 |
| Pin 10 | PB0 (XCK0/T0) β Port B bit 0 / USART0 external clock / Timer0 clock input |
| Pin 11 | PB1 (T1/OC1A) β Port B bit 1 / Timer1 clock input / Timer1 output compare A |
| Pin 12 | PB2 (INT2/AIN0) β Port B bit 2 / external interrupt 2 / analog comparator input + |
| Pin 13 | PB3 (OC0/AIN1) β Port B bit 3 / Timer0 output compare / analog comparator input - |
| Pin 14 | PB4 (SS) β Port B bit 4 / SPI slave select |
| Pin 15 | PB5 (MOSI) β Port B bit 5 / SPI master output, slave input |
| Pin 16 | PB6 (MISO) β Port B bit 6 / SPI master input, slave output |
| Pin 17 | PB7 (SCK/OC2) β Port B bit 7 / SPI clock / Timer2 output compare |
| Pin 18 | RESET β Active-low reset input (active-low, 10k pull-up recommended) |
| Pin 19 | VCC β Digital supply voltage |
| Pin 20 | GND β Ground |
| Pin 21 | XTAL2 β Crystal oscillator output |
| Pin 22 | XTAL1 β Crystal oscillator input / external clock input |
| Pin 23 | PC0 (SCL) β Port C bit 0 / Two-Wire Interface clock |
| Pin 24 | PC1 (SDA) β Port C bit 1 / Two-Wire Interface data |
| Pin 25 | PC2 (TCK) β Port C bit 2 / JTAG test clock |
| Pin 26 | PC3 (TMS) β Port C bit 3 / JTAG test mode select |
| Pin 27 | PC4 (TDO) β Port C bit 4 / JTAG test data output |
| Pin 28 | PC5 (TDI) β Port C bit 5 / JTAG test data input |
| Pin 29 | PC6 (TOSC1) β Port C bit 6 / Timer2 oscillator input (32.768 kHz) |
| Pin 30 | PC7 (TOSC2) β Port C bit 7 / Timer2 oscillator output (32.768 kHz) |
| Pin 31 | PD0 (RXD0) β Port D bit 0 / USART0 receive |
| Pin 32 | PD1 (TXD0) β Port D bit 1 / USART0 transmit |
| Pin 33 | PD2 (RXD1/INT0) β Port D bit 2 / USART1 receive / external interrupt 0 |
| Pin 34 | PD3 (TXD1/INT1) β Port D bit 3 / USART1 transmit / external interrupt 1 |
| Pin 35 | PD4 (OC1B) β Port D bit 4 / Timer1 output compare B |
| Pin 36 | PD5 (OC1A) β Port D bit 5 / Timer1 output compare A |
| Pin 37 | PD6 (OC2B/ICP) β Port D bit 6 / Timer2 output compare B / Timer1 input capture |
| Pin 38 | PD7 (OC2A/OC0A) β Port D bit 7 / Timer2 output compare A / Timer0 output compare A |
| Pin 39 | AVCC β Analog supply voltage for ADC |
| Pin 40 | AREF β Analog reference voltage for ADC |
Typical Applications
ATMEGA164PV-10PU is suitable for 6 applications: Industrial Control Panels, Battery-Powered Instruments, Educational and Hobby Embedded Platforms, Legacy AVR Board Maintenance, Embedded Communication Nodes, Motor and Lighting PWM Control.
Industrial Control Panels
The ATMEGA164PV-10PU fits industrial control and automation panels where a reliable through-hole MCU simplifies prototyping and field repair. Its two independent USARTs allow simultaneous Modbus RTU (RS-485) and HMI/debug (RS-232) channels, while three timer/counters with PWM drive relays, motors, or dimmers. The watchdog timer with separate oscillator recovers from firmware lockups, and the 16KB FLASH with ISP enables firmware updates over the serial line on installed boards. Operating from a 5V industrial rail with the wide 1.8V to 5.5V tolerance, it survives brownout events, and JTAG debugging accelerates commissioning of logic-heavy sequence control code.
Recommended
Battery-Powered Instruments
Because picoPower technology gives the ATMEGA164PV-10PU microamp-scale sleep currents and its supply range spans 1.8V to 5.5V, it is well matched to portable meters, loggers, and sensor nodes running from two or three alkaline cells. Power-save and power-down sleep modes with the asynchronous Timer2 keep a real-time clock alive while the CPU sleeps, and the 10-bit ADC samples sensor inputs (temperature, strain, voltage) before waking the core only when thresholds are crossed. The 10 MHz 'V' grade runs the full clock at low battery voltage, so performance does not degrade as cells discharge - a practical advantage over 5V-only ATmega parts.
Recommended
Educational and Hobby Embedded Platforms
The 40-PDIP through-hole package of the ATMEGA164PV-10PU is a major asset in education and hobby projects: it is solderable by hand, socketable, and easily replaced after wiring mistakes. The MightyCore Arduino hardware package directly supports the ATmega164, so students can use the Arduino IDE with standard avr-gcc toolchains, and ISP programming needs only six jumper wires from a USBasp or Arduino-as-ISP. With 32 GPIO lines across four ports, two USARTs, and PWM on multiple pins, it drives LCDs, servos, and breadboard prototypes, while the rich register-level documentation teaches fundamentals of timers, interrupts, and serial protocols without hidden silicon complexity.
Recommended
Legacy AVR Board Maintenance
Many installed products were designed around ATmega16/32/164 PDIP-40 sockets, and the ATMEGA164PV-10PU, together with its ATMEGA164A/PA siblings, provides a sanctioned replacement path that keeps those boards serviceable without PCB changes. Because the family shares an identical pinout and largely identical register map, service technicians can stock one 16KB part family for multiple board generations, reprogramming existing FLASH images via ISP after replacement. The active lifecycle status of the PA variants means repair stock will remain available long after the PV grade fades from distribution - source both on this page and standardize the newer part for future service kits.
Recommended
Embedded Communication Nodes
With two hardware USARTs, a hardware SPI port, and a byte-oriented Two-Wire Interface (I2C), the ATMEGA164PV-10PU can bridge three serial domains in one node - for example RS-485 field bus on USART0, a wireless module on USART1, and I2C sensors plus SPI FLASH in parallel. The USARTs include hardware baud-rate generation and framing-error detection for robust 9600-115200 baud links, while SPI runs at up to master clock/2 for fast external memory. Read-while-write FLASH lets the node log small records into unused program space or update its bootloader, and the 1KB SRAM buffers packets without external RAM in most sensing applications.
Recommended
Motor and Lighting PWM Control
The three timer/counters of the ATMEGA164PV-10PU deliver hardware PWM on multiple channels with compare-match outputs, enabling DC motor speed control, servo positioning, and LED dimming without software bit-banging. Two 8-bit timers handle fast PWM for lighting dimming at several kHz, while the 16-bit Timer1 generates servo-accurate 50 Hz pulses or high-resolution motor control with input-capture measurement of feedback (encoder or tachometer) edges. Running the core at 10 MHz provides 8-bit PWM resolution at roughly 39 kHz - above audible range for fan and LED applications - and the 32 GPIO lines leave ample pins for limit switches, displays, and user controls.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA164PV-10PU β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA164A-PU | ATMEGA324P-PU | ATMEGA644-PU | ATMEGA16-16PI |
|---|---|---|---|---|---|
| Package | 40-PDIP | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| FLASH Memory | 16KB (8K x 16) | 16KB | 32KB | 64KB | 16KB |
| SRAM | 1KB | 1KB | 2KB | 4KB | 1KB |
| EEPROM | 512B | 512B | 1KB | 2KB | 512B |
| Max Clock Speed | 10 MHz | 20 MHz (A grade) | 20 MHz (P grade) | 20 MHz (P grade) | 16 MHz (I grade at 4.5-5.5V) |
| Supply Voltage Range | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 2.7 V to 5.5 V (V) / 4.5-5.5V at 20MHz | 4.5 V to 5.5 V |
| USARTs | 2 | 2 | 2 | 2 | 1 |
| Low-Power / picoPower | Yes (picoPower) | Yes | Yes (picopower P grade) | Yes (P grade) | No (legacy power modes) |
| JTAG Debug | Yes | Yes | Yes | Yes | Yes (JTAG, no debugWIRE) |
Key Differentiators
- PicoPower low-current sleep modes with wide 1.8V supply floor (vs ATMEGA16-16PI)
- Two hardware USARTs for multi-protocol designs (vs ATMEGA16-16PI)
- Same-footprint memory upgrade path (vs ATMEGA324P-PU)
- Newer silicon and errata base (vs ATMEGA164A-PU)
Design Notes
Decouple both VCC pins (1 and 19) and AVCC (pin 39) with 100 nF ceramic capacitors placed within a few millimeters of each pin, plus one 4.7-10 uF bulk capacitor per board. AVCC must be connected even if the ADC is unused, otherwise the ADC and in some modes port A misbehave; connect AVCC to VCC through a small LC or RC filter (e.g., 10R + 100 nF) for clean ADC reference supply. AREF should be decoupled with 100 nF to GND when using the internal reference or an external reference on pin 40.
Fuse misconfiguration is the most common failure mode with this part: selecting a crystal source without a crystal, or disabling RESET (RSTDISBL), can render the chip unresponsive. Keep a high-voltage parallel programmer or an external 1-8 MHz clock generator on hand for fuse recovery. Tie RESET (pin 18) to VCC through 10k and optionally add a 100 nF to GND and a diode to VCC for brownout robustness. Verify clock-source fuses before changing CKDIV8 or CKOUT settings in production firmware.
For ISP programming, route MOSI (PB5, pin 15), MISO (PB6, pin 16), SCK (PB7, pin 17), and RESET (pin 18) to a 2x3 (or 2x5) header with short direct traces; add 100R series resistors if those lines also drive noisy loads like MOSFET drivers or LED strings. Keep the 32.768 kHz TOSC crystal (pins 29-30) traces short and guarded from switching signals to preserve the asynchronous Timer2 accuracy used in real-time clock applications.
At 10 MHz with all 32 GPIOs toggling, ground bounce can appear on port pins far from the ground return; use solid ground planes and group related outputs to one port. When driving long cables from the USARTs or SPI, add series termination (33-100R) at the MCU pins and route away from the XTAL lines. If the JTAG interface is unused, disable JTAGEN in fuses to free PC2-PC5 (pins 25-28) as general-purpose I/O - note a JTD bit write sequence is required for run-time enabling.
Compliance Information
Compliance status was not stated in the retrieved web data; verify against Microchip's official product compliance page before procurement.