MATLAB Answers

0

Plot graph of 3 sensors using Arduino

Asked by Angel Lira on 3 Jul 2018
Latest activity Answered by Arpita Agrawal on 16 Jul 2018
Hi guys, I am new to Arduino and Matlab. My project is to plot a graph in Matlab from 3 different temperature sensors using only one wire, which means I2C protocol. I can do it in Arduino by using the Wire library to find the specific addresses. But I don't know how to find these addresses in Matlab to plot it. Does anybody know what I should do? Is it possible to plot this graph without those addresses? Thanks very much.

  0 Comments

Sign in to comment.

1 Answer

Answer by Arpita Agrawal on 16 Jul 2018
 Accepted Answer

You can refer to documentation for MATLAB Support Package for Arduino Hardware https://in.mathworks.com/help/supportpkg/arduinoio/index.html to get started with how to work with Arduino hardware from MATLAB.
The example mentioned above illustrates how to read temperate from a tmp102 connected over I2C to Arduino hardware.

  0 Comments

Sign in to comment.