AS5600 Magnetic Rotary Encoder Module, 12-Bit 4096 Steps Contactless Angle Position Sensor Board, I2C + Analog Output (GPO/PWM), 3.3V–5V Compatible with Arduino ESP32 for DIY Motor Control, Robotics & Knobs (with Magnet + Header Pins)
More options
Upgrade your motion projects with the AS5600 Magnetic Rotary Encoder Module — a compact, highly accurate contactless angle position sensor that reads rotation using a magnet, so there’s no mechanical wear, no scratchy potentiometer noise, and excellent long-term stability.
This module is built around the AS5600 12-bit magnetic position sensor, providing 4096 discrete positions per full rotation (0–360°). It’s perfect for applications where you need smooth, repeatable angle tracking, such as motor feedback, steering/joystick sensing, rotary knobs, robot joints, CNC/automation mechanisms, and DIY controllers.
Why AS5600 over a normal potentiometer?
A potentiometer physically rubs a wiper on a resistive track — it eventually wears out and can produce jitter. The AS5600 measures the magnetic field angle from a magnet, which means:
- Contactless sensing → better durability, lower maintenance
- Stable readings → less drift and less noise
- Higher resolution → 12-bit precision (4096 steps)
- Multiple output options → I2C digital + analog (and breakout GPO/PWM)
How it works (simple)
- Mount a diametric magnet (typically included) on the rotating shaft.
- Place the sensor board so the magnet is centered above the AS5600 chip.
- As the shaft rotates, the sensor detects the magnetic field orientation and outputs the angle.
Tip for best accuracy: Keep the magnet centered and stable. Misalignment or wrong magnet type can reduce accuracy or range.
Outputs & Interfaces
This encoder module supports two main ways to read position:
1) I2C Digital Angle Output (Recommended)
Read high-resolution angle values directly via I2C using Arduino/ESP32. Great for:
- motor control loops
- robotics joints
- closed-loop feedback systems
- precise measurement & calibration
2) Analog OUT (Fast & Simple)
Analog output is easy for microcontrollers with ADC pins. Great for:
- knobs/dials
- joystick-like controls
- quick prototypes without I2C libraries
Many AS5600 breakouts also expose GPO which is commonly used for PWM output or additional configuration/feature signaling depending on module design.
Pinout (as on the module)
This board typically exposes these pins (as printed on the PCB):
Top header (Power + Analog)
| Pin | Meaning | Notes |
|---|---|---|
| GND | Ground | Connect to MCU GND |
| OUT | Analog output | Angle as analog voltage (scaled to VCC) |
| VCC | Supply | 3.3V–5V input |
Bottom header (I2C + Control)
| Pin | Meaning | Notes |
|---|---|---|
| GPO | GPIO / PWM output | Often used for PWM angle output on many modules |
| SDA | I2C data | Connect to MCU SDA |
| SCL | I2C clock | Connect to MCU SCL |
| DIR | Direction control | Sets output direction (CW/CCW) depending on board wiring |
Typical Wiring Examples
Arduino UNO / Nano (I2C)
- VCC → 5V
- GND → GND
- SDA → A4
- SCL → A5
ESP32 (I2C)
- VCC → 3.3V (recommended for ESP32 logic)
- GND → GND
- SDA → GPIO21 (common default)
- SCL → GPIO22 (common default)
Analog Mode
- VCC → 3.3V or 5V
- GND → GND
- OUT → any ADC input pin
Key Specifications
| Spec | Value |
|---|---|
| Sensor IC | AS5600 magnetic rotary position sensor |
| Resolution | 12-bit (4096 steps / revolution) |
| Measurement range | 0–360° (full rotation) |
| Supply voltage | 3.3V–5V DC |
| Interfaces | I2C (digital) + Analog OUT, plus GPO/PWM on many boards |
| Sensing method | Contactless magnetic (with diametric magnet) |
| Best use cases | Motor feedback, robotics, knobs, controllers, automation |
Note: Exact behavior of GPO and some limits can vary slightly by breakout design, but the AS5600 core capability remains the same: precise contactless angle sensing.
Applications (great for search + real use)
- BLDC motor angle feedback (DIY closed loop control)
- Servo / actuator position sensing
- Robotics joints and arm rotation feedback
- Rotary knobs (audio mixer / CNC / UI controller)
- Steering angle sensing for RC cars/robots
- Gimbal & camera slider position feedback
- 3D printer / CNC mods where non-contact sensing helps
What’s Included
- 1× AS5600 encoder module
- 1× Magnet (typical kit includes a small round magnet)
- 1× Pin header strip
Full description
Upgrade your motion projects with the AS5600 Magnetic Rotary Encoder Module — a compact, highly accurate contactless angle position sensor that reads rotation using a magnet, so there’s no mechanical wear, no scratchy potentiometer noise, and excellent long-term stability.
This module is built around the AS5600 12-bit magnetic position sensor, providing 4096 discrete positions per full rotation (0–360°). It’s perfect for applications where you need smooth, repeatable angle tracking, such as motor feedback, steering/joystick sensing, rotary knobs, robot joints, CNC/automation mechanisms, and DIY controllers.
Why AS5600 over a normal potentiometer?
A potentiometer physically rubs a wiper on a resistive track — it eventually wears out and can produce jitter. The AS5600 measures the magnetic field angle from a magnet, which means:
- Contactless sensing → better durability, lower maintenance
- Stable readings → less drift and less noise
- Higher resolution → 12-bit precision (4096 steps)
- Multiple output options → I2C digital + analog (and breakout GPO/PWM)
How it works (simple)
- Mount a diametric magnet (typically included) on the rotating shaft.
- Place the sensor board so the magnet is centered above the AS5600 chip.
- As the shaft rotates, the sensor detects the magnetic field orientation and outputs the angle.
Tip for best accuracy: Keep the magnet centered and stable. Misalignment or wrong magnet type can reduce accuracy or range.
Outputs & Interfaces
This encoder module supports two main ways to read position:
1) I2C Digital Angle Output (Recommended)
Read high-resolution angle values directly via I2C using Arduino/ESP32. Great for:
- motor control loops
- robotics joints
- closed-loop feedback systems
- precise measurement & calibration
2) Analog OUT (Fast & Simple)
Analog output is easy for microcontrollers with ADC pins. Great for:
- knobs/dials
- joystick-like controls
- quick prototypes without I2C libraries
Many AS5600 breakouts also expose GPO which is commonly used for PWM output or additional configuration/feature signaling depending on module design.
Pinout (as on the module)
This board typically exposes these pins (as printed on the PCB):
Top header (Power + Analog)
| Pin | Meaning | Notes |
|---|---|---|
| GND | Ground | Connect to MCU GND |
| OUT | Analog output | Angle as analog voltage (scaled to VCC) |
| VCC | Supply | 3.3V–5V input |
Bottom header (I2C + Control)
| Pin | Meaning | Notes |
|---|---|---|
| GPO | GPIO / PWM output | Often used for PWM angle output on many modules |
| SDA | I2C data | Connect to MCU SDA |
| SCL | I2C clock | Connect to MCU SCL |
| DIR | Direction control | Sets output direction (CW/CCW) depending on board wiring |
Typical Wiring Examples
Arduino UNO / Nano (I2C)
- VCC → 5V
- GND → GND
- SDA → A4
- SCL → A5
ESP32 (I2C)
- VCC → 3.3V (recommended for ESP32 logic)
- GND → GND
- SDA → GPIO21 (common default)
- SCL → GPIO22 (common default)
Analog Mode
- VCC → 3.3V or 5V
- GND → GND
- OUT → any ADC input pin
Key Specifications
| Spec | Value |
|---|---|
| Sensor IC | AS5600 magnetic rotary position sensor |
| Resolution | 12-bit (4096 steps / revolution) |
| Measurement range | 0–360° (full rotation) |
| Supply voltage | 3.3V–5V DC |
| Interfaces | I2C (digital) + Analog OUT, plus GPO/PWM on many boards |
| Sensing method | Contactless magnetic (with diametric magnet) |
| Best use cases | Motor feedback, robotics, knobs, controllers, automation |
Note: Exact behavior of GPO and some limits can vary slightly by breakout design, but the AS5600 core capability remains the same: precise contactless angle sensing.
Applications (great for search + real use)
- BLDC motor angle feedback (DIY closed loop control)
- Servo / actuator position sensing
- Robotics joints and arm rotation feedback
- Rotary knobs (audio mixer / CNC / UI controller)
- Steering angle sensing for RC cars/robots
- Gimbal & camera slider position feedback
- 3D printer / CNC mods where non-contact sensing helps
What’s Included
- 1× AS5600 encoder module
- 1× Magnet (typical kit includes a small round magnet)
- 1× Pin header strip
No reviews yet — be the first.
Honest takes from buyers who built with this part.
Write a review
No questions yet.
Ask anything — the team and other customers will reply.
Ask a question
Starter Bundle Builder
Works With
Find more compatible parts
Related