Skip to main content

Posts

Showing posts from March, 2020

How to Get Digispark ATtiny85 Working

Digispark Attiny85 runs at 16.5MHz (with no external crystal) and has 5 I/O pins and connects to a USB port using a micro USB connector. The breakout board comes with an ATtiny85 chip pre-programmed with the micronucleus bootloader. The great thing about this bootloader is that it makes a software compatible USB interface inside the ATtiny85 - even when that chip has no USB interface. By adding support libraries into the Arduino IDE you can program this chip using the Ardino IDE system in a similar way to other Arduino microcontrollers. The rest of this page shows you a Digispark tutorial for installing the Digispark drivers, checking that they are working correctly and programming the device. Digispark ATtiny85 Bootloader Timeout The way that the Digispark Attiny85 works is to use the Window Driver to identify the Digispark but this can only be done for 5 seconds. After the 5 seconds the bootloader becomes a dumb device and the program control is transferred to

DigiSpark With 64-bit Ubuntu

DigiSpark . It’s about the size of a coin, plugs straight into your USB port and will probably cover most of your microcontroller project needs. The problem is that it doesn’t seem to play nice, out-of-the-box with 64-bit Ubuntu Linux. The DigiSpark isn’t a particularly New Thing – it was a KickStarter project from August 2012. Since it’s Open Hardware, the inevitable happens and some people in Shenzen have taken the board layouts and started cranking out the hardware super, super cheap. Here’s how to get it Working on Linux Install the standard Arduino IDE for 64-bit Linux. This is version 1.5 at the time of writing. Follow DigiSpark’s instructions for adding their extensions to the Arduino IDE. You should now see something like this listed when you lsusb: 16d0:0753 MCS Digistump DigiSpark . This is specifically for 64-bit Linux (Ubuntu 14.04LTS) at the time of writing: Download the Arduino IDE programmer binary for 64 bit here and use it to replace the version t