Use a foot pedal to scroll text on a device over bluetooth. Example use case would be to scroll chords/lyrics on a tablet via the foot pedal whilst playing guitar.
The esp32-app code turns a NodeMCU ESP32 board into a BLE Absolute Mouse (using the excellent ESP32-BLE-Abs-Mouse library). After pairing the device (named "Scroller Pedal"), the device invokes scrolling by pressing the pedal.
The Foot Pedal enclosure is 3-D printed from STL files found here with some small modifications for attaching the board.
- Press + hold down = scroll up until pedal is released
- Press + release + press + hold down = scroll down until pedal is released
- Press + release (once) = Page Scroll down
- Press + release (twice) = Page Scroll up
Included is also a small Android app (android-config-app) for configuring the scrolling behaviour over BlueTooth (needs to be Paired with the device).