Connect with us

Gyroscope Magnetometer Accelerometer Stand Still Readings

Discussion in 'Microcontrollers, Programming and IoT' started by parag, Aug 30, 2015.

Scroll to continue with content
  1. parag

    parag

    4
    0
    Aug 17, 2015
    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.
     
  2. Alec_t

    Alec_t

    3,001
    813
    Jul 7, 2015
    Don't the datasheets for the modules give the necessary info?
     
  3. davenn

    davenn Moderator

    13,901
    1,971
    Sep 5, 2009
    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
     
  4. parag

    parag

    4
    0
    Aug 17, 2015
    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 ?
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-