Raspberry Pi MPU6050-HMC5883L SFunction with I2C Communication using WiringPiI2C
Building on the work of Joshua Hurst MPU6050 S-function. His original s-function had been edited to provide 9DOF with the HMC5883L.
There are two modes - Pass through where the Magnetometer Data is read directly from the HMC5883L via the AUX I2C. Then, when the MPU6050 is configured as master the Magnetometer Data is read from the Slave Registers on the MPU6050.
The I2C library used is WirnigPiI2C which comes with the target-installer distribution of RPi.
Citation pour cette source
Glen (2025). Raspberry Pi MPU6050-HMC5883L SFunction with I2C Communication using WiringPiI2C (https://www.mathworks.com/matlabcentral/fileexchange/43715-raspberry-pi-mpu6050-hmc5883l-sfunction-with-i2c-communication-using-wiringpii2c), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : Raspberry Pi MPU6050 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!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
RaspberryPi_IMU_Slave_SFunction/
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0.0 | Added new files |
||
1.0.0.0 |