GY 521 MPU - 6050 - I2C No Device Found

I have googled a lot, but not found a solution yet. I am making a rocket, so this sensor is very essential, which holding back the entire project. :frowning:

Sensor - GY 521 - MPU 6050
Board - Arduino Nano (running Old Bootloader)

I have connected as follows -
VCC - 5V (because it's GY 521, it has a vol regulator)
GND - GND
SCL - A5
SDA - A4
AD0 - GND
INT - D2

I am using the official I2C Scanner.
I have followed this tutorial,
Getting started with MPU 6050 sensor

so have installed all required libraries.

What's the error?

No Device found when I run the I2C scanner

Tried to upload the official raw data sketch, but got back 1, -1
Using this example


I have tried these solutions form forums.
- MPU 6050 Broken?
- Problem Reading data from MPU 6050
- MPU6050, No I2C devices found, arduino nano
This answer in the forum says to add by level shifters for SDA and SCL, but no tutorial, even the official one, doesn't mention this.
Please help!
Much Appreciated! :smiley:
Github
Check Attachments for Photos for sensor connection and Arduino Nano

The part is definitely a 3.3V part, and itself uses 3.3V pull-up on the I2C bus.

It's strange that a voltage regulator is included on the board, but not a level shifter. 3.3V sensors normally require level shifters on the I2C bus.

It's strange that a voltage regulator is included on the board, but not a level shifter. 3.3V sensors normally require level shifters on the I2C bus.

Unfortunately that's quite common for Chinese MPU-6050 boards. In many cases this works quite OK.

My advice to the OP: check your cables (wires). If they are OK you probably have a bad module.

wvmarle:
The part is definitely a 3.3V part, and itself uses 3.3V pull-up on the I2C bus.

It's strange that a voltage regulator is included on the board, but not a level shifter. 3.3V sensors normally require level shifters on the I2C bus.

Hey, thanks for the reply!

Can you link me to a good source on how to use level shifters for MPU 6050.
Thanks again! :smiley:

Just standard I2C level shifting

wvmarle:
Just standard I2C level shifting

I tried that.
It’s still not working. :’(

Same connections, same code*(I2C scanner)*

The resistors are fed with 3.3v. Should I try 5v as well? (considering MPU 6050 is 3.3v)

thnx :frowning:

Grab another sensor. This one is probably faulty.

So, it worked!
The soldering was at fault. ::slight_smile:

Thanks a lot! :smiley: