Specification
Table Of Contents
3
.6 T
em
p
er
a
t
u
r
e
s
en
s
o
r operation
Following is the way of how to sense the ambi
ent temperature of the module. First, use
an external temperature sensor to get the temperature value and converted it into HEX
format with below mapping table, then send command 0x1A with the HEX temperature
value to the module thru the SPI interface.
The temperature value to HEX conversion is as follow:
1.
If the Temperatur
e value MSByte bit D11 = 0, then
The temperature is positiv
e and value (DegC) = + (Temperature value) / 16
2.
If the Temperatur
e value MSByte bit D11 = 1, then
The temperature is negativ
e and value (DegC) = ~ (2’s complement of
Temperature value) / 16
2.13inch e-Paper
www.waveshare.com
17/39