ATMEGA165PV-8AU - AVR 8-bit MCU 8MHz 16KB Flash | Microchip
MPN: ATMEGA165PV-8AU β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.85 | $3.85 |
| 10 | $3.47 | $34.70 |
| 100 | $3.08 | $308.00 |
| 500 | $2.77 | $1,385.00 |
| 1,000 | $2.49 | $2,490.00 |
ATMEGA165PV-8AU Overview
A microcontroller unit (MCU) is a single-chip computer that integrates a processor core, memory, and programmable peripherals on one die, sitting at the device level of the embedded-systems hierarchy below system-on-chip (SoC) and above simple logic ICs. The AVR family popularized the modified Harvard RISC architecture with single-cycle instruction execution, and this device belongs to the ATmega product line, itself a member of the broader 8-bit microcontroller category that also includes the PIC and 8051 families.
Key features of the ATMEGA165PV-8AU include the picoPower-qualified P variant silicon, which supports operating voltages from 2.5V to 5.5V and low idle/power-down current for battery-powered designs. Peripherals comprise two 8-bit timers and two 16-bit timers with PWM channels, an 8-channel 10-bit ADC with internal bandgap reference, a universal synchronous/asynchronous receiver-transmitter (USART), a two-wire interface (TWI, I2C-compatible), an SPI serial port, an on-chip JTAG debug/programming interface with boundary scan, and an analog comparator.
Architecturally, the AVR core executes most instructions in a single clock cycle through a two-stage pipeline, achieving close to 1 MIPS per MHz. The 16KB FLASH sustains at least 10,000 write/erase cycles, the 512B EEPROM sustains 100,000 cycles, and in-system programming (ISP) via the SPI allows firmware updates after board assembly.
Typical applications include industrial control panels and sensors, HVAC and appliance control, LCD-based instrumentation (the family includes an integrated LCD controller variant lineage), and battery-powered metering where the wide 2.5V-5.5V supply range and low-power sleep modes matter.
For design, remember that the ADC reference can be AVCC, an internal 1.1V bandgap, or AREF, and VCC/AVCC must be decoupled with 100nF ceramics placed close to each supply pin group on the TQFP-64.
This page synthesizes distributor availability, drop-in family alternatives, and practical design notes not found in the manufacturer datasheet; pricing references are as of 2026-09-16.
Drop-in alternatives for ATMEGA165PV-8AU β 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-8AU (same form factor and footprint) β differing in Package, Instruction Set, RoHS Status, Communication Interfaces, Operating Temperature.
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 βATMEGA325PV-8AU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA325P-8AU
β Drop-Inπ Reference alternative (not in catalog)
ATMEGA165PV-8AU Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC |
| Flash Memory | 16 KB (8K x 16) In-System Programmable |
| EEPROM | 512 B |
| SRAM | 1 KB |
| Maximum Clock Frequency | 8 MHz |
| Operating Voltage Range | 2.5 V to 5.5 V |
| I/O Pins | 54 |
| ADC Resolution | 10-bit |
| ADC Channels | 8 |
| Timers/Counters | 2 x 8-bit, 2 x 16-bit |
| Communication Interfaces | USART, SPI, TWI (I2C-compatible) |
| Debug Interface | JTAG (debug + boundary scan) |
| Package | 64-TQFP (14x14 mm) |
| Mounting Type | Surface Mount |
| Low Power Variant | Yes (P-series picoPower silicon) |
| Flash Endurance | 10,000 write/erase cycles |
| EEPROM Endurance | 100,000 write/erase cycles |
| RoHS Status | Compliant |
ATMEGA165PV-8AU Pin Configuration
| Pin 1 | PA0 (ADC0) β Port A bit 0 / ADC channel 0 |
| Pin 2 | PA1 (ADC1) β Port A bit 1 / ADC channel 1 |
| Pin 3 | PA2 (ADC2) β Port A bit 2 / ADC channel 2 |
| Pin 4 | PA3 (ADC3) β Port A bit 3 / ADC channel 3 |
| Pin 5 | PA4 (ADC4) β Port A bit 4 / ADC channel 4 |
| Pin 6 | PA5 (ADC5) β Port A bit 5 / ADC channel 5 |
| Pin 7 | PA6 (ADC6) β Port A bit 6 / ADC channel 6 |
| Pin 8 | PA7 (ADC7) β Port A bit 7 / ADC channel 7 |
| Pin 9 | VCC β Digital supply voltage |
| Pin 10 | GND β Ground |
| Pin 11 | PB0 (SS) β Port B bit 0 / SPI slave select |
| Pin 12 | PB1 (SCK) β Port B bit 1 / SPI clock |
| Pin 13 | PB2 (MOSI) β Port B bit 2 / SPI master out |
| Pin 14 | PB3 (MISO) β Port B bit 3 / SPI master in |
| Pin 15 | PB4 (OC0) β Port B bit 4 / Timer0 output compare |
| Pin 16 | PB5 (OC1A) β Port B bit 5 / Timer1 output compare A |
| Pin 17 | PB6 (OC1B) β Port B bit 6 / Timer1 output compare B |
| Pin 18 | PB7 (OC2) β Port B bit 7 / Timer2 output compare |
| Pin 19 | PE0 (RXD0) β Port E bit 0 / USART receive |
| Pin 20 | PE1 (TXD0) β Port E bit 1 / USART transmit |
| Pin 21 | PE2 (XCK0) β Port E bit 2 / USART external clock |
| Pin 22 | PE3 (OC3A) β Port E bit 3 / Timer3 output compare A |
| Pin 23 | PE4 (OC3B) β Port E bit 4 / Timer3 output compare B |
| Pin 24 | PE5 (OC3C) β Port E bit 5 / Timer3 output compare C |
| Pin 25 | PE6 (T3) β Port E bit 6 / Timer3 external clock input |
| Pin 26 | PE7 (ICP3) β Port E bit 7 / Timer3 input capture |
| Pin 27 | PC0 β Port C bit 0 |
| Pin 28 | PC1 β Port C bit 1 |
| Pin 29 | PC2 β Port C bit 2 |
| Pin 30 | PC3 β Port C bit 3 |
| Pin 31 | PC4 β Port C bit 4 |
| Pin 32 | PC5 β Port C bit 5 |
| Pin 33 | PC6 β Port C bit 6 |
| Pin 34 | PC7 β Port C bit 7 |
| Pin 35 | VCC β Digital supply voltage |
| Pin 36 | GND β Ground |
| Pin 37 | PD0 (SCL) β Port D bit 0 / TWI clock |
| Pin 38 | PD1 (SDA) β Port D bit 1 / TWI data |
| Pin 39 | PD2 (RXD1) β Port D bit 2 / USART1 receive |
| Pin 40 | PD3 (TXD1) β Port D bit 3 / USART1 transmit |
| Pin 41 | PD4 (ICP1) β Port D bit 4 / Timer1 input capture |
| Pin 42 | PD5 (OC1A) β Port D bit 5 / Timer1 output compare A |
| Pin 43 | PD6 (OC1B) β Port D bit 6 / Timer1 output compare B |
| Pin 44 | PD7 (OC2) β Port D bit 7 / Timer2 output compare |
| Pin 45 | RESET β Active-low reset input |
| Pin 46 | XTAL1 β Oscillator input |
| Pin 47 | XTAL2 β Oscillator output |
| Pin 48 | PG0 β Port G bit 0 |
| Pin 49 | PG1 β Port G bit 1 |
| Pin 50 | PG2 β Port G bit 2 |
| Pin 51 | PG3 (TOSC2) β Port G bit 3 / RTC oscillator output |
| Pin 52 | PG4 (TOSC1) β Port G bit 4 / RTC oscillator input |
| Pin 53 | PG5 (OC0B) β Port G bit 5 / Timer0 output compare B |
| Pin 54 | AVCC β ADC supply voltage |
| Pin 55 | AREF β ADC reference voltage |
| Pin 56 | GND β Ground |
| Pin 57 | PF0 (ADC0) β Port F bit 0 / ADC channel 0 |
| Pin 58 | PF1 (ADC1) β Port F bit 1 / ADC channel 1 |
| Pin 59 | PF2 (ADC2) β Port F bit 2 / ADC channel 2 |
| Pin 60 | PF3 (ADC3) β Port F bit 3 / ADC channel 3 |
| Pin 61 | PF4 (ADC4/TCK) β Port F bit 4 / ADC channel 4 / JTAG test clock |
| Pin 62 | PF5 (ADC5/TMS) β Port F bit 5 / ADC channel 5 / JTAG test mode select |
| Pin 63 | PF6 (ADC6/TDO) β Port F bit 6 / ADC channel 6 / JTAG test data out |
| Pin 64 | PF7 (ADC7/TDI) β Port F bit 7 / ADC channel 7 / JTAG test data in |
Typical Applications
ATMEGA165PV-8AU is suitable for 6 applications: Industrial Control Panels, HVAC and Appliance Control, Battery-Powered Metering, Human-Machine Interfaces and LCD Panels, Sensor Nodes and Data Loggers, Legacy Embedded Maintenance and Replacement.
Industrial Control Panels
Factory automation nodes, motor-start logic, and machine-state controllers benefit from the ATMEGA165PV-8AU's 54 GPIO lines, which drive relays, indicators, and optocoupled inputs without port expanders. The 5V-tolerant 2.5V-5.5V supply range allows direct operation from industrial 5V rails, while the 10-bit, 8-channel ADC reads potentiometers, current-shunt amplifiers, and temperature sensors at up to roughly 15 kSPS. In-system programmable 16KB FLASH permits field firmware updates over an existing SPI or UART link, and the JTAG interface enables boundary-scan test of assembled panels. Deep power-down modes keep standby current low between duty cycles.
Recommended
HVAC and Appliance Control
Heating, ventilation, and white-goods controllers use the ATMEGA165PV-8AU to sequence fans, compressors, and dampers while monitoring NTC thermistors through its 8-channel 10-bit ADC and internal 1.1V bandgap reference. The four timers (two 8-bit, two 16-bit) generate PWM for triac or FAN drive with hardware support, offloading the AVR RISC core that executes close to 1 MIPS per MHz at 8MHz. The 512B EEPROM stores calibration and user settings across power cycles with 100,000-cycle endurance. Its wide 2.5V-5.5V supply tolerance rides through brownout events when paired with a supervisor, and ISP FLASH simplifies last-mile firmware fixes.
Recommended
Battery-Powered Metering
Utility submeters and portable gauges exploit the P-series picoPower silicon of the ATMEGA165PV-8AU, whose idle and power-down modes stretch battery life in always-on counting applications. The AVR wakes on pin-change or timer interrupts, samples shunt or Hall-effect current signals with the 10-bit ADC, and accumulates readings in 512B of nonvolatile EEPROM before returning to sleep. Operation from 2.5V allows running directly from two alkaline cells or a single lithium cell through a low-cost LDO, while the 1KB SRAM buffers accumulation variables. The TWI interface reads external RTCs and energy-metering front ends over I2C.
Recommended
Human-Machine Interfaces and LCD Panels
Keypad-and-display control boards fit naturally on the ATMEGA165PV-8AU: its ATmega family lineage includes LCD-controller variants, and this device's many port lines drive multiplexed segment LCDs, character modules, or LED arrays directly. The USART connects to touchscreen controllers or a host PC, the TWI bus reads I2C expanders and EEPROMs, and the SPI port drives graphic LCD controllers at hardware speed. JTAG supports in-circuit debugging of menu logic during development and boundary-scan inspection of densely populated HMI boards. The 8MHz clock provides ample headroom for debounce scanning, display refresh, and communication stacks concurrently.
Recommended
Sensor Nodes and Data Loggers
Distributed sensor nodes use the ATMEGA165PV-8AU as the acquisition and logging engine: the 8-channel 10-bit ADC digitizes analog sensors, the USART streams records to a radio or RS-485 transceiver, and SPI moves data to FLASH or SD-card front ends. Sampling routines triggered by timer interrupts deliver deterministic intervals, while the analog comparator provides zero-cross or threshold wake-up without ADC conversion. The 1KB SRAM organizes burst buffers, and EEPROM retains configuration across field swaps. Because the AVR core executes most instructions in one cycle, modest filtering and scaling mathematics complete within tight energy budgets between sleep intervals.
Recommended
Legacy Embedded Maintenance and Replacement
Boards designed around the original ATmega165 continue in service in test equipment, medical accessories, and retrofit controllers. The ATMEGA165PV-8AU serves as the service-replacement part: it shares the 64-TQFP footprint and firmware image format with earlier family members, so existing HEX files program directly over ISP without recompilation in most cases. Rochester Electronics continues distributing the part through the DigiKey Marketplace, providing long-term supply beyond normal channel stock. Engineering teams standardizing replacements should qualify the pin-compatible ATMEGA165PA-AU in parallel to guarantee availability for the next decade of repairs.
Recommended
Recommended Products Summary
Engineering reference data for ATMEGA165PV-8AU β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATMEGA165PA-AU | ATMEGA165A-AU | ATMEGA325PV-8AU |
|---|---|---|---|---|
| Package | 64-TQFP (14x14 mm) | 64-TQFP (14x14 mm) - same | 64-TQFP (14x14 mm) - same | 64-TQFP (14x14 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 16 KB | 32 KB |
| EEPROM | 512 B | 512 B | 512 B | 1 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 2 KB |
| Max Clock Frequency | 8 MHz | 8 MHz | 8 MHz | 8 MHz |
| Operating Voltage | 2.5 V to 5.5 V | 1.8 V to 5.5 V (extended low-voltage) | 2.5 V to 5.5 V | 2.5 V to 5.5 V |
| Power Profile | P-series picoPower | picoPower (lower active/sleep current) | standard | P-series picoPower |
| Pin Compatibility | Reference (64-pin TQFP) | Pin-to-pin compatible | Pin-to-pin compatible | Pin-to-pin compatible (same family footprint) |
Key Differentiators
- Wide low-voltage operating window for battery designs (vs ATMEGA325P-8AU)
- Lower power than the standard-silicon sibling (vs ATMEGA165A-AU)
- Flash-limited versus same-footprint upgrade (vs ATMEGA325PV-8AU)
Design Notes
The 64-TQFP has multiple VCC and GND pairs (two shared groups plus AVCC); each supply pair needs a 100nF X7R ceramic placed within 3-5 mm of the pins, plus one bulk 4.7-10uF capacitor per board. Connect AVCC to VCC through a low-pass RC network (10 ohm + 100nF) when ADC accuracy matters, and tie AREF to GND through 100nF when using internal references. Do not route switching loads under the ADC port traces. Follow the Microchip AVR Hardware Design Considerations application note for TQFP decoupling patterns.
Estimated: at 5V and 8MHz, an ATmega-class core draws roughly 5-7mA active; at 3.3V this drops proportionally. Use the power-down sleep mode between events for battery designs, waking via pin-change or watchdog.brownout detection should be enabled via fuse settings appropriate to the rail (4.3V class for 5V, 2.7V class for 3.3V operation). Verify exact current figures against the ATMEGA165PV datasheet electrical characteristics table rather than relying on family estimates.
JTAG shares pins PF4-PF7 with ADC channels 4-7: if the JTAGEN fuse is left programmed, those four ADC inputs are unusable - disable JTAG in production firmware if you need all eight ADC channels. Also, PC7 doubles as a boot-related function depending on fuse configuration, and RESET must not be repurposed as GPIO unless external reset integrity is sacrificed. When migrating firmware to the ATMEGA165PA-AU, recompile rather than reusing binaries so the linker accounts for the newer device signature.
Compliance Information
RoHS compliance and lead-free construction per distributor listings (green package). Formal REACH and conflict-minerals declarations should be obtained from Microchip's environmental compliance portal.