Main Site Documentation

Interpret Classic bluetooth temperature bytes


#1

I have integrated a health monitor with my Android Bluetooth(classic) app and receiving 2 bytes of data for temperature . I have recorded the actual temperature against the 2 bytes of data. Please let me know how to convert the 2 bytes to get temperature in degree centigrade. Here are some readings:-

  1. 36deg C (93, 78)
    2 35.8 deg C ( 74, 80)
    3.36.2 deg C (112, -112)
  2. 36.1 deg C ( 99, -17)
  3. 36.1 deg C (106, 115)
    6.36.0 deg C (96,13)
    7.36.1 deg C (106, 115)
  4. 36.1 deg C ( 105, -111)
    9 36.1 deg C (101, 50)
    10 36.2 deg C (109, -16)
    I have searched the net extensively but couldn’t get a proper conversion logic which will satisfy the above mentioned readings. Hope someone can make out the conversion logic Thanks in advance, Vidya

#2

I have searched the net extensively but couldn’t get a proper conversion logic which will satisfy the above mentioned readings.

bad data?

You need to determine what chip is being used for measuring temperature, and then study the datasheet for that chip. It will tell you how to process the two bytes.


#3

Thanks Mike. Will look into it.

Vidya