Open funwey opened 5 years ago
These are MPU9255 on your boards, they have WHO_AM_I 0x73.
" MPU9250 I AM 73 I should be 71"
change the check to 0x73 from 0x71 and the sketch should work.
On Sun, Oct 28, 2018 at 3:15 AM funwey notifications@github.com wrote:
Hi Kris;
I connect two units of GY-91 (with one of the SDO connect to 3.3 V) to a mega2560 board, and use your MPU9250_BMP280_BasicAHRS_t3 code and only included the wire.h :
include "Wire.h"
//#include
//#include plus some other modification to the code so that it compiled and uploaded. The serial output was a follow: Scanning... I2C device found at address 0x68 ! I2C device found at address 0x69 ! I2C device found at address 0x76 ! I2C device found at address 0x77 ! done
MPU9250 9-axis motion sensor... MPU9250 I AM 73 I should be 71 Could not connect to MPU9250: 0x73
... I have also used the "MPU9250BasicAHRS" code on this same hardware and it also replied that '73' was found. I previously ran the same code on MPU9250 and it was OK. I have tried switching the 0x68 to 0x69 and it still gave the same problem.
Would like to know if there was previously any problem with GY-91's combined with mega 2560 with your code?
Rgds
Fun Wey
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/318, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qhww3_NiuAsd3ZepqlVit2xwRZRVks5upYPHgaJpZM4X94mH .
I've run into that a few times and after changing to 0x73 I can confirm it does work no problem.
Thanks Kris. Yes I have tried the code it works. Will buy you beer sometime.
Hi Kris;
I connect two units of GY-91 (with one of the SDO connect to 3.3 V) to a mega2560 board, and use your MPU9250_BMP280_BasicAHRS_t3 code and only included the wire.h :
include "Wire.h"
//#include
//#include
plus some other modification to the code so that it compiled and uploaded. The serial output was a follow: Scanning... I2C device found at address 0x68 ! I2C device found at address 0x69 ! I2C device found at address 0x76 ! I2C device found at address 0x77 ! done
MPU9250 9-axis motion sensor... MPU9250 I AM 73 I should be 71 Could not connect to MPU9250: 0x73
... I have also used the "MPU9250BasicAHRS" code on this same hardware and it also replied that '73' was found. I previously ran the same code on MPU9250 and it was OK. I have tried switching the 0x68 to 0x69 and it still gave the same problem.
Would like to know if there was previously any problem with GY-91's combined with mega 2560 with your code?
Rgds
Fun Wey