This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Calibrating the motion sensors on the sensortags

Hi,

I bought a few sensortags recently. It's a great product in many ways. But I'm having a few issues with the motion sensors. They seem to be very inaccurate.  For example, when I rest the tag on a flat surface, the accelerometer shows a reading of (0, 0, -0.3G), and the gyroscope is also not at zero.  I wonder what steps I need to take to calibrate these sensors and whether there is a way to record the calibration on the sensor.  Thanks.

  • Hello,

    Thank you for the feedback! As mentioned on the SensorTag User's Guide (available on the BLE Wiki), the raw sensor values are sent over BLE. It is up to the remote application to calibrate the sensor values based on the specific application where the sensor is being applied. TI recommends working directly with the respective sensor's manufacturer (in this case Invensense) to see how you can optimize/calibrate the sensor values for your specific application.

    Best wishes
  • Hi Yunfeng Zhang ,

    The sensorTag default code/firmware from TI does not calibrate sensors in MPU. You have to manually write the code for calibration.
    There are two ways of calibrating mpu 9250 :
    1. Programming offset register in MPU (go through the register mapping document of MPU9250 or you can find the code on github)
    2. Enabling DMP Feature in MPU (Download the invensense driver library for MPU)
  • Hi Zaed,

    Thanks for the information. I assume the Invensense driver you're referring to is the Motion Driver 6.0. Is it possible to use that driver on a sensortag directly? I am not very familiar with the whole firmware thing. It would be great if you could share some instructions for doing that.

    Best,

    Yunfeng

  • Hi Yufeng,

    Yes, Motion Driver 6.0

    Just follow the porting guide, given with Motion Driver.

    Thanks and Regards,
    Faizan