Learn How to Use the ATtiny85 in UNDER 4 Minutes!




Introduction: Learn How to Use the ATtiny85 in UNDER 4 Minutes!

Here you have the comprehensive starting guide to the Attiny85 microcontroller compressed into a short but detailed video that covers everything from configuring you Arduino as ISP to Uploading some working code.

Step 1: Video

Step 2: Parts

  • Arduino Uno
  • USB printer Cable
  • ATtiny85
  • Jumper cables
  • 3 Red LED's
  • 3 220 Ohm resistors
  • 10 KOhm Potentiometer
  • Breadboard
  • Optional : 10 µF Capacitor

Step 3: Install the ATtiny85 Drivers

Go to the Arduino IDE, and under File/Preferences fill in the field "Additional Boards URLs" with this command:


Then click close.

Now go to Tools/Boards/Boards Manager, and in there search attiny in the search box. Then click the attiny box and press install - close when finished.

Step 4: Setting Up Arduino UNO As ISP

Start of by configuring your Arduino Uno as a programmer for the ATtiny85. Plug your Arduino using a USB cable into your Computer, and in the Arduino IDE load up the example sketch "Arduino as ISP" under File/Examples/Arduino as ISP. Then just click upload as with any other code. No connections to the Arduino Uno are needed so far.

Step 5: Programming the ATtiny85

Now to program the ATtiny85 itself, place it into a breadboard and connect jumper cables according to the sketch:

  • GND - Arduino Ground
  • VCC - Arduino 5V
  • Reset - Arduino Pin 10
  • Pin 0 - Arduino Pin 11
  • Pin 1 - Arduino Pin 12
  • Pin 2 - Arduino Pin 13

Optional : You can add a 10 uF Capacitor between Reset and Ground

It is up to you now what you want to upload to the ATtiny85, but before that, select the correct settings by:

  • Selecting the ATtiny85 board option under Tools/Boards/ATtiny25/45/58
  • Processor as "ATtiny85" with "1 MHz" clock
  • and the correct programmer : "Arduino as ISP"

Step 6: LED Blinker

First download the attached .ino program from this page. Then upload it with the same configuration as in the previous step. This is just an extension to see if you ATtiny85 works. Basically it is a blinking LED toy where the speed is controlled with the potentiometer.

Disconnect your ATtiny85 from your Uno, and hook it up to any power source, like some batteries.

  • Take the three 220 Ohm resistors, and connect each of them separately to pin 0,1 and 2
  • Connect each LED anode to separate resistors
  • Connect all LED cathodes to GND
  • Connect the VCC of the ATtiny to your power source positive terminal, and the GND pin to ground
  • Last connect the middle potentiometer pin to Pin 3 of the ATtiny85, and the opposing pins to Ground and power respectively

And we are done.

Step 7: Finished Circuit

It can also be seen working in the video. Enjoy!

Step 8: Code Download

Be the First to Share


    • Tinkercad to Fusion 360 Challenge

      Tinkercad to Fusion 360 Challenge
    • Home and Garden Contest

      Home and Garden Contest
    • Electronics Contest

      Electronics Contest



    Question 1 year ago

    I can't get the circuit to work! I've verified that everything's wired correctly and the code is good as well. However, I get two error messages:
    "avrdude: stk500_recv(): programmer is not responding" and
    "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x2d" (repeated 10 times)

    Any suggestions?


    1 year ago

    A great way to get your ATtiny 85 up and running. I really like the test code!


    3 years ago

    Thank you for sharing up to the implementation of LED blinker!
    That's useful practical sharing!

    DIY Hacks and How Tos

    Great tutorial. I have been meaning to get started with ATtiny but I hadn't had the time to do the intro research. Thanks for sharing.


    Reply 4 years ago

    Great to hear! Share your project once you are finished.