Motorcycle computer

Hackaday writer of yore [Will O'Brien] has been working on this hardware for his motorcycle. Speed, voltage, gear, and temperature data is displayed on a 16×2 character LCD. The speed is pulled from the bike itself and the gear is calculated by comparing engine RPM to wheel RPM. He’s using the popular DS1820 1-wire temp sensor along with an Arduino to pull everything together. At this point he estimates there’s about $50 worth of parts, but that can be reduced by etching a board and just using the necessary components.

Comments

  1. az1324 says:

    “but that can be reduced by etching a board and just using the necessary components.”

    WHAAAAAAAAAAT?

  2. Mike Szczys says:

    @az1324: did you read the article? Since he’s using an Arduino and Prototyping shield it costs more. Just using the chip and necessary components will reduce the cost.

  3. Noodle says:

    This is a great idea, its nice to be able to glance at what gear you’re in on a motorcycle, and he has the right idea talking about isolating parts. 10 points for using the Arduino to PROTOTYPE…

  4. This is a cool project. Not to detract from this (I love hacks more than commercial products) but for anyone who wants similar functions without having to build it themselves check out the Veypor, http://www.veypor.com.

  5. ino says:

    it’s a nice project, but after almost 10 years riding my bike all year long, I still don’t understand why there’s a need for “gear” info.

    Everything that can distract you from the road (beside the actual speed) is something that can severely reduce your lifetime.

    I would be much interested in some mileage infos to look at when I stand still at a stop sign.

  6. Noodle says:

    @ino
    That’s true, I didn’t even think of mileage, would be very useful to look at. It’s nice to see one of these projects for motorcycle though, versus the hundreds of car projects out there.

  7. PhilKll says:

    Cool project, my only suggestion might be along the lines of what ino said, reading actual numbers can take your eyes off the road, which is always bad. I’d probably go for a small graphic lcd, where you could replicate analog needle gauges, I think they’re faster to read, as you’re not trying to read a number, but instead just looking at a position. iirc, this is why needle gauges are still used.

  8. Alan says:

    I have one of these done with a PIC 16F877: http://www.youtube.com/watch?v=3qPhJTQl5aI

    Since then I’ve implemented coolant temperature using one of the ADCs. And I’ve plugged it into a real engine.

    I have considered gear indication by comparing speed and RPM, but decided it would be too flakey to be of real use, maybe I’m wrong on that one.

    Our screen is for a Formula Stutent car, which uses a CBR600RR motor. I’ll be posting another video using a real engine soon.

  9. Vonskippy says:

    Gear indicator? I guess if you’re deaf or senile that might be useful. Of course if you’re senile perhaps a moisture sensor for your Depends would be more useful.

  10. Gilliam says:

    @ino: sure, any ol’ biker will say something like “i dont need no darn computer to tell me what gear im in”, but its the other useful stats and data that are of use, whether it be while driving or, as you stated, at a stopsign.

  11. swiz says:

    I think the bulk of the commentators are missing the point…diy, data collecting, prototyping, etc

    sick project imho

  12. Andy says:

    If you’ve never caught yourself trying to find that elusive seventh gear, you haven’t ridden much. I’m working an this very same thing right now for my SV650, but the gear calculation method is slightly simplified. There’s actually a signal to the ECU that tells it what gear you’re in, so I’m tapping that and interpreting the signal to get the gear.

  13. martinmunk says:

    Hey Andy.

    I have a ’07 sv650s myself. If you haven’t found it, there is a schematic over the gear resistors somwhere on svrider.com.

    Is there anyway to pull the data from the onboard ecu like OBD2 in cars?

  14. Tim says:

    Woohoo! I was just planning on doing this myself.

    I have a 2004 Honda CRF450R (dirt bike) that I’m finishing up a dual sport conversion on to make it street legal.

    The bike had basically no electrical system whatsoever except for the ignition module (which I can get engine RPM from by counting the pulses), I’ve created everything myself (so far new stator -> voltage regulator -> small battery as a buffer -> lighting system).

    I’ve seen some aftermarket motorcycle computers, but, being an EE student at UT Austin, that’s just not good enough, I’m going to do it myself.

    I’ve got all the parts, just need to code it all up. The sensors will all be wired to a Silicon Labs C8051F340 MCU (it has USB for firmware updates and datalogging), which will collect sensor data and stream it out via serial. On the other end of the serial line will be my Android phone, which I will dock into the handlebars when I’m ready to go for a ride, and will have a cool UI. I’m also considering some anti-theft measures, to where the bike will only start if the phone is plugged in and sends the right “key” to the MCU, which will then enable the ignition system.

    Add in a stereo bluetooth headset into my helmet, and I’ll have my dashboard, GPS navigation, phone, and music all in one! Yay Android!

  15. CivisSmith says:

    I gotta chime in on the gear info. I can see the value of gathering the data – even if it’s not displayed. If you can store that data to memory, it could potentially be used if (God forbid) you’re ever in an accident. If you weren’t driving recklessly and the data is collected at a high enough rate, you could probably use the data to help your case. If you can show that you weren’t making aggressive gear shifts and your speed was within limits – that could really help prove whether or not you have partial responsibility.
    Personally I would opt for having a display – my bike shows very few metrics, so I’m pretty sure a little number won’t start a helmet fire.

    I really like this idea, it makes me wanna work something like this up for my bike!

  16. Abbott says:

    I, too, am a biker, I own a 79 CB750, which has little to no information other than speed and tach. I’m in the research process of designing a full ECU for it, and replacing the gauge pod with a digital version. Gear indication I could care less about really, but with an air-cooled engine, the temperature measurement would be quite invaluble. Speed and Tach, too, as my needles are warped and I’m pretty sure sticking a bit on the housing.

  17. Will OBrien says:

    Once I get things working well, I’ll put up code and schematics. Right now I’ve finally got most of the code roughly working, just working on debugging everything.

    For the gear indicator guys: I’m not too worried about the gear – I am worried about reprocessing the speed pickup and sending it the digital gauges I’ve retrofit.

  18. Daley says:

    @Abbott:

    I have a ’79 and an ’80 F – love ‘em both! For onboard ECU, etc, check out megasquirt. I’m doing that to mine right now, and Will’s project comes in at just the right time.

    I agree with the other posters – I’ve had more seat-time than I can fathom, so gear-position is pretty much useless WHILE I’M RIDING, but the *logging* portion makes gear-position much more desirable.

    @Tim with the CRF – dude, BAD-ASS BIKE! You’ve certainly got bigger cojones than I do though, putting your Droid on the bars. Then again, maybe your level of sanity off-road is higher than mine ;)

  19. fartface says:

    Gear indicator can be dead on accurate if he simply swaps out the neutral switch for a indicator switch. Most bike makes have a low end (sportbike) and high end (touring) and they all use the same parts for the most part. replace the neutral switch with the gear indicator switch from a touring bike and you now have an absolute gear indicator.

    Most parts on bikes from the same maker are interchangeable. I swapped in a FJR1300 rear end onto a Royal Star venture and turned a old fart bagger into a sportbike (up to 750cc) killer. I make the kiddies on the Ninjas cry daily as I completely own them from light to light. I have trouble with the hayabusa bikes, but most of those are owned by kids that don’t know how to ride them so I still own them through 3rd gear.

  20. bsmulders says:

    I am going to do something similar as a summer project.

    The things I will do different though:

    * GPS speed, will not be fast enough on acceleration but it’s ideal on highways because of the speed-cameras.

    * Outdoor temperature, I don’t care about engine temperature

    * RPM is guessed by voltage. Not accurate, but the only other option is to measure the pulses from my ignition coil, which is really hard to do.

    As for the device itself:

    -4 times 4″ 7-segment displays, much faster to read than an LCD display

    -8 large LEDS to display RPM.

    -PIC microcontroller because I’m not used to Arduino and I already have all the prototyping hardware I need

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94,439 other followers