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 Kommentare

Meg Noah
Meg Noah am 1 Apr. 2021
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 am 18 Okt. 2022
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 am 16 Dez. 2022
Bearbeitet: Amit Charantimath am 16 Dez. 2022
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 23 Feb. 2021

Bearbeitet:

am 16 Dez. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by