ATTENTION: Due to increased demand and order volume, processing time may take an additional 1-3 business days.
HomeCommunitySubjectATTINY25 8-Bit Microcontroller: DIP8 ATTINY25, Circuit and Programming

ATTINY25 8-Bit Microcontroller: DIP8 ATTINY25, Circuit and Programming

Embedded - Microcontrollers A/D 4x10b 8-DIP (0.300, 7.62mm) 2kB Brown-out Detect/Reset, POR, PWM, WDT -40°C~85°C TA 2.7V~5.5V AVR? ATtiny MICROCONTROLLER, RISC ATTINY25 20MHz ATtiny Series 2 KB Flash 128 B SRAM 20 MHz 8-Bit Microcontroller - DIP-8

110

Nov 25, 2021

Blithe Chapman

How to Program an ATtiny with Arduino (Up to Date)

Embedded - Microcontrollers A/D 4x10b 8-DIP (0.300, 7.62mm) 2kB Brown-out Detect/Reset, POR, PWM, WDT -40°C~85°C TA 2.7V~5.5V AVR® ATtiny MICROCONTROLLER, RISC ATTINY25 20MHz ATtiny Series 2 KB Flash 128 B SRAM 20 MHz 8-Bit Microcontroller - DIP-8

The ATtiny25 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. This article is going to introduce pinout, circuit, datasheet, applications, programming, and other details about the ATtiny25 microcontroller.

ATTINY25-20PU

718In Stock
Min.: 1 Mult.: 1
Quantity Unit Price Ext. Price
1+ $1.4963$1.5
10+ $1.4116$14.12
100+ $1.3317$133.17
500+ $1.25632$628.16
1000+ $1.18521$1185.21
Unit Price:$1.4963
Subtotal: $1.5
Looking for a better price? Want a lower wholesale price? Please send an RFQ, and we will respond immediately.
Quick Links

What is ATTINY25?

The ATTINY25 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATtiny25  achieves throughputs approaching 1 MIPS per MHz allowing the system designed to optimize power consumption versus processing speed.

ATtiny25 Pinout

 

 

Pin Pin Description Pin Function Pin Description
1 PB5 PCINT5 ADC0 dW RESET Pin 1 is a reset pin,   analog pin, ADC input, bootloader reprogram and remove
2 PB3 also GPIO3 XTAL1 CLKI ADC3 OC1B   PCINT3 Pin3 is for USB   programming, analog input, XTAL input, PWM
3 PB4 also GPIO4 XTAL2 CLKO ADC2 OC1B   PCINT4 Pin4 is for USB   programming, analog input, XTAL output, PWM
4 GND Ground Ground / Negative   Supply of the system
5 PB0 also GPIO0 MOSI AIN0 OC0A OC1A   DI SDA AREF PCINT0 The Pin 5 performs as   PWM output, SPI communication, 12C communication
6 PB1  also GPIO1 MISO AIN1 OC0B OC1A   DO PCINT1 Pin 6 can be used for   SPI data output, PWM output
7 PB2 also GPIO2 SCK ADC1 T0 SCL   PCINT2 Pin 7 is for analog   input, SCK for SPI data & SCL
8 VCC Positive Voltage Positive supply of the system.

ATtiny25 CAD Model

ATtiny25 Symbol

 

ATtiny25 Footprint

 

ATtiny25  3D Model

Specifications

Microchip Technology ATTINY25-20PU technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology ATTINY25-20PU.

ATTINY25-20PU Tech Specifications

Microchip Technology ATTINY25-20PU technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology ATTINY25-20PU.

