4
Figure 4 Radar PC test interface
4) Start to test. NRA24 radar antenna faces directly to the moving target, or there is relatively
small movement between the sensor and the target. You can see the target indicator of the red
triangle in the UI interface, and the target distance R. In Figure 4, the radial distance of the
target from the radar is 1.95meters (NRA24 could detect the target within 50 meters to ground).
If no red triangle is indicated, it states that there is no target within the detectable distance and
field of view. The following table shows the relationship between the sensor indicator light and
the corresponding indication status:
5 Serial-port data parsing
NRA24 radar sensor utilizes a UART-TTL interface with a default transmission rate of 115200
baud,
8 bit data bit, 1 stop bit, no parity bit, no flow control
. Starting with a start sequence and
terminating with a termination sequence for each data message. At each data cycle of NRA24
(20ms), the message for NRA24 system status and target output status would be output. If the
field of detected target numbers in message of the detected target output status is 1, the target
output status message is followed by the target output information message which contains the
height parameter of the target.
PC or the peripheral device configures the NRA24 with the same message format, and the
corresponding message ID is 0x200.
A complete data message of UART-TTL communication is 14 bytes. Each byte of data is
unsigned8bit. The data range is 0 ~ 255 (0 ~ 0xFF). And the format is shown in the following
table. Each data message contains a message ID to distinguish between different types of
messages.