Foot Pedal Ups Vim Productivity, Brings Ergonomic Benefits

Vim is the greatest or the worst text editor of all time, depending on the tribe you’re in. Either way, members of both camps can appreciate this build from [Chris Price], which uses a foot pedal to ease operations for the user.

The basic concept was to use a pedal to enable switching between normal and insert modes. In Vim’s predecessor, vi, switching modes was easy, with the ESC key located neatly by the Q on the keyboard of the ADM-3A terminal. On modern keyboards, though, it’s a pain, and so a foot pedal is a desirable solution. In the Vim world, it’s referred to as a “Vim clutch.”

The build used a cheap pedal switch sourced from eBay, into which a Raspberry Pi Pico was installed. The Pico was hooked up to the switch contacts, and programmed to act as a USB HID device. When the pedal is pressed down, the Pico sends an “i” keypress to enter Vim’s insert mode. Releasing the pedal has the Pico send a “ESC” keypress to return to normal mode.

Those that use Vim on a regular basis would likely appreciate the productivity improvements of such a device. Plus, there’s some ergonomic benefits to not having to strain one’s hand over to reach the ESC key. Of course, it’s an old-school solution, but there’s still something so compelling and next-level about having a foot pedal hooked up to one’s dev rig.

Homebrew Stream Deck Pedal Emulates The Real Thing

Pedals are a great way to control functions on your computer. You’re rarely using your feet for anything else, so they can handle some tasks, freeing up your hands. This Elgato Stream Deck controller from [DDRBoxman] does just that.

[DDRBoxman] wanted to control Elgato Stream Deck much like the offical pedal sold by the company. Thus, some hacking was in order. Using Wireshark with the Elgato pedal helped to determine the communication method of the real hardware.

Once the protocol was figured out, it was just a task of getting the Raspberry Pi Pico to replicate the same functionality. With the help of the tinyusb library, [DDRBoxman] was able to emulate the real Elgato device successfully. Paired with a 3D-printed footswitch design from Adafruit, and the project was functional and complete.

We’ve seen great foot pedal devices over the years, from a simple macro device to a super-useful page turner for sheet music. If you’ve been hacking away at your own nifty input devices, be sure to drop us a line!

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One Where Shift Happens

It’s been an exciting few weeks for me personally on the clacking front. I got a couple of new-to-me keyboards including my first one with ALPS switches, an old TI/99A keyboard with Futaba MD switches, and a couple of what are supposed to be the original Cherry switches (oh man they clack so nicely!) But enough about my keyboard-related fortuitousness, and on to the hacks and clacks!

Putting My Pedals to the Metal

Kinesis Savant Elite triple foot pedal. It's a keyboard for your feet!I picked up this Kinesis Savant Elite triple foot pedal from Goodwill. It works fine, but I don’t like the way it’s programmed — left arrow, right arrow, and right mouse click. I found the manual and the driver on the Kinesis website easily enough, but I soon learned that you need a 32-bit computer to program it. Period. See, Kinesis never wrote an updated driver for the original Savant Elite pedal, they just came out with a new one and people had to fork over another $200 or figure something else out.

I’m fresh out of 32-bit computers, so I tried running the program in XP-compatibility mode like the manual says, but it just doesn’t work. Oh, and the manual says you can brick it if you don’t do things correctly, so that’s pretty weird and scary. It was about this time that I started to realize how easy it would be to open it up and just replace the controller with something much more modern. Once I got inside, I saw that all three switches use JST plugs and right angle header. Then I though hey, why not just re-use this set-up? I might have to make a new board, but it how awesome would it be to plug these pedals’ JSTs into my own board?

Continue reading “Keebin’ With Kristina: The One Where Shift Happens”

Page-Turning Pedal Is Pretty Boss

Buying things to make your life easier certainly has its therapeutic joys, but if you really wanna feel good, you gotta make the thing yourself whenever possible. [Bjørn Brandal] happened to have a two-switch BOSS pedal just lying around, so it made sense to turn it into a wireless page turner for reading sheet music.

As [Bjørn] says, the circuit is simple — just two 1/4″ TRS jacks and an ItsyBitsy nRF52840 Express. The jacks are used to connect to the pedal outputs to the ItsyBitsy, which sends keystrokes over BLE.

