DFRobot SEN0521 User Manual page 11

5.8g microwave radar module
Table of Contents

Advertisement

Output delay time configuration: Confirmation delay - used to configure the confirmation time when a
target is detected; Disappearance delay - used to configure the confirmation time after a target has
disappeared.
Note:
(1) Confirmation delay: Configuring the optimal parameter value can greatly reduce false alarm rates. Although a larger value
is more reliable, it takes longer for the module to report that a target has been detected when a real target appears.
(2) Disappearance delay: The larger the configured parameter value, the easier it is to reduce missed reports caused by targets
disappearing accidentally. Although a larger value is more reliable, it takes longer for the module to report that the
target has disappeared after the target has actually disappeared.
Command for configuring parameters:
Sending the command:setLatency par1 par2
Command for reading configuration parameters:
Sending the command:getLatency
Command response:Response par1 par2
Parameter options:
par1
par2
Command execution result:
Done
Error
Example:
The configuration requires
the target to persist for at
least 0.5 seconds to be
considered existing; the
target is considered non-
Confirming delay; Upon detecting the target, output a valid target signal
(the OUT pin goes high) after a duration of par1, measured in seconds (s):
Value range: 0 to 100, with a default value of 0.050 seconds.
Note: For scenarios where high detection response speed is not required, it is
recommended to set a delay greater than 0.5 seconds, which can significantly reduce false
positive rates.
Disappearance delay: If a target is not detected, invalid target signal
will be triggered (OUT pin output low level) after continuously holding
for par2 duration, in units of seconds (s).
Value range: 0.5 to 1500, default 15 seconds.
Note: For scenarios that do not require a fast response after the target disappears, it
is recommended to set the disappearance delay greater than 15 seconds, which can
significantly reduce the missed detection rate. It can also be set even longer, such as
30 seconds, 60 seconds, 90 seconds, etc.
Command executed successfully.
Command execution failed.
setLatency 0.5 15
leapMMW:/>
10

Advertisement

Table of Contents
loading

Table of Contents