Introduction: Getting Started With Digispark Attiny85 Using Arduino IDE
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.
Step 1: Things You Need to Get
Step 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
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
Step 3: 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 :-
Now go to boards manager and download the Digispark boards.
Step 4: 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.