Which Arduino board (Name) can be used to read the speed directly using the Encoder block of Simulink?
2 views (last 30 days)
I am using Arduino Uno to read the Speed of my motor using simulink Encode block, But simulink says Uno board can not be used for Encoder block. Can somebody please tell me which Arduino Board can be used to read the speed from encoder block?
Arun Kumar on 30 Sep 2021
Which release of MATLAB are you using?
Till R2021a, the encoder block supports only encoders on motor carrier shield which is specifically for MKR boards and Nano 33 IoT board.
Motor carrier encoder block: https://www.mathworks.com/help/supportpkg/arduino/ref/encoderarduinomotorcarrier.html
In R2021b, support for rotary encoder was added which can be used for all encoders on all arduino boards.