solarwind wrote: > The most complex part about this is going to be the detection of RPM. > > One option is to use a reed switch mounted near the spokes and a > magnet mounted on the spoke itself. A reed switch is not a good choice. This is usually done with a permanent magnet between two spokes of the back wheel as far radially outward as possible and a pickup coil on the frame. A little analog electronics and you get a pulse into the PIC once per wheel rotation. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist