
I tried adding digitalWrite(1, HIGH) to detect, whether the sketch even runs and it turned out it does not even run (except after the upload). Removing the VIN voltage regulator saves 1.2 mA. Disabling the power LED by breaking the copper wire that connects the power LED to the diode with a knife or removing / disabling the 102 resistor saves 1.3 mA. But it is possible to reduce power consumption down to 26 ♚ in 3 Steps.

I have two ATtinys and both do the same behaviour. Our Digispark board uses 5mA at 3,0 volt.With 2 AAA batteries (1000mAh) it will run for 8 days. I have tried it in Arduino IDE 1.8.8 and in Arduino IDE 1.6.5 and I have no idea why it is only recognised right after upload. But when I disconnect it and connect it again (to my PC or any other PC) it is recognised as Digispark Bootloader and does not do anything. When I upload the code via Arduino IDE into the device (Board: Digispark (Default - 16.5MHz), it finishes successfully, it is recognised as a HID device and immediately performs all the tasks.


I have a pretty simple sketch: #include ĭndKeyStroke(76, MOD_ALT_RIGHT | MOD_CONTROL_LEFT) //ctrl+alt+del I am trying to create auto-username-writer with Digispark ATtiny 85.
