Plot graph of 3 sensors using Arduino

조회 수: 1 (최근 30일)
Angel Lira
Angel Lira 2018년 7월 3일
답변: Arpita Agrawal 2018년 7월 16일
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.

채택된 답변

Arpita Agrawal
Arpita Agrawal 2018년 7월 16일
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개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by