Specs for a magnet to trigger a magnetic reed switch?

AI Thread Summary
For a project involving a spinning wheel and a magnetic reed switch, a 1cm distance is challenging for triggering with a small magnet. Reducing the distance to a few millimeters is recommended for effective triggering. A Hall Effect sensor is suggested as a better alternative, especially if a power supply of 5 volts is available, as it can detect the magnetic field more easily. The discussion also explores using a light sensor with a reflector, but the Hall Effect sensor is favored for its simplicity and fewer components. The end goal is to accurately count wheel revolutions for linear distance measurement.
Yooniv
Messages
3
Reaction score
0
Hello, for a project I'm working on i need a magnet that is attached to a spinning wheel to trigger a magnetic reed switch that's about a cm away every time that the wheel makes a rotation.
I don't know which parts to buy because if the magnet is too weak or the switch too hard to trigger it won't work, and the magnet has to be very small to fit on the wheel. I don't understand the specs of various magnets and reed switches being sold online, so i would appreciate it if someone who has a decent understanding of the topic could tell me what kind of magnet and reed switch i would need.
Thanks!
 
Physics news on Phys.org
Yooniv said:
Hello, for a project I'm working on i need a magnet that is attached to a spinning wheel to trigger a magnetic reed switch that's about a cm away every time that the wheel makes a rotation.
I don't know which parts to buy because if the magnet is too weak or the switch too hard to trigger it won't work, and the magnet has to be very small to fit on the wheel. I don't understand the specs of various magnets and reed switches being sold online, so i would appreciate it if someone who has a decent understanding of the topic could tell me what kind of magnet and reed switch i would need.
Thanks!

Welcome to the PF.

a 1cm separation is pretty far for triggering a reed switch with a small magnet. Is there any chance you can decrease that distance somehow? Look at typical bicycle speedometer setups -- the separation between the magnet on the spoke and the pickup on the downtube is only a couple mm. Is that the size magnet you want to use? What's the biggest magnet you could accommodate?

A better approach, especially if you need the 1cm separation, is to use a Hall Effect sensor to detect the changing magnetic field as the magnet sweeps by. Hall effect sensors require power though -- what sorts of power supply voltages do you have available? What happens when the reed switch or Hall device triggers? Are you just counting revolutions?

BTW, could you just use a light sensor and retro-reflector instead of a reed switch and magnet? :smile:
 
berkeman said:
Welcome to the PF.

a 1cm separation is pretty far for triggering a reed switch with a small magnet. Is there any chance you can decrease that distance somehow? Look at typical bicycle speedometer setups -- the separation between the magnet on the spoke and the pickup on the downtube is only a couple mm. Is that the size magnet you want to use? What's the biggest magnet you could accommodate?

A better approach, especially if you need the 1cm separation, is to use a Hall Effect sensor to detect the changing magnetic field as the magnet sweeps by. Hall effect sensors require power though -- what sorts of power supply voltages do you have available? What happens when the reed switch or Hall device triggers? Are you just counting revolutions?

BTW, could you just use a light sensor and retro-reflector instead of a reed switch and magnet? :smile:
Thanks for the warm welcome! And yes, I do think i could decrease that distance. It would be hard to build, but i guess i could get it so the magnet and the switch are almost touching. I'm trying to fit the magnet inside the rim of the wheel, which i measured out to be exactly 3mm deep, but it could stick out maybe a couple more mm without hitting anything (maybe that would even be good to get it closer to the switch). And it would have to be flat, like a disc or something so i could glue it on, and the flat side couldn't be more than a cm on each side.

So i guess it would have to be about as small as 3mm x 10mm x 10mm or 300 cubic mm(235 cubic mm if it's a disc), so maybe we could calculate a magnetic force or something with that? Sorry i don't know anything about magnetism XD. I looked into your Hall effect sensor suggestion and it sounds like a great idea! I actually looked into reed switches more and now i understand that it would take magnetic field parallel to the switch, which would be harder to set up than a perpendicular magnetic field which works with hall effect sensors. But do you know if that size magnet at a close distance would be good enough to trigger a hall effect sensor? And I have a 5 volt power supply, so will that be enough? And would the magnet work with a reed switch? The advantage i think of a reed switch i think is that it would be easier to wire, but not by much so I think even if that will work i think I'll probably go with the hall sensor idea that you suggested :)

Unless of course, I use the light sensor ;). I'm not totally sure I know how that would work though. So I would have the light sensor facing where the reflector is going to be when the wheel comes around, right? But how would the reflector light up? Would I have a light above the sensor that would shine on the reflector whenever it came around? If that is how to do it, then yes, I think I could probably set that up, but I think I would still prefer the hall effect switch method though because It would be simpler (two parts instead of three if I understood the light sensor right) and also from what I've seen of light sensors online most of them would be pretty awkward to hook up to my project.

Oh and also yes, I'm just counting revolutions. End goal is linear distance, so I would just have the hall effect sensor send a signal to my microcontroller every time it turns on. I might have it send a signal multiple times a revolution (multiple magnets) , to reduce error from what position the wheel starts in (like we might get an off by almost one revolution error if a signal is only sent once per revolution)
Thank you!
 
Last edited by a moderator:
Ah, so yes, you should do something slightly different to cut down on errors. I'd recommend going with the optical reflector idea, and putting stripes all around the rim of your wheel. That way you will have much better resolution on the rotation of the wheel, and your uC will be able to know with much better granularity what the change in wheel position is.

Use a combined emitter/detector unit similar to this (google optical emitter detector reflective):

http://robotgestation.com/images/OpticalEncoderReflective.jpg
OpticalEncoderReflective.jpg
 
berkeman said:
Ah, so yes, you should do something slightly different to cut down on errors. I'd recommend going with the optical reflector idea, and putting stripes all around the rim of your wheel. That way you will have much better resolution on the rotation of the wheel, and your uC will be able to know with much better granularity what the change in wheel position is.

Use a combined emitter/detector unit similar to this (google optical emitter detector reflective):

http://robotgestation.com/images/OpticalEncoderReflective.jpg
OpticalEncoderReflective.jpg
Ok, that sounds like a great idea. Thank you!
 
Thread 'Motional EMF in Faraday disc, co-rotating magnet axial mean flux'
So here is the motional EMF formula. Now I understand the standard Faraday paradox that an axis symmetric field source (like a speaker motor ring magnet) has a magnetic field that is frame invariant under rotation around axis of symmetry. The field is static whether you rotate the magnet or not. So far so good. What puzzles me is this , there is a term average magnetic flux or "azimuthal mean" , this term describes the average magnetic field through the area swept by the rotating Faraday...
Back
Top