Need a little more incentive to meet your exercise goals on a stationary bike? With Adafruit Blinka and a Raspberry Pi 4, you can use a Bluetooth BLE cadence sensor to play YouTube videos only when you are pedaling above a target RPM value.
This project does not require any soldering or wiring or even modification to your stationary bike - the sensor can be taped onto the bottom of the pedal, and the Raspberry Pi reads the cadence data over wireless Bluetooth!
The code is easily adjustable, you can add goals, HIIT pacing, even turn it around so you have to pedal harder to stop yourself from watching disgusting videos!
Just hook your Pi to a TV with a Micro HDM to HDMI cable and get pedaling!