View Single Post
  #4   Spotlight this post!  
Unread 08-02-2017, 13:30
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 56
onenerdyguy is on a distinguished road
Re: Use VexPro VersaPlanetary Encoders without Talon SRX?

Quote:
Originally Posted by GeeTwo View Post
You wire your encoders to two of the DIO ports on the roboRIO. For wiring, the VCC, Gnd, and "A" signal wire to one DIO as usual, the "B" signal goes to the signal line on a second DIO port. As you're using an encoder designed for the SRX, you may want to get some Talon SRX breakouts and use them in reverse.

You should be able to search for examples of code. If you can't find anything, the first thing we would need to know is what language you're programming in.
We're in Python, and that makes perfect sense reading it. It's our first time using any form of encoder, as we're in our second year, so I really thought we made an "oh crap" moment with these.

Without picking up the breakouts (if worse comes to worse), we can just solder onto the plates on top of those encoders and wire accordingly, correct?
Reply With Quote