|
Re: Rotary Encoders
I use 3 cables for 2 encoders, one is the power cable using a female PWM with the Red wire tied to the Orange (5v) wires from each encoder and the black wire soldered to the Brown wires from the encoders, the white wire on the PWM cable is unused.
For the channel A and B, I cut in half a 2 pin solenoid cable and solder the yellow and blue wires form the encoder cable to the red and white wires of the 2pin cables. The power cable can go to any empty digital input, the 2 cables with A and B outputs are then connected 90 degrees from the normal orientation to adjcent signal pins. It requires 4 digial I/0 ports to use the encoders.
combined Team 1130/957
|