|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Hall Effect Latch as an encoder/counter?
We are trying a similar device. K&J Magnetics has diametrically magnetized neodymiums that work well. Usually require a pull up resistor.
|
|
#2
|
||||
|
||||
|
Re: Hall Effect Latch as an encoder/counter?
Have you looked into reed switches? We were thinking about using them as limit switches -- that way, we could directly connect them to the jaguar's limit switch pins.
|
|
#3
|
|||||
|
|||||
|
Re: Hall Effect Latch as an encoder/counter?
Iam,
There doesn't seem to be any rule that would prevent this application. I would tender that answer with a caveat to insure that magnets do not come loose on the wheels. Traversing the barrier is going to put a lot of stress on wheels and typical plastic hubs will take the brunt of the shock causing deflection and breakage. Should your magnets find their way into a competitors robot during competition, there could be nasty results. While the hall effect sensors meant for the transmission are difficult to use, they do produce significant resolution when used on the high side of the reduction. |
|
#4
|
|||||
|
|||||
|
Re: Hall Effect Latch as an encoder/counter?
That sounds like a neat way to do it. I didn't know they made such a thing as a Hall-effect latch.
http://search.digikey.com/us/en/prod...1EUA-ND/431867 (obviously we're trying to figure out how to do the same thing you are!) |
|
#5
|
||||
|
||||
|
Re: Hall Effect Latch as an encoder/counter?
In 2009 we used one of these on our turret.
http://search.digikey.com/us/en/prod...2021-ND/701375 It's designed for counting gear teeth but any ferrous material passing by it will trigger a detection. We counted the number of times a screw head mounted on the end of our roller/shooter would zip by the sensor. |
|
#6
|
|||
|
|||
|
Re: Hall Effect Latch as an encoder/counter?
Our programmers are having trouble with the timing concept but have it for distance traveled. Have not tried it for the shooter. May go the analog route for the shooter.
|
|
#7
|
|||||
|
|||||
|
Re: Hall Effect Latch as an encoder/counter?
I ordered a couple of the latching hall effect sensors to play with.
|
|
#8
|
|||
|
|||
|
Re: Hall Effect Latch as an encoder/counter?
Squirrel - that's the part I have had good luck with. I got it from sparkfun.
Al - We are looking to use this on a flywheel (hint hint). So I hope it won't take as much abuse as a drive-train wheel, but it will be spinning faster so loose parts would be even more dangerous. If we can't be sure we can attach safely we will certainly abandon the idea for this application. As for a reed switch. I have never used one. They contact due to magnetic field detection, but it is a mechanical motion right? So I was concerned about lifespan (how many times are they design to switch) and switching speed. I am certainly curious if someone thinks they can work for this as well. I really like the looks of that Honeywell sensor mentioned above. That's a pretty steep price compared to the hall latch (under $1), but if it provides a simple and stable solution it's certainly worth trying out. I love FRC build season - it really gets the brain going non stop! |
|
#9
|
|||
|
|||
|
Re: Hall Effect Latch as an encoder/counter?
We put a 1/2 x 1/8" N52 neodymium magnet on the end of our shaft and get good readings out to 3/8" gap. Good non-contact sensing device.
|
|
#10
|
|||||
|
|||||
|
Re: Hall Effect Latch as an encoder/counter?
Reed switches might work for your application but they are notorious for generating noise (contact bounce) so you need to take appropriate steps for accurate readings.
|
|
#11
|
|||
|
|||
|
Re: Hall Effect Latch as an encoder/counter?
FYI - I have done a PCB layout using expresspcb.com's service and the boards should be in tomorrow. If all goes well we are considering ordering a larger batch to sell kits/assembled units for those not 'in the market' of developing their own sensors. Would anyone be interested?
![]() |
|
#12
|
|||
|
|||
|
Re: Hall Effect Latch as an encoder/counter?
And here is the assembled and functioning PCB. It is about 1.75"x.75". Hope it works out our pitcher this year!
I used expresspcb.com's SW to do the layout and used their protoboard service for the board manufacturing.We have not tried interfacing it to SW yet, I hope to on Saturday. squirrel - If you don't mind me asking - was your team able to use encoder lib calls from WPI or did you have to build your own timer/counter algorithm for the hall latch? |
|
#13
|
|||||
|
|||||
|
Re: Hall Effect Latch as an encoder/counter?
I don't know of having got that far yet, we got the sensor wired up and working but haven't actually tested it with running motor...hopefully first thing tomorrow afternoon we'll get working on it, since we finally got the new shooter (with a place to put the sensor and magnet) put together tonight.
|
|
#14
|
||||
|
||||
|
Re: Hall Effect Latch as an encoder/counter?
Quote:
One of our students wired up our prototype sensor board. Its a kludge but it appears to work when we watch it with our handy-dandy voltmeter. More testing will be required. Hopefully the counter vi in the WPI library will work well with it but we aren't there yet. Last edited by BitTwiddler : 27-01-2012 at 20:26. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|