Sensorsoft Thermometer User’s Manual
5.
To obtain a temperature in Celsius, divide the previous result by 2. For Fahrenheit, multiply
the Celsius value by 9, divide by 5, and add 32 (F = 9/5 C + 32).
SENSORSOFT TEMPERATURE DATA-byte(s) FORMAT
Temperature
Binary
MSB LSB
Hex
+ 125 °C
00000000 11111010
00FAh
+ 85 °C
00000000 10101010
00AAh
+ 70 °C
00000000 10001100
008Ch
+ 25 °C
00000000 00110010
0032h
+ 0.5 °C
00000000 00000001
0001h
0 °C
00000000 00000000
0000h
– 0.5 °C
11111111 11111111
FFFFh
– 25 °C
11111111 11001110
FFCEh
– 40 °C
11111111 10110000
FFB0h
– 55 °C
11111111 10010010 FF92h
Please note that the least significant temperature DATA-byte is in terms of a 0.5 ° C. The sign bit
is duplicated into all of the bits of the most significant DATA-byte.
The second format provided by this device for temperature is in IEEE 754 Floating-Point
Standard (single precision) and has a useable resolution of 0.1 degree Celsius. Commands that
query register or variable
<02h>
in the Sensorsoft Thermometer will receive a four byte response
in the DATA-byte(s) placeholder. Decoding these IEEE 754 Floating-Point bytes is beyond the
scope of this document.
23
Содержание ST6105C
Страница 2: ......