Raspberry Pi MPU6050 SFunction with I2C Communication using WiringPiI2C

버전 (38.3 KB) 작성자: Joshua Hurst
Raspberry Pi SFunction to obtain MPU6050 data using the C-library WiringPiI2C.
다운로드 수: 5.3K
업데이트 날짜: 2014/8/22

라이선스 보기

This file contains a simple single axis example and a complete 6 axis example using the DLFP (Digital Low Pass Filter) of the MPU6050.
The I2C library used is WirnigPiI2C which comes with the targetinstaller distribution of RPi.
These examples show the usage of the I2C library commands. For more capability consult Jeff Rowberg's MPU6050 code for the arduino: http://playground.arduino.cc/Main/MPU-6050, or the 6050 documentation for the register definitions.

Other device driver blocks, and the hardware it was run on is available at our website:


A complete Arduino library and curriculum is available here:

coming soon:
- HMC5883L magnetometer

and others!

This work is part of the Mechatronics curriculum at Rensselaer Polytechnic Institute.

인용 양식

Joshua Hurst (2024). Raspberry Pi MPU6050 SFunction with I2C Communication using WiringPiI2C (https://www.mathworks.com/matlabcentral/fileexchange/43383-raspberry-pi-mpu6050-sfunction-with-i2c-communication-using-wiringpii2c), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Simulink Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보

updated links

updated links