Skip to main content
Escape Characters

The Bike History

This is a collection of my notes and writings relating to my exercise bike project that I developed between August 2010 and January 2011.

This project stemmed from a number of factors. First, I live in Alaska, whose weather makes for pretty severe limitations on the biking season. I had biked to work for most of the summer, but come mid-July we experienced a period of an unseasonably rainy 2 months, effectively killing my routine. As I settled back into my winter routine with the indoor exercise bike, I started noticing that I'd stop biking and just sit and watch whatever was on the TV. This was less than ideal if I was really wanting to exercise.

So I devised a system to provide incentive to keep a steady pace.

See here for my first mention of the project.

What I wanted to do was find a way to hook up my exercise bike to my computer, and have the computer pay enough attention such that it would only play video normally if it found that I was biking a reasonable amount. When I wasn’t biking a reasonable amount, then it would be able to alter playback such that it was frustrating enough for me to bike more.

When doing my research, I poked around and found this guy, who had pretty much put together my basic idea on how to measure revolutions from a stationary bike wheel. Working from his design and code, I began working to improve upon and add the driving piece that would control video playback over the course of a workout.

My initial design:

Initial Design

Final design:

Final Design

When the LEDs are working:

LED Working