In this video, I demonstrate how using programming one can control a servo motor. For this demonstration, I am using my home license. You will need the following licenses to successfully execute the code:
1. MATLAB
2. MATLAB Support Package for Arduino Hardware
In this video, we use MATLAB Support Package to communicate with Arduino Uno board. First we setup a server on Arduino Uno which enables MATLAB to communicate with Arduino from the command line (or scripts). Then we create an instance of a MATLAB object to connect to Arduino board. Then we create a servo object and use in-build commands to write positions (command) and read positions (monitor). All using programming! Sounds fun.
You can learn more about these toolboxes on MathWorks website and their documentation:
1. Try MATLAB:
https://in.mathworks.com/campaigns/pr...
2. MATLAB Support Package for Arduino Hardware:
https://in.mathworks.com/hardware-sup...
3. Setup and Configuration for Arduino board:
https://in.mathworks.com/help/support...