I really like the TV-B-Gone and thought it would be neat to create a similar prank like device. What i have created is a USB device that can trigger several actions on a computer, the idea being you have this device plugged into a computer you are wishing to prank and then you trigger the device and it then will preform a variety of operations including but not limited to.
- Closing the active window on the computer. (this is what i use on the demo)
- Locking the computer screen
- bringing up the the Ctrl-Alt-Del screen
- Shutting down the computer
- move the mouse around the screen
- type something out
- Anything else you can do with a keyboard/mouse
This idea came to me after watching Irongeek's Defcon presentation on the Teensy i would encorage you to check out his page on the teensy as well as the talk he gave over it: Here is his page
Please note: This is meant as a prank, and its funny to close a friends facebook page from accrost the room sure... not so funny to close someones term paper night before its due so keep this in mind before use, i hold no responciblity for any harm that may befall you in inproper use :P
Step 1: Supplies
- Teensy(any teensy will work i'm using the 2.0, available here http://www.pjrc.com/teensy/)
- Photocell(10k Ohm)
- Enclosure(I am using an Altoids tin although there are much smaller less conspicuous ones you can use)
- Cable(USB A male to USB B mini)
- Computer to program it
- Hook up wire
- zip tie
- Hotglue gun
- Duct tape
- Drill w/ bits
Nice to have
- Female header pins to attach to teensy
- Prototype board/male header pins
Step 2: Installing Software
If you have already used the Arduino software there is a simple plugin that allows you to use that software for programming the teensy.
Please refer to the teensy's website for further information: http://www.pjrc.com/teensy/index.html
If you have the arduino software already installed there's a simple installer to add in the teensy board to the arduino software.
Step 3: Assembling the Hardware
- First drill two holes in the Altoids case, the first for the USB cable, the 2nd for the photocell.
- Next we cut the end off the usb cable off, run it thought the hole and then reattach the end. Make sure to put heat shrink on the cable before resoldering them together
- Next we solder wires to the photocell, mount in to Altoids tin using hotglue, and cover its leads with heatshrink/tape to prevent shorting
- Attach Resistor to teensy (refer to schematic)
- Attach Photocell to teensy (refer to schematic)
- zip tie USB cable on both sides of the tin, this will prevent it being pulled out/pushed in
- Line the inside of the Altoids tin with duct tape to prevent shorting
- plug in USB cable
Step 4: Program the Teensy
- Plug in the teensy device to a usb port.
- Copy attached code into the arduino development environment.
- Click the verify button in the arduino software(looks like a play button)
- You will be Promoted to push the reset button on the teensy, do so.
- The program will then write the software to the teensy