Specs for a magnet to trigger a magnetic reed switch?

Click For Summary

Discussion Overview

The discussion revolves around selecting an appropriate magnet and reed switch for a project involving a spinning wheel that triggers a magnetic reed switch at a distance of approximately one centimeter. Participants explore various options, including reed switches, Hall Effect sensors, and light sensors, while considering the physical constraints of the project.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • One participant expresses uncertainty about the specifications needed for a magnet and reed switch, emphasizing the importance of the magnet's strength and size.
  • Another participant suggests that a one-centimeter separation is significant for triggering a reed switch and proposes reducing the distance between the magnet and switch.
  • There is a suggestion to consider using a Hall Effect sensor instead of a reed switch, noting that Hall Effect sensors require power and asking about available power supply voltages.
  • A participant discusses the possibility of using a light sensor and retro-reflector as an alternative to the reed switch and magnet setup, raising questions about how this would function.
  • One participant proposes that using an optical reflector with stripes around the wheel could improve the resolution of the rotation detection, suggesting a combined emitter/detector unit for better performance.
  • There is a discussion about the size and shape of the magnet that could fit within the wheel's rim, with specific dimensions mentioned for potential magnet configurations.
  • Participants explore the implications of using multiple magnets to reduce error in counting revolutions and the potential advantages of each sensing method discussed.

Areas of Agreement / Disagreement

Participants express multiple competing views regarding the best approach to detect wheel rotation, including the use of reed switches, Hall Effect sensors, and light sensors. The discussion remains unresolved as participants weigh the pros and cons of each method.

Contextual Notes

Participants mention various assumptions regarding the effectiveness of different sensors at specific distances and the need for power supply considerations. The discussion includes unresolved questions about the optimal specifications for the magnet and reed switch.

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!
 

Similar threads

Replies
152
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K