aster94 / SensorFusion

A simple implementation of some complex Sensor Fusion algorithms
GNU General Public License v3.0
199 stars 41 forks source link

How to wire MPU9250 (GY-91) to Blue Pill? #3

Open shujaatak opened 5 years ago

shujaatak commented 5 years ago

I am wondering how to wire the MPU9250 (GY-91) breakout board to blue pill? I am interested specifically in the pin numbers. As there are more than one SPI ports in blue pill so I can't understand the guidelines mentioned here: https://github.com/bolderflight/MPU9250#spi

aster94 commented 5 years ago

I don't remember all the connection, if you google them you will find everything, but yes the stm32f1 has 2 spi, use the first one

Il giorno Mer 23 Gen 2019, 11:00 Shujaat Ali Khan notifications@github.com ha scritto:

I am wondering how to wire the MPU9250 breakout board to blue pill?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aster94/SensorFusion/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AUNAzuSXHCE9hAM-3n-b7HpX0cxjW4Ubks5vGDLVgaJpZM4aObNr .

shujaatak commented 5 years ago

I sort it out and made a simple diagram of it which may help someone else. This wiring will work with the sketch SensorFusion/examples/MPU9250_SPI_SF/MPU9250_SPI_SF.ino Note: You can use this diagram in the readme file if you like.

blue pill and mpu9250 wiring

aster94 commented 5 years ago

thanks @shujaatak I am sure it will help someone 😃

robsonos commented 4 years ago

Just in case anyone is using the Chinese 10-pin version:

Untitled