I am using a UV sensor and its connected to Arduino Mega 2560, I need the data to be imported in MATLAB
I am using UV sensor and wanted the real time data to be exported to MATLAB in Real time. I need the continuous changes to be simultaneously noted
2 次查看(过去 30 天)
显示 更早的评论
I wanted to work on the data that i get from the sensor. But couldn;t find a way to save the com3 output to csv file in the newer system.
回答(1 个)
Supraja
2024-5-15
Hello Dayney,
I understand that you are using Arduino for capturing the UV sensor data and would like to know about the real time data transferring from Arduino into a .csv file using MATLAB.
I am providing the documentation and MATLAB answers links where reading of real time data and importing of sensor data into a .csv file is given.
Read streaming data from Arduino using serial port communication: https://in.mathworks.com/help/matlab/import_export/read-streaming-data-from-arduino.html
Import sensor data in MATLAB: https://in.mathworks.com/matlabcentral/answers/424529-how-to-import-sensor-data-in-matlab
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!