User Manual
Table 1.12 Real-time Rainfall Mode Commands
Command
Direction
Command Content (HEX)
Command Description
Host
→
Slave 3A 84 01 00 43 The host commands the module to enter real-
time rainfall mode
Host
→
Slave 3A 84 00 00 B7 The host commands the module to exit real-
time rainfall mode
Host
←
Slave 3A 84 xx xx xx The module sends raw rainfall values to the
host
1.3 Ambient Light Detection Function
The module supports ambient light (white light) detection, which can be used with
rainfall detection function. The operation commands are as shown in Table 1.13.
Control the module to enter ambient light detection function, when the function is
enabled, the ambient light value will be output at a fixed frequency. The ambient
light feedback value range(decimal) is 0 ~ 1024. And the higher the light intensity,
the lower the feedback value, or vice versa. Currently, there is no correlation curve
for light intensity-vs.-feedback value.
Table 1.13 Ambient Light Mode Commands
Command
Direction
Command Content (HEX)
Command Description
Host
→
Slave 3A 8F 01 00 DB The host commands the module to enter
ambient light detection mode
Host
→
Slave 3A 8F 00 00 2F The host commands the module to exit
ambient light detection mode
Host
←
Slave 3A 83 xx xx xx The module sends ambient light value to the
host
1.4
Temperature Detection Function
The module supports ambient temperature detection function, which is
implemented by the integrated on-chip temperature sensor. As shown in Figure 1.2,
the measured ambient temperatures range from -40
°
C to 85
°
C with a stepping of 5
°
C and they have good linearity. In the calculation formula, y represents the
temperature value from RS200 feedback(it's hexadecimal in RS200 feedback, and
decimal in the calculation formula); x represents the ambient temperature. The
commands and descriptions are as shown in Table 1.14.