Digispark Attiny 85 With Arduino IDE

Introduction: Digispark Attiny 85 With Arduino IDE

About: I am an engineering student and i just love doing electronic (mcu's) and programming (C,C++,JAVA) based projects.

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:-

https://www.banggood.com/Digispark-Kickstarter-Mic...

https://www.banggood.com/3Pcs-Digispark-Kickstarte...

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

Be the First to Share

    Recommendations

    • Big and Small Contest

      Big and Small Contest
    • Make It Bridge

      Make It Bridge
    • For the Home Contest

      For the Home Contest

    9 Comments

    0
    wichjos
    wichjos

    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

    0
    WillieM30
    WillieM30

    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.

    0
    2dbouwen
    2dbouwen

    1 year ago

    alles volgens instructies gedaan. Ik krijg het helemaal niet werkend. een

    0
    Dr_Quark
    Dr_Quark

    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.

    0
    alexandracovor
    alexandracovor

    Reply 2 years ago

    Thank you for this!

    0
    DerGlorreiche
    DerGlorreiche

    Reply 2 years ago

    Please check your internet connection. For me it works like a charm!