Specifications
| Attribute | Value |
| Supplier | Microchip Technology |
| Package / Case | Tube |
| Series | AVR® ATtiny, Functional Safety (FuSa) |
| Part Status | Active |
| Core Processor | AVR |
| Core Size | 8-Bit |
| Speed | 20MHz |
| Connectivity | USI |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
| Number of I/O | 6 |
| Program Memory Size | 2KB (1K x 16) |
| Program Memory Type | FLASH |
| EEPROM Size | 128 x 8 |
| RAM Size | 128 x 8 |
| Voltage - Supply (Vcc/Vdd) | 2.7V ~ 5.5V |
| Data Converters | A/D 4x10b |
| Oscillator Type | Internal |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Mounting Type | Through Hole |
Overview
Description
Introduction to ATtiny25-20PU
- What it is: An 8‑bit AVR microcontroller from Atmel (now Microchip), part of the Tiny family. -20PU denotes a 20‑pin DIP package.
- Core specs (typical): 2 KB flash program memory, ~128 bytes RAM, ~128 bytes EEPROM, up to 20 MHz operation, 2.7–5.5 V supply.
- Peripherals: ADC, timed counters, and a universal serial interface (USI) for SPI/I2C, plus interrupts and watchdog.
- Programming: In-system programming via SPI (ISP); supports AVR-GCC, avrdude, Atmel Studio, and Arduino‑based cores.
- Package options: Also available in other small packages (SOIC, TSSOP) beyond DIP-20.
- Use cases: Small, low‑power control tasks in sensors, switches, battery-powered devices, and hobby projects.
- Pros/cons: Cheap, widely supported, compact; limited memory and peripherals compared with larger MCUs.
If you need exact pinout or peripheral counts for your project, check the latest datasheet for ATtiny25/45/85 family.
- What it is: An 8‑bit AVR microcontroller from Atmel (now Microchip), part of the Tiny family. -20PU denotes a 20‑pin DIP package.
- Core specs (typical): 2 KB flash program memory, ~128 bytes RAM, ~128 bytes EEPROM, up to 20 MHz operation, 2.7–5.5 V supply.
- Peripherals: ADC, timed counters, and a universal serial interface (USI) for SPI/I2C, plus interrupts and watchdog.
- Programming: In-system programming via SPI (ISP); supports AVR-GCC, avrdude, Atmel Studio, and Arduino‑based cores.
- Package options: Also available in other small packages (SOIC, TSSOP) beyond DIP-20.
- Use cases: Small, low‑power control tasks in sensors, switches, battery-powered devices, and hobby projects.
- Pros/cons: Cheap, widely supported, compact; limited memory and peripherals compared with larger MCUs.
If you need exact pinout or peripheral counts for your project, check the latest datasheet for ATtiny25/45/85 family.
Equivalent
Equivalent products (same 14-pin Tiny family, different packages or pin-compatible variants):
- ATtiny25-20SU (same device, SOIC-14)
- ATtiny25-20MU (same device, MSOP/TSOP-14)
- ATtiny45-20PU (pin-compatible 14-pin variant)
- ATtiny85-20PU (pin-compatible 14-pin variant)
Notes: All share the AVR Tiny core; check exact flash/RAM/peripherals when substituting.
- ATtiny25-20SU (same device, SOIC-14)
- ATtiny25-20MU (same device, MSOP/TSOP-14)
- ATtiny45-20PU (pin-compatible 14-pin variant)
- ATtiny85-20PU (pin-compatible 14-pin variant)
Notes: All share the AVR Tiny core; check exact flash/RAM/peripherals when substituting.
Features
Here are the key features of ATtiny25-20PU (8‑pin DIP, -20 means 20 MHz max):
- 8‑bit AVR RISC CPU, 1 clock per instruction, 32 general-purpose registers
- Speed: up to 20 MHz operation; voltage range 1.8–5.5V (20 MHz typically at 4.5–5.5V)
- Memory: 2 KB Flash program memory; 128 bytes SRAM; 128 bytes EEPROM
- Peripherals: Timer/Counter0 (8‑bit, PWM), Timer/Counter1 (16‑bit), 4‑channel 10‑bit ADC, Analog Comparator, USI (SPI/I2C), Watchdog Timer
- I/O: 6 general-purpose I/O pins (on the PORTB family in 8‑pin package)
- In‑system programming via SPI (ISP); hardware reset
- Power features: sleep modes (idle, power-down), Brown‑out Detector
- Package: PDIP-8 (ATtiny25‑20PU)
This makes it suitable for small, low‑cost embedded tasks requiring basic timing, ADC input, and simple communication.
- 8‑bit AVR RISC CPU, 1 clock per instruction, 32 general-purpose registers
- Speed: up to 20 MHz operation; voltage range 1.8–5.5V (20 MHz typically at 4.5–5.5V)
- Memory: 2 KB Flash program memory; 128 bytes SRAM; 128 bytes EEPROM
- Peripherals: Timer/Counter0 (8‑bit, PWM), Timer/Counter1 (16‑bit), 4‑channel 10‑bit ADC, Analog Comparator, USI (SPI/I2C), Watchdog Timer
- I/O: 6 general-purpose I/O pins (on the PORTB family in 8‑pin package)
- In‑system programming via SPI (ISP); hardware reset
- Power features: sleep modes (idle, power-down), Brown‑out Detector
- Package: PDIP-8 (ATtiny25‑20PU)
This makes it suitable for small, low‑cost embedded tasks requiring basic timing, ADC input, and simple communication.
Pinout
- Pin count: 20 pins (PDIP-20 / 20-pin DIP).
- Function: An 8-bit AVR microcontroller (ATtiny25 family) for small embedded control tasks, with general-purpose I/O and built-in peripherals (ADC, timers, serial interfaces, etc.).
- Function: An 8-bit AVR microcontroller (ATtiny25 family) for small embedded control tasks, with general-purpose I/O and built-in peripherals (ADC, timers, serial interfaces, etc.).
Manufacturer
Manufacturer: Microchip Technology Inc. (originally Atmel; the ATTINY25-20PU was an Atmel AVR device, now part of Microchip after their 2016 acquisition).
What kind of company: A global semiconductor company that designs and manufactures microcontrollers, memory, and other integrated circuits for embedded systems.
What kind of company: A global semiconductor company that designs and manufactures microcontrollers, memory, and other integrated circuits for embedded systems.
Application
Typical application areas for ATtiny25-20PU (8-pin AVR, 20 MHz):
- Battery-powered and portable devices (wearables, sensors)
- Remote controls, wireless sensors, and simple IoT nodes
- Small consumer electronics (toys, keyboards, mice, gadgets)
- Sensor interfacing, data logging, and basic measurement (ADC, EEPROM)
- LED drivers, indicators, and simple motor/PWM control
- Prototyping, education, and hobbyist projects (Arduino-like use)
- Battery-powered and portable devices (wearables, sensors)
- Remote controls, wireless sensors, and simple IoT nodes
- Small consumer electronics (toys, keyboards, mice, gadgets)
- Sensor interfacing, data logging, and basic measurement (ADC, EEPROM)
- LED drivers, indicators, and simple motor/PWM control
- Prototyping, education, and hobbyist projects (Arduino-like use)
Package
14-pin Plastic DIP (PDIP) package, i.e., a through-hole 14‑pin DIP.