Go Down

Topic: I am stuck to use HMC5883L in LEADIY-D3B (Read 181 times) previous topic - next topic


I actually didn't find any documents for LEADIY-D3B, then I use below library
https://github.com/jarzebski/Arduino-HMC5883L and https://github.com/jarzebski/Arduino-MPU6050
It worked once but now it could not work whatever I try to.
It always shows "could not find a valid HMC5883L sensor, check wiring!" when initializing.
Very appreciate if anyone has any comment or provide some documents for using LEADIY-D3B.


see https://playground.arduino.cc/Main/MPU-6050

The magnetometer can be connected directly to the I2C-bus or on the 6050 optional I2c-bus.
It may be the latter is true for your board.. and the software needs to talk to the 5883 via the 6050-chip.


Jan 15, 2018, 06:04 am Last Edit: Jan 15, 2018, 06:43 am by wheetlyshi
Thanks Ny. I am using LEADIY-D3B, picture attached

It seems MPU6050 share the I2C pins with HMC5883L

Go Up