The PANIC Button

 by thinkl33t
Featured
Ok, bit of explanation first.  We have a PC set up as a 'democratic jukebox' at Hackspace Manchester.  The idea being that anyone can put music on it, and it plays the entire library on shuffle during our hack sessions for a bit of background music.

The problem is, of course, some people have an... odd taste in music, so sometimes the jukebox ends up flipping between Aqua and Cannibal Corpse for ten minutes, and the horror of this was just too much!

Enter the PANIC button.
 
Remove these adsRemove these ads by Signing Up

Step 1: Minimus USB AVR.

The button uses a minimus board. The minimus is a carrier for the AT90USB162, an AVR microcontroller with onboard USB hardware, which means it can be programmed to show up as any USB device. 

Before getting the button I modified one of the pieces of LUFA demo software, a media keyboard, and stripped it down to just read the one button on the minimus.  When the button is pressed, it sends the keycode for next track.

To install this on a minimus:
  • Plug it in
  • Hold down the HWB button, then press reset
  • It should show up on the PC as an atmel DFU device
  • On a linux box with avr gcc and dfu-programmer installed, just type 'make dfu'.
Zaphod Beetlebrox says: Oct 15, 2012. 3:30 PM
Now all you need is a "Don't Panic" button.
amandaghassaei says: Oct 1, 2012. 11:03 AM
great idea! They should install these at a lot of places I think.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!