MPU6050 Not working with Arduino Uno

I’ve purchased an MPU6050 and wired it up with the following schematic:
VCC - 5V
GND - GND
SCL - A5
SDA - A4

The MPU Lights up when powered, but here are the issues with it:

  • It doesn’t get detected by the I2C Scanner
  • All example sketches I have used do not pick up the sensor (MPU6050 not found - esque errors)
  • Serial stops working after printing data out for sometime
  • The data, when it is printed after bypassing the errors just return stagnant values like -1

Please do let me know what can be done..

The MPU6050 is a 3.3V device, connecting it directly to 5V would damage it.
You might be using a breakout board that solves these problems but if you do you failed to tell us so and what exact breakout board you're using.

Plugged it into the 3.3v, And im not using any breakout boards, issue still arises..

No breakout board; so did you maybe forget the two pullup resistors?

To late. If you already connected it to 5V, it's damaged or as some say "it's fried"

How are you using it without a breakout board, it's a 4mm QFN, how did you attach wires???

I don't believe that. The component is an surface mount device only. So if you don't use a breakout board you must have made your own PCB but there you cannot simply replug it.

And I agree to jim-p, a 3.3V device connected to 5V is fried, you have to replace it.

The MPU-6050 comes in many flavors of fake.
Some work, some fail for one channel, some have only a subset of the real MPU-6050, some don't work at all.

You don't have to try sketches or libraries when the I2C Scanner does not see it.

Do you have an other I2C device ? Does that still work with a I2C Scanner ?
Can you show a photo of the Uno, the wiring and the MPU-6050 ? There is some confusion if you use the bare MPU-6050 chip or a module.

Where did you buy the MPU-6050 ? Can you give a link to where you bought it ? Your MPU-6050 is probably fake.

Someone that wants to buy a genuine MPU-6050, does not buy it :thinking: (because a normal modern sensor is better).

Im connecting it with header pins onto a breakout booard to the 3.3v pin in my arduino uno, the I2C scanner detects it at 0x68 (The pins are not soldered, thats why the connection is lost from time to time). Im not using any breakout board, the link to the MPU6050 Im using is here:

I would like to add that every interface I have seen or searched for requires the MPU6050 connected to the 5v pin.. as i mentioned the I2C scanner detects the loose connections (not soldered yet) and the MPU sends data, but the serial monitor stops printing data after some time and then restarts printing data.

Well, that is a breakout board.
Maybe it has onboard level shifting.

Well, do something about that (or don't).

Hi, @aarmin

Can you post some images of you project?
So we can see your component layout.

Thanks... Tom.. :smiley: :+1: :coffee: :australia:

That is a "module" or "breakout board".
It has no level shifters for the I2C bus and a voltage regulator to make 3.3V.
It is best to power it with 5V to VCC.
You may connect the SDA and SCL to an Arduino Uno, because there are pullup resistors to 3.3V on the module, but it is not a good solution :grimacing: If you are going to add more sensors, then you need a I2C level shifter.

You have to solder the pins. Sticking the pins in the holes of the board never works.

The sensor is of course fake, counterfeit, bogus, imitation, sham.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.