MPU6050 Gy-521 Problems

Yea, I know its one of these again, but I've allready googled as much as I can and I still haven't fixed it.

These (3) are the (probably shitty) mpu's I bought (first pic on site is not the actual module for some reason):

Copied the wiring from this video (except on an uno):

Tried the Jeff library, hangs after "Initializing I2C devices...", once I pull out "A4" and "A5" pin it continues with a conection failed (obviously).

Tried the I2C_Scanner, hangs on "Scanning...", same thing with pulling the pins out.

Tried several other tutorial test code, same lack of response.
(This happens on all 3 modules)

So I've either:

  1. Fried my mpu's by putting it on 5v, which I still don't know is possible or not, because people seem to be conflicted whether it has an onboard regulator or not.
  2. Got shipped 3 non-working mpu's.
  3. Messed up soldering all 3 mpu's.
  4. Something else I'm missing.

If I need to answer any questions I'll be back in around 12-14 hours, cus it's late and I've allready spent way too long trying to troubleshoot.

Recommendations on which mpu's to buy, if these aren't fixable, are also appreciated.
Thanks in advance for any help.

When SDA or SCL is shortcut to GND or SDA is shortcut to SCL, then the I2C Scanner hangs.
You don't have to try other sketches or libraries, first the I2C Scanner should work.

If you bought three modules from the same vendor, then they all might be broken. It happens. However, it is most likely that some soldering on the Nano board has gone wrong. Check the Nano board for shortcuts near the I2C bus.

Your GY-521 has a onboard voltage regulator. You should power it with 5V to the VCC pin to get better SDA and SCL signals.

Your Nano is a 5V board and the sensor is a 3.3V sensor. That means you have a voltage level conflict on the I2C bus. It will probably work, but it is not nice. Powering the Nano board via the USB is better, because then the Nano runs at 4.5V, which is closer to the 3.3V of the sensor.

Hi, @nnneeded
Welcome to the forum.
Have you tried 4k7 resistors, one each on the SDA and SCL lines to 5V?

What model Arduino are you using?

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

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