Specs for a magnet to trigger a magnetic reed switch?

In summary: Thanks for the answers! In summary, a 300 cubic mm magnet could be used to trigger a Hall effect sensor, which would be better than using a reed switch, but the size of the magnet would need to be determined. A 5 volt power supply should be enough.
  • #1
Yooniv
3
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
  • #2
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:
 
  • #3
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:
  • #4
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
 
  • #5
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!
 

1. What is the maximum magnetic strength required for a magnet to trigger a magnetic reed switch?

The maximum magnetic strength required for a magnet to trigger a magnetic reed switch depends on the specific switch and its sensitivity. Generally, a magnet with a strength of 100-200 Gauss is sufficient to trigger most magnetic reed switches.

2. Can any type of magnet be used to trigger a magnetic reed switch?

No, not all magnets can be used to trigger a magnetic reed switch. The magnet must be a permanent magnet, such as a neodymium or ceramic magnet, as the switch operates based on the permanent magnetic field.

3. What is the ideal size of the magnet for triggering a magnetic reed switch?

The ideal size of the magnet for triggering a magnetic reed switch depends on the size and sensitivity of the switch. In general, the magnet should be at least two times the length of the switch's reed blades to ensure proper triggering.

4. Can the orientation of the magnet affect the triggering of a magnetic reed switch?

Yes, the orientation of the magnet can affect the triggering of a magnetic reed switch. The magnet should be positioned in a way that the magnetic field is parallel to the reed blades, as this will provide the strongest and most consistent triggering.

5. How close does the magnet need to be to the magnetic reed switch for it to be triggered?

The distance between the magnet and the magnetic reed switch for triggering depends on the sensitivity of the switch. In general, the magnet should be within a few millimeters of the switch for reliable triggering.

Similar threads

  • Electromagnetism
Replies
7
Views
986
Replies
19
Views
991
Replies
4
Views
228
  • Electromagnetism
Replies
4
Views
2K
Replies
8
Views
971
  • Introductory Physics Homework Help
Replies
1
Views
2K
  • Electromagnetism
Replies
2
Views
2K
  • Electrical Engineering
Replies
6
Views
341
Replies
27
Views
1K
Replies
2
Views
1K
Back
Top