DIY Magnetic rotary encoder with AS5043

Posted on Thursday, February 23rd, 2012 in DIY by DP

Sebastian would like to build a high-res 3D printer, and to this end he needs a precise way to ascertain the exact positions of various moving parts. Instead of buying an expensive stepper motors he decided to build a magnetic rotary sensor with which he could calculate the distance traveled. By placing a neodymium magnet on the sniping shaft above the AS5043 IC, he should be able to have a rotary encoder with 0.35° steps.

The setup for this sensor is rather simple, you need a few external components and a neodym magnet that is attached to your motors axis. Then you place the sensor under it.

Via the forum.

This entry was posted on Thursday, February 23rd, 2012 at 7:00 pm and is filed under DIY. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “DIY Magnetic rotary encoder with AS5043”

  1. Drone says:

    Nice work… But if you don’t have time to “reinvent the wheel”, then Avago makes all sorts of encoders. Some of the Avago rotary encoders have thousands of counts per revolution (e.g., 0.1 deg. resolution). Look for the “Avago Motion Encoder Selection Guide” MCPDAV000199EN.pdf (document: AV00-0199EN 09/20/10).

    No, I don’t work for Avago – but they should pay me for this post ;-)

  2. jovin richard says:

    I need to connect the AS5043 ic to an arduino and take some output. Can anyone tell me how to interface the AS5043 ic to an Arduino board. Thans in advance. You can also mail me at “”

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Cody: Yes please
  • Edward Mallon: I've been oversampling those thermistors with the ADC and some pin-toggle noise for a while now, and that method is good. But lately I've been...
  • Marko: armature -> amateur
  • Crawford: Dibs,
  • bill: a sunny Sunday here