cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303AGR Magnetometer weird readout, X, Y axis goes out of the range, Z axis always come with zero

JWu.3
Associate

0690X00000DYRBkQAP.jpgI am using sensor tile to read out the LSM6DSM accelerometers, gyroscope, and LSM303AGR magnetometer data. Accelerometer and gyroscope work well, but magnetometer gives weird output. I set the full scale 50 gauss, the X, Y axis already goes out of the range, and Z axis gives zero all the time. Does anyone encounter this or have some ideas where the problem is?

2 REPLIES 2
Eleon BORLINI
ST Employee

Hi @JWu.3​ , which is your SensorTile configuration? I mean, are you acquiring data streaming with the STBLE Sensor app via bluetooth and saving on the SD card, or via USB? Did you configured the magnetometer settings? Regards

Hi, I am using saving data on SD card, both saving on SD card and streaming via USB have this problem. I only changed the magnetometer ODR. It's the same issue after I changed back.