Just wanted to post a preview of my current project. I have been working on this a while ago here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1282268599
In the previous version, I had created a trip computer powered by the Arduino which displayed the speed, distance, time etc on 3 seven segment displays. Recently as I had more free time, I bought a serial character LCD and decided to upgrade from my 7 Segment displays. To make a long story short, I had to rewrite my code and create libraries to make it more readable. After a couple days work, I am now almost ready to install the character LCD screen.
Tomorrow I will install it in my car and post an update with pictures, but as a preview I have made a video showing some of the different modes for the LCD.
Video: http://ubuntuone.com/p/UwE/
Note: I have not included the speed in mph and distance in miles. The only thing is that the distance is not as extensively displayed as it is in km. I am not sure if I should display the yards too. I tried to get the speed somewhat consistent, but it was difficult tapping a wire instead of passing a magnet over the reed switch.
MODES:
- Speed in km/h
- Speed in mph
- Average speed km/h
- Average speed mph
- Distance in km
- Distance in Miles
- Security Message - Purpose: same as blinking LED on radio in the car
- Trip time
Current Problems:
- Average speed is not displaying, stays at zero.
- Interrupt wont advance menu when on security mode. (Probably due to the fact that I am using a 60 second delay in that function)
- Dont know what to encase the LCD in, probably just going to use paper, cardboard, and electrical tape. (Aesthetics are not my strong point, any suggestions appreciated)
PARTS:
- Arduino MEGA: Arduino Mega 2560 R3 - DEV-11061 - SparkFun Electronics
- LCD: Serial Enabled 16x2 LCD - Red on Black 5V - LCD-09394 - SparkFun Electronics
- Reed Switch: I think I bought it from radioshack or http://www.youdoitelectronics.com
- Resistors, a capacitor, and wires.
Current Codes & Libraries:
http://ubuntuone.com/p/UwF/