/AS5147P-Arduino

Library for interfacing with AMS AS5147P Position Sensor

Primary LanguageC++MIT LicenseMIT

AS5147P

Library for interfacing with AMS AS5147P Rotary Position Sensor, based on the AS5048A Library at https://github.com/ZoetropeLabs/AS5048A-Arduino . Many functions are supported, including:

  • Reading Absolute/Relative Position, CORDIC Magnitude, and Gain
  • Adjustable Zero Position
  • Reading Error Flags

Low-level functions like read() and write() are available as well to read/write a certain register. Registers are defined in the AS5147P_REGISTERS namespace.