July 13, 2015

Arduino matlab interfacing tutorial

Coding is one of the integral parts of the Robotics field. Arduino and MATLAB are the most common and powerful tools used for this purpose. If you are new to Arduino and MATLAB you may first look our tutorials on them, as this would mainly concentrate on interfacing them.
Interfacing is establishing a sort of connection between two things, in this case Arduino and MATLAB. A flow diagram would better explain this

img

So coding will be done in MATLAB and the instructions are communicated to Arduino first through serial communication and then to the system (Ex: a servo, led connected to pin 13 on Arduino, etc.). So, controlling the system with the help of MATLAB.

WHY TO INTERFACE ARDUINO AND MATLAB?

  • MATLAB provides tools such as plotting functions, creating GUI’s, simulation and many more.
  • Ease of access and handling tedious calculations.

Leave a Reply

Your email address will not be published. Required fields are marked *