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.

How to process barometer sensor reading of cc2650 SensorTag

Other Parts Discussed in Thread: CC2650

I'm trying to measure barometer pressure using cc2650 SensorTag. 

The raw value for barometer sensor I'm getting is 

f9 78 48 c9 

i.e. Barometer MSB : C9

Barometer LSB : 48

F9 and 78 are of temp sensor values. 

Now my question is how can I convert this raw barometer values to get actual data ?

Is it possible that I avoid calibration calculations just to get some rough reading ? 

  • Hi Waqas,

    Have you read through the datasheet for the pressure sensor?

    Cheers,
    Fredrik
  • Waqas,

    Did you ever get you question answered? You may want to check out this post: e2e.ti.com/.../426866.

    It looks like you are running an older version of the firmware. With 1.12 the barometer sensor returns 6 bytes: Temp(LowByte) Temp(MiddleByte) Temp(HighByte Pressure(LowByte) Pressure(MiddleByte) Pressure(HighByte). To get the temperature or the pressure you take the three bytes and divide by 100. The formula for pressure looks like this:

    ((value[3] & 0xff) + ((value[4]<<8) & 0xff00) + ((value[5]<<16) & 0xff0000)) / 100

    Hope this helps,

    digitalhack