ATTENTION: Due to increased demand and order volume, processing time may take an additional 1-3 business days.
HomeCommunitySubjectATTINY45 Microcontroller: Pinout, Specifications and Datasheet

ATTINY45 Microcontroller: Pinout, Specifications and Datasheet

MCU 8-bit ATtiny AVR RISC 4KB Flash 3.3V/5V 8-Pin SOIC EIAJ The ATTINY45 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. In this article we are going to discuss about ATTINY45 microcontroller pinout, specifications, datasheet, features and other details about this microcontroller.

196

Sep 24, 2021

Sandy Adolph

Getting Started with Programming in AVR C | Attiny45 Blink LED Tutorial

 

MCU 8-bit ATtiny AVR RISC 4KB Flash 3.3V/5V 8-Pin SOIC EIAJ

The ATTINY45 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. In this article we are going to discuss about ATTINY45 microcontroller pinout, specifications, datasheet, features and other details about this microcontroller. Furthermore, Huge range of Semiconductors, Capacitors, Resistors and IcS in stock. Welcome RFQ.

ATTINY45-20SU

9500In Stock
Min.: 1 Mult.: 1
Quantity Unit Price Ext. Price
1+ $4.40795$4.41
10+ $4.15845$41.58
100+ $3.92306$392.31
500+ $3.701$1850.5
1000+ $3.49151$3491.51
Unit Price:$4.40795
Subtotal: $4.41
Looking for a better price? Want a lower wholesale price? Please send an RFQ, and we will respond immediately.
Quick Links

Description

ATTINY45 is high performance, low power controller from ATMEL. It is an 8 bit controller based on Advanced RISC architecture. It is one of members of ATTINYXX series, popular because of its small size and features. ATTINY45 is one of the most popular microcontrollers due to its small size and multiple features. 

This microcontroller available in multiple embedded systems and even you can find its applications at the industrial level. ATTINY45 microcontroller allows the designer to optimize power vs performance through programming. It is designed by using AVR and RSIC technology which makes it less power consumption controller and usage of its internal oscillator make it save more power. 

ATTINY45 Pinout

ATTINY45 CAD Model

Symbol

 

Footprint

 

3D Model

Specifications

Microchip Technology ATTINY45-20SU technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology ATTINY45-20SU.

ATTINY45-20SU Tech Specifications

Microchip Technology ATTINY45-20SU technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology ATTINY45-20SU.

Product Attribute Attribute Value
Factory Lead Time23 Weeks
Contact PlatingTin
MountSurface Mount
Mounting TypeSurface Mount
Package / Case8-SOIC (0.209, 5.30mm Width)
Number of Pins8Pins
Data ConvertersA/D 4x10b
Number of I/Os6I/Os
Watchdog TimersYes
Operating Temperature-40°C~85°C TA
PackagingTube
SeriesAVR® ATtiny
Published2011
JESD-609 Codee3
Pbfree Codeyes
Part StatusActive
Moisture Sensitivity Level (MSL)2 (1 Year)
Number of Terminations8Terminations
TerminationSMD/SMT
Terminal PositionDUAL
Product Attribute Attribute Value
Terminal FormGULL WING
Peak Reflow Temperature (Cel)260
Supply Voltage5V
Frequency20MHz
Time@Peak Reflow Temperature-Max (s)40
Base Part NumberATTINY45
Supply Voltage-Max (Vsup)5.5V
Power Supplies3/5V
InterfaceSPI
Memory Size4kB
Oscillator TypeInternal
RAM Size256 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 Size4KB 2K 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
Address Bus Width8b
EEPROM Size256 x 8
Number of Programmable I/O6Programmable I/Os
Number of ADC Channels4ADC Channels
Number of I2C Channels1I2C Channel
Height1.91mm
Length5.35mm
Width5.4mm
REACH SVHCNo SVHC
Radiation HardeningNo
RoHS StatusROHS3 Compliant
Lead FreeLead Free
0 Products View Similar

ATTINY45 Features

• High efficiency design

• Low current consumption 300uA in use & 0.1uA in sleep mode on 1.8V.

• Total six analog inputs

• Built in 4 kbytes of flash memory

• Built in 256b of SRAM

• Built in 256b of EEPROM

• Circuitry contains 32 Registers

• Minimum cycles per instruction design or Advance RISC

• Programming lock feature for code security

• Built in two 8-bit timers one is high speed and other is compare mode.

• Total six I/O pins

• Universal Serial Interface feature

• Two pulse width modulation channels

• Watchdog programmable Timer and Oscillator

• Operating voltage as low as 1.8V DC to 5.5V DC max.

ATTINY45 Functional Block Diagram

ATTINY45 Equivalent

ATTINY25 and ATTINY85 are the two most suitable alternatives of ATTINY45. But the internal Flash, SRAM and EEPROM values are different of all the three microcontrollers.

 

Where to Use ATTINY45?

•ATTINY45 is an 8 pin AVR controller and so application program can be developed in AVR IDE which has many references.

•Although we have many controllers, ATTINY is popular because it is one of cheapest.

•Also ATTINY provides many features in lesser pins.

•With program memoryof 4Kbytes the controller can be used in many applications.

•With variousPOWER SAVING modes it can work on MOBILE EMBEDDED SYSTEMS.

•With its small and compact size it can be put in many small boards.

•With Watchdog timer and other features the use on ATTINY45 is further promoted.

How to Use ATTINY45?

Like any other controller, ATTINY45 works based on application program, i.e. execute the application program saved in its memory.

The procedure to program an ATTINY45 microcontroller is described below:

1. First list the functions to be executed by controller.

2. Write the functions in programming language in IDE programs.

You can download the IDE program for free in company websites. IDE program for AVR controllers is ‘ATMEL STUDIO’. Link for ATMELSTUDIO is given below.

(Usually Atmel Studio 6.0 for Windows7 [http://atmel-studio.software.informer.com/6.0/], Atmel Studio 7 for Windows10 [https://www.microchip.com/avr-support/atmel-studio-7])

3. After writing the program compile it to eliminate errors.

4. Make the IDE generate HEX file for the written program after compiling.

5. This HEX file contains the machine code which should be saved in controller flash memory.

6. Choose the programming device (usually SPI programmer made for AVR controllers) which establishes communication between PC and ATTINY45. Programming ATTINY45 can also be done by using ARDUINO boards.

7. Run the programmer software and choose the appropriate hex file.

8. Burn the HEX file of written program in ATTINY45 flash memory using this program.

9. Disconnect the programmer, connect the appropriate peripherals for the controller and get the system started.

ATTINY45 Application

Machinery controlling systems in different industries

Solar based projects

Home, Office, factories IOT based applications

Weather systems and applications

Wireless data transfer and communication applications

Security based projects

Medical and health related devices

Automobile applications

Used in development boards.

Hobby projects

Drivers

Industrial control systems.

SMPS and Power Regulation systems.

Analog signal measuring and manipulations.

Embedded systems like coffee machine, vending machine.

Display units.

Peripheral Interface system.

ATTINY45 Package

Top view

 

Side view

 

End view

ATTINY45 Manufacturer

Microchip Technology Inc., is a leader that provides microcontroller and analog semiconductors. Microchip was headquartered in Chandler, Arizona. We are delicated to offering low-risk product development, reducing total system cost and accelerating time to market. We mainly serve for different fields of customers applications around the world. To provide prominent technical support along with reliable delivery and quality is our goal.

Datasheet PDF

ATTINY45-20SU Documents

Download datasheets and manufacturer documentation for ATTINY45-20SU

Frequently Asked Questions

What is the nature of the ATTINY45?
The ATTINY45 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture.
What system development tools is supported by ATTINY45 AVR?
The ATTINY45 AVR is supported with system development tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators and Evaluation kits.
What are the analog-to-digital conversion pins on the ATTINY45?
Analog to Digital Converting pins on ATTINY45 are ADC0 – GPIO1, ADC1 – GPIO7, ADC2 – GPIO3 and ADC3 – GPIO2.
FAQ
What is the nature of the ATTINY45?
The ATTINY45 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture.
What system development tools is supported by ATTINY45 AVR?
The ATTINY45 AVR is supported with system development tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators and Evaluation kits.
What are the analog-to-digital conversion pins on the ATTINY45?
Analog to Digital Converting pins on ATTINY45 are ADC0 – GPIO1, ADC1 – GPIO7, ADC2 – GPIO3 and ADC3 – GPIO2.

TAGS

Share