In a previous post about bluetooth we have seen how to connect to a low cost HC-06 or Sparkfun Mate Gold module connected to an Arduino and establish a serial communication with it using minicom. In this quick article we will see how to establish connections with two modules and a PC running Ubuntu 16.04.
In this post we will save data coming from a sensor connected to Arduino to a Matlab structure or a txt file. CSV stands for comma separated values. Something like A,val1,val2,val3,B Requirements We've seen a basic Matlab-Arduino serial communication here We've played around with the gyroscope in this post You can check this article
Updated on Jan 2017! In this quick post we will write a Matlab script and a Arduino sketch to read and write serial commands. Arduino side This sketch is really simple, we will initialize the serial port with 9600 as baudrate in the setup() then call the serialRoutine() function in the main loop. The