Bicycle Computer for Arduino LilyPad

This is a bicycle computer, designed to count wheel revolutions using a cyclocomputer wheel sensor. It stores two trip meters and a speed histogram; the trip meters are reported in Morse code via a speaker, and the histogram can be saved to EEPROM and later printed over the serial connection.

(Mouse over text like this for elucidatory tooltips.)

See photos and a video along with discussion concerning the hardware construction (sewing) and use.

Authorship and License

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License; it is written by Mark Fickett. (Do let me know if you find it interesting or useful! Or, should you find bugs, a report or a pull request would be welcome.)

Hardware

The interface was designed for the LilyPad Arduino ATmega328 (Leah Buechley, arduino.cc). All peripheral hardware has one lead connected to the specified pin, the other to ground.

Controls and Outputs

The status light blinks K (dah-dit-dah, -.-) when setup completes, then a short blink each time the wheel sensor is triggered. The trip meters are named (in Morse output) dit or dit-dit. Button inputs are either a tap (quick press and release), or a hold:

Dependency: Morse Library

The Morse code output uses a Morse library for Arduino, the key feature of which is to allow monitoring an input (PIN_REV_SENSOR) while sending Morse.