Instructables

Button Activated...Anything!

Picture of Button Activated...Anything!
Have you ever wanted a button to trigger something on your computer?  Well, Here is how you can do it.
 
Remove these adsRemove these ads by Signing Up

Step 1: Materials and Tools

Here is what you will need to make this simple rig:

•PS/2 Or USB Keyboard (wireless may work) depending on what you have or what your computer can support.

•Button of your choice (Must be a Push Button)
     Here is some ideas of the types you can use:
       Illuminated push button
       Arcade Push Button
       Other Push Button
   Most can be bought from Adafruit or SparkFun.

You will need a screw driver to open it up, a computer, and any electrical tools that you think that will help you the most.

Step 2: Open it up!

Picture of Open it up!
Plug in your keyboard to make sure it works with your computer than start opening it up.  Do not snip any wires and carefully pop off the keys.

If you see clear plastic sheets, it is okay.  That is actually the easiest keyboard to use for this project.

Remove the circuit board and anything else that is not the keys or electrical components.

Step 3: So, What does it do?

Picture of So, What does it do?
Now it is time to make it actually do something! :)

You need to set your computer up to trigger an action with the press of a key. If you do not know how to do that, read this dictionary entry.   I am going to use sound cueing software (you can find it by googling it.)

Hook up the button's 2 pins to the correct circle on each plastic sheet and hook it up to your computer.

Press it, and if it works, you're done!  Please comment on what some of your tasks are, or if something doesn't work and I will do my best to help you.
Dream Dragon11 months ago
Very interesting, does it not create conflict with the main Keyboard to have what is essentially a second Keyboard making inputs?
haunted.haunt (author)  Dream Dragon11 months ago
No, It does. If you do not want it to cause conflict, you can just use the left mouse button (desolder it and put 3 wires there instead) - Then just hook the 3 wires to the 3 button terminals. Finally, put your mouse above "Play" and hit the button.
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!