DFRobot SEN0521 User Manual page 17

5.8g microwave radar module
Table of Contents

Advertisement

Parameter items:
par1
par2
par3、par4
Note:
(1) Parameters par3 and par4 apply to all types of data/messages in par1.
(2) If the configuration of "serial data output mode and period" parameter is not
Command execution result:
Done
Error
Example:
Enable output of target
detection results.
Disable output of target
detection results.
Enable output of target
point cloud data.
Disable output of target
point cloud data.
Data/message types:
1. Detection result output, namely $JYBSS message data.
2. Target point cloud output, namely $JYRPO message data.
Enable or disable the output of message corresponding to par1:
0: The message corresponding to par1 type is not included in the serial
output data.
1: The message corresponding to par1 type is included in the serial
output data.
Serial data output mode and period, with the period unit being second:
(1) When par4 is set between 0.025 and 1500:
- The value represents the period of actively outputting data.
- When par3 = 0, data is actively outputted based on the period set by
par4 (default parameter).
- When par3 = 1, data is outputted immediately when changes occur, or
outputted based on the period set by par4 if there's no change.
(2) When par4 is set to >1500:
- Data is passively outputted.
- When par3 = 0, data is not actively outputted and can only be
retrieved using the getOutput query command.
- When par3 = 1, data is outputted immediately when changes
occur, or not outputted if there's no change.
The command executed successfully.
The command execution has failed.
setUartOutput 1 1
leapMMW:/>
setUartOutput 1 0
leapMMW:/>
setUartOutput 2 1
leapMMW:/>
setUartOutput 2 0
leapMMW:/>
16

Advertisement

Table of Contents
loading

Table of Contents