background image

User Manual

 

 

 

 

Continued 

 

Frame Flag[7]: 

Data Read & 

Write Property 

Frame Flag[6:0]:   

Data Number   

Data 

[15:0]: 

Data 

Value   

 

 

Description 

 
 
 
 
 
 
 
 
 
 
 

 

0 (Read) 

1 (Write) 

 

 

5 (Rainfall status output 
frequency or 
enable/disable) 

 
 

0~9 

Rainfall  status  output  frequency,  the 

default  is  1,  representing  50ms;  it  can  be 

changed.  Increasing  or  reducing  1 

represents  an  increase  or  decrease  of 

50ms (output is disabled when it's 0) 

6 (No-rain/light-rain 
threshold V1) 

0~65535  No-rain/light-rain threshold V1 

7 (Light-rain/moderate-
rain threshold V2) 

0~65535  Light-rain/moderate-rain threshold V2 

8 (Moderate-rain/heavy-
rain threshold V3) 

0~65535  Moderate-rain/heavy-rain threshold V3 

9 (No-rain/light-rain 
threshold S1) 

0~65535  No-rain/light-rain threshold S1 

10 (Light-rain/moderate-
rain threshold S2) 

0~65535  Light-rain/moderate-rain threshold S2 

11 (Moderate-
rain/heavy-rain threshold 
S3) 

0~65535  Moderate-rain/heavy-rain threshold S3 

12 (Threshold of the number 
of times determined to be 
heavy rain in 10 
measurements N1) 

1~10 

Threshold of the number of times 
determined to be heavy rain in 10 
measurements N1 

13 (Threshold of the number 
of times determined to be 
moderate rain in 10 
measurements N2) 

1~10 

Threshold of the number of times 
determined to be moderate rain in 10 
measurements N2 

14 (Threshold of the number 
of times determined to be 
light rain in 10 
measurements N3) 

1~10 

Threshold of the number of times 
determined to be light rain in 10 
measurements N3 

 

15 (Ambient light 
detection mode) 

Exit ambient light detection mode 

Enter ambient light detection mode 

16 (Host reads module 
temperature) 

Host reads module temperature once 

 

17 (Module optical sleep 

Exit sleep mode and enter rainfall detection 

Enter sleep mode 

Содержание SEN0545

Страница 1: ...User Manual Intelligent Rain Detection Module User Manual...

Страница 2: ...ement method high robustness against strong sunlight Less environmental interference and longer service life since the product is used inside windshields without direct exposure to external natural en...

Страница 3: ...RT Communication The UART configuration is shown in Table 1 1 Table 1 1 UART Configuration Baud Rate 115200 Data Bit 8bit Stop Bit 1bit Check Bit NONE Each UART command includes 5 Bytes of data and th...

Страница 4: ...Light rain 2 Moderate rain 3 Heavy rain 2 System Status 0 System normal 1 RS200 Internal communication error 2 LEDA damaged 3 LEDB damaged 4 Optical system calibration not good 5 Parameter configurati...

Страница 5: ...ld S2 0 65535 Light rain moderate rain threshold S2 11 Moderate rain heavy rain threshold S3 0 65535 Moderate rain heavy rain threshold S3 12 Threshold of the number of times determined to be heavy ra...

Страница 6: ...he host sends a command the 3Byte data of the frame flag and frame data will be used as an input parameter of function xCal_crc and the check value will be calculated and filled into frame checksum to...

Страница 7: ...ly from the module it means that the communication works normally otherwise there is something wrong with communication line Each command sent by the host must be continuous 5Byte data If the idle tim...

Страница 8: ...tent HEX Command Description Host Slave 3A 00 00 00 4B The host queries the firmware version of the module Host Slave 3A 80 xx xx xx The module sends firmware version to the host Note Host Slave means...

Страница 9: ...5 The module sends rainfall state to the host heavy rain 1 2 4 System State Detection Function The module will automatically monitor its system status during operation and if there is any abnormality...

Страница 10: ...path asymmetry of the system caused by processing installation etc the module requires optical system calibration before use when installed to ensure the accuracy of rainfall detection For detailed co...

Страница 11: ...ule to 1 Host Slave 3A 85 00 00 F1 The host sets the rainfall status output of the module to be disabled Host Slave 3A 05 00 00 24 The host reads the rainfall status output frequency from the module H...

Страница 12: ...ost Host Slave 3A 86 xx xx xx The host sets light rain moderate rain threshold V2 of the module Host Slave 3A 87 xx xx xx The host reads light rain moderate rain threshold V2 from module Host Slave 3A...

Страница 13: ...ents Host Slave 3A 8C xx xx xx The module sends to the host the threshold N1 for the number of times of heavy rain in 10 measurements Host Slave 3A 8D xx xx xx The host sets the module threshold N2 fo...

Страница 14: ...The thresholds for light medium and heavy rain under different scenarios can be set as per actual requirements For example if you use a watering can to simulate rain detection it is recommended to us...

Страница 15: ...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 Desc...

Страница 16: ...er sleep mode When the module enters the low power mode it will disable all rain detection functions and will only respond to specific wake up frame The relevant commands and descriptions are as shown...

Страница 17: ...is shown in Table 2 1 Figure 2 1 Wire to Board Socket Table 2 1 Pin Definition NO Signal Name Function Remarks 1 VCC 3 3V Power Supply 2 UART_TX UART Receiving Connect to the pin TX of the host UART...

Страница 18: ...t fix the module on the host mechanic structure with the front side the side with the IR emitter facing the glass then place the flexible transparent optical material on the front side of the module f...

Страница 19: ...be adjusted appropriately For example if the glass thickness is 1 5 mm the thickness of the filled flexible transparent optical material should be 2 5 mm if the glass thickness is 2 0 mm the thickness...

Страница 20: ...isfactory optical system calibration it means that the optical path asymmetry of the optical system is beyond the adjustable range due to the mechanical structure and installation accuracy which reduc...

Страница 21: ...normally LEDA damaged If the read rainfall value is invalid LEDA may be damaged LEDB damaged If the read rainfall value is always 0 LEDB may be damaged Optical system calibration not good After calib...

Страница 22: ...bient light varies much within the same period 4 Q4 What are the EMC and EMI levels of the module A4 ESD 8K temperature range 40 85 alternating humid heat 25 60 45 95 RH 5 Q5 What is the recommended t...

Отзывы: