MotoComp – My DIY “speedohealer”/motorcycle computer
This is my latest hardware project: MotoComp. It’s based on some work by [Bill2009] but I’ve been extending and reworking the code quite a bit. I installed gauges from a 2004ish Honda CBR 600 on my 1993 CBR 600 F2. Typically, this conversion uses a $125 product called “Speedohealer” to adjust the output of a retro-fitted speed pickup to make the speed output accurate.
My goal is to replicate the functionality of a Speedohealer (which is a very mature product, and worth the price if you need it) and add some features while I’m at it.
I’m working on for my F2. As you can see, the display will show MPH, Voltage, Ambient air temp and the current gear. The hardware is an Arduino, protoshield, DS1820 temp sensor, a transistor to handle output to the speedometer, some voltage dividers and a cap or two for filtering signals.
Gear is calculated based on the ratio of the engine RPM to wheel RPM.
MPH is calculated based on tire diameter and wheel RPM.
Temp is measured using a one-wire temperature sensor. I added it because I had the hardware sitting around.
Voltage is directly measured on the bike. Given the history of R/R/Stator issues, I find having the voltage on a display to be really, really handy.
Right now I’ve got the system mostly working, I’m just working on dialing in the speed sensor/healer functions. The cost to build one like this is about $50 for prototype parts, I’ll likely reduce the cost one I have a production design worked up.
New gauge mount for MotoKomp »
Comments
Comment from Captain Bill
Time: May 1, 2010, 11:09 am
The device just needs a calibrate button to work with different bikes to indicate gear position. During ccallibration the arduino will compute rpm/mph ratios. The highest ratio is first gear, nest highrest is second gear … One run through the gears in calibrate mode will be sufficient. When calibrate is de-selected. The ratios are stored in eeprom and used for gear position display calculation.
Comment from Alan
Time: May 1, 2010, 12:30 pm
I have a very similar project on the go, for a CBR600RR motor in a single seat formula car. I’m using a PCI16F877A.
http://www.youtube.com/watch?v=3qPhJTQl5aI
I wast tempted to go for gear indication the same way as you, but I assumes it would be to flaky, any indication how it’s going to turn out for you?
For the RPM are you using a counter or a timer? I’m using a timer, I found a counter was forcing a choice between sample rate and accuracy, where the timer gives both.
Comment from MarkSpizer
Time: May 2, 2010, 4:23 am
great post as usual!
Comment from Robert
Time: May 7, 2010, 7:21 am
Awesome project, let me know if you get it into a production model ill take one!
Comment from norm
Time: May 26, 2010, 8:02 am
Very cool, I’d love to try a couple when you think they are ready. it’s nice to see an enthusiast create a product like this.
Comment from Vinnie Vu
Time: June 13, 2010, 2:18 pm
Hey, did you see the thread on the DIY gear sensor?? The guy use 3 hall-effect sensor to figure out what gear you’re….. I think that’d be easier to do.
Comment from Davide
Time: July 11, 2010, 12:18 pm
Hello! I’m thinking to build something similar. How do you read engine rpm? Are you using a current sensor on the coil wire? Or what elese?
Comment from willo
Time: August 16, 2010, 9:24 pm
I’m using the normal gauge pickup wire for now. I’m actually avoiding the rpm for now but I’ve finally got the speed sensor sorted so I’ll likely tackle that soon.
Comment from bill rowe
Time: November 16, 2010, 10:49 am
very nice. are you weatherproofing the display module? How are you conditioning the power supply?
Comment from Guillermo
Time: January 10, 2011, 12:39 pm
Hi Bill, I have a very similar project on the go,
Do you think share the code? I’m very interested
Comment from Ben
Time: May 22, 2011, 6:26 am
Hey Bill, any chance of posting the source code and circuit for this? I was planning on doing something similar, but it would save me the hassle (so I’d be able to spend more time riding!) if you’ve already done it…
cheers
ben
Comment from risk management
Time: April 27, 2013, 8:32 am
Hi there! I just wanted to ask if you ever have any trouble with hackers?
My last blog (wordpress) was hacked and I ended up losing months of hard
work due to no backup. Do you have any solutions to
prevent hackers?
Comment from Sean T.
Time: May 1, 2010, 9:47 am
Very cool project. I look forward to seeing your final build (please shoot me an e-mail) and I will be interested in buying one, especially if you’re successful in combining the Speedo-Healer capability with the gear readout, temp and voltage. What I think would really throw this project into über-cool-must-have status would be to have a transflective display so it could be seen well while riding during those great sunny days.
It would also be helpful if there was a way to adjust gearing settings since the speed-to-RPM ratio would be different on my R1 that it is on my L-twin Ducati.
My coding skills aren’t nearly as good, so good luck and I hope it works well!
On a side-note, I love your selection for your WP blog theme!