Using single-channel encoder in Arduino Support Package for MATLAB
Hello,
I am using the MATLAB Support Package for Arduino Hardware to connect my Arduino Nano 33 IoT and Arduino Nano motor carrier to MATLAB. However, I only have a single channel encoder, meaning there is no data into the "B" port on my motor carrier. I am creating the motor carrier object using the "motorCarrier" function and the subsequent encoder object "rotaryEncoder" Is there a way to configure the rotaryEncoder object to use X1 encoding scheme rather than X4 encoding scheme, so that only the "A" channel must recieve data?
I would also like to do the same to the arduino encoder block in simulink, if possible.Hello,
I am using the MATLAB Support Package for Arduino Hardware to connect my Arduino Nano 33 IoT and Arduino Nano motor carrier to MATLAB. However, I only have a single channel encoder, meaning there is no data into the "B" port on my motor carrier. I am creating the motor carrier object using the "motorCarrier" function and the subsequent encoder object "rotaryEncoder" Is there a way to configure the rotaryEncoder object to use X1 encoding scheme rather than X4 encoding scheme, so that only the "A" channel must recieve data?
I would also like to do the same to the arduino encoder block in simulink, if possible. Hello,
I am using the MATLAB Support Package for Arduino Hardware to connect my Arduino Nano 33 IoT and Arduino Nano motor carrier to MATLAB. However, I only have a single channel encoder, meaning there is no data into the "B" port on my motor carrier. I am creating the motor carrier object using the "motorCarrier" function and the subsequent encoder object "rotaryEncoder" Is there a way to configure the rotaryEncoder object to use X1 encoding scheme rather than X4 encoding scheme, so that only the "A" channel must recieve data?
I would also like to do the same to the arduino encoder block in simulink, if possible. arduino, electric_motor_control MATLAB Answers — New Questions