AS5600 Magnetic Encoder Angle Measurement Sensor Module
12Bit HighPrecision Non-Contact Magnetic Position Sensor
The AS5600 is a programmable 12bit highresolution magnetic rotary position sensor that provides non-contact absolute angle measurement [citation:2][citation:4][citation:6]. It detects the position of a diametrically magnetized magnet placed above the IC, offering a reliable alternative to traditional potentiometers and optical encoders.
12Bit Resolution 4096 positions per revolution for high-precision angle tracking [citation:2][citation:5][citation:6]
Contactless Measurement - No mechanical wear for excellent durability and reliability [citation:2][citation:4][citation:6]
Operating voltage: 3.3V or 5V with I2C address 0x36 [citation:3][citation:5]
Keep magnet within 0.5mm to 3mm vertical distance for optimal detection [citation:5]
Ensure magnet is properly aligned with the sensor center and is sufficiently strong [citation:3]
Technical Specifications
| Parameter | Value |
|---|
| Resolution | 12-bit (4096 positions per revolution) [citation:2][citation:6] |
| Accuracy | 0.1° precision with typical ±0.4° accuracy [citation:3][citation:10] |
| Interface | I2C (address 0x36), PWM, Analog output [citation:2][citation:5] |
| Supply Voltage | 3.3V / 5V [citation:2][citation:3] |
| Operating Temp | -40°C to +125°C [citation:2][citation:5] |
= Key Features =
NonContact Sensing No mechanical wear, friction, or rotation angle limitation [citation:2][citation:6]
Flexible Output Modes - Supports I2C, PWM, and analog voltage output [citation:2][citation:6]
Configurable Range - Maximum angle programmable from 18° up to 360° [citation:2][citation:5]
Automatic Magnet Detection Builtin gain control and diagnostics for magnet placement [citation:3][citation:12]
Direction Selection - DIR pin configures clockwise or counterclockwise output [citation:3]
= Applications =
- Closed-loop motor control and feedback systems [citation:4]
- Contactless potentiometer and knob replacements [citation:11]
- Robot arm and joint angle measurement [citation:2][citation:4]
- Industrial machine tool positioning [citation:2][citation:5]
- Gimbal and tripod head position tracking [citation:2][citation:4]
NonContact Design Ideal for harsh environments with no mechanical wear
4096 Positions - Provides smooth, accurate angle measurement for critical applications [citation:5]
√ Supports Arduino, ESP32, Raspberry Pi with multiple libraries [citation:1][citation:3][citation:7]
√ Onboard voltage regulator for 3.3V/5V compatibility [citation:3]
√ STEMMA QT connector for plugandplay I2C wiring [citation:3][citation:10]
Connection Guide
Basic I2C wiring to Arduino:
- VIN: 5V (or 3.3V) power [citation:3]
- GND: Ground
- SDA: I2C data line [citation:3]
- SCL: I2C clock line [citation:3]
- OUT: Optional analog/PWM output [citation:3]
Use I2C address 0x36 by default not userconfigurable [citation:2][citation:5]
For analog output, connect OUT pin to ADC input 0V to VDD corresponds to 0360° [citation:3]
DIR pin must be tied to GND or VDD - leave floating causes erratic behavior [citation:12]
I2C lines require pull-up resistors (10kΩ onboard on many modules) [citation:3]
Troubleshooting
No angle data:
- Verify magnet is detected and within correct field range [citation:3]
- Check I2C connections and pull-up resistors [citation:3]
- Ensure DIR pin is properly tied (GND or VDD) [citation:12]
Inaccurate readings:
- Align magnet with sensor center, vertical distance 0.5-3mm [citation:5]
- Use a rare earth magnet (e.g., neodymium) for reliable field strength [citation:3]
- Check magnet is diametrically magnetized, not axially [citation:3]