Tag Archives: USB

How to read data from Arduino to Matlab through serial port

Hello, in this post I will explain how to read in Matlab data received with Arduino through the USB port.

To explain how to read the data from our Arduino in Matlab I have relied on the project: “Distance measuring with the module US-100 or HC-SR04 for Arduino”, once loaded into our Arduino we can run the Matlab code described below:

Continue reading