Basil D'Souza

[+] | [-]

Cyclomatic

Cyclomatic is a project in which I interfaced a exercise bike with my computer via the microphone port. Then using a java program and the java media API, i used the mic input to gain telemetric information from the bike and display that information on the screen.

I have an exercise bike at home that is capable of providing telemetrics regarding the time cycled for, calories burned and distance traveled via a device mounted on the handle of the bike. This device gets the raw input from the bike via a 3.5 mm (1/8") mono (TR) jack.

This is almost like a mic plug (3.5 mm (1/8") stereo jack (TRS)). So I experimented and found that it could be connected to the mic port and presents inputs in the form of a sinusoidal wave (for the amplitude). And each wave represents a single revolution of the wheel.

So I wrote a java program that using the java media framework read the mic input and converted the data to rpm which could be displayed on the screen.

This could even be used from within a game to convert the cycling input to a game action.

Summary

A brief overview of 'Cyclomatic'

Technologies

  • Java
  • Java Media API
  • Basic Electrical Work

Original Team (Role)

  • Basil Dsouza (All Hands)

Duration

  • Started in: May 2006
  • 1 Week

Resources

  • Sources - Comming Soon
  • Binaries - Comming Soon
  • Documentation - Comming Soon

Disclaimer

Please keep in mind that most of these projects were written while I was still in college. The quality of the code as well as the documentation would not be production quality. So using the code for any production system would not be recommended.