Communication Protocol - DFRobot SEN0521 User Manual

5.8g microwave radar module
Table of Contents

Advertisement

default is 15 seconds. If the time is set shorter, there may be a certain
probability of a missed detection due to occasional pauses in breathing.
Note: The actual delay time after the target disappears varies despite the set delay time (it cannot be
precisely delayed for the set time after the target disappears).
4.

Communication Protocol

If the user is using the 5.8G microwave radar module solely as a trigger switch,
using only the module's OUT pin, and the configuration parameters meet the performance
and functional requirements, then it is not necessary to use a serial port or worry about
the communication protocol.
The 5.8G microwave radar module adopts serial communication, with ASCII code strings
as the data and commands for interaction with the module, making it easy to understand
and debug.
(1) Serial Port Parameters:
The default baud rate is 115200 bps, with 1 stop bit, 8 data bits, no parity bit,
and no flow control.
(2) Parameter Configuration Command:
The command is in the format of ASCII code string, with carriage return and line
feed as the ending characters. Each command and parameter, as well as each
parameter and parameter, should be separated by one or more spaces.
(3) The response for the command to read configuration parameters starts with the
string "Response" and ends with a carriage return and line feed. Each command and
parameter, as well as each parameter and parameter, should be separated by one or
more spaces.
(4) Proactively reporting data.
The ASCII code string format starts with the character '$' and ends with '*',
with multiple parameters separated by ',' and placeholder parameters (reserved)
represented by spaces.
Important notes to consider:
(1) The module must be in a stopped state when configuring parameters. After configuring the parameters,
the "save parameters" command must be sent to save the new parameters to the module's Flash memory.
Then send the "start module" command, "reset and restart" command, or directly power off and restart,
for all new configured parameters to take effect.
(2) (2) The "leapMMW:/>" shown in later descriptions is simply the command prompt printed by the module.
The command string after "leapMMW:/>" is the actual command.
7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SEN0521 and is the answer not in the manual?

Questions and answers

Table of Contents