Chat with us, powered by LiveChat

ATtiny25 Microcontroller: Pinout, Arduino, Datasheet

Views: 3413 Author: Site Editor Publish Time: Origin: Site

Product Overview

The high-performance  Microchip  picoPower®  AVR  ®  RISC -based CMOS  8-bit microcontroller  combines 2 KB  ISP   Flash memory, 128B EEPROM128B 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.

ATtiny25 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

 

ATtiny25 Pinout

The following figure is the diagram of ATtiny25 pinout.

 

ATtiny25 Pinout

ATtiny25 Pinout

 

ATtiny25 Block Diagram

The following figure shows the block diagram of ATtiny25.

 

ATtiny25 Block Diagram

ATtiny25 Block Diagram

 

8-bit Timer/Counter Block Diagram

8-bit Timer/Counter Block Diagram

 

ATtiny25 Programming 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 and Verify

 

Serial Programming Instruction example

Serial Programming Instruction example

 

High-voltage Serial Programming

High-voltage Serial Programming

 

ATtiny25 Package

The following diagram shows the ATtiny25 package.

 

ATtiny25 Package

ATtiny25 Package

 

ATtiny25 Specification

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

 

ATtiny25 Manufacturer

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.

 

ATtiny25 Datasheet

You can download ATtiny25 datasheet from the link given below:

ATtiny25 Datasheet

Using Warnings

Note: Please check their parameters and pin configuration before replacing them in your circuit.

 

ATtiny25 FAQ

What is an ATtiny?

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

 

What is a microcontroller used for?

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.

 

What is difference between microprocessor and microcontroller?

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.

×

Contact Us

×

Inquire

*Name
*Email
Company Name
Tel
*Message