Introduction: Digispark Attiny 85 With Arduino IDE
Digispark is a microcontroller board which has ATTINY 85 MCU as its heart and running with 16.5Mhz frequency with 8KB of memory and have 5 GPIO pins, this MCU board is cheapest and smallest Arduino Board available in the market good for wearables and small projects.
Step 1: Get the Board
BUY PARTS:
BUY digispark:
https://www.utsource.net/itm/p/8673532.html
https://www.utsource.net/itm/p/8673787.html
BUY ATTINY85:
https://www.utsource.net/itm/p/1865399.html
///////////////////////////////////////////////////////
so first of all you need to buy a Digispark board and the affiliate links are in description:-
Step 2: Install Boards
first of all open Arduino ide and then go to preferences and then in additional board magae url paste this given url for Digispark :-
http://digistump.com/package_digistump_index.json
Now go to boards manager and download the Digispark boards.
Step 3: Programming Board
select the given settings
Board- Digispark Default 16.5mhz
Programmer - micronucleus
And hit upload button and you'll get a message at very bottom on arduino ide to plug the device within 60 sec then plug the device and if everything worked fine then you'll get a message micronucleus done thank you that means code has been uploaded and your led will start blinking.
Refer video if having problem.
Thank you
9 Comments
3 months ago
Hi, thanks for this description. When I use a brandnew ATTiny85 it works as suggested. I have 2 more of these boards,which refuse to get connected. One was programmed to blink an RGB LED, which works sort-of fine, but not good. Therefor I tested Board #2, but apart from a red power LED, there is no reaction. Did I brick these boards ? Is there a remedy to bring them back to life ?
Many thanks in advance
Josses
1 year ago
Thanks for the assist.
I was having great difficulty, even after this tutorial. I found that I had to disconnect my USB keyboard before inserting the ATTiny85 board. All works good now.
1 year ago
alles volgens instructies gedaan. Ik krijg het helemaal niet werkend. een
1 year ago
digistump downloaded fine from both URLs, but the second download created some issue with the code:
.......byte LED_BUILTIN = 0 ; // in the blink sketch
so I commented it out and it compiled OK. But no upload.
But micronucleus.2.5 couldn't find the Digispark ATiny85. I tried plugging it in first, last, in and out, etc. and nothing. I tired (in the first digistump installation) the default 16mhz, the 16.5 mhz, and the 1 mhz (all with no USB), and then did the same with the second download installation. Nothing. The Digispark power LED lights up, the laptop makes a beep that it discovered the USB unknown device, then the activity LED starts blinking in a few seconds. I find it odd that the laptop "found" the USB device even though there isn't a serial interface chip on the Digispark.
What am I doing wrong? Thanks.
Tip 2 years ago on Step 3
To avoid errors, use the new boardmanager URL https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json and install the Digistump AVR Boards version 1.6.8 or later.
Reply 2 years ago
Thank you for this!
Reply 2 years ago
still error : faile to download https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
Reply 2 years ago
Please check your internet connection. For me it works like a charm!
Question 2 years ago on Step 2
there is an error : faile to download http://digistump.com/package_digistump_index.json