Product Attribute Attribute Value
Factory Lead Time10 Weeks
Contact PlatingTin
MountThrough Hole
Mounting TypeThrough Hole
Package / Case8-DIP (0.300, 7.62mm)
Number of Pins8Pins
Data ConvertersA/D 4x10b
Number of I/Os6I/Os
Watchdog TimersYes
Operating Temperature-40°C~85°C TA
PackagingTube
SeriesAVR® ATtiny
Published1997
JESD-609 Codee3
Pbfree Codeyes
Part StatusActive
Moisture Sensitivity Level (MSL)1 (Unlimited)
Number of Terminations8Terminations
Product Attribute Attribute Value
Terminal PositionDUAL
Supply Voltage5V
Frequency20MHz
Base Part NumberATTINY25
Supply Voltage-Max (Vsup)5.5V
Power Supplies3/5V
InterfaceSPI
Memory Size2kB
Oscillator TypeInternal
RAM Size128 x 8
Voltage - Supply (Vcc/Vdd)2.7V~5.5V
uPs/uCs/Peripheral ICs TypeMICROCONTROLLER, RISC
Core ProcessorAVR
PeripheralsBrown-out Detect/Reset, POR, PWM, WDT
Program Memory TypeFLASH
Core Size8-Bit
Program Memory Size2KB 1K x 16
ConnectivityUSI
Product Attribute Attribute Value
Bit Size8
Access Time20 μs
Has ADCYES
DMA ChannelsNO
Data Bus Width8b
PWM ChannelsYES
Number of Timers/Counters2Timers/Counters
EEPROM Size128 x 8
Number of Programmable I/O6Programmable I/Os
Number of ADC Channels4ADC Channels
Number of I2C Channels1I2C Channel
Height4.953mm
Length10.16mm
Width7.112mm
REACH SVHCNo SVHC
Radiation HardeningNo
RoHS StatusROHS3 Compliant
Lead FreeLead Free
0 Products View Similar

ATTINY25 Block Diagram

The following is the ATTINY25 Block Diagram:

ATTINY25 Block Diagram

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 Byte of In-System Programmable  Program Memory Flash (ATtiny25/45/85)

  • Endurance: 10,000 Write/Erase Cycles

   - 128/256/512 Bytes In-System Programmable   EEPROM  (ATtiny25/45/85)

  • Endurance: 100,000 Write/Erase Cycles

   - 128/256/512 Bytes Internal SRAM (ATtiny25/45/85)

   - 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 Output  s 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 and 20-pad QFN/MLF

  • Operating Voltage

   - 1.8 - 5.5V for ATtiny25 /45/85V

   - 2.7 - 5.5V for ATtiny25 /45/85

  • Speed Grade

   - ATtiny25 /45/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 Applications

  • Hobby projects

  • Drivers

  • Display units

  • Used in development boards

  • Industrial control systems

  • SMPS and Power Regulation systems

  • Analog signal measuring and manipulations

  • Embedded systems like coffee machine, vending machine

  • Peripheral Interface system 

ATtiny25 Alternatives

ATTINY85, ATTINY45, ATTINY2313

ATtiny25 Dimensions

ATtiny25 Dimensions

ATtiny25 Manufacturer

Microchip Technology Inc. is a leading provider of microcontroller and analog semiconductors, providing low-risk product development, lower total system cost, and faster time to market for thousands of diverse customer applications worldwide. Headquartered in Chandler, Arizona, Microchip offers outstanding technical support along with dependable delivery and quality.

Datasheet PDF

Download datasheets and manufacturer documentation for Microchip Technology ATTINY25-20PU.

ATTINY25-20PU Documents

Download datasheets and manufacturer documentation for ATTINY25-20PU

Frequently Asked Questions

What is the use of ATtiny25?
It merges all of the great features and functionality of Atmel Studio into Microchip's well-supported portfolio of development tools to give you a seamless and easy-to-use environment for writing, building, and debugging your applications written in C/C++ or assembly code.
Can it directly program attiny13/45/85 without the help of any external programmer?
Development of programming board /ATtiny45/ATtiny85 ATtiny13/ATtiny25 can plug the development board.
Does ATtiny have I2C?
The standard Arduino library cannot be used for I2C on the Attiny because it does a call to 'Wire.h' and that one is not compatible with the Attiny. The 'NewLCD' library from Francisco Malpartida is my favorite library, but also that one fails in using I2C for the Attiny because it makes a call to the Wire library.
FAQ
What is the use of ATtiny25?
It merges all of the great features and functionality of Atmel Studio into Microchip's well-supported portfolio of development tools to give you a seamless and easy-to-use environment for writing, building, and debugging your applications written in C/C++ or assembly code.
Can it directly program attiny13/45/85 without the help of any external programmer?
Development of programming board /ATtiny45/ATtiny85 ATtiny13/ATtiny25 can plug the development board.
Does ATtiny have I2C?
The standard Arduino library cannot be used for I2C on the Attiny because it does a call to 'Wire.h' and that one is not compatible with the Attiny. The 'NewLCD' library from Francisco Malpartida is my favorite library, but also that one fails in using I2C for the Attiny because it makes a call to the Wire library.

TAGS

Share