Skip to main content
Visitor II
August 9, 2021
Solved

OffSet Calculation for IIS3DWB

  • August 9, 2021
  • 1 reply
  • 920 views

Hi,

How should I calculate offset for IIs3DWB calibration?

    This topic has been closed for replies.
    Best answer by TBomb.1

    Hi, the offset is the residual acceleration value that make the rest position acceleration data differ from 0 milli-g.

    The procedure to find (and then compensate) it is to place the device in a known position, for example flat with X and Y axis on the floor and Z axis pointing to the ceiling.

    You then read the output value and you write it in the OFS_USR register (X_OFS_USR (73h), Y_OFS_USR (74h), Z_OFS_USR (75h)). After this, the internal logic will automatically subtract the stored value to the dataout flow.

    https://www.st.com/resource/en/datasheet/iis3dwb.pdf

    Tom

    1 reply

    TBomb.1Answer
    Visitor II
    August 11, 2021

    Hi, the offset is the residual acceleration value that make the rest position acceleration data differ from 0 milli-g.

    The procedure to find (and then compensate) it is to place the device in a known position, for example flat with X and Y axis on the floor and Z axis pointing to the ceiling.

    You then read the output value and you write it in the OFS_USR register (X_OFS_USR (73h), Y_OFS_USR (74h), Z_OFS_USR (75h)). After this, the internal logic will automatically subtract the stored value to the dataout flow.

    https://www.st.com/resource/en/datasheet/iis3dwb.pdf

    Tom