AiPi-Radar-Monitor (Rd-03D)
Ai-Thinker
Ai-Thinker focuses on IoT module, antenna, RF test, cloud and PCBA service, to provide customers with one-stop solution
This is an Rd-03D radar detection station developed using AiPi-DSL-3.5-inch, which can display the content of Rd-03D detection on the 3.5-inch touch screen, can intuitively view the detection results of radar.
Performance parameter
Map angle:80°
Actual measurement Angle: horizontal angle 120°,vertical angle 60°
Maximum detection distance:6meters
Multi-person detect: ?support (up to three)
Single detect: support
Support touch function, can switch single-person detection and multi-person detection mode.
Firmware only has the detection and display function, without any wireless, but can extend the WiFi and BLE function to the remote display.
Use-method
Power supply
?AiPi-DSL Typc-C interface for power supply directly . People move in front of the AiPi-Radar-Monitor, the white dots on the screen moving also displayed on the screen.
Switching between single-person test and multi-person test
In the lower left corner of the screen, there is a switch, the left display "Single" is the single-person detection, and the right side is "Multiple" is the multi-person detection.
Development process
3D product shell printing
The 3D shell file of this project will be post on the official docs data station, and user can download it by themselves: https://docs.ai-thinker.com/aipi-jc
Radar wiring
领英推荐
The Rd-03D communicates with the AiPi-DSL data using serial ports, so their connections are as follows:
·?????? Rd-03D 5V? ???——>AiPi-DSL 5V(cable wiring)
·?????? Rd-03D GND ——>AiPi-DSL GND
·?????? Rd-03D TX? ? ——>AiPi-DSL IO26
·?????? Rd-03D RX? ? ——>AiPi-DSL IO28
Rd-03D radar data readThe serial port data analysis of Rd-03D is referred to the Ai-Thinker Rd-03D user manual:Rd-03D Multi-target tracking user manual.pdf
Then, according to the examples and algorithms in the manual, you can get the actual detected position coordinates.
This set of data indicates that the radar has tracked a target, namely target 1 (blue field in the example). Target 2 and target 3 (corresponding to the red and black fields in the example respectively) do not exist, so the corresponding data segment is 0x00. The module converts the data of target 1 the process of changing to relevant information is shown below:
Display interface The display interface is directly implemented by using the LVGL canvas, and the white dots only need to draw points on the canvas, which is very simple. However, the actual detection value of Rd-03D is a 16-bit value, and the highest value is 65535 (there is no negative value in the ordinate). Our screen size is only 320 * 240, and the detected coordinates need to be converted on the screen. The algorithms used in this project are as follows:
Firmware and source code
The firmware and source code: https://docs.ai-thinker.com/aipi-jc Firmware can be downloaded and burned directly, and if need to use more functions can use the source code.
Contact us for more information!
Technologist, futurist, sociologist, aggregationist ...
1 年This is an excellent article that explains well how to use your module! While the article is written in English, the PDF and link to the code are not. Do you also have English versions of these documents?