I found another thread related to the magnetic encoders. You might want to look through it if you haven't already:
http://www.chiefdelphi.com/forums/sh...d.php?t=111202
Also, here's the non FIRST-specific data sheet for the sensor:
http://www.ams.com/eng/content/downl...heet_v1-15.pdf
Unfortunately I can't see the wiring very well from the pictures provided, so I won't be of much help there. It seems the sensor has two modes of output: absolute position, and quadrature output. For you usage, you need to make sure you wire it for quadrature output. Here's the wiring:
Quote:
|
Originally Posted by Screen Steps Live
To wire the sensor to the FRC Control System, the following connections must be made: - The pin labeled 5V on the sensor should be connected to a 5V (labeled "PWR") pin of the Digital Sidecar Digital I/O bank
- The 2 pins labeled GND should be connected to a ground pin (labeled "(-)") on the Digital Sidecar.
- The pins A and B should be connected to separate signal pins (labeled "SIG") on the Digital Sidecar.
- The pin CSn should be connected to a ground pin on the Digital Sidecar (for a description of the purpose of this pin, see "Incremental Power-up Lock Option" on Page 15 of the datasheet
|
Source. Attached is a sketch of what (I believe) the wiring should look like.