Attiny 85 Digispark Board



In this post, I’ll show you how to use and program the Attiny 85 Digispark board with the Arduino IDE. I’ll demonstrate how to add the board to the Arduino IDE and how to install the drivers. Finally, we’ll make an example sketch that simply blinks an LED.

Note: If you want to know how to program the Attiny(just the chip without the Digispark board) with an Arduino using the Arduino IDE see this post I made.

Hardware used:

Adding The Board To The Arduino IDE

In the Arduino IDE go under File -> Preferences.
When the Preferences window opens up past this URL into the input box.
Open the Boards Manager under Tools -> Board -> Boards Manager… Then type digistump and install Digistump AVR Boards.
Finally, select your board like so Tools -> Board -> Digistump AVR  Boards -> “Select whatever board you are using”

Installing The Drivers

Download the drivers from here.
Run the installer and after that, you should be able to see your board in the Device Manager.

Blinking LED Example Software

byte led = 0;

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(led, OUTPUT);

// the loop function runs over and over again forever
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
Upload the firmware.
Here is the pinout and the very straightforward wiring.

Leave a Reply

Your email address will not be published. Required fields are marked *

The following GDPR rules must be read and accepted:
This form collects your name, email and content so that we can keep track of the comments placed on the website. For more info check our privacy policy where you will get more info on where, how and why we store your data.

Advertisment ad adsense adlogger