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 view (last 30 days)
Show older comments
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.
Answers (1)
Supraja
on 15 May 2024
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 Comments
See Also
Categories
Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!