How can I use mpu6050 without arduino?

조회 수: 2 (최근 30일)
Dekel Mashiach
Dekel Mashiach 2022년 5월 15일
댓글: Dekel Mashiach 2022년 5월 16일
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