Problem in getting the data stored to SD card after running the hardware test using Arduino mega that are attached with mpu6050 accelerometer and also SD card.
Show older comments
I have the simulink model of dc motor that are connected to arduino with the attachment of mpu6050 accelerometer and also sd card attach to it. I got a problem to get the acceleration reading. The reading should be stored in the sd card when the dc motor is running hardware. But the reading did not exist in the sd card after I checked it. Do you know how to get the data stored in sd card and how to get the data of the accelerometer through the sd card using arduino mega and also simulink block. Thanks in advance.

1 Comment
Walter Roberson
on 2 Sep 2022
What block is that out.acc? What are its settings?
Answers (1)
Arun Kumar
on 2 Sep 2022
0 votes
Hi Noor Amira,
Please follow the follwing tutorial to log signals to SD card using Arduino hardware.
Hope this helps!
Thanks,
Arun
Categories
Find more on 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!