The AS5046, a 12-bit magnetic rotary encoder, offers rotation, tilt, and vertical distance detection of a magnet moving above it. The device can detect vertical distances over several millimeters, ...