Two Arduino Uno with 4 MPU6050 IMUs simulink
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Greetings,
I tried to get measurements from MPU6050 connected to Arduino Uno by using Arduino support package for Simulink, but it does not show readins??
Moreover, How I could implement two arduino Uno connected with 4 MPU6050 IMUs through simulink to get linear acceleration of body at the same time, it allowed me to implement only one MPU6050 to one Arduino Uno although there are two arduino UNO boards and 4 MPU6050 IMUs connected to the same computer.
Please help...
0 commentaires
Réponses (1)
Gayatri Menon
le 4 Jan 2022
Hi,
You can connect 2 MPU6050s on the same Arduino I2C bus by changing the I2C Address of one of the sensor.
This can be done by connecting AD0 pin on one of the sensor to high, making the I2C Address of the sensor 0x69 and connect the AD0 of the other sensor to Low, making the I2C Address of the sensor 0x68.
Now in the model you can add 2 MPU6050 blocks. Specify I2C Address of one block as 0x69 and other as 0x68.
Hope this helps
Thanks
Gayatri
0 commentaires
Voir également
Catégories
En savoir plus sur Run on Target Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!