interface mpu6050 with matlab

23 views (last 30 days)
David Ishak
David Ishak on 3 Dec 2016
Answered: Gayatri Menon on 31 Jan 2020
how to interface mpu6050 arduino with matlab i wanna read values of accele and gyroscope i look at help but i can't understand i need code please
  1 Comment
hiba mohammab
hiba mohammab on 8 Jul 2017
hi did u fined the answer !?

Sign in to comment.

Answers (2)

Mustafa Abu-Mallouh
Mustafa Abu-Mallouh on 30 Dec 2018
Take a look here to learn about interfacing MATLAB with I2C devices such as the MPU6050:
You will also need to look at the datasheet and register map (a simple google search) and read/write to the registers listed for the accelerometer and gyroscope readings.
There are also a couple of good youtube videos that show how to program and read values from the Arduino IDE which you can translate into MATLAB after reading the link above.

Gayatri Menon
Gayatri Menon on 31 Jan 2020
The below link will be helpful for you.It explains how to read data from mpu6050 sensor connected to Arduino


Find more on MATLAB Support Package for 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!

Translated by