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 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.
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.
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 :-)
look! rain!
SuperDevastetor 1 month ago
How cool is that, nice work :-)
beneverard88 1 month ago
will you spend some money on your bike too? he won't like looking old with all those gadgets.
syalcin123 1 month ago
I would like to see this equipment working. Congratulations.
farmsidney 6 months ago
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
genius *.*
diegoioli 1 year ago
Sick Mod!
SurfSailKayak 1 year ago
that is bad ass, you should make those and sell them!
98ctr 1 year ago
YAYYYYYYYYYYYYYYYYYYYYYY rocks
GBJ83 1 year ago
Amazing! This is what I've been wanting to build for a long time. Thanks for some motivation/inspiration :D
binlagin 1 year ago