API Reference
adafruit_as5600
CircuitPython driver for the AS5600 Magnetic Angle Sensor
Author(s): Liz Clark
Implementation Notes
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
Adafruit’s Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
- class adafruit_as5600.AS5600(i2c: busio.I2C, address: int = _ADDR)
Driver for the AS5600 12-bit contactless position sensor.
- Parameters:
- agc: int = 26
The current AGC (Automatic Gain Control) value. Range is 0-255 in 5V mode, 0-128 in 3.3V mode.
- property angle: int
The scaled angle reading as a 12-bit value (0-4095). This is scaled according to ZPOS/MPOS/MANG settings.
- property fast_filter_threshold: int
The fast filter threshold setting. Use FAST_FILTER_* constants.
- property max_angle: int
The maximum angle range as a 12-bit value (0-4095). This represents 0-360 degrees.