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.
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
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.
Check Attachments for Photos for sensor connection and Arduino Nano