Thursday, November 30, 2023
HomeElectronicsATtiny85 Pinout

ATtiny85 Pinout

Whereas Arduino (particularly the Arduino UNO) is the popular alternative of growth board for a lot of makers and hobbyists, the Digispark ATtiny85 is a tiny and cheaper different to that. It has a USB connectivity on the PCB and is completely appropriate with Arduino IDE. The guts of this tiny board is the ATtiny85 Microcontroller. On this information, we’ll take a more in-depth have a look at some essential options and specs of this microcontroller. We can even see the ATtiny85 Pinout and widespread IC Packages. Lastly, we’ll tabulate all of the pins together with their features.

Introduction to ATtiny85 Microcontroller

The ATtiny85 is a tiny, 8-pin Microcontroller from Atmel (now a part of Microchip Expertise). It’s a low-power 8-bit AVR microcontroller primarily based on modified Harvard RISC Structure.

It has 120 highly effective directions, most of which execute in a single clock cycle. Therefore, you possibly can anticipate a formidable throughput of 1MIPS per MHz with very low energy consumption. For instance, you probably have a 16MHz clock frequency for ATtiny85, then it’s potential to get 16MIPS throughput.

ATtiny85 has 8KB of ISP (In-System Programmable) Flash Reminiscence, 512B of EEPROM and 512B of SRAM. These numbers may not appear spectacular however contemplating the small measurement, low-power and its throughput, we are able to handle with these reminiscence configurations for small to medium functions.

Utilizing the on-chip flash reminiscence, you possibly can program the microcontroller utilizing SPI ISP or by USB with further bootloader code. Observe that, relying on the kind of boot code, it would take as much as 2KB of the flash reminiscence. Leaving you with solely 6KB program reminiscence.

There are a number of different essential options and specification of ATtiny85, which we’ll see within the subsequent part.

Digistump developed the Digispark ATtiny85, a tiny growth board primarily based on the ATtiny85 Microcontroller. It is extremely small, smaller than an everyday flash drive. The explanation we’re evaluating it with a flash drive is as a result of the Digispark ATtiny85 growth board has an on-board USB connector, proper on the PCB itself. You possibly can simply plug it into a pc’s USB port to program or energy it on.

Necessary Specs of ATtiny85

In within the introduction part, we noticed simply a few essential options and specs of ATtiny85 Microcontroller. Listed below are some extra specs.

  • Low Energy 8-Bit Microcontroller
  • Modified Harvard RISC Structure
  • 8KB Flash Reminiscence
  • 512B EEPROM
  • 512B SRAM
  • 8-bit Timer/Counter with 2 PWM Channels
  • 8-bit Excessive Pace Timer/Counter
  • USI (Common Serial Interface)
  • 4 10-bit ADC Channels
  • Watchdog Timer and Analog Comparator
  • On-chip Debug System (debugWIRE)
  • ISP (In-System Programming) by way of SPI
  • Assist for exterior and inside interrupts
  • Energy-ON Reset, Inside Oscillator, Brown-out Detection
  • Working Voltages: 1.8V – 5.5V for ATtiny85V and a pair of.7V – 5.5V for ATtiny85
  • Pace Grade for ATtiny85V: 0 – 4MHz at 1.8 – 5.5V, 0 – 10MHz at 2.7 – 5.5V
  • Pace Grade for ATtiny85: 0 – 10MHz at 2.7 – 5.5V, 0 – 20MHz at 4.5 – 5.5V
  • Energetic Mode Energy Consumption: 300µA at 1MHz and 1.8V
  • Energy Down Mode Energy Consumption: 0.1µA at 1.8V

Please consult with the datasheet of ATtiny85 Microcontroller for a extra detailed and full set of options, specs, Pinout, pin features, registers and lots of extra.

ATtiny85 Pinout and IC Packages

The pinout of any microcontroller relies on it packaging types. So, with the intention to perceive the ATtiny85 Pinout, we’ve to first check out all of the obtainable IC Packages of ATtiny85 Microcontroller.

Like several trendy microcontroller, the ATtiny85 can be obtainable in a number of IC packages. Since it’s a tiny gadget, it’s obtainable in 8-pin PDIP, 8-pin SOIC and 20-pad QFN packages.

The pinout of each the 8-pin packages i.e., 8-pin PDIP and 8-pin SOIC is similar. However an fascinating level in regards to the 20-pad QFN bundle is that regardless that it has 20-pads, 12 of its pads are DNC (Do Not Join). So, this leaves us with the important 8 purposeful pads.

Within the following picture, we current to you the IC Packages and likewise the ATtiny85 Pinout for these packages.


From the above picture, it’s clear that every pin of the ATtiny85 Microcontroller is closely multiplexed with some pins having as much as 9 completely different functionalities (of which, you should utilize just one).

Pin Description of ATtiny85 Microcontroller

Now that we’ve seen the ATtiny85 Pinout for all of the IC Packages, allow us to now dive into the pins of the Microcontroller together with their features. We put collectively a complete desk with all of the pins, their different features and likewise the pin description.

Pin Quantity Identify 1st Perform 2nd Perform third Perform 4th Perform fifth Perform sixth Perform seventh Perform eighth Perform Pin Description
1 1 PB5 RESET dW ADC0 PCINT5 Reset,

debugWIRE IO,

ADC Enter Channel 0,

Pin Change Interrupt 5


Crystal Oscillator IN,

Exterior Clock IN,

ADC Enter Channel 3,

Complementary Timer/Counter 1 Examine Match B OUT,

Pin Change Interrupt 3

3 5 PB4 XTAL2 CLKO ADC2 OC1B PCINT4 Crystal Oscillator OUT,

System Clock OUT

ADC Enter Channel 2,

Timer/Counter 1 Examine Match B OUT,

Pin Change Interrupt 4

4 8 GND Floor

Analog Comparator Optimistic IN,

Timer/Counter 0 Examine Match A OUT,

Complementary Timer/Counter 1 Examine Match A OUT,

USI Knowledge IN (3-Wire Mode),

USI Knowledge IN (2-Wire Mode – I2C), Exterior Analog Reference

Pin Change Interrupt 0


SPI Grasp IN Slave OUT,

Analog Comparator Destructive IN,

Timer/Counter 0 Examine Match B OUT,

Timer/Counter 1 Examine Match A OUT,

USI Knowledge OUT (3-Wire Mode),

Pin Change Interrupt 1

7 14 PB2 SCK ADC1 T0 USCK SCL INT0 PCINT2 SPI Serial Clock,

ADC Enter Channel 1,

Timer/Counter 0 Clock Supply,

USI Clock (3-Wire Mode),

USI Clock (2-Wire Mode – I2C),

Exterior Interrupt 0 IN,

Pin Change Interrupt 2

8 15 VCC Provide Voltage
3, 4, 6, 7, 9, 10, 13, 16 – 20 DNC (Do Not Join)

Please be aware that this pin description is only a temporary overview of the performance {that a} pin can supply. For in-depth understanding of the pin features and likewise the right way to choose a correct perform by the multiplexer, you need to undergo the datasheet of ATtiny85.


This was a quick introduction to the ATtiny85 Microcontroller, a low-cost, low-power 8-pin microcontroller from Atmel (Microchip Expertise). We noticed the essential options and specs of the ATtiny85 Microcontroller. Then, we regarded on the completely different IC Packages and likewise the ATtiny85 Pinout for these packages. And eventually, we noticed the pin description for all of the pins together with a listing of their different features.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments