Borrar filtros
Borrar filtros

Plot graph of 3 sensors using Arduino

1 visualización (últimos 30 días)
Angel Lira
Angel Lira el 3 de Jul. de 2018
Respondida: Arpita Agrawal el 16 de Jul. de 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.

Respuesta aceptada

Arpita Agrawal
Arpita Agrawal el 16 de Jul. de 2018
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.

Más respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by