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?
댓글 수: 0
답변 (1개)
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
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.
참고 항목
카테고리
Help Center 및 File 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!