无线自行车里程计(十)
0赞
发表于 5/22/2011 3:10:14 PM
阅读(1462)
Step 10Secure to the Bike



I've used some velcro ties to mount the altoids case and the 9v battery to the bike frame.
You might be able to do something similar with the LCD. It really depends what your bike handle bars are like. I used some hot glue to fix the display to a pre-existing clamp.
Step 11Processing Code



Get the Processing Code Here!
Make sure you have the 'receiving' Xbee attached to your computer with the FTDI USB cable.
Make sure you have the 'receiving' Xbee attached to your computer with the FTDI USB cable.
- Download Processing Development Environment
- Get the ContolP5 library and place it in the libraries folder
- Open up the Arduino Cycle Computer Processing Sketch
NOTE: The sketch is currently incomplete for the Max. Speed function. I've only been introduced to Processing in the last few days and haven't yet figured out how to achieve a display of the maximum speed. If anyone does know, please feel free to change and post your version!
