Help. Trying to use QMC5883L but the i2c sensor can't detect the device

I'm one week into arduino and I don't know what is the problem. Help please.


Hi! Welcome to the Forum.

Looks like you have SDA and SCL cables inverted. SDA (green cable) must be connected to A4 and SCL (blue cable) must be connected to A5.

For one thing that header isn't soldered, so you'll never get reliable contacts across all 4 lines. That's a great way to destroy the sensor.

2 Likes

The odds are against you for that being a good sensor, the loose connections because of the un-soldered header can damage or destroy your sensor.