Introduction: How to Setup DigiSprak Attiny85 Board

Hello there Engineers and Hobbyists, we all love Arduino's right! But using an Arduino UNO, NANO or any other Arduino for a small task like displaying a simple message on LCD or just Fading LED would be waste of resource and money, so in this video, we would discover a Cheap and Compact Alternative of Arduino called ATTINY85, so let’s get started!

Step 1: Watch the Video

Step 2: Gathering the Requirements

for this Tutorial, we will need

1. Attiny85 Board

2. Arduino IDE

Step 3: Understanding the Board

At Tiny 85 is similar to Arduino, but it is not Arduino,ATTINY 85 is a Micro-Controller chip, which has 6 General Purpose IO pins(GPIO), out of which 5 are PWM enabled, and ATTINY85 also supports the SPI and I2C Communication Protocols, but it has only 8Kb of programming memory, so yes, it is not as capable as Arduino board, but it will work just fine for small projects.

also, this board few other features like

  • inbuilt 8 bit timers.
  • inbuilt comparators.
  • 512 Bytes EPROM
  • 512 Bytes SRAM.

here is a complete data sheet for brief knowledge

Step 4: Edit Board URL

we need to add boards (DigiStump's Attiny85) into our Arduino IDE, to do so,

  1. First open your Arduino IDE,
  2. go to Preference and simply paste the Link " " on the Additional Board Management URL,
  3. then simply Press okay and Close Preferences.

Step 5: Install DigiStump Board on IDE

to install Attiny Board Settiongs on Arduino IDE,

  1. go to board manager, under Tools menu
  2. select the Contributed type of boards Option
  4. Click on install it!

Step 6: Install the Drivers

Now, install the drivers on your computer Attached on this Step

  1. Unzip the Attached File.
  2. click on DPinst64.exe to install the Drivers on your computer.
  3. then insert the Attiny85 board into your computer .

Step 7: Troubleshooting (OPTIONAL)

sometimes your drivers are not installed correctly, in such (unusual) case, we will follow these steps

  1. Open Device Manager,
  2. Click on View Menu and select“Show Hidden option
  3. click on Device called “LIBUSB-win"
  4. Right Click on DigiSpark USB device device and Click on Update Device
  5. browse the drivers from our computer.
  6. select the location of drivers stored on computer

Step 8: Write Test Code

  • Now, let’s run a test code to check our ‘Attiny85’ board,

we will simply try Blink code, which you can find attached in this step.

<p>/* Blink Code by Akshay Momaya<br> * for Mission Critical Channel 
 * ATTINY85 Tutorial for <Mission Critical><mission critical="">
 *  subscribe for more arduino Tuorials and Projects
<a href=""></a>
 */</mission></p><p>void setup()
  pinMode(1, OUTPUT);
 }</p><p>void loop()
  digitalWrite(1, HIGH);   
  digitalWrite(1, LOW);    


Step 9: Select Proper Board Type

here, Selecting the Proper Code is the deal breaker of this entire Setup. to do so,

we will

  1. select “Digispark (Deafult-16.5Mhz)” from Board Menu in Tools.
  2. select programmer as “Micronucleus" from Board Menu in Tools.

Step 10: Upload the Code

normally we would compile and Upload the code with our Arduino Connected, but here in Attiny85, we will

  1. Compile the code
  2. Press UPLOAD button
  3. wait for Plug in device now... (will timeout in 60 seconds) this message.
  4. Connect the Board Within 60 Seconds .
  5. wait for "Micronucleus done. Thank you!" Message From compiler.
  6. Enjoy!

Ouput of this code will show blinking LED on Pin 1 on the Board

Step 11: Conclusion / Future Scope

We will do much more projects and Experiments with this board in future,

like Shrinking your Circuit Size, making StandAlone Attiny85 Projects etc.

Don’t forget to subscribe to Mission Critical for such Awesome Tutorials and Projects!