700-SDI-RADAR-300W-Man Rev 2 30 May 2022
20
/39
Part# 21370
Change Data
Filter Length
7+d1!
then
d2!
Changes the length of the moving average filter which is used to
smooth the data readings. To change the filter length, two
SDI-12 commands need to be issued, with the following
parameters:
+d1 = the length of the averaging filter, in number of samples;
(the radar makes 10 samples (readings) per second, so a
filter length of 100 will take 10 seconds)
The maximum value for d1 is 512
+d2 = this parameter should be calculated as: (d1/10)+1
For example:
- if d1 is 20, then d2 is 3;
- if d1 is 35, then d2 should be 4
Read Data
Filter Length
Read last value
7!
then
aXGRMV
Response: a<val0>
<val0> = number of seconds to wait until the holding register
is available for reading
Input “Read last value” command after waiting time indicated in
the above response
Response: a<val>
<val> = Data filter length. See above for calculation of filter
length.
Examples of the most common SDI-12 commands for various settings in the RSS-2- 300W senor:
Change velocity unit type:
2+0! - set mm/s unit type
2+1! - set m/s unit type
2+2! - set mph unit type
2+3! - set km/h unit type
2+4! - set fps unit type
2+5! - set fpm unit type