When I plug in my digispark clone the computer doesn't make any sounds or some kind of acknowledgement that it has been plugged in. Anyone know why this may be or is it just a dodgy clone?
2 Answers
The Digispark does not use a "standard" USB-to-Serial chip but is dependent on a special bootloader called "micronucleus" that makes it (sort of) act like a USB device.
Below is a description of the steps you need to perform for a Windows system and the Arduino IDE.
- First, you will need to install a Windows driver for Micronucleus: Zadig USB driver
If your ATTiny is recognized by Windows after performing the driver installation, then all is fine and you can skip to step 4.
If Windows still does not recognize your Digispark clone, its ATTiny processor might not have come with micronucleus pre-programmed and you need to perform steps 2 and 3. Unfortunately this is for advanced users and might be difficult if you're inexperienced with electronics and/or Arduino.
- Download Micronucleus from Github
- Follow This tutorial from Digispark to install micronucleus on your ATTiny. You will need another Arduino (Uno, Nano, Mega, Mega2560, ... or clone) for that.
- Then follow This tutorial from Digistump to enable the Arduino IDE to program your Digispark clone directly from USB.
-
-
@Scott Correct, you need to download it from the Github repository (linked to by the Digispark site), or from the zip file in the 3rd step (it's under firmware/releases).– StarCatApr 22, 2022 at 5:36
-
yeah I got that part and found the repository but there were about 9 or 10 hex images in there with no documention I could see as to what was what– ScottApr 23, 2022 at 13:03
It sounds like a driver problem.
If you are on Windows, check your Device Manager and see if the new device is detected and has proper driver installed. If it is, you should see a COM port added when you attach the board.
There are different USB chips that manufacturers use (CH340G and FT232RL, as far as I know), and not all of them have their drivers already installed on Windows.
Check your board to see what chip it is, google for the drivers and the setup procedure for your OS.
You can also check Digispark Installation Instructions and try the driver they provide.