Does anyone know how to connect the US Digital Rotary Encoder to the cRIO? Or how to set up the cRIO to be able to use it? Same questions for the Austria Microsystems Magnetic Rotary Encoder.
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
Thank you for the information. If you have any ideas on other ways to set up the rotary encoders, please post.
Another approach is to use 2 PWM cables…Cable 1 has channel A (white) and power (red)…the other channel B (white) and ground (black).
The Sensor Manual on the FIRST web site gives some answers, along with pointers to more information. Find it next to section 8 of the Game Manual.
http://www.usfirst.org/roboticsprograms/frc/content.aspx?id=452
What programming environment are you using? LabVIEW has complete example code for using the encoders.
For the rotary encoders, we snipped some wires from the digital side car and soldered the orange to the red (postives), the brown to the black (ground), and the blue to the white (signal)
Then we just plugged it into the digital sidecar