Raspberry Pi MPU6050-HMC5883L SFunction with I2C Communication using WiringPiI2C

版本 1.2.0.0 (41.4 KB) 作者: Glen
9DOF S-function with MPU6050 and HMC5883L
1.4K 次下载
更新时间 2013/10/7

查看许可证

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.

引用格式

Glen (2024). 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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Embedded Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Added new files

1.0.0.0