Preface
Welcome to use our CC-M35 snow sensor. In order to better use the device, we recommend that you read the product manual carefully before use.
Our company has been in constant exploration and research and development. We reserve the right to improve some performance and design without prior notice.
Product Introduction
The snow sensor is an intelligent snow depth sensor that uses ultrasonic telemetry technology to realize automatic and continuous monitoring of snow depth. It calculates the snow depth by emitting 50KHz ultrasonic waves to measure the time difference between the emission and return of the signal. The product has two modes: normal working mode and temperature-controlled intermittent working mode. It can be widely used in measurements in meteorology, airports, ports, laboratories, industry, agriculture, and transportation .
Basic parameters
Snow sensor parameters | |
Power supply | Mains electricity |
Supply voltage | DC 12~24V |
Communication | RS485/Current type |
Power consumption | At room temperature: 180mW |
Low temperature (<5℃) heating: 3W | |
Baud rate | 9600bps |
Work Environment | -40—50℃; ≤100%RH |
Storage Environment | -40—65℃; ≤100%RH |
Effective range | 0—1000mm |
Measurement accuracy | ±1%FS |
Instrument line length | Standard 5 meters |
The manufacturer's private protocol is used by default , and the baud rate is 9600bps . The protocol and baud rate can be customized.
Calculation formula
Current type (4~20mA) :
D = ( I -4)× L /16
( D : snow amount value (mm); I : current signal (4-20mA) ; L: snow amount measurement range ( mm)
Wiring method
(1)If equipped with a collector produced by our company, you can directly use the sensor cable to connect the sensor to the corresponding interface on the collector.
(2)the sensor separately , the wiring sequence of the sensor is as shown in the figure
They are:
Line Color | Output signal | |||
Current Type | Communication typeRS485 | |||
red | Power positive | Power positive | ||
Black (green) | Power Ground | Power Ground | ||
yellow | Current signal | A | ||
blue |
|
|
| B |
Structural dimensions
Communication Protocol
一、Serial port format
Data bit 8 bits
Stop bit 1 or 2
Check digit None
Baud rate 9600 The interval between two communications is at least 1000ms
2. Communication Format
【1】Write device address
Send: 00 10 Adress CRC (5 bytes)
Return: 00 10 CRC (4 bytes)
Note: 1. The address bits of the read and write address commands must be 00.
2. Adress is 1 byte, ranging from 0 to 255.
For example: Send 00 10 01 BD C0
Return 00 10 00 7C
【2】Read device address
Send: 00 20 CRC (4 bytes)
Return: 00 20 Adress CRC (5 bytes)
Description: Adress is 1 byte, ranging from 0 to 255
For example: Send 00 20 00 68
Return 00 20 01 A9 C0
【 3】Working mode switching
Temperature-controlled intermittent working mode. In this mode, when the temperature around the device is lower than 15°C, the device will work normally. When the temperature is higher than 15°C, the probe will only work for 1 minute every 20 minutes. When the probe is not working, the return value of snow volume is 0. If equipped with a collector, the return value when the probe is not working is the last measurement value.
Send: 01 10 00 FF 00 CRC (take address 01 as an example)
Return: 01 10 00 FF 00 CRC
Normal working mode. In this mode, the device works normally.
Send: 01 10 00 FF 01 CRC (take address 01 as an example)
Return: 01 10 00 FF 01 CRC
【 4 】 Read real-time data
Send: Ad ress 03 00 00 00 01 CRC
Description: As shown in the following figure:
Code | Function Definition | Remark |
Adress | Station number (address) | |
03 | Function code | |
00 00 | Starting address | |
00 01 | Read points | |
CRC | CRC check code, low at first and high at last |
Return: Adress 03 02 XX XX CRC
illustrate:
Code | Function Definition | Remark |
Adress | Station number (address) | |
03 | Function code | |
02 | Read unit byte | |
XX XX | Height data (higher at the front and lower at the back) | hexadecimal |
CRC | CRC checksum |
For example: Send 01 03 00 00 00 01 84 0A
Return 01 03 02 01 0E 38 10
Note: 01 0E converted to decimal is 270. After data analysis, the actual height is 27.0mm;
Actual snow volume = initial installation height - snow volume measurement
The height difference between the two measurements is the amount of snow during the measurement period.
(For example, if the initial installation height is 1.3m, and the value measured again after snowfall is 1.2m, then the actual amount of snow during this period is 0.1m )
Steps to calculate CRC code:
1. Preset the 16-bit register to hexadecimal FFFF (i.e. all 1s). This register is called the CRC register;
2. XOR the first 8-bit data with the low bit of the 16-bit CRC register and put the result in the CRC register;
3. Shift the contents of the register right by one position (towards the lower position), fill the highest position with 0, and check the shifted-out position after the right shift;
4. If the shifted bit is 0: Repeat step 3 (shift right one bit again)
If the shifted-out bit is 1: XOR the CRC register with the polynomial A001 (1010 0000 0000 0001);
5. Repeat steps 3 and 4 until the right shift is 8 times, so that the entire 8-bit data is processed;
6. Repeat steps 2 to 5 to process the next 8-bit data;
7. The final CRC register is the CRC code;
8. When putting the CRC result into the information frame, swap the high and low bits, with the low bit in front.
Instructions
1、After wiring and installing the sensor according to the wiring method and installation instructions , place it at the detection position of 1.3m (±0.1m) and open the protective cover of the snow sensor probe.
2、If equipped with a collector produced by our company , turn on the system , open the protective cover of the snow sensor probe, and set the starting working temperature of the snow sensor in the "Other Settings" → "Snow Settings" of the collector. The default snow working temperature is T0 (the default is 5°C, which can be set by yourself). After setting the snow temperature, select "Snow Detection", switch from "Stop" mode to "Start" mode, and click the "Confirm" button. The system will automatically detect the reference height of the sensor; (Note: If the height of the snow sensor is adjusted, the reference height needs to be reset according to the above operations).
3、When the real-time temperature T>T0, the collector automatically turns off the display value of the snow sensor. When the real-time temperature T<T0, the collector displays the test value of the snow sensor to obtain the snow amount information .
Precautions
1. Please check whether the packaging is intact and whether the product model is consistent with the selected one;
2. Do not connect wires with power on. Only turn on the power after the wiring is completed and checked;
3. The length of the sensor cable will affect the output signal of the product. Do not arbitrarily change the components or wires that have been welded at the factory when using the product . If you need to change it, please contact the manufacturer ;
4. The sensor is a precision device. Please do not disassemble it by yourself or contact the sensor surface with sharp objects or corrosive liquids during use to avoid damaging the product.
5. Please keep the calibration certificate and certificate of conformity and return them together with the product when repairing.