ATTINY25/45/85
8-bit AVR MicrocontrollerThe ATTINY25/45/85 is a 8-bit avr microcontroller from Microchip Technology. View the full ATTINY25/45/85 datasheet below including electrical characteristics, absolute maximum ratings.
Manufacturer
Microchip Technology
Category
Microcontrollers (MCU)Overview
Part: Atmel ATtiny25/V / ATtiny45/V / ATtiny85/V
Type: 8-bit AVR Microcontroller
Description: 8-bit AVR microcontroller with 2/4/8 KB In-System Programmable Flash, 128/256/512 Bytes EEPROM/SRAM, 6 I/O lines, 10-bit ADC, and operating speeds up to 20 MHz.
Operating Conditions:
- Supply voltage: 1.8–5.5V (ATtinyx5V), 2.7–5.5V (ATtinyx5)
- Operating temperature: Industrial Temperature Range
- Max clock frequency: 20 MHz @ 4.5–5.5V
Absolute Maximum Ratings:
Key Specs:
- Flash Memory: 2/4/8K Bytes In-System Programmable Flash (10,000 Write/Erase Cycles endurance)
- EEPROM: 128/256/512 Bytes In-System Programmable EEPROM (100,000 Write/Erase Cycles endurance)
- SRAM: 128/256/512 Bytes Internal SRAM
- I/O Lines: 6 programmable I/O lines
- ADC: 10-bit, 4 single-ended channels, 2 differential pairs with 1x/20x gain
- Max Speed: 20 MHz @ 4.5–5.5V
- Active Mode Current: 300 μA at 1 MHz, 1.8V
- Power-down Mode Current: 0.1 μA at 1.8V
Features:
- High Performance, Low Power AVR® 8-Bit Microcontroller
- Advanced RISC Architecture with 32 x 8 General Purpose Working Registers
- 8-bit Timer/Counter with Prescaler and Two PWM Channels
- Universal Serial Interface (USI) with Start Condition Detector
- debugWIRE On-chip Debug System
- In-System Programmable via SPI Port
- Programmable Brown-out Detection Circuit
Applications:
Package:
- 8-pin PDIP
- 8-pin SOIC
- 20-pad QFN/MLF
- 8-pin TSSOP (only ATtiny45/V)
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. 2586Q-AVR-08/2013
Pin Configuration
Figure 1-1. Pinout ATtiny25/45/85
NOTE: TSSOP only for ATtiny45/V
NOTE: Bottom pad should be soldered to ground.
DNC: Do Not Connect
Electrical Characteristics
Table 21-1. DC Characteristics. T A = -40 C to +85 C
| Symbol | Parameter | Condition | Min. | Typ. (1) | Max. | Units |
|---|---|---|---|---|---|---|
| V IL | Input Low-voltage, except XTAL1 and RESET pin | V CC = 1.8V - 2.4V V CC = 2.4V - 5.5V | -0.5 -0.5 | 0.2V CC (3) 0.3V CC (3) | V V | |
| V IH | Input High-voltage, except XTAL1 and RESET pin | V CC = 1.8V - 2.4V V CC = 2.4V - 5.5V | 0.7V CC (2) 0.6V CC (2) | V CC +0.5 V CC +0.5 | V V | |
| V IL1 | Input Low-voltage, XTAL1 pin, External Clock Selected | V CC = 1.8V - 5.5V | -0.5 | 0.1V CC (3) | V | |
| V IH1 | Input High-voltage, XTAL1 pin, External Clock Selected | V CC = 1.8V - 2.4V V CC = 2.4V - 5.5V | 0.8V CC (2) 0.7V CC (2) | V CC +0.5 V CC +0.5 | V V | |
| V IL2 | Input Low-voltage, RESET pin | V CC = 1.8V - 5.5V | -0.5 | 0.2V CC (3) | V V | |
| V IH2 | Input High-voltage, RESET pin | V CC = 1.8V - 5.5V | 0.9V CC (2) | V CC +0.5 | V | |
| V IL3 | Input Low-voltage, RESET pin as I/O | V CC = 1.8V - 2.4V V CC = 2.4V - 5.5V | -0.5 -0.5 | 0.2V CC (3) 0.3V CC (3) | V V | |
| V IH3 | Input High-voltage, RESET pin as I/O | V CC = 1.8V - 2.4V V CC = 2.4V - 5.5V | 0.7V CC (2) 0.6V CC (2) | V CC +0.5 V CC +0.5 | V V | |
| V OL | Output Low-voltage, (4) Port B (except RESET) (6) | I OL = 10 mA, V CC = 5V I OL = 5 mA, V CC = 3V | 0.6 0.5 | V V | ||
| V OH | Output High-voltage, (5) Port B (except RESET) (6) | I OH = -10 mA, V CC = 5V I OH = -5 mA, V CC = 3V | 4.3 2.5 | V V | ||
| I IL | Input Leakage Current I/O Pin | V CC = 5.5V, pin low (absolute value) | < 0.05 | 1 | μA | |
| I IH | Input Leakage Current I/O Pin | V CC = 5.5V, pin high (absolute value) | < 0.05 | 1 | μA | |
| R RST | Reset Pull-up Resistor | V CC = 5.5V, input low | 30 | 60 | k |
Table 21-1. DC Characteristics. T A = -40 C to +85 C
*NOTICE:
Stresses beyond those listed under 'Absolute Maximum Ratings' may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Table 21-1. DC Characteristics. T A = -40 C to +85 C (Continued)
| Symbol | Parameter | Condition | Min. | Typ. (1) | Max. | Units |
|---|---|---|---|---|---|---|
| R pu | I/O Pin Pull-up Resistor | V CC = 5.5V, input low | 20 | 50 | k | |
| I CC | Power Supply Current (7) | Active 1 MHz, V CC = 2V | 0.3 | 0.55 | mA | |
| I CC | Power Supply Current (7) | Active 4 MHz, V CC = 3V | 1.5 | 2.5 | mA | |
| I CC | Power Supply Current (7) | Active 8 MHz, V CC = 5V | 5 | 8 | mA | |
| I CC | Power Supply Current (7) | Idle 1 MHz, V CC = 2V | 0.1 | 0.2 | mA | |
| I CC | Power Supply Current (7) | Idle 4 MHz, V CC = 3V | 0.35 | 0.6 | mA | |
| I CC | Power Supply Current (7) | Idle 8 MHz, V CC = 5V | 1.2 | 2 | mA | |
| I CC | Power-down mode (8) | WDT enabled, V CC = 3V | 10 | μA | ||
| I CC | Power-down mode (8) | WDT disabled, V CC = 3V | 2 | μA |
Notes:
-
Typical values at 25 C.
-
'Min' means the lowest value where the pin is guaranteed to be read as high.
-
'Max' means the highest value where the pin is guaranteed to be read as low.
-
Although each I/O port can sink more than the test conditions (10 mA at V CC = 5V, 5 mA at V CC = 3V) under steady state conditions (non-transient), the following must be observed:
-
1] The sum of all IOL, for all ports, should not exceed 60 mA.
If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.
- Although each I/O port can source more than the test conditions (10 mA at V CC = 5V, 5 mA at V CC = 3V) under steady state conditions (non-transient), the following must be observed:
- 1] The sum of all IOH, for all ports, should not exceed 60 mA.
If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition.
- The RESET pin must tolerate high voltages when entering and operating in programming modes and, as a consequence, has a weak drive strength as compared to regular I/O pins. See Figure 22-23, Figure 22-24, Figure 22-25, and Figure 22-26 (starting on page 184).
- Values are with external clock using methods described in 'Minimizing Power Consumption' on page 36. Power Reduction is enabled (PRR = 0xFF) and there is no I/O drive.
- Brown-Out Detection (BOD) disabled.
Absolute Maximum Ratings
- Storage Temperature..................................... -65°C to +150°C
- Voltage on any Pin except RESET with respect to Ground ................................-0.5V to V CC +0.5V
- Voltage on RESET with respect to Ground......-0.5V to +13.0V
- Maximum Operating Voltage ............................................ 6.0V
- DC Current per I/O Pin ............................................... 40.0 mA
- DC Current V CC and GND Pins................................ 200.0 mA
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| ATTINY25 | Microchip Technology | 8-pin PDIP |
| ATTINY25V | Microchip Technology | — |
| ATTINY45 | Microchip Technology | — |
| ATTINY45V | Microchip Technology | — |
| ATTINY85 | Microchip Technology | 8-pin PDIP |
| ATTINY85-20MU | Microchip Technology | — |
| ATTINY85-20MUR | Microchip Technology | — |
| ATTINY85-20PU | Microchip Technology | — |
| ATTINY85-20SH | Microchip Technology | — |
| ATTINY85-20SHR | Microchip Technology | — |
| ATTINY85-20SU | Microchip Technology | — |
| ATTINY85-20SUR | Microchip Technology | — |
| ATTINY85/V | Microchip Technology | — |
| ATTINY85V | Microchip Technology | — |
| ATTINY85V-10MU | Microchip Technology | — |
| ATTINY85V-10MUR | Microchip Technology | — |
| ATTINY85V-10PU | Microchip Technology | — |
| ATTINY85V-10SH | Microchip Technology | — |
| ATTINY85V-10SHR | Microchip Technology | — |
| ATTINY85V-10SU | Microchip Technology | — |
| ATTINY85V-10SUR | Microchip Technology | — |
Get structured datasheet data via API
Get started free