Adafruit Trinket based USB keyboard emulator for button with covered toggle switch for arming
Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
.gitignore
LICENSE
README.md
missile_command.ino

README.md

missile_command

Adafruit Trinket based USB keyboard emulator for button with covered toggle switch for arming.

1

CloudFlare Support

This project came about because one of the CloudFlare London support staff mentioned in the office they've "always wanted one of those missile command switches with the cover". I'd been meaning to try out the Adafruit Trinket in a project; this was the perfect excuse.

1

The Trinket is capable of being a USB keyboard using software bitbanged USB 1.1 via a project called V-USB.

So, I combined a 5V Adafruit Trinket, a Sparkfun red illuminated toggle switch, a Sparkfun illuminated push button and a few resistors to create a support emergency button.

1

When armed the push button becomes live. Pressing it causes a short countdown to begin during which the buttons flash (and switching off the toggle switch stops the count). Once the countdown expires the keyboard emulation sends Alt-L followed by the URL of the CloudFlare internal support web site.

Note: this project does not use the Adafruit Trinket USB library because of difficulty I had getting it working with the Mac. I substituted the Digispark Keyboard library which worked well. Further details of this can be found in this thread.