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

    • Audio Challenge

      Audio Challenge
    • Soapmaking and Candlemaking Speed Challenge

      Soapmaking and Candlemaking Speed Challenge
    • Robots Contest

      Robots Contest

    7 Comments

    0
    2dbouwen
    2dbouwen

    3 months ago

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

    0
    Dr_Quark
    Dr_Quark

    4 months 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 8 months ago

    Thank you for this!

    0
    DerGlorreiche
    DerGlorreiche

    Reply 9 months ago

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