Integrating the AS5600 Magnetic Encoder

WilhemJ89

New member
Heyy everyone,

I'm working on a motion control project for a small robotic arm, and I'm trying to use the AS5600 magnetic rotary encoder to read shaft position. It all looked good on paper, but I'm running into some issues when the motor starts moving.

Now here are my issues:
When the motor is idle, the encoder reading is smooth. But once I start moving it, the angle values jump or drift strangely. The magnet is mounted on the shaft, and the sensor board is right next to it, but I’m worried the alignment or distance might be off. I’m also seeing some noise when the driver switches power to the motor, could that be affecting the I²C readings?

If any of you have used the AS5600 (or a similar magnetic encoder) for motor/robot builds, I’d love your tips: how did you mount the magnet, what distance/air gap worked for you, and how did you clean up noise or jumps in your readings?


Thanks a bunch, any help will save me from tearing this apart again!
 
While this is a community for builders, it’s more specifically a community for builders of our amplifier kits. There are other forums and subreddits that are better suited for these sorts of questions.

We’re always here to support if you have some questions about any of the things we sell!
 
Back
Top