The cool thing about this pedal is that it can work with a bunch of programs, like forScore, Abelton Live, Garage Band, and more. The different modes are accessed by holding down both pedals, and there’s confirmation via blinking LED and buzzing buzzer.

Our favorite part has to be the DIY light guide [Bjørn] that bends the ItsyBitsy’s RGB LED 90° and points it out the front of the enclosure. Nicely done!

Don’t play anything but the computer keyboard? Put those feet to work with shortcuts behind giant arcade buttons.

Stomp Switches Let You Skip Tracks Hands-Free

You’ve (probably) got four limbs, so why are you only using half of them when you’re working on the computer? Just because your toes don’t have the dexterity to type (again, probably) doesn’t mean your feet should get to just sit there doing nothing all day. In a recent project, [MacCraiger] shows you just how easy it can be to put some functionality under foot by building a pair of media control stomp switches.

Crimp pin connectors grant +50 professionalism.

If the devices pictured above look a lot like guitar effects, that’s because they share a lot of parts. [MacCraiger] used the same sort of switch and aluminum case that you might see on a pedal board, as he figured they’d be better suited to a lifetime of being stepped on than something he 3D printed.

Up on the desk, and this time in a printed case, is the Arduino Leonardo that they connect to. The wiring for this project is very straightforward, with the switches connected directly to the GPIO pins. From there, the Arduino firmware emulates a USB Human Interface Device and fires off the appropriate media control keystrokes to skip to the next track or pause playback depending on which switch has been engaged.

This hardware isn’t exactly breaking any new ground here, but we did like how [MacCraiger] used standard 3.5 mm audio cable and the associated jacks to connect everything up. It’s obviously on-theme for what’s essentially a music project, but more importantly, gives the whole thing a very professional look. Definitely a tip to mentally file away for the future.

For the more accomplished toe-tapper, our very own [Kristina Panos] recently recently took us through the construction of her macro slinging footstool. Between these two examples of bespoke peripherals, you should have everything you need to create your own custom input devices. We suppose you could even make one that’s hand operated if you’re into that sort of thing.

Continue reading “Stomp Switches Let You Skip Tracks Hands-Free”

USB Ableton Foot Controller Reuses Old Keyboard

footLooper2

No, Hackaday hasn’t started advertising shoes, this is [Matlek’s] foot controller for Ableton Live.

Matlek plays guitar and needed an easy way to control Ableton Live, which he uses as a looper. Ableton normally expects keyboard input, so that’s exactly what he gave it.

An old dell keyboard was gutted down to its controller board. This exposes  the leads the keyboard uses to scan the key matrix.  From there it is simply trial and error connecting different pins together and seeing which keys are printed on the PC screen (A text editor works well for this). Only 8 characters are needed to control the looper, so [Matlek] chose digits 1-8.

Since some of the wires are going to be sharing pins, a small piece of stripboard comes in handy between the buttons and the keyboard controller. [Maltek] used basic momentary push buttons for his mini key matrix, though we think that box looks sturdy enough to support some larger stomp box style buttons.

Everything comes together inside a sturdy shoebox, which also serves to insulate the exposed keyboard PCB from shorting out.

The only major downside to the project is that the box is light enough that it slides easily on the floor when recording or triggering loops. Adding some heavy items (or dare we say, some shoes) would solve this problem. Self adhesive rubber feet on the bottom of the box would help too.

Continue reading “USB Ableton Foot Controller Reuses Old Keyboard”

Tearing Apart An Organ And Making A MIDI Keyboard

pedul

What do you do if you’re in a band and have an old, dead organ lying around? Build a MIDI foot controller, of course.

After dispensing of the old organ guts, [Mark] mounted the pedals in a handsome road case and started working on the electronics. His first inclination was to mount an Arduino Pro Mini on a piece of stripboard, but after that failed decided to learn Eagle and fabricate a PCB. each key of the organ pedals are connected to a switch read by the Arduino which sends data to a Korg Microsampler over MIDI.

The swell pedal from the organ was also reused, but because the old incandescent light in the pedal was toast, this was replaced with an LED. It still works, allowing [Mark] to do volume swells on his new, fancy, MIDI foot controller.

You can check out a video of the controller below.

Continue reading “Tearing Apart An Organ And Making A MIDI Keyboard”