Roller Race turns your bicycle’s rollers into a racing machine by Nathan Gardner at Wax On Paper.
Contact UsSimple setup, works with any bike roller
Track your speed, distance, & time
Compare results with past races
This is the app the user uses to interact with Roller Race bot. The app is an Angular web application being hosted on the Raspberry Pi.
The Angular app uses local storage to save your race results, and a websocket connection to itself to get the data from the sensor.
View the SourceThis is a python app continuously running on the Raspberry Pi, in the background, that has two main purposes. It uses an IR Transmitter / Receiver connected to the Pi to detect the line on the roller. It also runs a Tornado WebSocket Server that listens for messages, and sends messages containing all the data needs to run.
A Raspberry Pi with an SD Card and a basic IR Transmitter/Receiver is all that’s needed.