Home Made Digispark

by ForbiddenBit_com in Circuits > Arduino

4372 Views, 17 Favorites, 0 Comments

Home Made Digispark

DSC_0422-1024x683.jpg

Digispark is an ATtiny85 based microcontroller development board come with USB interface. Coding is similar to Arduino, and it use the familiar Arduino IDE for development. My digispark will be powered by USB only. Digispark is fully compatible with arduino.

Specification:

-Support for the Arduino IDE 1.0+ (OSX/Win/Linux)

-Power via USB -6 I/O Pins (2 are used for USB)

-6K Flash Memory after upload bootloader

-I2C and SPI -PWM on 3 pins (more possible with Software PWM)

-ADC on 4 pins

Video Tutorial

How to make DIGISPARK at home STEP BY STEP

Montage

1.jpg
2.jpg
3.jpg

List elements:

2x 68 Ω

1x 220 Ω

1x 1.5K Ω

1x Diode red

2x Diode Zener 3.3V or 3.6V

1x USB plug

1x Attiny85

1xUniversal PCB

​Upload Bootloader and Driver Installation

avr_dragon_ports-1.png

Upload bootloader and driver installation

Link to package of files with devices and bootloader https://drive.google.com/file/d/1Gudu0x6EU9rCINJU...

Connect ATTINY85 with programmer

1. Download files

2. Extract Digispark.zip

3. You can find the bootloader file at micronucleus-t85-master\firmware\releases\t85_default.hex

4. Upload file t85_default.hex to ATTINY85

5.Set fuse:

Extended: 0xFE

High: 0xDD

Low: 0xE1

6.Install drivers Digistump.Drivers\DPinst64.exe

​Configure Arduino IDE:

4.jpg
5.jpg
6.jpg

Configure Arduino IDE:

Add link in Preferences to “Additional Boards Manager URL” http://digistump.com/package_digistump_index.json...

2. Install library “Digistamp AVR Boards by digistump”

3. Set Board: Digispark (Default – 16.5mhz)

4. Set Programmer :Micronucleus

Test Our Digispark

7.jpg

Copy code or open in arduino Examples\Digispark_Examples\Start

Unplug Digispark before upload sketch and click upload. If you see the sentence “plug in device now” plug now your DIGISPARK. Now connect diode LED with pin number 5.

Have Fan :)