Attiny 85 Digispark Board

Share:

About

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.

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 http://digistump.com/package_digistump_index.json 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.
Share:

Leave a Reply

Your email address will not be published.

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