plot accelerometer adxl345 data on matlab

Hello. I wrote a program for adxl345(accelerometer sensor) with the arduino uno IDE in I2C. but my goal is to show plot on matlab and save it. anyone can help me, please?

댓글 수: 4

Meg Noah
Meg Noah 2021년 4월 1일
Are you able to capture the data on your local drive?
Im trying to do the exact same thing. I am able to get all of the data printed on the serial monitor through the Arudino IDE. I am also able to print that data to a .txt file.
Is there a way to do real-time plotting in Matlab with the data from the accelerometer?
France Lotto
France Lotto 2022년 10월 18일
Hello. I wrote a program for adxl345(accelerometer sensor) with the arduino uno IDE in I2C. but my goal is to show plot on matlab and save it. anyone can
Amit Charantimath
Amit Charantimath 2022년 12월 16일
편집: Amit Charantimath 2022년 12월 16일
ADXL345 is now supported on MATLAB Arduino. You can stream data from ADXL345 connected to MATLAB into Arduino and plot the acceleration data.
Here is the documentation link for adxl345.
Thanks,
Amit

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

태그

질문:

2021년 2월 23일

편집:

2022년 12월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by