Home/Products/Integrated Circuits ICs, Microcontrollers (MCU)/ATtiny85-20PU
ATtiny85-20PU
8-bit AVR MCU, 8KB Flash, 512B SRAM, 6 I/O, 8-PDIP, Arduino compatible
Effective inventoryPCS
SpecificationsTechnical data
Manufacturer part
ATtiny85-20PU
Package
8-PDIP
Brand
Category
Integrated Circuits ICs, Microcontrollers (MCU)
Quality Commitment
Shipping & Payment
Service & Packaging
DescriptionProduct overview
Product Overview
The ATtiny85-20PU from Microchip Technology is an 8-bit AVR microcontroller with 8KB Flash, 512B SRAM, and 512B EEPROM in an 8-pin DIP package. Running at up to 20MHz with 6 I/O pins, it is the smallest functional AVR for space-constrained and minimalist embedded projects. Ranked #7 on the 2024 PartsBox hobby components list.
Key Specifications
| Core | 8-bit AVR |
| Max Frequency | 20MHz |
| Flash | 8KB |
| SRAM | 512B |
| EEPROM | 512B |
| I/O Pins | 6 (out of 8 pins) |
| ADC | 4 channels, 10-bit |
| PWM | 2 channels |
| Timer | 2 (8-bit and 16-bit) |
| Supply Voltage | 2.7V to 5.5V (at 20MHz: 4.5-5.5V) |
| Package | 8-PDIP |
| Operating Temperature | -40 to +85 C |
Features
- 8KB Flash for compact firmware
- 6 usable I/O in tiny 8-pin DIP
- 10-bit ADC on 4 channels
- USI (Universal Serial Interface) for SPI/I2C
- Internal calibrated oscillator (no external crystal needed)
- Arduino IDE support via ATtinyCore
Applications
- Minimalist embedded controllers
- LED animation and lighting controllers
- Simple sensor reading and logging
- Hobby projects in ATtiny85 digispark boards
01ATtiny85-20PU · Product Introduction
02ATtiny85-20PU · Working Principle
03ATtiny85-20PU · Pin Description
| Pin | Name | Function |
|---|---|---|
| 1 | PB5 (RESET/ADC0/dW) | Reset (active low), ADC input ch0, debugWIRE |
| 2 | PB3 (ADC3/XTAL1/CLKI) | ADC input ch3, external clock input |
| 3 | PB4 (ADC2/XTAL2) | ADC input ch2, external crystal |
| 4 | GND | Ground |
| 5 | PB0 (MOSI/DI/SDA/AIN0/OC0A/OC1A) | SPI MOSI, I2C SDA, analog compare+, PWM OC0A/OC1A |
| 6 | PB1 (MISO/DO/AIN1/OC0B/OC1A) | SPI MISO, analog compare-, PWM OC0B |
| 7 | PB2 (SCK/USCK/SCL/ADC1/T0/INT0/OC1A) | SPI SCK, I2C SCL, ADC ch1, ext int, PWM OC1A |
| 8 | VCC | Supply voltage (2.7-5.5V) |
04ATtiny85-20PU · Application Scenarios
- Minimalist LED animation controller with 2 PWM channels in 8-pin DIP package
- Digispark USB development board for rapid ATtiny85 prototyping
- Simple I2C sensor reader with USI hardware and 10-bit ADC
- Space-constrained embedded controller with 8KB Flash for compact firmware
05ATtiny85-20PU · Alternative Models
| Model | Manufacturer | Key Difference |
|---|---|---|
| ATtiny45-20PU | Microchip | 4KB Flash, 256B SRAM, half the memory |
| ATtiny84A-PU | Microchip | 14-pin, 8KB Flash, 12 I/O, more pins |
| ATmega328P-PU | Microchip | 28-pin DIP, 32KB Flash, full Arduino Uno |
| PIC12F675-I/P | Microchip | 8-pin PIC, 1.75KB Flash, smaller |
Request a quoteWithin 24h
Tell us the quantity you need. We confirm price and availability within one business day.
IC-Vendor · Sourcing
Verified stock, quoted fast.
Recommended

STM32F334K8T6
ARM Cortex-M4 MCU with high-resolution timer, 72MHz, 64KB Flash, LQFP-32
IN STOCK: 14928pcs
Cargo cycle: 3~7 Days
The minimum order is 1

STM32F411RCT6
ARM Cortex-M4 MCU, 100MHz, 256KB Flash, 128KB RAM, LQFP-64
IN STOCK: 13837pcs
Cargo cycle: 3~7 Days
The minimum order is 1

PIC16F877A-I
8-bit PIC MCU ‘A’ rev, 14KB Flash, 368B RAM, 256B EEPROM, 8-ch 10-bit ADC, 2 CCP, 2 comparators, SPI/I2C/USART, PSP, ICD, self-program, industrial -40°C~85°C
IN STOCK: 9527pcs
Cargo cycle: 3~7 Days
The minimum order is 1

GD32F310C8T6
Cortex-M4 Entry-level MCU, 72MHz, 64KB Flash, 8KB SRAM, LQFP-48
IN STOCK: 7547pcs
Cargo cycle: 3~7 Days
The minimum order is 1

ATMega48PA-AU
8-bit AVR picoPower MCU, 4KB Flash, 512B RAM, TQFP-32
IN STOCK: 8003pcs
Cargo cycle: 3~7 Days
The minimum order is 1

PIC16LF1526-I
8-bit XLP PIC MCU, 14KB Flash, 768B RAM, 30-ch 10-bit ADC, 10 CCP, 2 EUSART, 2 SPI/I2C, 54 I/O, 1.8-3.6V low voltage, 64-pin
IN STOCK: 2792pcs
Cargo cycle: 3~7 Days
The minimum order is 1
Quality Commitment
Every order is sourced, inspected and documented so your production line receives parts that meet specification.
Authenticity & traceability
We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.
Incoming inspection
- Visual inspection of labels, packaging, marking and date codes.
- Lot and quantity verification against the purchase order.
- Moisture-sensitivity and ESD packaging checks.
- Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.
Documentation
Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.
Warranty & returns
Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.
Counterfeit prevention
Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.
Shipping & Payment
From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.
Lead time
In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.
Carriers & tracking
We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.
Freight & insurance
Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.
Payment methods
- Bank transfer (T/T) in USD, EUR or CNY.
- PayPal for smaller or sample orders.
- Alipay / RMB transfer for domestic settlement.
A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.
Order changes & cancellation
Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.
Customs & duties
We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.
Service & Packaging
Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.
BOM sourcing & kitting
Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.
Value-added services
- Programming and firmware loading.
- Tape-and-reel, re-reeling and tray packing.
- Baking and dry-pack for moisture-sensitive parts.
- Barcode, QR and custom label generation.
Packaging options
Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.
Documentation & traceability
Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.
After-sales support
For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.
