Robot Pi Shop

AS5600 12bit Magnetic Angle Sensor Encoder Module

$1.99

Shipping calculated at checkout.

Quantity

AS5600 12-Bit Magnetic Rotary Encoder & Angle Sensor Module – 360° I2C

The AS5600 Magnetic Angle Sensor Module is a high-resolution 12-bit contactless rotary position sensor designed to accurately measure the absolute angular position of a rotating shaft or magnet.

Using magnetic Hall-effect sensing, the AS5600 detects the orientation of a diametrically magnetized magnet positioned above the sensor. Because there is no mechanical contact between the sensor and the rotating shaft, it provides excellent durability with no mechanical encoder contacts or potentiometer tracks to wear out.

With 4096 positions per revolution, a full 0–360° measurement range, I2C communication, and analog/PWM output capability, the AS5600 is ideal for robotics, motor feedback, robotic joints, steering systems, control knobs, servos, and precision angular-position measurement.

Technical Specifications

  • Sensor IC: AS5600
  • Sensor Type: Contactless Magnetic Rotary Position Sensor
  • Measurement Type: Absolute Angular Position
  • Resolution: 12-Bit
  • Positions per Revolution: 4096
  • Angular Resolution: Approx. 0.088° per Step
  • Default Measurement Range: 0–360°
  • Programmable Angular Range: 18–360°
  • Sensing Technology: Hall-Effect Magnetic Position Sensing
  • Digital Interface: I2C
  • I2C Address: 0x36
  • Additional Output: Analog or PWM
  • Rotation Direction Selection: Supported through DIR Input
  • Supply: 3.3V / 5V depending on module configuration
  • Operating Temperature of AS5600 IC: -40°C to +125°C
  • Required Magnet: Diametrically Magnetized Magnet
  • Measurement Method: Non-Contact

12-Bit Absolute Position Measurement

The AS5600 provides 12-bit angular resolution, corresponding to:

4096 positions across one complete revolution

This gives a theoretical angular step size of approximately:

360° ÷ 4096 = 0.0879° per step

Unlike a basic incremental encoder, the AS5600 measures absolute angular position. This means the controller can determine the current shaft angle directly rather than only counting pulses from a previous position.

Contactless Magnetic Sensing

Instead of using mechanical contacts, brushes, or optical slots, the AS5600 detects the orientation of a magnetic field.

A diametrically magnetized magnet is mounted on the rotating shaft and positioned directly above the AS5600 sensor.

As the magnet rotates, the sensor measures its angular orientation without physical contact.

This contactless design provides several advantages:

No Mechanical Wear
No Contact Bounce
Long Operating Life
Low Mechanical Resistance
Suitable for Continuous Rotation

I2C Interface

The AS5600 provides an industry-standard I2C interface for reading angular position and configuring sensor parameters.

The default I2C address is:

0x36

Typical connections include:

VCC – Power Supply
GND – Ground
SCL – I2C Clock
SDA – I2C Data

This makes the module easy to integrate with development platforms such as Arduino, ESP32, STM32 and Raspberry Pi Pico.

Analog & PWM Output

In addition to I2C communication, the AS5600 supports an OUT pin that can provide either:

Analog Voltage Output

or

PWM Digital Output

The output represents the measured angular position, allowing the sensor to be integrated into systems that do not require direct I2C communication.

In suitable applications, the analog output also allows the AS5600 to function as a contactless replacement for a conventional rotary potentiometer.

Programmable Measurement Range

By default, the AS5600 maps its output across a complete 0–360° rotation.

The start and stop positions can also be programmed, allowing the full output range to be mapped over a smaller mechanical angle.

The programmable maximum angular excursion ranges from approximately:

18° to 360°

This is particularly useful for applications such as control knobs, pedals, levers, steering mechanisms, robotic joints, and actuators that do not rotate through a complete revolution.

Direction Control

The DIR input allows the direction of increasing angular values to be selected.

With DIR connected appropriately, the sensor can be configured so that its reported angle increases with either:

Clockwise Rotation

or

Counter-Clockwise Rotation

This simplifies integration into mechanisms where the physical direction of movement cannot easily be changed.

Magnet Positioning

For accurate measurement, a diametrically magnetized magnet should be mounted concentrically with the rotational axis and positioned directly above the AS5600.

Correct magnet alignment and spacing are important for reliable readings.

The magnet should rotate around its center while the AS5600 module remains stationary.

Avoid using an ordinary axially magnetized magnet, as the AS5600 is designed specifically to measure the rotating field produced by a diametrically magnetized magnet.

Microcontroller Compatibility

The AS5600 can be integrated with many popular development platforms, including:

Arduino UNO / Mega / Nano
ESP32
ESP8266
STM32
Raspberry Pi Pico
Raspberry Pi with I2C

Libraries are available for many popular platforms, simplifying angle measurement, magnet detection, configuration, and position monitoring.

Applications

Ideal for robotic joint position sensing, motor shaft feedback, closed-loop motor control, servo systems, steering-angle measurement, rotary control knobs, contactless potentiometers, pedals, robotic arms, pan/tilt systems, machine positioning, DIY encoders, automation equipment, Arduino projects, ESP32 projects, and precision angular-position measurement.

Important Note

The AS5600 requires a diametrically magnetized magnet correctly aligned above the sensor for accurate angular measurement.

The stated 12-bit resolution provides 4096 digital positions per revolution, but this should not automatically be interpreted as ±0.088° absolute measurement accuracy. Actual accuracy depends on magnet quality, magnet alignment, air gap, mechanical centering, magnetic interference, sensor configuration, and system design.

Also note that AS5600 breakout boards are available in several different designs. Some modules operate directly at 3.3V, while others support 3.3V/5V operation through onboard components or configuration. Verify the markings and circuit configuration of the actual supplied module before connecting power.

Package Includes

  • 1 × AS5600 12-Bit Magnetic Angle Sensor Encoder Module
  • 1 × Diametrically Magnetized Magnet, if supplied with the module