VRBike is a virtual reality fitness app where you pedal a hardware exercise bike and dodge endless runner style obstacles. The virtual game's speed is grabbed from the bike using a sensor magnet which logs revolutions of the pedals to a raspberry pi which can then calculate the speed from the RPM. The calculated speed is sent to the game as a message using a websocket server hosted by the raspberry pi.