rd-03 v1.0.1 Serial Communication Protocol
rd-03 v1.0.1 Serial Communication Protocol
01
Version V1.0.1
Copyright ©2023
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 1 of 15
Rd-03 Serial communication protocol V1.01
Document Resume
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 2 of 15
Rd-03 Serial communication protocol V1.01
Content
Rd-03 Serial communication .......................................................................................................1
3. Contact ....................................................................................................................................13
Notice ......................................................................................................................................... 14
Statement .................................................................................................................................... 15
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 3 of 15
Rd-03 Serial communication protocol V1.01
The Rd-03 module has a total of 5 pins, as shown in the pin diagram. The pin function
definition table is the interface definition.
Front Back
3.3V 3.3V
GND GND
RX TXD
OT1 RXD
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 4 of 15
Rd-03 Serial communication protocol V1.01
Users can modify the configuration parameters of the module through the serial port of Rd-03
to adapt to different application requirements. The configurable radar detection parameters are
shown in Table 2.
Table 2 Rd-03 configuration parameters
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 5 of 15
Rd-03 Serial communication protocol V1.01
2. Communication Protocol
This communication protocol is mainly used by users who need to be independent of
visualization tools. Rd-03 communicates with the outside world through the serial port (TTL
level). The radar's data output and parameter configuration commands are all carried out under
this protocol. The default baud rate of the radar serial port is 115200, 1 stop bit, and no parity
bit.
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 6 of 15
Rd-03 Serial communication protocol V1.01
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 7 of 15
Rd-03 Serial communication protocol V1.01
End the configuration command, and the radar will resume working mode after execution. If
you need to send other commands again, you need to send the enable configuration command
first.
Command word:0x00FE
Command value:N/A
Send data:
Frame Header Data length in frame Command word Frame end
FD FC FB FA 02 00 FE 00 04 03 02 01
This command sets the radar minimum detection distance gate, maximum detection distance
gate, target disappearance delay time, trigger threshold and hold threshold parameters. For
specific parameter words, please refer to Table 7.
Command word:0x0007
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 8 of 15
Rd-03 Serial communication protocol V1.01
Send data: Maximum detection distance gate 3 (not saved when power off)
Data length in Command Parameter Parameter
Frame Header Frame end
frame word ID Value
FD FC FB FA 08 00 07 00 01 00 03 00 00 00 04 03 02 01
Radar ACK (success):
Data length in
Frame Header Command word ACK Frame end
frame
FD FC FB FA 04 00 07 01 00 00 04 03 02 01
3. Maximum detection distance gate 3 power-off save reference, add ABD and parameters
based on the command not sent
Data
Frame Command Parameter Parameter ABD Frame
length in ABD
header word ID Value parameter end
frame
FD FC 03 00 00 04 03
0E 00 07 00 01 00 2F 00 64 00 00 00
FB FA 00 02 01
4. Modify the trigger threshold of the first distance gate to 47.47 and save (the trigger
threshold distance gate starts from 10, and the hold threshold distance gate starts from 20)
Data
Frame Command Parameter Parameter ABD Frame
length in ABD
header word ID Value parameter end
frame
FD FC 25 E8 00 04 03
0E 00 07 00 11 00 2F 00 64 00 00 00
FB FA 00 02 01
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 9 of 15
Rd-03 Serial communication protocol V1.01
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 10 of 15
Rd-03 Serial communication protocol V1.01
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 11 of 15
Rd-03 Serial communication protocol V1.01
Rd-03 outputs radar detection results through the serial port. By default, it outputs basic target
information, including target status and movement distance. If the radar is configured in
reporting mode, the radar will additionally output the energy value of each range gate. Radar
data is output in the specified frame format.
In the normal radar mode defined by the protocol, the reporting message frame format is shown
in Table 10. In the debugging mode and reporting mode, the definition of the reporting data
type value is shown in Table 11 and Table 12.
Table 10 Normal mode
Target state Movement distance
No range distance(cm)
OFF N/A
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 12 of 15
Rd-03 Serial communication protocol V1.01
3. Contact
Company Address:Room 403,408-410, Block C, Huafeng Smart Innovation Port, Gushu 2nd
Road, Xixiang, Baoan District, Shenzhen.
Tel:+86-0755-29162996
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 13 of 15
Rd-03 Serial communication protocol V1.01
The information in this article,including the URL address for reference,is subject to change
without notice.
The test data obtained in the article are all obtained from Ai-Thinker's laboratory tests,and the
actual results may vary slightly.
All brand names,trademarks and registered trademarks mentioned in this article are the
property of their respective owners,and it is hereby declared.
Notice
Due to product version upgrades or other reasons,the contents of this manual may be changed.
Shenzhen Ai-Thinker Technology Co.,Ltd.reserves the right to modify the contents of this
manual without any notice or prompt.
This manual is only used as a guide.Shenzhen Ai-Thinker Technology Co.,Ltd. makes every
effort to provide accurate information in this manual.However, Shenzhen Ai-Thinker
Technology Co.,Ltd. does not guarantee that the contents of the manual are completely free of
errors.All statements and information in this manual And the suggestion does not constitute
any express or implied guarantee.
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 14 of 15
Rd-03 Serial communication protocol V1.01
Statement
Ai-Thinker may provide technical and reliability data (including data sheets), design resources
(including reference designs), application or other design recommendations, network tools,
safety information and other resources (the "Resources") "as is" without warranties of any kind,
express or implied. Including, but not limited to, express or implied warranties of suitability,
fitness for a particular use, or non-infringement of any third party's intellectual property
rights.And specifically declares that it is not liable for any necessary or incidental losses,
including but not limited to, arising from the application or the use of any of our products and
circuits.
Ai-Thinker reserves the right to release information in this document (including but not limited
to metrics and product descriptions) and any changes to our products without prior notice. This
document automatically supersedes and replaces all information provided in previous versions
of the same document number file.
These resources are available to skilled developers who design with Ai-Thinker products. You
are solely responsible for: (1) Selecting the appropriate Ai-Thinker products for your
application; (2) Design, validate, and run your application and product throughout its life cycle;
(3) Ensure that your application meets all applicable standards, codes and laws, as well as any
other functional security, information security, regulatory or other requirements.
Ai-Thinker may authorize you to use these resources only for the development of applications
of Essence Products described in this Resource. Without the permission of Ai-Thinker, any unit
or individual shall not extract or copy part or all of these resources, and shall not be transmitted
in any form. You are not entitled to use any other Ai-Thinker intellectual property rights or any
third party intellectual property rights. You shall indemnify you in full for any claims, damages,
costs, losses and liabilities arising against Ai-Thinkeror its representatives in connection with
the use of these resources, for which Ai-Thinker is not liable.
The products offered by Ai-Thinker are subject to the terms of sale of Ai-Thinker or other
applicable terms attached to Essence's products. Essence's availability of these resources does
not extend or otherwise change the warranties or warranties disclaimers applicable to product
releases.
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved Page 15 of 15