
Vader badge
Plays the Imperial March on a piezo buzzer at the tap of a button, using only an ATtiny13a.
The code fits in under 1k of flash space.
The piezo is driver through a square wave voltage doubling circuit, which drives the piezo surprisingly loud on only a CR2032 watch battery.
Additionally, an LED matches its brightness to the notes being played.