Quote:
Originally Posted by TenaciousDrones
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.