11 years ago.

hmc 5883l

my magnetometer HMC 5883L output seems to be incorrect. raw output values are mx= 546,my = 65381,mz = 2. can somebody help me out.

thank in advance

2 Answers

11 years ago.

Which code are you using with which setup? Do the values change? I think you already got a signed/unsigned error, but aditionally I guess your magnetometer is saturated. Do you have something with a strong magnetic field near your sensor?

Accepted Answer
11 years ago.

dotHR_EKF_phithe i used hige dura code for hmc5883l,

values recorded for some iterations

mx 544 my 65407 mz 65535

mx 544 my 65394 mz 0

mx 543 my65393 mz1

mx545 my65384 mz2

mx546 my65381 mz2

no i don't have any thing strongly magnetic around setup.

thank u