Getting Started With Digispark Attiny85 Using Arduino IDE
by Utsource in Circuits > Arduino
6609 Views, 1 Favorites, 0 Comments
Getting Started With Digispark Attiny85 Using Arduino IDE
.jpg)
The Digispark is an Attiny85 based microcontroller development board similar to the Arduino line, only cheaper, smaller, and a bit less powerful. With a whole host of shields to extend its functionality and the ability to use the familiar Arduino IDE the Digispark is a great way to jump into electronics, or perfect for when an Arduino is too big or too much.
Things You Need to Get

For this tutorial you only need a digispark attiny85 board. :
digispark:
Digispark link 2
Specification of Digispark ATTINY85

Support for the Arduino IDE 1.0+ (OSX/Win/Linux)
Power via USB or External Source - 5v or 7-35v (12v or less recommended, automatic selection)
On-board 500ma 5V Regulator
Built-in USB
6 I/O Pins (2 are used for USB only if your program actively communicates over USB, otherwise you can use all 6 even if you are programming via USB)
8k Flash Memory (about 6k after bootloader)
I2C and SPI (vis USI)
PWM on 3 pins (more possible with Software PWM)
ADC on 4 pins
Power LED and Test/Status LED
Power via USB or External Source - 5v or 7-35v (12v or less recommended, automatic selection)
On-board 500ma 5V Regulator
Built-in USB
6 I/O Pins (2 are used for USB only if your program actively communicates over USB, otherwise you can use all 6 even if you are programming via USB)
8k Flash Memory (about 6k after bootloader)
I2C and SPI (vis USI)
PWM on 3 pins (more possible with Software PWM)
ADC on 4 pins
Power LED and Test/Status LED
Install Digispark Boards in Arduino IDE



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.
Programming the Digispark Board Using Arduino IDE




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.
Thank you
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.
Thank you