Raspberry Pi MPU6050 SFunction with I2C Communication using WiringPiI2C
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:
http://minseg.webs.com/downloads
A complete Arduino library and curriculum is available here:
http://minseg.com/pages/downloads
coming soon:
- HMC5883L magnetometer
and others!
This work is part of the Mechatronics curriculum at Rensselaer Polytechnic Institute.
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: Device Drivers
Inspiriert: Raspberry Pi MPU6050-HMC5883L SFunction with I2C Communication using WiringPiI2C
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.2.0.0 | updated links |
||
1.1.0.0 | updated links |
||
1.0.0.0 |