How to use tempreature formula of si7021 using MS LS recieved

Thread Starter

yef smith

Joined Aug 2, 2020
717
Hello,this is the data in ascii i recieve to my serial communication in matlab.the first letter is the ascii for MS byte the second is ascii for LS byte, the we have the checksum and 'a' just to test the line.
In the marked red bellow for example.
t=116 h=104
so 'th' =116*16+104=1960
by the formula in the data sheet shown bellow i get -40
(and i am no living on the north pole) i expect 25C
https://www.silabs.com/documents/public/data-sheets/Si7021-A20.pdf
1607436206807.png

1607436179766.png
1607436235484.png
 
Top