Machines › Computers › Digistump › Digispark
Digispark
2012
The Digispark (Digistump, 2012) is a thumbnail-sized USB development board built around the 8-bit Atmel ATtiny85 (an AVR microcontroller) with 8KB of flash and 512 bytes of RAM. A Kickstarter hit, it plugs straight into a USB port. The whole on-board surface is LEDs: the built-in LED on P1 and the broken-out pins P0 to P5, with no UART and no piezo. Here it boots real public-domain ATtiny85 programs on Wokwi's avr8js, a from-scratch AVR simulator. On-board only, and the bare board has no audio, so it is silent.
Digispark Online Emulator
Play Digispark using JavaScript directly in your browser.
Controls
Boots a compiled public-domain ATtiny85 program on a Digispark board. The whole board surface is LEDs: the built-in LED on P1 (the mass-produced Model B / rev3) and the broken-out pins P0-P5. Ships four original public-domain bare-metal programs: Blink (the onboard LED), Soft-PWM fade (the onboard LED breathing up and down in brightness via software PWM), Knight Rider (a lit LED chasing across P0-P4), and Timer0 blink (a hardware-timer CTC compare-match interrupt toggling the onboard LED). There are no buttons on a bare Digispark, so the only control is Reset. Open the debugger to single-step the ATtiny85, read/write R0-R31/SP/PC/SREG, watch the I/O registers, set breakpoints and write-watchpoints. Click the panel first so it captures the keyboard (R = reset).
Boots a compiled public-domain ATtiny85 program on a Digispark board. The whole board surface is LEDs: the built-in LED on P1 (the mass-produced Model B / rev3) and the broken-out pins P0-P5. Ships four original public-domain bare-metal programs: Blink (the onboard LED), Soft-PWM fade (the onboard LED breathing up and down in brightness via software PWM), Knight Rider (a lit LED chasing across P0-P4), and Timer0 blink (a hardware-timer CTC compare-match interrupt toggling the onboard LED). There are no buttons on a bare Digispark, so the only control is Reset. Open the debugger to single-step the ATtiny85, read/write R0-R31/SP/PC/SREG, watch the I/O registers, set breakpoints and write-watchpoints. Click the panel first so it captures the keyboard (R = reset).
Boots a compiled public-domain ATtiny85 program on a Digispark board. The whole board surface is LEDs: the built-in LED on P1 (the mass-produced Model B / rev3) and the broken-out pins P0-P5. Ships four original public-domain bare-metal programs: Blink (the onboard LED), Soft-PWM fade (the onboard LED breathing up and down in brightness via software PWM), Knight Rider (a lit LED chasing across P0-P4), and Timer0 blink (a hardware-timer CTC compare-match interrupt toggling the onboard LED). There are no buttons on a bare Digispark, so the only control is Reset. Open the debugger to single-step the ATtiny85, read/write R0-R31/SP/PC/SREG, watch the I/O registers, set breakpoints and write-watchpoints. Click the panel first so it captures the keyboard (R = reset).
Boots a compiled public-domain ATtiny85 program on a Digispark board. The whole board surface is LEDs: the built-in LED on P1 (the mass-produced Model B / rev3) and the broken-out pins P0-P5. Ships four original public-domain bare-metal programs: Blink (the onboard LED), Soft-PWM fade (the onboard LED breathing up and down in brightness via software PWM), Knight Rider (a lit LED chasing across P0-P4), and Timer0 blink (a hardware-timer CTC compare-match interrupt toggling the onboard LED). There are no buttons on a bare Digispark, so the only control is Reset. Open the debugger to single-step the ATtiny85, read/write R0-R31/SP/PC/SREG, watch the I/O registers, set breakpoints and write-watchpoints. Click the panel first so it captures the keyboard (R = reset).
Configurations
| Configuration | Emulator | Machine | OS | Legal | |
|---|---|---|---|---|---|
| Blink (onboard LED) | Digispark (ATtiny85) | Digispark | open | Open ⛶ | |
| Soft-PWM fade (onboard LED) | Digispark (ATtiny85) | Digispark | open | Open ⛶ | |
| Knight Rider (LED chase) | Digispark (ATtiny85) | Digispark | open | Open ⛶ | |
| Timer0 blink (interrupt-driven) | Digispark (ATtiny85) | Digispark | open | Open ⛶ |
Downloads — ROMs & software
| Title | Type | Size (bytes) | Legal | |
|---|---|---|---|---|
| Blink (onboard LED) | firmware | 0 | open | Download ↓ |
| Knight Rider (LED chase) | firmware | 0 | open | Download ↓ |
| Soft-PWM fade (onboard LED) | firmware | 0 | open | Download ↓ |
| Timer0 blink (interrupt-driven) | firmware | 0 | open | Download ↓ |
Downloads — ROMs & software
| Title | Type | Size (bytes) | Legal | |
|---|---|---|---|---|
| Blink (onboard LED) | firmware | 0 | open | Download ↓ |
| Knight Rider (LED chase) | firmware | 0 | open | Download ↓ |
| Soft-PWM fade (onboard LED) | firmware | 0 | open | Download ↓ |
| Timer0 blink (interrupt-driven) | firmware | 0 | open | Download ↓ |
Chips
Emulators
| Emulator | Type | License | Site |
|---|---|---|---|
| Digispark (ATtiny85) | online | MIT | Website ↗ |