METEK GmbH uSonic-2 43
The command PR defines the protocol (format) of the data output
via the serial interface.
PR=0 Standard protocol
PR=1 NMEA protocol (chapter 5)
PR=3 one line standard protocol
PR=8 one line standard protocol without identifier and spaces
See chapter 3.3.1
After the data protocol has been changed by the command PR=X
with x = 0, 1, 3, 8 the system performs always a system reset (reboot).
QT Quality Threshold
Possible setting 0 ... 100 (%)
The command QT defines the threshold of good data quality.
If i.e. QT=70 and the data quality is lower than 70%, an error will be
indicated at the analog output ports like defined by the command AE.
The data quality is an internal check. The uSonic-2 checks, how many
measuring cycles are detected with implausible values.
See chapter 4.2.4
SA Scalar Averaging
Possible setting 0, 1
The command SA defines averaging method.
SA=0 : vector averaging
The uSonic-2 averages x and y. Then the uSonic-2 accumulates
v and d with this values.
SA=1 : scalar averaging
The uSonic-2 calculates v and d at every sample and averages these
values. The identifier v will change to vs, the identifier d will stay at d.