close

May 2021

Page turner

This ESP32 bluetooth page turner couldn’t be easier

Commercial Bluetooth pedals, designed to let musicians turn pages of sheet music on a tablet, have the kind of inflated price tag you’d expect for a niche electronic device. Rather than shell out up to $ 100 for the privilege of flipping through the pages hands-free, [Joonas Pihlajamaa] decided to build their own very low cost version using an ESP32 and a cheap foot switch.

In terms of hardware, it doesn’t get much easier than that. All [Joonas] You had to hook the pedal to one of the ESP32’s digital pins and plug the microcontroller into a USB power bank. From there it became a software project. With the ESP32-BLE-Keyboard library, it only took a few lines of code to send RIGHT_ARROW Where LEFT_ARROW depending on whether the pedal was quickly tapped or held down a little; allowing it to navigate back and forth through pages with a single button.

[Joonas] mentions that the ESP32 development board he uses is too big to fit inside the pedal itself, although we wonder if the bare module could fit in somewhere. Of course, you can always build your own pedal with a little extra space to install the electronics, but for under $ 2 on AliExpress, it’s hard to go wrong with this turnkey unit.

Are you looking for an alternative approach? Last month we covered a bluetooth page turner that doubled the inputs and packed everything in a beautiful wooden case.

read more