3D Robotics

Using Arduino with Matlab

Matlab is the gold standard of physical computing simulations used with UAVs, including built-in Kalman filters. Now you can use it with Arduino.

From the Arduino blog: "I found a well and detailed step-by-step guide with codes and pictures on this presentation from Giampiero Campa who lead the webinar “Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB“:

The webinar introduces the ArduinoIO package, which allows the user to perform Analog and Digital Input and Output, as well as to control DC, Servo and Stepper Motors interactively from the MATLAB command window, without having to write, debug, compile, upload and run C programs.

you can downlaod the Arduino package from here."

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones


  • I will try scicoslab/scilab.
  • Developer
    I recommend you guys take a look at scicoslab/scilab. It's free and if you know c++ it's easy to add your own functionality. I've already integrated scicoslab with ardupilotmega and scicoslab already has kalman filters etc. Scicoslab/Scilab is much more inline with the DIY mentality. Who wants to shell out 10k for every new matlab/simulink toolbox? If you want a new block for scicoslab/ ardupilotmega let me know. I'm getting pretty good at making them.
  • Moderator
    Nice find :)
  • I see currently Arduino Duemilanove is supported. If they add mega support we can control our drones from a pc running matlab and using any filter (ex. extended kalman filter).
This reply was deleted.