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
1 回表示 (過去 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 で MATLAB Support Package for Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!