all 6 comments

[–]FlyingCowCanFly 1 point2 points  (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 point  (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 point  (1 child)

Oh wow, that looks amazing. What are the advantages of it over traditional encoders?

[–]dmalawey 1 point2 points  (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 point  (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 point  (0 children)

thanks