Grove - 12-bit Magnetic Rotary Position Sensor / Encoder (AS5600)


Grove 12-bit Magnetic Rotary Position Sensor / Encoder (AS5600) is a programmable 12-bit high-resolution contactless magnetic rotary position sensor. Compared with the traditional potentiometer, it has significant advantages: high precisionnon-contactno rotation angle limitation

In stock
  • 10+: $5.35
  • 20+: $5.10
  • More
  • 50+: $4.90
  • Less



Also check our blog Rotary Encoders – How it works, How to use it with Arduino to learn more different types of rotary encoders! 


If you want to know more about this demo, please check Open-Source Inverted Pendulum

We all know about the potentiometer, quoted from Wikipedia "A potentiometer is a three-terminal resistor with a sliding or rotating contact that forms an adjustable voltage divider." Simply put, the potentiometer converts relative position information into electrical signals. But the traditional potentiometer needs to be in contact with the object being measured. What about scenes that need to be contactless, such as high-speed motor, or high-precision robot arm? Well, the answer to the contactless potentiometer solution is the Grove - 12-bit Magnetic Rotary Position Sensor (AS5600).
The Grove -  AS5600 is a programmable 12-bit high-resolution contactless magnetic rotary position sensor. The Grove -  AS5600 can work as a magnetic potentiometer and a magnetic encoder with excellent reliability and durability. Compared with the traditional potentiometer/encoder, the Grove -  AS5600 has significant advantages: high precision, non-contact, no rotation angle limitation. All those advantages make it is perfectly suitable for non-contact angle measurement applications, such as the robot arm, tripod head, motor closed-loop control, machine tool axis positioning.
AS5600 is based on the Hall Effect, the build-in Hall sensor can detect changes in the direction of the magnetic field, thus, there is also no rotation angle limit. Then the magnetic field direction information is amplified by the amplifier, with the help of the build-in 12 bit A/D, the AS5600 module can output 4096 positions per round.  The output is selectable, you can either use the I2C interface to output the RAW data or output the PWM wave/Analog wave via the OUT pin. Meanwhile, the maximum angle is also programmable, you can set the maximum angle from 18° to 360°, which means that the measured angular accuracy is up to 18/4096.

AS5600 is excellent for the non-contact rotary position sensor, so we made this AS5600 Breakout Board in the Grove form factor. With the Grove I2C connector, you can easily connect this AS5600 module to Arduino. Also, we provide the full function AS5600 Arduino library.


The AS5600 has certain requirements for the magnetic field to be measured. Please use a magnet similar in size to the chip. The module should be measured as close as possible to the magnetic field and the AS5600 sensor center should be aligned with the center of the magnetic field. The vertical distance is preferably from 0.5 mm to 3 mm.


Applicable magnet description 

Since the AS5600 has certain requirements for the magnetic field to be measured. We recommend a round magnet that is about the same size as the chip.


Meanwhile, we have the Optical Rotary Encoder to provide the optical solution


  • Non-contact, no rotation angle limitation
  • 12-bit high-resolution, 4096 positions per round
  • Grove I2C, PWM/Analog Output
  • Great flexibility on angular excursion: Maximum angle programmable from 18° up to 360°

What is Grove?

Grove makes it easier to connect, experiment, and simplify the prototyping process. No jumpers or soldering required. We have developed more than 300 Grove modules, covering a wide range of applications that can fulfill a variety of needs. Not only are these open hardware, but we also have open-source software. 


  • Motor closed-loop control
  • Robot arm
  • Tripod head
  • Industrial machine control

Hardware Overview




HSCODE 9031900090
USHSCODE 8473305100



This is the wiki page for this product, which will show you how to use the product, as well as details about the software and hardware.
Learn Image
This demonstrates how to use the Grove - 12 bit Magnetic Rotary Position Sensor(AS5600) to accurately measure angle changes.


Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account