Asked — Edited

Hall Effect Sensor

Hello, Does anyone know how to use a hall effect sensor with the EZ-B? I had planned to use one to locate a position for a modified servo however I hooked it up to an ADC port but I don't get a reading. I do with my VOM for continuity but that is it. Any other solution for locating a position for a modified servo would be great also. Many thanks in advance and happy holidays!


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

Spain
#1  

Hello, you need not to precision, but a servo arm actuating a button for each round would be enough? It would require a pulse counter ARC to add or subtract from a starting position. For more precision servo arm star (4 arms) that are 4 pulses per revolution. There are also square odometers, more complex and precise. Greetings and I hope that helps you some idea.

rotary encoder

#2  

If anyone cares I found the answer. I put a 10K resistor across the +5V and the signal from the Hall effect and the ADC now goes form +5V to 0 when the magnet is in proximity of the Hall IC.

United Kingdom
#3  

Hi Bookmaker what Hall Effect IC are you using?

I'm ordering a couple to sense Omni's motor current so when he bumps into something I can measure the current increase via an ADC port and make him back off.

United Kingdom
#5  

Bookmaker thanks for that I've ordered the Sparkfun ACS712 breakout board so similar just hope they are sensitive enough. I need to measure how much current Omnibot takes trundling around now

#6  

Hello again, I didn't mean to mislead you but I am using the small ones with three leads that go high when in the proximity of the south pole of a magnet. How do you hook up the one you bought? What I mean is where do you hook up the terminals for the current being sensed?

United Kingdom
#7  

#Bookmaker

No problem I understood. 2 pics attached basically the wire you want to sense in this case the power cable to the motor is wired through the sensor (big holes in pic)and the output will go to an EZ-B ADC port. 1 sensor for each motor.

User-inserted image

User-inserted image

I haven't got the sensors yet they may arrive tomorrow so this is all theory but can't see why it wont work. I'll report progress this weekend

#8  

Thanks, now I get it. That opens up alot of ideas. The posibilities are never ending. I just love it.

United Kingdom
#9  

Well got the chips today did a quick lash up and it works!

I need to play around with it some more but the principle is sound. Interestingly the way its wired at present I get a lower voltage on the ADC port when stalled moving forward and a higher voltage when stalled moving backwards helpful

Might add a say (Ouch) when Omnibot touches something great fun :)

United Kingdom
#11  

Video of my Omnibot bumping around

#12  

@winstn60,

That is great! Plus you just gave me an idea for LEGION, my RAD 2.0 robot. He has hands that open/close and right now I have no way of sensing when the hands close or open to much...the gears on the arms are designed to 'pop' when the arms close/open too wide but it sounds horrible and can't be good for the gears! I am thinking I might be able to use one of these sensors on the arm motors. Looks like the sparkfun board will be perfect! If that works, I may put one on the tracks to keep him from trying to climb the walls too! Thanks!

v/r

Kevin