For my project I have two myRIO motor adaptors that are both used with two motors each, and each give encoder signals. However, from testing it was notcied that only two of the four motors would give an encoder measurement. I found that even though the adaptors can support two DC motors they only provide one encoder measurement, which isn't ideal.
Therefore, I've decided to use the MSP Port, where the following channels are being used for additional encoder signals : DI06,DI04,DI02, and DI00. I've attached the wires to these channles however I'm slighty confused on where I'll connect these wires to on the adaptor board. Should I place the wires in the header pins on the board or use them in the encoder terminals?
I'm using a simple code to check the that it works for each channel, however I don't think I'm changing the code correctly to support the additional channel. Any help is apprceiated!
Digilent myRIO Motor Adaptors, Encoder Measurement.
in LabVIEW
Posted · Edited by ar38150
mistake
Hi everyone,
For my project I have two myRIO motor adaptors that are both used with two motors each, and each give encoder signals. However, from testing it was notcied that only two of the four motors would give an encoder measurement. I found that even though the adaptors can support two DC motors they only provide one encoder measurement, which isn't ideal.
Therefore, I've decided to use the MSP Port, where the following channels are being used for additional encoder signals : DI06,DI04,DI02, and DI00. I've attached the wires to these channles however I'm slighty confused on where I'll connect these wires to on the adaptor board. Should I place the wires in the header pins on the board or use them in the encoder terminals?
I'm using a simple code to check the that it works for each channel, however I don't think I'm changing the code correctly to support the additional channel. Any help is apprceiated!
Robot Movement.lvproj