Maker Pro
Maker Pro

Gyroscope Magnetometer Accelerometer Stand Still Readings

parag

Aug 17, 2015
4
Joined
Aug 17, 2015
Messages
4
Hello

I'm using GY-80(ADXL345, L3G4200D, HMC5883L) module in my project. I have some queries for setting offsets.

As the case in accelerometer when the device is kept stand still on a flat surface ,ideally it should read X : 0, Y : 0, Z : 980.
Similarly what are the values I should get for Gyroscope and Magnetometer.
Are X : 0, Y : 0, Z : 0 for Gyroscope and Magnetometer. ??

Please help me out.
 

Alec_t

Jul 7, 2015
3,591
Joined
Jul 7, 2015
Messages
3,591
Don't the datasheets for the modules give the necessary info?
 

davenn

Moderator
Sep 5, 2009
14,263
Joined
Sep 5, 2009
Messages
14,263
As the case in accelerometer when the device is kept stand still on a flat surface ,ideally it should read X : 0, Y : 0, Z : 980.

I think you will find that it is X=0, Y=0, Z=0

that is the acceleration due to 1g is taken into account
 

parag

Aug 17, 2015
4
Joined
Aug 17, 2015
Messages
4
Don't the datasheets for the modules give the necessary info?

The HMC5883L data sheet says ..
during self test if the configuration register B is set to 0xA0 (Gain=5), values around +452 LSb (1.16 Ga * 390 LSb/Ga) will be placed in the X and Y data output registers and around +421 (1.08 Ga * 390 LSb/Ga) will be placed in Z data output register.

Is this means If I'm not getting these mentioned values then I should set bias/offset to get these values ?
 
Top