How do we wire these encoders to our robot? We are using a digital sidecar and all the PWM outputs are taken.
They connect to Digital Inputs (DIO) on the sidecar.
By pin number:
- +5 VDC power -> 5v power
- Quadrature A channel -> signal
- Ground -> ground (-)
- Quadrature B channel -> signal
Encoders actually get plugged into the digital i/o section of the digital sidecar. You should hook up the leads of the encoder to 2 3-pin connectors with one having A and ground and the other having B and power (or vice versa - the important thing is that A and B are on separate connectors). Put A and B on the signal pins and power and ground on the appropriate pins.