Skip to main content

We use cookies to understand how you use our site and improve your experience. See our Privacy Policy.

ATTINY85-20PU

8-bit AVR Microcontroller

The 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.

Package

8-DIP (0.300", 7.62mm)

Lifecycle

Active

ATTINY85-20PU Key Specifications

ParameterValue
ConnectivityUSI
Core ProcessorAVR
Core Size8-Bit
Data ConvertersA/D 4x10b
DigiKey ProgrammableVerified
EEPROM Size512 x 8
Mounting TypeThrough Hole
Number of I/O6
Operating Temperature-40°C ~ 85°C (TA)
Oscillator TypeInternal
Package / Case8-DIP (0.300", 7.62mm)
PackagingTube
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
Flash Memory Size8KB (4K x 16)
Program Memory TypeFLASH
RAM Size512 x 8 B
Clock Speed20MHz
Standard Pack Qty50
Supplier Device Package8-PDIP
Supply Voltage2.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

PinNameTypeDescription
1PB5-alt: PCINT5, RESET, ADC0/dW
2PB3-alt: PCINT3, XTAL1/CLKI, OC1B, ADC3
3PB4-alt: PCINT4, XTAL2/CLKO, OC1B, ADC2
4GND-
5PB0-alt: MOSI/DI, SDA, AIN0, OC0A, OC1A, AREF, PCINT0
6PB1-alt: MISO/DO, AIN1, OC0B, OC1A, PCINT1
7PB2-alt: SCK/USCK/SCL, ADC1, T0/INT0, PCINT2
8VCC-

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)

All Microcontrollers (MCU) datasheetsAll Microchip Technology datasheets (599)

Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

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.