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!