USB Foot Pedal





Introduction: USB Foot Pedal

I needed to be able to turn the page in a sheet music organizer I made ( ), without stopping playing. After a bit of thought, this usb foot pedal was born. Some companies sell these for over $200. Mine cost $30-$40 to make.

Step 1: Purchase Materials

The main materials used were:

-2 SPST momentary switches from RadioShack
-1 RadioShack Project Box
-1 Mobility USB 2.0 Travel Hub (staples SKU #564851)
-1 GE retractable keypad (staples SKU #603891)
-1/16" sheet steel
-1 superpad extra large mousepad (staples again)

I also used:

-electrical tape
-metal screws
-cyanoacrylate(super glue)
-3m super 77 spray adhesive
-conductive epoxy (if you're prepared)
-hot glue and a circuit writer pen from radio shack (if you're down and dirty)

I'll add part numbers soon, but thats what I needed.

for tools, I used:

-a dremel
-a table saw
-a file
-a drill
-an adjustable wrench
-wire strippers
-soldering iron
-screw drivers
-basically, a well stocked workbench.

OK, now lets get down to buisness.

Step 2: Remove All Casings

remove the casing of the hub and keypad. remove the circuit boards, and use electrical tape to isolate them and stack them in a neat bundle.

Step 3: Connect Wires to the Keypad

remove the film contacts from the keypad. Counting from the little plus sign, you need to connect to traces 2, 5, and 6.

you can now cut the film to size, and use conductive adhesive (or a circuitwriter and hot glue if you're lazy like me) to connect 1 lead to trace 2, 2 leads to trace 5, and 1 lead to trace 6.

at this point you can connect everything and test.

touching 2 and 5 should yield a 6, or a right arrow
touching 5 and 6 should yield a 4, or a left arrow

disconnect and continue...

Step 4: Cut and Drill

now you need to cut the project box on a bias, measure and slot for the connections to the hub, and drill and mount the switches. Whew, that went fast, didn't it.

you'll also need to cut down some posts to fit everything inside.

really, cut and fit to feel... and take your time

Step 5: Cut the Base

measure, cut and drill your steel base plate...
also measure and cut your non-slip surface (the mousepad)

measure large; its almost impossible to cut a mousepad exactly

Step 6: Assemble the Innards

stick the innards together, test, and super glue to the metal base, after double checking your electrical tape insulation.

then, connect the switches, solder, and screw it shut.

Step 7: Test

plug it all in, drop in your software (in my case Repertoire, soon to be available for testing at and test the darned thing.

Step 8: Add Nonslip Base

use spray adhesive to attach your mousepad to the base (fabric to metal)

Step 9: Admire Your Handiwork

stand agast in awe mere mortals...

i.e. use the infernal contraption, and enjoy.



    • Paper Contest 2018

      Paper Contest 2018
    • Pocket-Sized Contest

      Pocket-Sized Contest
    • Science of Cooking

      Science of Cooking

    We have a be nice policy.
    Please be positive and constructive.




    gschoppe, is there a pedal that will work for iPhone or iPad?

    This is awesome. I've tried to get my husband to make an analogue version of this for years!

    I believe IOS can only use bluetooth page turners, as AFAIK they dont offer usb-otg functionality. One of the cheaper bluetooth models is the "airturn bt 105".

    I'm considering building a budget bluetooth unit myself, using an "ezkey hid" from Adafruit or a similar bluetooth HID platform, but i havent had a chance to work on it yet. There was an instructable for this a little while ago, if you search for it.

    I need a foot pedal which allows me to keep track of knitted rows (guess I would need a small program to show the rows on either the laptop or Android phone screen)........... Please techies, help !!! :)

    The easiest way I can see to keep track of this is with a commercial foot switch that can emulate an HID keyboard, like this one: ($11) and a quick bit of javascript to read the key and increment a counter.

    On most android devices you can connect a foot pedal like the one I linked, via a cheap USB-OTG adapter.

    I had a couple of spare minutes today, so I wrote a quick web app to keep the count for you. It should work on phones, tablets, and pcs.

    It's open-source (there's a link to the github repository on the page), so if anyone wants to develop it further, they're welcome to.

    Let me know if it does what you need :)

    gschoppe, I replied to you immediately, but alas, must not have placed it on the right page. Anyway, THANK YOU, THANK YOU, you are amazing !!! This is so cool and soooo fast that you were able to do this for me. I forgot that such nice people still exist :) As you can see by my avatar, I am way over 70 and technology has sadly left me in the dust. I have tried the software and it works fabulously. Please tell me how it would work with a foot pedal since the software calls for a 'keyboard' button to activate it. The foot pedal lever would be assigned what keyboard key? and would it also work on my Samsung Galaxy S3/4 and what key would it respond to? That is something I would use if sitting in hospital waiting rooms, etc without having to drag my laptop (or maybe it would work also on my Kindle Fire HD ?) Could you maybe contact me via email? Thanks so much.

    You're very welcome, Anna. I'm sorry, but I couldn't find your email address. You are welcome to email me any questions at, but I figured it might also be useful to post the answer here, for anyone else with the same problem.


    Most foot pedals on the market, like the one I linked you to will show up as a keyboard to your computer, and pressing the button will read to the computer as if a key was pressed. some of them come with software or configuration switches that let you choose which key you want it to pretend to be. The pedal itself would say which one it defaults to, in it's documentation.

    Common default keys for foot pedals are space, arrow keys, or page down.

    With your Samsung galaxy, you would just need a "USB: On the Go" (also written as USB:OTG) adapter, to connect the foot pedal. Here is a pretty cheap option on Amazon ($2): . With a phone, you likely won't be able to use software to choose which key the foot pedal emulates, so you'll have to set the row counter to whatever the default key is (as listed in the foot pedal's documentation).

    I'm sorry to say that the Kindle Fire doesn't seem to support USB:OTG, so the only way you'd be able to use it with a pedal would be to purchase a bluetooth foot pedal, like the AirTurn BT-105 ($69) . This would be much more portable, but the price tag is quite a lot higher.

    If you were to buy the BT-105, I believe the key setting is "pagedn".

    I also added a few new features to the web app today, at the request of some nice folks from

    You are unreal !! I will dig into this tomorrow. I am 73 and technology has definitely left me in the dust.....

    Thank you so much and if it does work, if you throw in a pedal, adapter, etc. you could make some serious bucks on a knitting website, seriously !! There are thousands of us out there looking for something super easy without having to use our fingers to push buttons,rotate dials, etc since those fingers are busy holding two or 4 needles.

    Raj Orien Industries offers medical transcription equipments in India such as transcription foot pedals , dictation headphones , Amplifiers. This company is from India and Having in this business from last many years.
    Their website with Price list page :

    Here's another alternative using an el-cheapo USB gamepad

    Got the gamepad for PHP100 (roughly $2.50 US)

    Works seamlessly with ExpressScribe.

    Here's my "simplified" version.  I didn't need the USB pass-through option.  I had an existing footswitch that simply completed contacts in the attached cable.  And the PCB is from a full-sized USB keyboard (which is cheaper than a keypad, paradoxically, and often found in dumpsters due to broken or dirty keys, with electronics that work just fine.)  The original connectors for the flat mylar were removed with solderwick, and wires attached to the appropriate pins (which were determined by a combination of tracing the original keyboard, probing conductivity with a meter, and trail-and-error with the board connected to a PC.)  I still need a box of some kind for the board.  (I kept the original cable, because it's a nice flexible cable;  we'll have to see whether that's a good idea...)