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.

CC2541 Gyroscope Readings Changing at Stable Mode

Other Parts Discussed in Thread: CC2541

Hi,

    I am a newbie to ble sensor tag, i walk through your code and executed those python scripts which is uploaded in github for cc2541 ble sensor(https://github.com/msaunby/ble-sensor-pi).  I am able to get the readings for all the 6 sensor, but the gyroscope reading sensor is oscilating 40 degree per second even at a stable position(190 ~ 230), i provided one x-axis reading here.  But when i check reading in a iphone with a texas application, gyroscope readings are stable at a stable position.  Even the reading shows 0 degree per second(x-axis) at stable position. 

Any help is appreciated.


Thanks,

With Regards,
Vishnu Kumar T S

  • Hi,

    Which python script did you executed?

    In one python script ( sensortag.py) I saw that it's giving raw data as an output instead of converting data to dps.

    Raw data may change by 40 but you need to convert it into dps which for sensor tag , 

    dps = rawdata * range / 65536;   (range = 500dps)

    Try applying this in script. May be you'll get correct output.