EasyManua.ls Logo

AI Rd-03E - 5 Communication Protocol

Default Icon
18 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rd-03E Gesture Recognition User Manual V1.0.0
Copyright © 2023 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved
Page 9 of
18
Gesture flip cover (in open state);
The cover is closed by people (when the cover is opened);
Close the cover when the person goes through the closing circle (in the state of opening the
cover circle);
A schematic diagram of the above state is shown in FIG. 4-4.
(a) No one state (b) People come to open the cover (c) Gesture circle turning
(d) people go to close the cover (e) people go to close the cover
Figure 4-4 Schematic Diagram of Toilet Status
The unmanned delay refers to the time interval for delaying the report of the unmanned
result when the radar self-detects the unmanned state. Developers can adjust the parameter by
modifying the parameter NobodyDebounceTime = "1000 ° in the
XenG102STTool/appConfig.xml file under the root directory of the host computer tool, and its
default value is 1000 ms.
5 Communication protocol
This communication protocol is mainly used by developers who need to separate from
visualization tools for secondary development. The Rd-03E hardware communicates with the
outside world through the serial port. The serial port outputs the radar data processed by the
algorithm by frame. The format of a frame of data is:
AA + distance information (two bytes in cm) + gesture information (1 byte) +55
The distance information is in little-end format, and the data example is shown in Figure 5-1.
The output delay of the gesture result is about 0.25s.
Radar serial port data parsing distance is as follows