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 commentaires

Meg Noah
Meg Noah le 1 Avr 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 le 18 Oct 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 le 16 Déc 2022
Modifié(e) : Amit Charantimath le 16 Déc 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by