I'm going to build a USB Easy Button. I found most everything I needed from jro's project and a flickr photoset by tommybear. Plus, I've been dying to try one of these U-HIDs. I also describe this process on my blog.
What you'll need:
- An Easy Button (or Boton Facil if it suits you better) $4.99
- A U-HID Nano and USB Cable (with shipping) $42.00
- A Modular Harness for the U-HID (optional) $9.00
- Soldering iron & solder
- Wire (if you didn't buy the wiring harness)
- Dremel or a chisel
- Hot glue or silicone
- Small phillips screwdriver
- PC running Windows XP
Step 1: Program Your U-HID Nano
I hooked the wires up to a temporary switch at this point for programming the thing. You could go ahead and hook it up to the Easy Button. Just scan down a little to see which contacts to use.
You program the U-HID Nano with U-Config, a software package available from the manufacturer. It's a pretty easy process, and the Technical Manual was easy to read.
I'm not going to go into the details here except to note that a driver install and firmware update were required to get it working on my machine. Both of those processes are clearly documented on their site. I set it up so that when pin 10 goes to ground, it will send the macro "L Alt, F8". It seems to send the scancodes fast enough that my machine counts it as a combination keypress.
Step 2: Take the Easy Button Apart
Remove all 4 screws to release the silver ring and red button from the assembly. You'll be left with just the guts of the machine. Inside, you should see a white button. That is the heart of the Easy Button and the only part of the original electronics we're actually going to make use of.
All of these things have to go, so desolder and discard them:
- The black capacitor
- The resistor closest to the button
- The red speaker wires
- The black & white power wires
Remove the 2 screws, and take the PCB off of the assembly. Set the metal spring aside. We want to keep that because it pops the button back up after it's pushed. Besides, it gives a satisfying CLICK that I like.
Remove the 4 screws that hold the little mezzanine level on. You may have to pry it up just a bit if the hot glue below is sticking it down. Take the metal slugs out and discard them. They're just stuck in there with a little hot glue and you can pick them out without ruining anything. I guess you could leave them if you have the room & like the heft. Remove the speaker too.
Use your dremel or a chisel to take out any little plastic bits that are in your way. Just remember that you have to leave the 4 posts that hold the mezzanine level up.
Step 3: Put the U-HID in the Button
Replace the mezzanine, metal spring, and PCB. Now comes the soldering. The U-HID Nano is going to just sit there and wait for pin 10 to touch the ground pin. We're going to use the normally-open momentary switch inside the Easy Button to interrupt that connection, so the circuit is only closed while the Easy Button is depressed. Solder the gray and black wires as shown.
It would be a good idea to test it at this point to make sure it works before you put everything back together. Use a little hot glue to make sure the wires do not interfere with the holes in the PCB. Those are what keep the button aligned properly, and if they're blocked, you can't push the button.
Step 4: Let the Wire Out
It should only go back together one way: with the battery compartment farthest away from you, the "easy" label should be right-side up and the Staples logo on the ring will be directly toward you. Replace all 4 screws in the bottom of the case and use a little hot glue to stick the rubber pads back on. You're done with the hardware: you've built an Easy Button that actually does something.
Step 5: Make It Do Something
- Create a folder in your Start Menu called Easy Button
- Create one shortcut inside the folder called thatwaseasy.lnk
- Right-click the shortcut and select Properties.
- Click the "Shortcut key" field and press the hotkey combination you told the Easy Button to send (in my case, Alt + F8).
- Set the target of the shortcut to the program you want the Easy Button to run.