Go Down

Topic: What is the best type of sensor for motorcycle ODOMETER..?? (Read 13347 times) previous topic - next topic


I am trying to make an arduino odometer for my motorcycle..

What is the best type of sensor I can use...??



any other..??


Nothing with moving parts - hall sensor that is just sensing magnetic field changes would be better.

How about GPS? Little more processing required, but you'll know where you are within a couple of meters at all time.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Wouldn't this be a limition?

vibration 1.5mm, 3 directions, 2 hours

You get more than 1.5mm movement just firing the bike up.
Your axle does not rotate does it? I would think it would awkward mounting this to something that would be spinning.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


That doesn't even look remotely ruggedized, I wouldn't trust it to last very long at all.

I just use the reed switch sensor that came with a Sigma bicycle computer.  If I were to rebuild the system from parts I would probably consider a Hall sensor, though I have had no problems at all to date with the reed switch.



Can you get us a picture of your bike ? Around the wheels, specially.  If I where you, I look at my situation, determine what type of sensor I will need depend on : location on the bike, to decide if dirt will impede the sensor and vibrations. ( things can got loose when in motion ). hall ? maybe - need to fix a magnet, opto - an open opto coupler - need to fix a light source ( leds or laser or light bulb ), or a small wheel direct couple with a encoder, the small wheel is "rolling" at the tire of the bike like a bycle dynamo.

Just an idea.


I would use that rotation encoder for something like a robot leg or arm joint or something. It doesn't look like it's for continuous rotation. I would use hall sensor on the inside of the fork and attach a small rare earth magnet (strong) on the rim of the front wheel. Then wire up an arduino digital input (and possibly 7-segment LEDs as a readout).
Nearly all bike spoke persistence of vision devices use this technique. There is one limitation to this: the Hall sensor I got has a 0.1ms response time. If your bike is running too fast and your magnet is too small, the magnet spends less than 0.1ms in front of the Hall sensor and the sensor fails to detect the magnet. Say the magnet is 0.5" wide on the rim of the wheel at say 10" radius and the bike is running at 65MPH, then we find the angular speed of the bike wheel is around 100rad/s and the 0.5" magnet is only spending around 0.4ms (if I'm right) so that is getting close to the limit of the Hall sensor.
Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter


I wouldn't put the magnet on the rim, but rather on the brake disk.  In line with the mounting bolts should work fairly well in most cases.  Then it has less of an influence on the balancing of the wheel, and you get a longer duty cycle.

with a 3" mount radius on a 19" rim with a wheel circumference of aprox 1.2 meters and a slightly more realistic magnet size of .1" (only slightly smaller than you'll probably actually use) you're looking at a max speed of about 151 kph, or 94 mph before you start hitting the .1ms barrier (if I've done my math right)

With the reed switch I've personally tested up to about 110 mph, and I've read of it bench tested to over 200mph


If I want to use a HALL Sensor, which sensor should I use...??

I want to use one which will act at fast conditions and with the magnet little far from the sensor...


I will use this Hall sensor with this magnet:


Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter


I'd use 2 magnets on diametrically opposite sides of the wheel or brake disc to avoid balance issues, or else have the wheel balanced after fitting the magnet. You could try using a pickup coil instead of a hall sensor, but this won't work at very low speeds.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.


Sep 17, 2011, 03:07 pm Last Edit: Sep 17, 2011, 03:19 pm by bill2009 Reason: 1
I use  a bike speedo reed switch on my swingarm and a Magnet epoxied to one of the sprocket mounting bolts. I didn't want to use the brake disc for fear of something sliding into the caliper but it would be hard for the magnet to go anywhere bad from where it is now.

I did experiment with a hall effect sensor and i'm sure the one you're getting is fine. I just didn't find it worked any better and running  three leads including +v back to it was annoying.

There might be a picture of the pickup and magnet here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1244069576


Sep 18, 2011, 05:12 am Last Edit: Sep 18, 2011, 05:17 am by Joy Reason: 1
Please friends..
Help me choose the best hall effect sensor for my purpose...
So that it reacts well when the magnet passes fast by it at high speed and I may keep the magnet little far..

The hall sensors which i can find at stores at my place are

Hall Effect Sensor AH34




Here the site for the datasheet ...http://www.datasheetarchive.com/AH-34-datasheet.html Opps, a different type ...

I am trying to find that sensor. Can you supply a picture ? I need to see a part number on that part.

Make you read the datasheet, connect properly, and a magnet attach to the wheel.


I found the one I used at digikey http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=US&KeyWords=ohn3019u&x=0&y=0

I don't think you have to worry about speed.

Go Up