How can I use mpu6050 without arduino?

2 次查看(过去 30 天)
Hey, I wan't to get angle from mpu6050 without use arduino. Can I do it?

回答(1 个)

Walter Roberson
Walter Roberson 2022-5-15
编辑:Walter Roberson 2022-5-15
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 个评论
Walter Roberson
Walter Roberson 2022-5-15
Some Levano ThinkPad have an i2c driver available for connection to AMD devices.
AMD has an i2c driver for access to Ryzen CPU interfaces.
Dekel Mashiach
Dekel Mashiach 2022-5-16
I wan't to use arduino, buy without the arduino software, can I do it only in matlab?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by