How can I use mpu6050 without arduino?

3 views (last 30 days)
Dekel Mashiach
Dekel Mashiach on 15 May 2022
Commented: Dekel Mashiach on 16 May 2022
Hey, I wan't to get angle from mpu6050 without use arduino. Can I do it?

Answers (1)

Walter Roberson
Walter Roberson on 15 May 2022
Edited: Walter Roberson on 15 May 2022
The mpu6050 is an i2c device. You need some hardware interface, just not necessarily arduino.
You could use a raspberry pi.
Or, https://www.mathworks.com/help/instrument/i2c-communication.html "To use the I2C interface, you need to have either a Total Phase Aardvark host adaptor or a NI USB-845x adaptor board installed."
More obscurely, if you have an Nvidia Turing or later card then it has an i2c built in. The interface is most easily accessed in Linux, https://www.phoronix.com/scan.php?page=news_item&px=nvidia-i2c-gpu-driver-turing but there is also an Nvidia i2c executable that can talk to the interface (but the overhead is somewhat high.)
  2 Comments
Dekel Mashiach
Dekel Mashiach on 16 May 2022
I wan't to use arduino, buy without the arduino software, can I do it only in matlab?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!