Thread: KOP Encoders.
View Single Post
  #1   Spotlight this post!  
Unread 19-09-2013, 17:11
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 434
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: KOP Encoders.

Quote:
Originally Posted by TenaciousDrones View Post
Another question, how do I wire the encoder? Like I can't find the index port on the digital sidecar.
I'm not familiar with the AS5145 in particular, but wiring should be like any other rotary encoder.

There is a simplified wiring diagram on page 8 of the PDF linked a few posts back.
You need to hook the 5v, gnd, A, and B conductors up to the digital side car (DSC). You shouldn't need the index channel. My guess is that the index channel will give you a single pulse per revolution.
Channels A and B should be connected to the DSC Digital I/O ports. They need to go to separate channels, they connect t othe pins labeled "sig" if I remember correctly. Choose two that are available. Note the numbers of the channels, and set your code up to use these two channels to configure the encoder object/VI.
__________________
http://team2168.org

Last edited by otherguy : 19-09-2013 at 17:13. Reason: Corrected PDF page number.
Reply With Quote