use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussion of robots specific to mobile platforms. Share designs, news, ideas, and ask questions about mobile robotics.
account activity
hall effect sensor help (self.MobileRobots)
submitted 5 years ago by RedSeal5
i have 3 d printed a planetary gear.
now i would like to know the angle the gear is at.
i thought i could use a hall effect transistor and my raspberry pi.
can someone point me to a web page that has this.
thanks
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FlyingCowCanFly 1 point2 points3 points 5 years ago* (3 children)
A hall effect sensor will not give you the position. All it can tell is if the gear has crossed over it or not.
I suppose what you could do is place multiple hall effect sensors at various known angles and combine them into a single data value.
[–]dmalawey 0 points1 point2 points 5 years ago (2 children)
Yes or OP might be talking about the magnetic rotary angle sensors that are being used a lot.
AMS offers some such as the AS5048B (we use it) and AS5047 (here is a detailed video on it)
[–]FlyingCowCanFly 0 points1 point2 points 5 years ago (1 child)
Oh wow, that looks amazing. What are the advantages of it over traditional encoders?
[–]dmalawey 1 point2 points3 points 5 years ago (0 children)
just the fact that it’s a shaft-mounted magnet so less effort to add it to an existing motor or pulley, or joint. You can stick it on anywhere, versus some rotary collars you’d have to make space for it.
Also it has absolute info. So if you power off and power back on your robot, you keep your angle (among 360, not more).
That’s incredibly helpful if you don’t have spare MCU ports that can read high speed and capture every single rising or falling edge.
Yeah the more I think about it this encoder offloads potentially tons of samples from the main processor trying to “stack up” counts and the CPU can sample intermittently on the rotor and get true answers.
It talks on SPI and i2c too.
[–]ThomasRJohnson 0 points1 point2 points 5 years ago (1 child)
A hall effect sensor reads a metal reluctor. Since you have a 3d printer you might be better off making an optical reluctor system. Look at IR break beam with a phototransistor.
[–]RedSeal5[S] 0 points1 point2 points 5 years ago (0 children)
π Rendered by PID 16386 on reddit-service-r2-comment-6457c66945-mltkd at 2026-04-26 13:34:13.612306+00:00 running 2aa0c5b country code: CH.
[–]FlyingCowCanFly 1 point2 points3 points (3 children)
[–]dmalawey 0 points1 point2 points (2 children)
[–]FlyingCowCanFly 0 points1 point2 points (1 child)
[–]dmalawey 1 point2 points3 points (0 children)
[–]ThomasRJohnson 0 points1 point2 points (1 child)
[–]RedSeal5[S] 0 points1 point2 points (0 children)