So we’re doing swerve for our first time this year, and we bought a couple of AMT 112S encoders to measure the wheels’ azimuth.
To test the encoder we 3D printed a gear with a long shaft which rotates on a bearing attached to the case. It can be seen here:
We used the cable seen on the picture, and based on the datasheet we marked down which wires are what and taped the ones we didn’t need. We plugged in the wires to an Interface Board on top of a Talon SRX we have hooked up to a test board.
We use LED’s on the board to see if we are getting encoder readings, but when we tried spinning the gear, the A and B LED’s on the board didn’t blink. We double checked several times that the wires matched the pins on the datasheet to make sure the wiring was done correctly. We swapped out encoders to see if it was the encoder that was faulty but we still didn’t get any signal.
To test the individual pins (A and B) we made a small circuit with resistors, a power source and an oscilloscope that plugged into the encoder. We still wouldn’t get any voltage oscillations for either pin when we spun the gear.
Does anyone have any experience with these encoders or has had a similar issue? Is there any obvious step that we missed? We are stuck at the moment and don’t know what to do.
Any help is appreciated.