Arduino-based computer for my scooter. Features battery voltage indicator, temperature, real time clock, accelerometer lean gauge, resettable trip meters, MPH, max MPH, odometer, GPS with lat/lon coordinates and heading, GSM/GPRS cell module.
More info:
http://www.janspace.com/b2evolution/arduino.php
How good is the Arduino at tracking high-RPM tach signals? I was thinking of using the Arduino for a combination analog Tach, CHT(Cylinder Head Temp), Boost, Speedo(digital), and AFR(digital) gauge for my motorcycle and was curious. Does it slow down having to interrupt all the time? I was going to just get a Frequency to Voltage converter but might not need to, saving me some board space.
Might also add a charge/discharge indicator now, great idea! :)
DKJones96 9 months ago
@DKJones96 I have an ignition pulse detection circuit generating an interrupt on one of the digital lines with each pulse. It's a matter of counting pulses in the ISR and calculating the RPM based on pulses-per-cycle. Still more testing to do, but what I have seems to working well. On my scoot I'm seeing around 1700 to 1800 RPM at idle, with a high of 6000 at WOT and the Duemilanove seems to have no problem keeping up. The ISR is very lean, just counting pules. Calcs are done on a timed task.
diazstk 9 months ago
awesome job. My only comment is that accelerometers won't give you an accurate lean angle measurement on a single-track vehicle. you'll need 3 gyros and a trick model-based kalman filter to even come close, especially with sparkfun-grade sensors. Still, incredible packaging and great work.
4204nittanyapts 1 year ago
@4204nittanyapts
Yes, you are correct. I was not able to get the lean gauge working using the accelerometers, as mentioned on my blog site. I recently replaced the lean gauge with a tach which calculates RPM by detecting and counting the ignition pulses on the 12v power line (i.e. no sensor wire req'd!). Far more useful :-)
diazstk 1 year ago