Canandmag Overview
The Redux Canandmag is a versatile solution for measuring rotational position and velocity. The sensor measures a diametric magnet in order to calculate the absolute position and velocity of an object. The 14 bit precise position can be read over CAN, or PWM over the 10-pin IDC port to be used with a REV Spark Max Motor Controller or CTRE Talon SRX Motor Controller. Precisely computed velocity can also be read over CAN.
Overview
Section titled “Overview”- Low profile and compact design
- Large solder pads for easy power and CAN connections
- Wide input voltage range (4.2v ~ 16v)
- Breakaway 10-pin 1.27mm pitch IDC Connector for 14-bit PWM output compatible with REV Spark Max and CTRE Talon SRX without adapter boards
- Low CAN bus utilization by default (~1%)
- Zero button for quick calibration, persistent across resets
Zeroing
Section titled “Zeroing”Holding the button on the encoder for at least two seconds will zero the position of the encoder for both PWM and CAN outputs. This zero will persist across power cycles of the encoder.
The LED will flash white to indicate the angle has been set. Release the button afterwards.
Factory Default
Section titled “Factory Default”Holding the button for fifteen seconds will factory-reset all settings on the Canandmag. This will not change the CAN ID.
Powering
Section titled “Powering”The encoder accepts 4.2-16v via its power input pad, and can also be powered over the 10 pin IDC port via the 5v output of the parent device, such as a motor controller.
Firmware
Section titled “Firmware”The latest firmware for the Canandmag can be downloaded here.
Configuring
Section titled “Configuring”The Canandmag can be configured from the Alchemist Configuration Tool. In addition, Alchemist can be used to zero the encoder, manage status frame periods, and update the device.

Vendordep
Section titled “Vendordep”The vendordep is not necessary if only the encoder’s PWM output is used. However, CAN usage requires ReduxLib to be installed.
ReduxLib Canandmag Java API reference
ReduxLib Canandmag C++ API reference
Getting Started
Section titled “Getting Started”How-to Guides
Section titled “How-to Guides”- Soldering Instructions
- Mechanical Breakaway Guide
- Using with Spark Max
- Using with Talon SRX
- Functional Equivalents