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
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
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
2017-6-21
Following are two possible ways of achieving this :
Refer this link for a detailed explanation and sample code : https://in.mathworks.com/videos/plotting-live-data-of-a-temperature-sensor-using-arduino-and-matlab-121317.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!