Just Sharing Knowledge on Robotics, Electronics and Programming

Tuesday, August 14, 2018

[SOLVED] HMC5883L not working ( i2c adress:0x0D instead of 0x1E )


 
do you buy HMC5883L but the device not working?
if yes, you should check the i2c adress by using i2c scanner. --link--


if in i2c scanner you found device address is  0x0D then your trouble is wrong library, but if terminal say i2c not found, the problem is on hardware connection.

if address is 0x0D this is different with hmc5883L because this module is using qmc5883L ic. so the library is different with hmc5883L library.

To solve this issue, you can use the following library to work with your compass module.

Download Qmc5883L library

0 comments:

Post a Comment