Log in

View Full Version : Digital Encoders


dmitch
16-02-2012, 19:57
How do i wire and code the digital encoders from the KOP to work on the robot? I am using C++.

Ether
16-02-2012, 20:22
How do i wire and code the digital encoders from the KOP to work on the robot? I am using C++.

wire: Channel A and Channel B each go a DIO. see this document: http://usdigital.com/first

code: there's an Encoder class in the WPI library that came with the C++ installation.

dmitch
16-02-2012, 21:06
The AndyMark toughboxes that we are using do not have holders for the screws on the quadrature encoder. How would I wire the AS5030 - Rotary Magnetic Encoder and reference it in C++?

slijin
16-02-2012, 21:52
See this item (http://www.andymark.com/product-p/am-0208.htm) for the E4P.

Search the forums; there have been a number of recent posts explaining how to wire and mount the AS5030.