Plotting data from Arduino (with Multiples Sensors -Analogs and Digital-) in real time...

조회 수: 5 (최근 30일)
Hi, I am developing a project with arduino with multiples sensors analogs and digital (barometer, accelerometer, gps and lux). I need plot all data retrieved from these sensors. Please, are there an example to plot the data in real time? Thks!
  댓글 수: 3
Sudarshan Kolar
Sudarshan Kolar 2017년 2월 27일
1. This seems to be a related thread:
https://www.mathworks.com/matlabcentral/answers/11273-arduino-to-matlab-real-time-plotting?s_tid=answers_rc1-2_p2_MLT
2. Also there is a related file exchange submission:
https://www.mathworks.com/matlabcentral/fileexchange/46775-arduino-serial-data-acquisition
3. Real time accelerometer data:
https://www.mathworks.com/matlabcentral/fileexchange/48944-3d-visualisation-of-accelerometer
Sudarshan Kolar
Sudarshan Kolar 2017년 2월 27일
You can also use the serial communication to send all the data to Maltab and plot it:
https://www.mathworks.com/help/supportpkg/arduino/ug/use-serial-communications-with-arduino-hardware.html

댓글을 달려면 로그인하십시오.

답변 (1개)

Subin Kuttappan Stellal Mary
Subin Kuttappan Stellal Mary 2017년 6월 21일
Following are two possible ways of achieving this :
Here, use external mode to plot real time sensor data in Simulink scope block.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by