The high-performance Microchip picoPower® AVR ® RISC -based CMOS 8-bit microcontroller combines 2 KB ISP Flash memory, 128B EEPROM, 128B SRAM, six general purpose I/O lines, 32 general purpose working registers, one 8-bit timer/counter with compare modes, one 8-bit high-speed timer/counter, universal serial interface (USI), internal and external interrupts, 4-channel 10-bit A/D converter, programmable watchdog timer with internal oscillator, and three software selectable power saving modes . The device operates between 2.7-5.5 volts. By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching one MIPS per MHz, balancing power consumption and processor speed.
This blog will introduce Attiny25 systematically from its features, pinout to its specifications, applications, also including Attiny25 datasheet and so much more.
– 120 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– 2/4/8K Bytes of In-System Programmable Program Memory Flash
– 128/256/512 Bytes In-System Programmable EEPROM
– 128/256/512 Bytes Internal SRAM
– Programming Lock for Self-Programming Flash Program and EEPROM Data Security
– 8-bit Timer/Counter with Prescaler and Two PWM Channels
– 8-bit High Speed Timer/Counter with Separate Prescaler
– USI – Universal Serial Interface with Start Condition Detector
– 10-bit ADC
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– 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
– Six Programmable I/O Lines
– 8-pin PDIP , 8-pin SOIC, 20-pad QFN /MLF, and 8-pin TSSOP (only ATtiny45/V)
– 1.8 - 5.5V for ATtiny25V/45V/85V
– 2.7 - 5.5V for ATtiny25/45/85
– 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
– Active Mode:
– Power-down Mode:
The following figure is the diagram of ATtiny25 pinout.
ATtiny25 Pinout
The following figure shows the block diagram of ATtiny25.
ATtiny25 Block Diagram
8-bit Timer/Counter Block Diagram
The following is the programming diagram of ATtiny25.
Notes: 1. If the device is clocked by the internal Oscillator, it is no need to connect a clock source to the CLKI pin.
Serial Programming and Verify
Serial Programming Instruction example
High-voltage Serial Programming
The following diagram shows the ATtiny25 package.
ATtiny25 Package
Max ADC Resolution (bits) | 10 |
Program Memory Size (KB) | 2 |
Number of Comparators | 1 |
CPU Speed (MIPS/DMIPS) | 20 |
Data EEPROM (bytes) | 128 |
Max 8 Bit Digital Timers | 2 |
Ethernet | None |
I2C | 1 |
Program Memory Type | Flash |
ADC Channels | 4 |
Low Power | No |
Operating Voltage | 1.8 - 5.5 |
outputcomparatorPWM | 5 |
Pin Count | 8 |
SPI | 1 |
Temp Range (°C) | -145 |
Microchip Technology Incorporated is a leading provider of smart, connected and secure embedded control solutions. Its easy-to-use development tools and comprehensive product portfolio enable customers to create optimal designs, which reduce risk while lowering total system cost and time to market. The company's solutions serve more than 120,000 customers across the industrial, automotive, consumer, aerospace and defense, communications and computing markets. Microchip offers outstanding technical support along with dependable delivery and quality.
You can download ATtiny25 datasheet from the link given below:
Note: Please check their parameters and pin configuration before replacing them in your circuit.
ATtiny (also known as TinyAVR) are a subfamily of the popular 8-bit AVR microcontrollers, which typically has fewer features, fewer I/O pins, and less memory than other AVR series chips. The first members of this family were released in 1999 by Atmel (later acquired by Microchip Technology in 2016).
Microcontroller is a compressed micro computer manufactured to control the functions of embedded systems in office machines, robots, home appliances, motor vehicles, and a number of other gadgets. A microcontroller is comprises components like - memory, peripherals and most importantly a processor.
Microprocessor consists of only a Central Processing Unit, whereas Micro Controller contains a CPU, Memory, I/O all integrated into one chip. Microprocessor uses an external bus to interface to RAM, ROM, and other peripherals, on the other hand, Microcontroller uses an internal controlling bus.