ATMEGA165PV-8AN - 8MHz AVR MCU 16KB Flash TQFP-64 | Microchip
MPN: ATMEGA165PV-8AN ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.85 | $4.85 |
| 10 | $4.38 | $43.80 |
| 100 | $3.95 | $395.00 |
| 500 | $3.58 | $1,790.00 |
| 1,000 | $3.25 | $3,250.00 |
ATMEGA165PV-8AN Overview
An 8-bit AVR microcontroller is a reduced-instruction-set (RISC) single-chip processor in the broader hierarchy of embedded processors: microcontroller -> MCU -> embedded processor -> semiconductor. ATmega devices execute most of their 131 powerful instructions in a single clock cycle, achieving up to 16 MIPS throughput in the wider family, and combine flash program memory, EEPROM data memory, SRAM, timers, USARTs, an ADC, and general-purpose I/O on one die.
Key features include the advanced AVR RISC architecture with 32 general-purpose working registers, fully static operation, in-system programmable (ISP) flash with high-endurance non-volatile memory segments, a 10-bit ADC, multiple timers with PWM, and dual USARTs for serial communication. The -8A speed grade specifies 8 MHz maximum clock, and the -V supply option supports a wide 1.8V to 5.5V operating range, allowing battery- and 5V-industrial-compatible designs on the same PCB.
The picoPower-class V variant minimizes active and sleep current, while the industrial temperature grade supports operation in demanding environments. The TQFP-64 gull-wing surface-mount package provides 54 general-purpose I/O lines, simplifying designs with many switches, displays, and peripheral interfaces such as SPI, I2C/TWI, and UART links.
Typical applications include industrial control panels, building automation and HVAC controllers, metering equipment, sensor nodes, and legacy Atmel AVR designs undergoing production restarts where drop-in ATmega165 family continuity matters.
Design consideration: at 8 MHz on a 5V rail, keep decoupling capacitors close to the multiple VCC/GND pin pairs (three on TQFP-64) and route the analog supply through AVCC with an RC filter for best ADC accuracy.
This page synthesizes distributor availability, drop-in alternatives, and practical design guidance not found in a single manufacturer datasheet. Pricing references are estimates as of 2026-09-16.
Drop-in alternatives for ATMEGA165PV-8AN — 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 ATMEGA165PV-8AN (same form factor and footprint) — differing in Package, Timers, Flash Memory, RoHS Status, Communication Interfaces.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
ATMEGA165PA-AU
✅ Drop-In✓ In Stock
$2.05 / Unit
View Datasheet →ATMEGA165A-AU
✅ Drop-In✓ In Stock
$3.47 / Unit
View Datasheet →ATMEGA165PV-8AU
✅ Drop-In✓ In Stock
$2.49 / Unit
View Datasheet →ATMEGA165P-16ANR
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →ATMEGA165PA-AN
✅ Drop-In✓ In Stock
$2.19 / Unit
View Datasheet →ATMEGA165PV-8AN Maximum Ratings & Electrical Characteristics
| Core Architecture | AVR 8-bit RISC |
| Core Size | 8-bit |
| Maximum Clock Frequency | 8 MHz |
| Flash Memory | 16 KB (8K x 16) in-system programmable |
| EEPROM | 512 B |
| SRAM | 1 KB |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Instruction Set | 131 instructions, most single-cycle |
| Number of I/Os | 54 |
| Package | 64-TQFP (14x14 mm), gull wing, square |
| Mounting Type | Surface Mount |
| Temperature Grade | Industrial |
| Adc | 10-bit ADC present |
| Communication Interfaces | USART, SPI, TWI (I2C) |
| Timers | On-chip timers with PWM |
| RoHS Status | Compliant (Green package) |
| Program Memory Type | FLASH, high-endurance non-volatile |
ATMEGA165PV-8AN Pin Configuration
| Pin 1 | PE0 (RXD0/PDI) — Port E bit 0 / USART0 receive |
| Pin 2 | PE1 (TXD0/PDO) — Port E bit 1 / USART0 transmit |
| Pin 3 | PE2 (XCK0/AIN0) — Port E bit 2 / USART0 clock / analog comparator input 0 |
| Pin 4 | PE3 (OC3A/AIN1) — Port E bit 3 / Timer3 output compare A / comparator input 1 |
| Pin 5 | PE4 (OC3B/INT4) — Port E bit 4 / Timer3 output compare B / external interrupt 4 |
| Pin 6 | PE5 (OC3C/INT5) — Port E bit 5 / Timer3 output compare C / external interrupt 5 |
| Pin 7 | PE6 (T3/INT6) — Port E bit 6 / Timer3 clock input / external interrupt 6 |
| Pin 8 | PE7 (ICP3/CLK0/INT7) — Port E bit 7 / Timer3 input capture / interrupt 7 |
| Pin 9 | GND — Digital ground |
| Pin 10 | VCC — Digital supply voltage |
| Pin 11 | PG0 (WR) — Port G bit 0 / external memory write strobe |
| Pin 12 | PG1 (RD) — Port G bit 1 / external memory read strobe |
| Pin 13 | PC0 (A8) — Port C bit 0 / external memory address line |
| Pin 14 | PC1 (A9) — Port C bit 1 / external memory address line |
| Pin 15 | PC2 (A10) — Port C bit 2 / external memory address line |
| Pin 16 | PC3 (A11) — Port C bit 3 / external memory address line |
| Pin 17 | PC4 (A12) — Port C bit 4 / external memory address line |
| Pin 18 | PC5 (A13) — Port C bit 5 / external memory address line |
| Pin 19 | PC6 (A14) — Port C bit 6 / external memory address line |
| Pin 20 | PC7 (A15) — Port C bit 7 / external memory address line |
| Pin 21 | GND — Digital ground |
| Pin 22 | VCC — Digital supply voltage |
| Pin 23 | PD0 (SCL/INT0) — Port D bit 0 / TWI clock / external interrupt 0 |
| Pin 24 | PD1 (SDA/INT1) — Port D bit 1 / TWI data / external interrupt 1 |
| Pin 25 | PD2 (RXD1/INT2) — Port D bit 2 / USART1 receive / external interrupt 2 |
| Pin 26 | PD3 (TXD1/INT3) — Port D bit 3 / USART1 transmit / external interrupt 3 |
| Pin 27 | PD4 (ICP1) — Port D bit 4 / Timer1 input capture |
| Pin 28 | PD5 (XCK1) — Port D bit 5 / USART1 external clock |
| Pin 29 | PD6 (T1) — Port D bit 6 / Timer1 external clock input |
| Pin 30 | PD7 (T2) — Port D bit 7 / Timer2 external clock input |
| Pin 31 | PG2 (ALE) — Port G bit 2 / external memory address latch enable |
| Pin 32 | GND — Digital ground |
| Pin 33 | VCC — Digital supply voltage |
| Pin 34 | PA0 (AD0) — Port A bit 0 / ADC channel 0 / external memory data bus |
| Pin 35 | PA1 (AD1) — Port A bit 1 / ADC channel 1 / external memory data bus |
| Pin 36 | PA2 (AD2) — Port A bit 2 / ADC channel 2 / external memory data bus |
| Pin 37 | PA3 (AD3) — Port A bit 3 / ADC channel 3 / external memory data bus |
| Pin 38 | PA4 (AD4) — Port A bit 4 / ADC channel 4 / external memory data bus |
| Pin 39 | PA5 (AD5) — Port A bit 5 / ADC channel 5 / external memory data bus |
| Pin 40 | PA6 (AD6) — Port A bit 6 / ADC channel 6 / external memory data bus |
| Pin 41 | PA7 (AD7) — Port A bit 7 / ADC channel 7 / external memory data bus |
| Pin 42 | AVCC — Analog supply voltage for ADC and Port F |
| Pin 43 | PF0 (ADC0) — Port F bit 0 / ADC channel 0 |
| Pin 44 | PF1 (ADC1) — Port F bit 1 / ADC channel 1 |
| Pin 45 | PF2 (ADC2) — Port F bit 2 / ADC channel 2 |
| Pin 46 | PF3 (ADC3) — Port F bit 3 / ADC channel 3 |
| Pin 47 | PF4 (ADC4/TCK) — Port F bit 4 / ADC channel 4 / JTAG test clock |
| Pin 48 | PF5 (ADC5/TMS) — Port F bit 5 / ADC channel 5 / JTAG test mode select |
| Pin 49 | PF6 (ADC6/TDO) — Port F bit 6 / ADC channel 6 / JTAG test data out |
| Pin 50 | PF7 (ADC7/TDI) — Port F bit 7 / ADC channel 7 / JTAG test data in |
| Pin 51 | AREF — Analog reference voltage for ADC |
| Pin 52 | GND — Analog ground |
| Pin 53 | AVCC — Analog supply voltage |
| Pin 54 | PB0 (SS) — Port B bit 0 / SPI slave select |
| Pin 55 | PB1 (SCK) — Port B bit 1 / SPI serial clock |
| Pin 56 | PB2 (MOSI) — Port B bit 2 / SPI master data out |
| Pin 57 | PB3 (MISO) — Port B bit 3 / SPI master data in |
| Pin 58 | PB4 (OC2A/PCINT4) — Port B bit 4 / Timer2 output compare A / pin change interrupt |
| Pin 59 | PB5 (OC1A/PCINT5) — Port B bit 5 / Timer1 output compare A / pin change interrupt |
| Pin 60 | PB6 (OC1B/PCINT6) — Port B bit 6 / Timer1 output compare B / pin change interrupt |
| Pin 61 | PB7 (OC0A/OC1C/PCINT7) — Port B bit 7 / Timer0 output compare A / Timer1 output compare C / pin change interrupt |
| Pin 62 | PG3 (TOSC2) — Port G bit 3 / Timer oscillator output (32 kHz RTC crystal) |
| Pin 63 | PG4 (TOSC1) — Port G bit 4 / Timer oscillator input (32 kHz RTC crystal) |
| Pin 64 | XTAL1/XTAL2 — Main oscillator pins - verify exact XTAL1/XTAL2 split against datasheet |
Typical Applications
ATMEGA165PV-8AN is suitable for 6 applications: Industrial Control Panels, Building Automation and HVAC Controllers, Metering and Measurement Equipment, Sensor Nodes and Data Loggers, Legacy Atmel Design Production Restarts, Automotive and Marine Instrument Clusters.
Industrial Control Panels
The ATMEGA165PV-8AN fits industrial control panels because its 54 GPIO lines drive relays, contactors, indicator lamps, and keypad matrices directly, while the 10-bit ADC reads potentiometer-setpoints and sensor channels without an external converter. The dual USARTs allow simultaneous connection of an HMI display and a Modbus RTU link on one chip, and the industrial temperature grade covers cabinet environments. Operating at 8 MHz from a 5V industrial rail provides deterministic single-cycle instruction execution for time-critical interlock logic, and the 16 KB flash holds ladder-style control code with room for bootloader updates via the ISP interface.
Recommended
Building Automation and HVAC Controllers
In building automation and HVAC controllers, the ATMEGA165PV-8AN combines a wide 1.8V-5.5V supply range, TWI (I2C) for temperature and humidity sensors, and timer PWM outputs for damper and valve actuation on a single 64-pin TQFP device. The picoPower-class V variant keeps standby current low so a controller can run from a backup battery during outages, while the 1 KB SRAM handles protocol buffers for networked communication. The 16 KB in-system-programmable flash supports field firmware updates over the serial link, an important serviceability feature for rooftop units, air handlers, and zone controllers deployed for long service lifetimes.
Recommended
Metering and Measurement Equipment
The ATMEGA165PV-8AN suits utility metering and measurement equipment because its 10-bit ADC with AVCC filtering digitizes current-transformer and voltage-divider channels, while timers capture pulse outputs from energy meters. The 8 MHz clock is slow enough for low EMI in dense meter PCBs yet sufficient for RMS computation of 50/60 Hz waveforms. EEPROM retains calibration constants and consumption logs through power loss, and the TQFP-64's many I/O lines interface to LCD segments, optical comm ports, and tamper switches. The wide supply range tolerates the sagging supplies typical of meter power circuits derived from the mains.
Recommended
Sensor Nodes and Data Loggers
For battery-powered sensor nodes and data loggers, the ATMEGA165PV-8AN's V-suffix supply range (1.8V-5.5V) allows direct operation from two alkaline cells or a single lithium cell through the full discharge curve. The picoPower-class design sleeps in power-down mode between samples, waking on timer or external interrupt to convert a sensor with the 10-bit ADC and log results to EEPROM or external flash over SPI. At 8 MHz active processing is brief, so average current is dominated by sleep current - the key figure of merit for multi-year battery life in agricultural monitoring, cold-chain logging, and environmental telemetry deployments.
Recommended
Legacy Atmel Design Production Restarts
Many legacy products designed around the Atmel ATmega165 in the early 2000s require production restarts today. The ATMEGA165PV-8AN is the currently supported Microchip Technology part number for that design: identical die-level function, TQFP-64 footprint, and AVR instruction set, so existing firmware compiled in avr-gcc or IAR rebuilds without porting. BOM managers can also qualify the ATMEGA165PA-AU as a second source on the same land pattern, following Microchip's official alternate-part guidance for ATmega MCUs to mitigate the periodic allocation this legacy family experiences.
Recommended
Automotive and Marine Instrument Clusters
Instrument clusters and dash gauges use the ATMEGA165PV-8AN where its many I/O lines drive stepper-gauge motors and warning lamps, the ADC samples fuel and temperature senders, and USARTs link to the vehicle body controller. The industrial-grade temperature spec and fully static core (operation can be clocked down or stopped safely) fit the harsh electrical environment after load-dump protection circuitry. The 8 MHz rating keeps radiated emissions within limits for EMC-sensitive cabin electronics, and the JTAG interface supports in-circuit firmware updates during vehicle service without removing the cluster from the dashboard.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA165PV-8AN — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA165PA-AU | ATMEGA165A-AU | ATMEGA165PV-8AU | ATMEGA165P-16AN |
|---|---|---|---|---|---|
| Package | 64-TQFP (14x14 mm) | 64-TQFP (14x14 mm) - same | 64-TQFP (14x14 mm) - same | 64-TQFP (14x14 mm) - same | 64-TQFP - same |
| Brand | Microchip Technology (Atmel) | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology (Atmel) |
| Flash Memory | 16 KB | 16 KB | 16 KB | 16 KB | 16 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| Power Feature | picoPower-class V variant | picoPower A-generation | Standard grade | picoPower V variant | Standard P grade |
| Temperature Grade | Industrial | Industrial | Industrial | Industrial | Industrial |
Key Differentiators
- Wide 1.8V-5.5V supply range on one design (vs ATMEGA165P-16AN)
- More I/O than the ATmega164 subfamily (vs ATMEGA164PV-10PU)
- picoPower-class consumption with full family compatibility (vs ATMEGA165PA-AU)
Design Notes
The TQFP-64 ATMEGA165PV-8AN has multiple VCC/GND pin pairs (pins 9/10, 21/22, 32/33); place a 100 nF ceramic capacitor within 2-3 mm of each pair plus one 4.7-10 uF bulk capacitor at the supply entry. Follow the Microchip AVR hardware design considerations application note for the decoupling topology. Poor decoupling on this family shows up as ADC noise and sporadic flash corruption during programming, so treat the decoupling network as a critical, not optional, part of the layout.
Connect AVCC (pins 42/53) to the digital rail through a small RC filter (e.g., 10 ohm series resistor plus 100 nF to ground) and tie AREF to its recommended decoupling when using the internal reference. Never leave AVCC unconnected even if the ADC is unused - the Port F I/O and JTAG cells depend on it. Estimated: keeping analog ripple below 1 LSB of a 10-bit ADC on a 5 V rail means keeping AVCC noise under about 4.9 mV.
Verify the speed grade before substitution: the -8A suffix limits the clock to 8 MHz, while the ATMEGA165P-16AN allows 16 MHz - fitting a 16 MHz crystal to this part will cause out-of-spec operation and unreliable USART timing. Also note the JTAG pins are shared with ADC4-ADC7 on Port F: if your design uses those ADC channels, disable JTAG via the fuse bits after programming, otherwise the pins are held in JTAG mode at reset.
Compliance Information
Mouser and DigiKey list the part as 'GRN' (green/halogen-free, RoHS-compliant) package. AEC-Q100 qualification is not indicated in the provided data for this industrial-grade part.