EmbeddedRelated.com
The 2026 Embedded Online Conference
ATTINY85-20PU

MCHPATTINY85-20PU

Microchip Technology
8-bit Microcontrollers - MCU 8kB Flash 0.512kB EEPROM 6 I/O Pins
6,974 in stock

Overview

The ATTINY85-20PU is a high-performance, low-power 8-bit AVR RISC-based microcontroller featuring 8KB of flash memory and 512 bytes of EEPROM. This specific variant comes in a 8-pin PDIP package, making it a favorite for through-hole prototyping and space-constrained applications requiring up to 20MHz operation.

Why Choose This Part

The component offers a balanced feature set in a minimal 8-pin footprint, including 512 bytes of SRAM and a dedicated watchdog timer. Its through-hole PDIP package allows for easy socketing and manual soldering during the development of proof-of-concept designs.

Applications

Portable Consumer Electronics
Utilizes low-power modes like Power-down (2uA) and ADC Noise Reduction to extend battery life in small handheld devices.
LED Control and Dimming
Leverages the 8-bit high-speed timer/counter with separate prescaler and two PWM channels for precise lighting control.
Sensor Interface
Integrated 10-bit ADC and Universal Serial Interface (USI) allow for simple analog-to-digital conversion and basic serial communication.
Signal Conditioning
The on-chip analog comparator and programmable dead time generator enable basic motor control or signal processing tasks.

Key Specifications

Speed 20MHz
RAM Size 512 x 8
Core Size 8-Bit
EEPROM Size 512 x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity USI
Mounting Type Through Hole
Number of I/O 6
Core Processor AVR
Package / Case 8-DIP (0.300", 7.62mm)
Data Converters A/D 4x10b
Oscillator Type Internal
Program Memory Size 8KB (4K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 8-PDIP
Voltage - Supply (Vcc/Vdd) 2.7V ~ 5.5V

Getting Started

To program this MCU, use an AVR ISP programmer such as the AVRisp mkII or a Microchip MPLAB Snap. Development can be performed in Microchip Studio or via the Arduino IDE using the ATTinyCore board support package for a simplified workflow.

Part of ATtiny family » ATTINY85

ATTINY85 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Package Stock
ATTINY85-20PU (this part) DIP-8 6,974
ATTINY85-20SU SOIC-8 11,236
ATTINY85-20SUR SOIC-8 21,812
Also available as: ATTINY85-20MU

Also Consider

ATTINY85-20SU MCHPMicrochip Technology - This is the surface-mount SOIC-8 version of the same microcontroller for production PCB designs.
ATTINY45-20PU MCHPMicrochip Technology - A pin-compatible alternative with 4KB of flash memory for applications with smaller code requirements.
ATMEGA328P-PU MCHPMicrochip Technology - Offers significantly more I/O pins and memory if the 8-pin constraints of the ATTINY85 are too restrictive.
The 2026 Embedded Online Conference