[Home]DigiSparks

HomePage | RecentChanges | Preferences | My Website home page

Showing revision 14

DigiSparks

Once again, in about 2019, eBay suggested I buy some DigiSparks. At the price suggested, 1.69 GBP, it was worth a go. They sat in my box of bits, awaiting a use.

The serial Port example did not work but the keyboard example did.

The Arduino documentation has a USB keyboard example.

https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/USBHID/examples/Keyboard/Keyboard.ino

https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/USBHID/examples/KeyboardRaw/KeyboardRaw.ino worked.

There was a similar example for the DigiSpark.

https://github.com/digistump/DigisparkArduinoIntegration/blob/master/libraries/DigisparkKeyboard/examples/Keyboard/Keyboard.ino

They are super for HID keyboard automation. I have needed to reflash the bootloader once or twice.

AutoType describes using two to type across a service where both people TYPE and READ their conversation.

update on installing - a work around

Note ( 2024-09-01 ): http://digistump.com is refusing connection. So the examples about installing below need updating.

See this: https://github.com/digistump/DigistumpArduino/issues/167

This is used in preferences instead.

https://raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json

And https://forum.arduino.cc/t/digistump-digispark-no-longer-available/1234095 - helpful

Original help on installing DigiSpark - needs updating

Original help on Adding DigiSparks to Arduino IDE.

https://www.instructables.com/Digispark-DIY-The-smallest-USB-Arduino/

This is very helpful: http://digistump.com/wiki/digispark/tutorials/connecting

Drivers and firmware: https://github.com/micronucleus/micronucleus v2.04

https://github.com/digistump/DigistumpArduino - more information

In the box labelled "Additional Boards Manager URLs" enter: http://digistump.com/package_digistump_index.json

As the link above no longer, works try:

https://raw.githubusercontent.com/digistump/arduino-boards-index/master/package_digistump_index.json

https://drazzy.com/package_drazzy.com_index.json

I cannot get the DigisparkCDC examples to work

The DigiSparkCDC examples do not work. They Blue screened my Win10 PC back in 2019. On 2024-09-01 they compile, but Windows complains that Windows does not recognise the Device.

Use a Leonardo instead.

Update problem due to old ADSL router

I got this when using the board manager and Win10: "CRC error, file corrupted. Try to repeat later"

This helped. https://github.com/arduino/Arduino/issues/9719

I deleted C:\Users\doug\AppData\Local\Arduino15\library_index.json

When I next opened the IDE it seemed to have installed the new boards.

	C:\Users\doug\AppData\Local\Arduino15\library_index.json
	~/.arduino15/library_index.json

https://github.com/arduino/Arduino/issues/9719 - Win10 reports CRC error

Another may be related problem. The iPhones would not take any updates and failed.

My ISP suggested I upgrade and it seemed to fixed the iPhone update issue.

My old ADSL2 router was replaced by a router that supported FTTC.

I installed DigiSpark into the Arduino IDE over the new router onto a new Windows computer with no issues.


HomePage | RecentChanges | Preferences | My Website home page
This page is read-only | View other revisions | View current revision
Edited August 27, 2025 7:08 am by dougrice.plus.com
Search: