Arduino library for the AS5600 12-bit contactless magnetic rotary position sensor.
The AS5600 is a contactless magnetic rotary position sensor for accurate angular measurement over a full 360-degree rotation. It features:
- 12-bit resolution (4096 positions per revolution)
- I2C interface (address 0x36)
- Analog output (ratiometric to VDD)
- PWM output option
- Magnetic field strength detection
- Programmable zero position and angular range
- Low power modes
- Temperature range: -40°C to 125°C
Download and install the library using the Arduino Library Manager or by downloading the latest release from GitHub.
This library requires:
The AS5600 requires a diametrically magnetized magnet positioned above the sensor. The magnet should be centered over the chip with an air gap of 0.5-3mm.
MIT License. See LICENSE file for details.
Contributions are welcome! Please read the contributing guidelines and submit pull requests to the main repository.