An encoder using the AS5601 is wear-free, robust, configurable, and can easily be programmed for a custom number of output pulses using I2C. The design consists of a board with the AS5600 and mechanics for the sensor magnet which also provides the required mechanical properties. This contactless pot offers high reliability and durability and is robust in harsh environments. The contactless angle and push-button output is not influenced by any mechanical effects that would otherwise be caused by contacting the wiper or mechanical switch.