ATTINY85-20PU
8-bit AVR MicrocontrollerThe ATTINY85-20PU is a 8-bit avr microcontroller from Microchip Technology. View the full ATTINY85-20PU datasheet below including key specifications, pinout.
Official ATTINY85-20PU datasheet (PDF) — the source this page was extracted from.
Manufacturer
Microchip TechnologyCategory
Microcontrollers (MCU)Package
8-DIP (0.300", 7.62mm)
Lifecycle
Active
ATTINY85-20PU Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | USI |
| Core Processor | AVR |
| Core Size | 8-Bit |
| Data Converters | A/D 4x10b |
| DigiKey Programmable | Verified |
| EEPROM Size | 512 x 8 |
| Mounting Type | Through Hole |
| Number of I/O | 6 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | Internal |
| Package / Case | 8-DIP (0.300", 7.62mm) |
| Packaging | Tube |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
| Flash Memory Size | 8KB (4K x 16) |
| Program Memory Type | FLASH |
| RAM Size | 512 x 8 B |
| Clock Speed | 20MHz |
| Standard Pack Qty | 50 |
| Supplier Device Package | 8-PDIP |
| Supply Voltage | 2.7V ~ 5.5V |
ATTINY85-20PU Overview
Part: Atmel ATtiny25/V / ATtiny45/V / ATtiny85/V
Type: 8-bit AVR Microcontroller
Description: High-performance, low-power 8-bit AVR microcontroller with 2/4/8K Bytes In-System Programmable Flash, 128/256/512 Bytes EEPROM, 128/256/256 Bytes SRAM, and operating voltages from 1.8V to 5.5V.
Operating Conditions:
- Supply voltage: 1.8–5.5V (ATtiny25V/45V/85V), 2.7–5.5V (ATtiny25/45/85)
- Operating temperature: Industrial Temperature Range
- Max clock speed: 0–20 MHz (at 4.5–5.5V for ATtiny25/45/85)
Absolute Maximum Ratings:
Key Specs:
- Program Memory Flash: 2/4/8K Bytes In-System Programmable (Endurance: 10,000 Write/Erase Cycles)
- EEPROM: 128/256/512 Bytes In-System Programmable (Endurance: 100,000 Write/Erase Cycles)
- Internal SRAM: 128/256/256 Bytes
- I/O Lines: Six Programmable I/O Lines
- ADC: 10-bit ADC with 4 single-ended channels, 2 differential pairs (1x, 20x gain)
- Active Mode Current: 300 μA (at 1 MHz, 1.8V)
- Power-down Mode Current: 0.1 μA (at 1.8V)
Features:
- Advanced RISC Architecture with 120 powerful instructions
- Universal Serial Interface (USI) with Start Condition Detector
- debugWIRE On-chip Debug System
- In-System Programmable via SPI Port
- Programmable Watchdog Timer with Separate On-chip Oscillator
- On-chip Analog Comparator
Applications:
Package:
- 8-pin PDIP
- 8-pin SOIC
- 20-pad QFN/MLF
- 8-pin TSSOP (only ATtiny45/V)
ATTINY85-20PU Features
- High Performance, Low Power AVR ® 8-Bit Microcontroller
- Advanced RISC Architecture
- -120 Powerful Instructions - Most Single Clock Cycle Execution
- -32 x 8 General Purpose Working Registers
- -Fully Static Operation
- Non-volatile Program and Data Memories
- -2/4/8K Bytes of In-System Programmable Program Memory Flash
- Endurance: 10,000 Write/Erase Cycles
- -128/256/512 Bytes In-System Programmable EEPROM
- Endurance: 100,000 Write/Erase Cycles
- -128/256/512 Bytes Internal SRAM
- -Programming Lock for Self-Programming Flash Program and EEPROM Data Security
- Peripheral Features
- -8-bit Timer/Counter with Prescaler and Two PWM Channels
- -8-bit High Speed Timer/Counter with Separate Prescaler
- 2 High Frequency PWM Outputs with Separate Output Compare Registers
- Programmable Dead Time Generator
- -USI - Universal Serial Interface with Start Condition Detector
- -10-bit ADC
- 4 Single Ended Channels
- 2 Differential ADC Channel Pairs with Programmable Gain (1x, 20x)
- Temperature Measurement
- -Programmable Watchdog Timer with Separate On-chip Oscillator
- -On-chip Analog Comparator
- Special Microcontroller Features
- -debugWIRE On-chip Debug System
- -In-System Programmable via SPI Port
- -External and Internal Interrupt Sources
- -Low Power Idle, ADC Noise Reduction, and Power-down Modes
- -Enhanced Power-on Reset Circuit
- -Programmable Brown-out Detection Circuit
- -Internal Calibrated Oscillator
- I/O and Packages
- -Six Programmable I/O Lines
- -8-pin PDIP, 8-pin SOIC, 20-pad QFN/MLF, and 8-pin TSSOP (only ATtiny45/V)
- Operating Voltage
- -1.8 - 5.5V for ATtiny25V/45V/85V
- -2.7 - 5.5V for ATtiny25/45/85
- Speed Grade
- -ATtiny25V/45V/85V: 0 - 4 MHz @ 1.8 - 5.5V, 0 - 10 MHz @ 2.7 - 5.5V
- -ATtiny25/45/85: 0 - 10 MHz @ 2.7 - 5.5V, 0 - 20 MHz @ 4.5 - 5.5V
- Industrial Temperature Range
- Low Power Consumption
- -Active Mode:
- 1 MHz, 1.8V: 300 μA
- Power-down Mode:
- 0.1 μA at 1.8V
Rev. 2586QS-AVR-08/2013
ATTINY85-20PU Pin Configuration
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | PB5 | - | alt: PCINT5, RESET, ADC0/dW |
| 2 | PB3 | - | alt: PCINT3, XTAL1/CLKI, OC1B, ADC3 |
| 3 | PB4 | - | alt: PCINT4, XTAL2/CLKO, OC1B, ADC2 |
| 4 | GND | - | |
| 5 | PB0 | - | alt: MOSI/DI, SDA, AIN0, OC0A, OC1A, AREF, PCINT0 |
| 6 | PB1 | - | alt: MISO/DO, AIN1, OC0B, OC1A, PCINT1 |
| 7 | PB2 | - | alt: SCK/USCK/SCL, ADC1, T0/INT0, PCINT2 |
| 8 | VCC | - |
More part numbers on this datasheet
Their pages show this same datasheet. Some are linked through their part family rather than checked part by part, so confirm the exact part in the ordering information.
Other Microcontrollers (MCU)
- STM32F407VET6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32H563ZIT6 – STMicroelectronics, Arm Cortex-M33 32-bit MCU
- STM32H743VIT6 – STMicroelectronics, Microcontroller Unit (MCU)
- RP2040 – Raspberry Pi, Microcontroller
- NRF52840-QIAA-R7 – Nordic Semiconductor, Wireless Microcontroller
- STM32L011F4U6 – STMicroelectronics, Ultra-low-power Arm Cortex-M0+ MCU
- STM32U575RIT6 – STMicroelectronics, Ultra-low-power Arm Cortex-M33 32-bit MCU
- GD32F103C8T6 – GigaDevice, Arm Cortex-M3 32-bit MCU
All Microcontrollers (MCU) datasheetsAll Microchip Technology datasheets (599)
Ask your AI agent about the ATTINY85-20PU
Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.
claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp
Then ask: "Can the ATTINY85-20PU run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.