kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.03k stars 471 forks source link

Could not connect to MPU9250: 0xFF #393

Open bradBot5 opened 4 years ago

bradBot5 commented 4 years ago

Thanks for the code. I am using a sparkfun pro mini 3.3v with the MPU 9250 (the one labeled MPU 92/65 on top) I cannot connect. Could it be related to the resistors you refer to in the code comments? If so what value for the resistors would you reccomend? Is there a schematic that show the correct connections?

MPU9250 9-DOF 16-bit motion sensor 60 ug LSB MPU9250 I AM FF I should be 71 MPU9250 I AM FF I Should Be 71 Could not connect to MPU9250: 0xFF

Thanks, Brad

bradBot5 commented 4 years ago

also there are no pins on mine labeled vdd or vddi. I took them to mean I should connect vcc to vcc. I am I missing something? Did they change the names of the pins between versions?

kriswiner commented 4 years ago

When you run an I2C scan on the board, what addresses show up?

On Mon, Oct 14, 2019 at 7:31 AM bradBot5 notifications@github.com wrote:

also there are no pins on mine labeled vdd or vddi. I took them to mean I should connect vcc to vcc. I am I missing something? Did they change the names of the pins between versions?

— 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/393?email_source=notifications&email_token=ABTDLKQ4Y7BV6PZ3LEEKJADQOR7FLA5CNFSM4JAP4EP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBE6LVA#issuecomment-541713876, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKSOFU5TDYRJ43PZNNDQOR7FLANCNFSM4JAP4EPQ .

bradBot5 commented 4 years ago

Thanks for the swift response!

all an I2C scan gets back is: I⸮ I⸮ I⸮

I suppose this means either something is not wired right or my IMU is junk.

If I disconnet the IMU I get:

I2C Scanner Scanning... No I2C devices found

...which seems to rule out an MCU issue

bradBot5 commented 4 years ago

had a stupid wiring mistake, ground off by a pin on breadboard.

now I'm getting:

09:31:30.929 -> 09:31:30.929 -> I2C Address Scanner. Scanning ... 09:31:30.929 -> Found i2c Device Address: 104 (0x68) 09:31:30.929 -> Done. 09:31:30.929 -> Found 1 device(s).

bradBot5 commented 4 years ago

IMU online! Thank you Mr Winer!