Pages: [1] 2 3   Go Down
Author Topic: What is the best type of sensor for motorcycle ODOMETER..??  (Read 4754 times)
0 Members and 1 Guest are viewing this topic.
INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 382
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

hall...??
reed..??

or

any other..??
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27143
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Northern California (by San Francisco)
Offline Offline
Sr. Member
****
Karma: 3
Posts: 258
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've had my eye on one of these: http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=1966131&k=amt203

They are a bit pricey, though.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27143
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Full Member
***
Karma: 0
Posts: 167
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Joy

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.
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7198
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 167
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 382
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7198
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I will use this Hall sensor with this magnet:

https://www.adafruit.com/products/158

https://www.adafruit.com/products/9
Logged


United Kingdom
Online Online
Tesla Member
***
Karma: 224
Posts: 6619
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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.

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 991
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: September 17, 2011, 08:19:44 am by bill2009 » Logged

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 382
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

US1881

« Last Edit: September 17, 2011, 10:17:34 pm by Joy » Logged

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Joy

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.
Logged

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 991
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1] 2 3   Go Up
Jump to: