Digispark

Sun Dec 19 2021 11:44:50 (Unix time = 1639935890)

Digispark Pinout
Digispark Pinout by MortenAaserud

I've started working with the Digispark ATTINY85 development board. Although the ATTINY85 is small, this makes it trickier to work with — some compromises were required for size. Even so, the Digispark is a cool little board but has its own quirks and benefits.

Things to Know

The Digispark is definitely different, so there are a few things that it can help to realize before you begin working with it. Here are a few I've encountered:

  • When programming with the bootloader over USB, start programming the board, and then plug it in. You'll need to do this each time you want to program it.
  • The original Digispark used P5 for I/O and it could not be used as RESET. The numerous inexpensive Digispark clones (primarily Chinese) do not use P5 for I/O. It is still the RESET pin.
  • P3 and P4 are overloaded for use via the USB emulation, and so programs that use P3 and P4 (for example, my Serial experiment) will cause some challenges with programming the board. You may need to disconnect P3 and P4 prior to programming, and if this is on a permanent circuit you probably will want a disconnect.
  • You can use P5 as a RESET if it is not used for I/O. I've found that just grounding it will work to start programming, which means you don't have to plug/unplug the board. This doesn't work if you're using P3 and P4 as noted above.

Digispark Documentation

More Articles