MPU6050 board does not work

It used to kind of work and give me false readings but after soldering it to some headers my Arduino Nano couldn't connect to it at all. I might have connected vcc and gnd with my crappy soldering

However the issue remained after fixing the solder. Plus I never saw the onboard led light up even before soldering. Did I totally kill my board or is there another issue elsewhere?
Wiring: 5v -> Vcc
Gnd -> Gnd
Scl -> A5
Sda -> A4
Code: (I found it online)`

#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>

Adafruit_MPU6050 mpu;

void setup(void) {
	Serial.begin(115200);
	Serial.println("test");
	// Try to initialize!
	if (!mpu.begin()) {
		Serial.println("Failed to find MPU6050 chip");
		while (1) {
		  delay(10);
		}
	}
	Serial.println("MPU6050 Found!");

	// set accelerometer range to +-8G
	mpu.setAccelerometerRange(MPU6050_RANGE_8_G);

	// set gyro range to +- 500 deg/s
	mpu.setGyroRange(MPU6050_RANGE_500_DEG);

	// set filter bandwidth to 21 Hz
	mpu.setFilterBandwidth(MPU6050_BAND_21_HZ);

	delay(100);
}

void loop() {
	/* Get new sensor events with the readings */
	sensors_event_t a, g, temp;
	mpu.getEvent(&a, &g, &temp);

	/* Print out the values */
	Serial.print("Acceleration X: ");
	Serial.print(a.acceleration.x);
	Serial.print(", Y: ");
	Serial.print(a.acceleration.y);
	Serial.print(", Z: ");
	Serial.print(a.acceleration.z);
	Serial.println(" m/s^2");

	Serial.print("Rotation X: ");
	Serial.print(g.gyro.x);
	Serial.print(", Y: ");
	Serial.print(g.gyro.y);
	Serial.print(", Z: ");
	Serial.print(g.gyro.z);
	Serial.println(" rad/s");

	Serial.print("Temperature: ");
	Serial.print(temp.temperature);
	Serial.println(" degC");

	Serial.println("");
	delay(500);
}`

Use a10 time magnifier and check at close range.
Please post the schematics. Maybe the controller is burned down. Check if the controller, alone, downloads and executes Hello world or similar.

Checked it. There are definitely no connections between vcc and gnd now after re-soldering.
This is the schematic, I think.
image

Do you mean making the mpu6050 download and run code? Because I don't know how to do that.

I made a guess You used a controller, the Nano, 5 volt output feeding the 6050, that 5 volt output might be damaged. I did face a short circuit before You corrected the soldering.

That's correct, I used the Nano's 5v output. I checked it with a multimeter and it read 4.8v. It can run other programs without issue.

How was/is the Nano powered?
Note the request for schematics in reply #2. Lots of posting instead....

by a Usb.

Okey. Then there is no broken Vin to 5 volt converter.

Sorry, I didn't mean to say that it's correct that the nano has a broken converter, I meant to say that it's correct that my power supply is the nano.
Here are schematics for the Nano


If you wanted circut schematics it's very simple it's just

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