ATMEGA164PV-10PQ - 8-bit AVR MCU 16KB 10MHz 40-PDIP | Microchip
MPN: ATMEGA164PV-10PQ β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.62 | $4.62 |
| 10 | $4.16 | $41.60 |
| 100 | $3.61 | $361.00 |
| 500 | $3.2 | $1,600.00 |
| 1,000 | $2.85 | $2,850.00 |
ATMEGA164PV-10PQ Overview
An 8-bit AVR ATmega microcontroller is a Harvard-architecture RISC processor in the broader hierarchy of microcontroller units (MCU) within embedded semiconductor devices. The AVR family executes most of its 131 instructions in a single clock cycle, and the ATmega164P generation adds picoPower technology, which cuts active and sleep-mode current for battery-operated designs. Microcontrollers of this class integrate program FLASH, SRAM, EEPROM, timers, serial interfaces, and an ADC on one chip, replacing multi-chip solutions.
Key features include 16KB of in-system-programmable FLASH with read-while-write support, 32 general-purpose I/O lines, two USARTs, a byte-oriented Two-Wire Interface (TWI/I2C), an SPI port, and an 8-channel 10-bit ADC. The wide 1.8V to 5.5V supply range lets one design span low-voltage battery and 5V industrial environments.
Technically, the advanced RISC core delivers up to 10 MIPS at 10 MHz with fully static operation. Three flexible timer/counters with compare modes and PWM, a real-time counter, and programmable brown-out detection complete the peripheral set. JTAG (on compatible packages) and ISP programming simplify development.
Typical applications include industrial control panels, sensor data loggers, motor and lighting control, and educational or hobby embedded systems where the through-hole 40-PDIP package is preferred for prototyping and field replacement.
Design consideration: keep the ADC reference clean by decoupling AVCC (pin 30) and AREF (pin 32) separately from the digital VCC rail; and note the 10 MHz speed grade, not 20 MHz, when porting code from faster ATmega164PA variants.
This page synthesizes verified distributor data, family drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a single citable reference.
Drop-in alternatives for ATMEGA164PV-10PQ β 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-10PQ (same form factor and footprint) β differing in Mounting Type, Serial Interfaces.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
ATMEGA164PA-PU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA324PV-10PU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA644PV-10PQ
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA16-16PI
β Drop-Inβ In Stock
$3.72 / Unit
View Datasheet βATMEGA162V-8PI
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA164PV-10PQ Maximum Ratings & Electrical Characteristics
| Core Processor | AVR |
| Core Size | 8-Bit |
| Speed | 10 MHz |
| Program Memory Size | 16 KB (8K x 16) FLASH |
| Program Memory Type | FLASH (ISP, read-while-write) |
| RAM Size | 1 KB |
| EEPROM Size | 512 B |
| Number of I/O | 32 |
| Supply Voltage Range | 1.8 V to 5.5 V |
| ADC Resolution | 10-bit |
| ADC Channels | 8 |
| USART Peripherals | 2 |
| Timers | Three timer/counters with compare modes and PWM, real-time counter |
| Serial Interfaces | TWI (I2C), SPI, 2x USART |
| Package | 40-PDIP |
| Mounting Type | Through-Hole |
| Low Power Technology | picoPower |
| MIPS Throughput | Up to 10 MIPS (at 10 MHz) |
| RoHS Status | Compliant (PQ green package suffix) |
ATMEGA164PV-10PQ Pin Configuration
| Pin 1 | PB0 (XCK0/T0) β Port B bit 0, USART0 external clock / Timer0 counter input |
| Pin 2 | PB1 (T1) β Port B bit 1, Timer1 counter input |
| Pin 3 | PB2 (AIN0/INT2) β Port B bit 2, analog comparator input 0 / external interrupt 2 |
| Pin 4 | PB3 (AIN1/OC0A) β Port B bit 3, comparator input 1 / Timer0 PWM output |
| Pin 5 | PB4 (SS/OC1A) β Port B bit 4, SPI slave select / Timer1 PWM output A |
| Pin 6 | PB5 (MOSI/OC1B) β Port B bit 5, SPI master output / Timer1 PWM output B |
| Pin 7 | PB6 (MISO) β Port B bit 6, SPI master input |
| Pin 8 | PB7 (SCK/OC0A) β Port B bit 7, SPI clock / Timer0 PWM output |
| Pin 9 | RESET β Active-low reset input |
| Pin 10 | VCC β Digital supply voltage (1.8 V to 5.5 V) |
| Pin 11 | GND β Ground |
| Pin 12 | XTAL2 β Crystal oscillator output |
| Pin 13 | XTAL1 β Crystal oscillator input / external clock |
| Pin 14 | PD0 (RXD0) β Port D bit 0, USART0 receive |
| Pin 15 | PD1 (TXD0) β Port D bit 1, USART0 transmit |
| Pin 16 | PD2 (RXD1/INT0) β Port D bit 2, USART1 receive / external interrupt 0 |
| Pin 17 | PD3 (TXD1/INT1) β Port D bit 3, USART1 transmit / external interrupt 1 |
| Pin 18 | PD4 (XCK1/OC1B) β Port D bit 4, USART1 external clock / Timer1 PWM output B |
| Pin 19 | PD5 (OC1A) β Port D bit 5, Timer1 PWM output A |
| Pin 20 | PD6 (OC2B) β Port D bit 6, Timer2 PWM output B |
| Pin 21 | PD7 (OC0A) β Port D bit 7, Timer0 PWM output A |
| Pin 22 | PC0 (SCL) β Port C bit 0, TWI clock |
| Pin 23 | PC1 (SDA) β Port C bit 1, TWI data |
| Pin 24 | PC2 (TCK) β Port C bit 2, JTAG test clock |
| Pin 25 | PC3 (TMS) β Port C bit 3, JTAG test mode select |
| Pin 26 | PC4 (TDO) β Port C bit 4, JTAG test data output |
| Pin 27 | PC5 (TDI) β Port C bit 5, JTAG test data input |
| Pin 28 | PC6 (TOSC1) β Port C bit 6, timer oscillator input (32.768 kHz crystal) |
| Pin 29 | PC7 (TOSC2) β Port C bit 7, timer oscillator output |
| Pin 30 | AVCC β Analog supply for ADC (connect to VCC via low-pass filter) |
| Pin 31 | GND β Ground |
| Pin 32 | AREF β ADC reference voltage (decouple to GND) |
| Pin 33 | PA0 (ADC0) β Port A bit 0, ADC channel 0 |
| Pin 34 | PA1 (ADC1) β Port A bit 1, ADC channel 1 |
| Pin 35 | PA2 (ADC2) β Port A bit 2, ADC channel 2 |
| Pin 36 | PA3 (ADC3) β Port A bit 3, ADC channel 3 |
| Pin 37 | PA4 (ADC4) β Port A bit 4, ADC channel 4 |
| Pin 38 | PA5 (ADC5) β Port A bit 5, ADC channel 5 |
| Pin 39 | PA6 (ADC6) β Port A bit 6, ADC channel 6 |
| Pin 40 | PA7 (ADC7) β Port A bit 7, ADC channel 7 |
Typical Applications
ATMEGA164PV-10PQ is suitable for 6 applications: Industrial Control Panels, Battery-Powered Data Loggers, Embedded Educational and Prototyping Systems, Sensor Interfaces and Instrumentation, Motor and Lighting Control, Home Automation and IoT Nodes.
Industrial Control Panels
The ATMEGA164PV-10PQ fits industrial control panels because its 1.8V-5.5V supply tolerance, programmable brown-out detection, and watchdog timer maintain reliable operation on noisy factory power. The 32 GPIO lines drive relays, indicators, and keypads, while the 8-channel 10-bit ADC reads analog transducers such as 4-20 mA-conditioned sensors without an external converter. Two USARTs permit simultaneous Modbus RTU communication and a local HMI link at typical 9600-115200 baud. The through-hole 40-PDIP package sockets into field equipment, enabling board-level replacement without hot-air rework, which lowers maintenance cost in long-lifecycle industrial installations running at 10 MHz, or 10 MIPS of RISC throughput.
Recommended
Battery-Powered Data Loggers
With Microchip picoPower technology, the ATMEGA164PV-10PQ suits battery-powered data loggers that spend most of their life asleep. The real-time counter keeps time in low-power modes while the core sleeps at microamp-class currents, and the 512B EEPROM stores calibration and configuration data through power cycles. The 8-channel 10-bit ADC samples external sensors on demand, and read-while-write FLASH lets the logger record events into program memory without halting execution. Wide 1.8V operation means the same board runs directly from two alkaline cells down to end-of-life voltage, maximizing usable battery capacity compared with 2.7V-minimum controllers.
Recommended
Embedded Educational and Prototyping Systems
The ATMEGA164PV-10PQ is a strong choice for education and prototyping because the 40-PDIP through-hole package can be inserted in a breadboard or ZIF socket, soldered by hand, and replaced easily after student mistakes. The AVR core is programmed via ISP with free toolchains, and 131 mostly single-cycle instructions make assembly-level teaching practical. On-chip peripherals - TWI, SPI, two USARTs, PWM timers, and a 10-bit ADC - expose every major embedded interface in a single 16KB-class chip, and the same knowledge transfers directly to the pin-compatible ATmega324P/644P family as projects grow beyond 16KB.
Recommended
Sensor Interfaces and Instrumentation
For sensor front ends, the ATMEGA164PV-10PQ integrates the full acquisition chain: the 8-channel 10-bit ADC with internal reference options digitizes up to eight analog inputs, PORTA's dedicated AVCC and AREF pins (30 and 32) allow separate clean analog supply decoupling for better noise performance, and the SPI or TWI bus streams results to displays or host controllers. Timer compare units generate precise sample trigger intervals, while the two USARTs report readings to a PC or PLC. Running at 10 MHz from a 5V rail provides 10 MIPS of processing headroom for filtering and linearization math in-line with sampling.
Recommended
Motor and Lighting Control
The ATMEGA164PV-10PQ generates multi-channel PWM for motor drives, LED dimmers, and lamp ballasts using its three flexible timer/counters with compare modes: OC0A, OC1A/OC1B, and OC2B outputs are available on PORTB and PORTD pins, enabling several independent PWM channels from one 40-PDIP device. The fast 10-bit ADC reads current-sense shunts and potentiometers for closed-loop speed or brightness control, while hardware USART handles host commands. Brown-out detection safely gates outputs during supply dips, protecting power stages. Operating across 1.8V-5.5V lets the same controller board serve both 3.3V logic-led designs and 5V gate-driver interfaces.
Recommended
Home Automation and IoT Nodes
In home automation nodes, the ATMEGA164PV-10PQ acts as the local controller connecting sensors and actuators over its hardware TWI (I2C) and SPI buses to RF modules, RTCs, and EEPROMs. PicoPower sleep modes keep wall-powered or battery-backed nodes cool and efficient, and the 512B EEPROM retains scene configuration across outages. One USART can bridge to a Wi-Fi or Zigbee module while the second services a service/debug console - a flexibility the single-USART ATmega16 lacks. The 10 MHz clock with fully static operation allows clock scaling to trade throughput for current in always-on monitoring duties.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA164PV-10PQ β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA164PA-PU | ATMEGA324PV-10PU | ATMEGA644PV-10PQ | ATMEGA16-16PI | ATMEGA162V-8PI |
|---|---|---|---|---|---|---|
| Package | 40-PDIP | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program FLASH | 16 KB | 16 KB | 32 KB | 64 KB | 16 KB | 16 KB |
| SRAM | 1 KB | 1 KB | 2 KB | 4 KB | 1 KB | 1 KB |
| Supply Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 4.5 V to 5.5 V | 2.7 V to 5.5 V |
| USART Count | 2 | 2 | 2 | 2 | 1 | 2 |
| picoPower Low Sleep Current | Yes | Yes | Yes | Yes | No | No |
| Lifecycle Note | Active; PA recommended for new designs | Active (designated successor) | Active | Active | Active (legacy) | Active (legacy) |
Key Differentiators
- picoPower low-power technology (vs ATMEGA16-16PI)
- Two USARTs in a 40-PDIP socket (vs ATMEGA16-16PI)
- Guaranteed memory upgrade path in the same socket (vs ATMEGA324PV-10PU)
- Wide 1.8V low-voltage operation (vs ATMEGA16-16PI)
Design Notes
On the 40-PDIP, pin 10 (VCC) and pin 30 (AVCC) should each get a 100 nF ceramic decoupling capacitor placed as close to the pin as practical. Connect AVCC to VCC through an LC or RC low-pass filter (e.g., 10 ohm resistor plus 100 nF/10 uF) when ADC accuracy matters, and tie AREF (pin 32) to GND through a 100 nF capacitor unless using an external reference. Both GND pins (11 and 31) must be connected; treat the PDIP's shared ground path carefully in noisy environments.
The 'V-10' suffix denotes a 10 MHz speed grade - do not clock the ATMEGA164PV-10PQ at 16 or 20 MHz as you would faster PA-grade parts; exceeding the speed grade at 5V risks unreliable execution. Also, 'PQ' indicates the green/RoHS PDIP, not a QFP. When migrating from ATmega16, remember to change the fuse configuration: the ATmega164P default clock source and JTAG-enable fuses differ, per Microchip application note AVR505.
Leverage picoPower modes: use power-save mode with the asynchronous Timer2 oscillator (32.768 kHz crystal on TOSC1/TOSC2, pins 28-29) for RTC duty, and disable unused peripheral clocks via the Power Reduction Register (PRR) to cut active current. Estimated: cutting an unused ADC and Timer1 from the PRR can reduce active-mode current by a measurable fraction of the ~mA-class base consumption - verify exact figures in the manufacturer datasheet current-consumption tables for your voltage and clock combination.
For the two USARTs and SPI, route clock-bearing traces (SCK on pin 8, XCK pins) away from the ADC analog front end on PORTA (pins 33-40). Series-terminate long SPI lines with 22-47 ohm resistors when cable-connected. Keep the RESET (pin 9) line short and consider an external 10 kohm pull-up plus 100 nF cap for robust in-circuit ISP programming through a 6-pin header, per standard AVR ISP reference designs.
Compliance Information
PQ suffix denotes Microchip green/RoHS PDIP packaging per distributor data. REACH and halogen-free status not stated in provided sources.