Programming ATtiny85 with Arduino Uno


I am working on a project which requires reading multiple sensor data on different locations. These require only few PWM pins so using multiple Arduino Uno would be expensive and unnecessary. So I decided to use ATtiny85 microcontroller in place of Arduino Uno development boards. ATtiny85 is a cheap and powerful alternate when u don’t need too many PWM pins. Since ATtiny85 is just a microcontroller we need a Arduino Uno to program it. In this project I will explain how to do it. Below is the pin configuration of ATtiny85 and the datasheet can be found here ATtiny85 with Arduino-Uno

Configuring Arduino Uno as a ISP (In-System Programming)

To program the ATtiny85 we need to first set Arduino Uno in ISP mode. Connect your Arduino Uno to the PC. Open Arduino IDE and open the ArduinoISP example file (File -> Examples -> ArduinoISP) and upload it.

Adding ATtiny85 Support to Arduino IDE

By default Arduino IDE doesn’t support ATtiny85 so we should add ATtiny boards to Arduino IDE. Open File -> Preferences and in the Additional Boards Manager URLs give this url

After opening Board Manager scroll down the list where it says “attiny by Davis A. Mellis”. Click on that and install it.

This Post / Project can also be found using search terms:

  • attiny85 library for arduino uno download

Leave a Comment

= 4 + 0

(Spamcheck Enabled)

Read previous post:
Mango A Compact Size FPGA Research Platform
Mango: A Compact Size FPGA Research Platform

About LASARRUS LLC., is family run business that is focused on providing a state-of-the-art clinic for rehabilitating patients suffering from...

Scroll to top