ST Microelectronics makes the LSM303XXXX, a popular range of 3-axis accelerometer / magnetometer sensors that are used on Arduino breakout boards, etc.
The older LSM303DLH sensor has been replaced by the LSM303DLHC with has improvements in power and data transfer. However, the new LSM303DLHC sensor has a zero-g acceleration delta of 0.5mg/deg compared to the much tighter 0.1mg/deg for the older LSM303DLH.
Using the newer sensor, variation with temperature is noticeable in our data. Fortunately, the LSM303DHLC has a temperature sensor onboard.
What method should I use the compensate for sensor drift using the temperature readings? Just a look-up table / simple formula?
For batches of instruments (10 - 100) is there any alternative to calibrating each instrument?
Will the effect of temperature change over time? i.e. how long until another temperature calibration needs to be done?
EDIT: mg units