24 GHz Altitude Radar H-1000: Product, Interfaces, Setup & Protocols — Technical Guide

LintechTT > Articles  > 24 GHz Altitude Radar H-1000: Product, Interfaces, Setup & Protocols — Technical Guide

24 GHz Altitude Radar H-1000: Product, Interfaces, Setup & Protocols — Technical Guide

UAV Sensing · Technical Guide

24 GHz Altitude Radar H-1000: Product, Interfaces, Setup & Protocols

A complete technical reference for the H-1000 FMCW altitude radar — key specifications, six wiring configurations, host-software debugging, PX4 / ArduPilot integration, data protocols, and troubleshooting FAQs.

Technology·FMCW
Frequency·24–24.5 GHz
Range·0.3–1000 m
Accuracy·2 cm class
Interfaces·UART / RS485 / RS232 / CAN
1000m UAV altitude radar with drone and coverage visualization

At a glance

ModelH-1000
Measuring range0.3 – 1000 m
Operating frequency24.00 – 24.5 GHz
Data refresh rate10 Hz typical / 20 Hz max
Distance accuracy0.1 m (<40 m) · 0.5 m (40–300 m) · 0.005%×H (>300 m)
Field of view±10° H / ±7° V (−6 dB)
CommunicationUART, RS485, RS232, CAN (two active at once)
Supply voltage9 – 24 V DC (12 V typical)
Power consumption≈ 1.5 W
Operating temperature−40 °C to +85 °C

01

Product Introduction

The altitude radar uses the latest RF chip, operating in the 24 GHz frequency band and based on FMCW (Frequency Modulated Continuous Wave) technology. It can detect the distance of the nearest or strongest target in real time, with a measurement accuracy of 2 cm. Featuring a compact size and high stability, it meets the integration requirements of various UAV platforms. The dimensions of the finished product are shown in Figure 1.

Radar dimensions drawing in millimetres

Figure 1. Dimensions of the finished radar (unit: mm)

Where to go next
If you are integrating this radar into a flight controller, jump to Section 04 — Debugging Methods. If you need the raw data format for your own parser, see Section 05 — Protocol Overview.

02

Product Parameters

2.1 Technical Features

  • Single-board design, compact size, easy for integration;
  • Simple and complete interfaces — just connect the power and communication ports to use;
  • Based on FMCW technology, enabling high-precision target positioning;
  • Real-time obstacle warning based on analysis of raw target data;
  • All-weather operation (especially in adverse conditions such as rain, snow, fog, haze, and sandstorms).

2.2 Appearance

The functions of each part of the radar are shown in Figure 2.

Radar body with labelled parts

Figure 2. Illustration of the finished radar appearance

  • Radar body — install as required; note that the front face of the radar must be free of obstructions or interference.
  • Pin definition — for details, see Section 03, Product Interfaces.
  • Extension cable, one metre long.
  • Terminal block — users can adapt connections as needed.

2.3 Performance Parameters

Table 1 — Performance parameters
Parameter Min. Typical Max. Unit
Operating frequency band 24.00 — 24.5 GHz
Transmit power (EIRP) — 13 — dBm
Data output refresh rate — 10 20 Hz
Operating mode FMCW FMCW FMCW —
Field of view
Horizontal field of view (−6 dB) ±10 ±10 ±10 °
Vertical field of view (−6 dB) ±7 ±7 ±7 °
Detection characteristics
Distance measurement accuracy H < 40 H > 40 and H < 300 H > 300 m
Distance measurement accuracy 0.1 0.5 0.005% × H m
Minimum detection distance 0.3 0.3 0.3 m
Maximum detection distance 1000 1000 1000 m
Dimensions and interfaces
Communication interface UART, RS485, RS232, CAN —
Output content Distance information —
Physical dimensions Refer to Chapter 1 mm
Environmental adaptability
Operating temperature −40 — 85 °C
Operating humidity 5% — 95% RH
Power supply
Operating voltage 9 12 24 V
Power consumption 1.4 1.5 1.6 W

03

Product Interfaces

The radar supports one UART serial port, one RS485 interface, one RS232 interface, and one CAN interface; all four interfaces support parameter configuration and target output. Because the device is shipped with a 6-core cable, the radar supports output on only two communication interfaces at a time. Users may communicate their shipping requirements to the sales personnel in advance as needed.

Important — wiring
For UART and RS232 links, wire RX → TX and TX → RX (cross-connected), and always tie the radar ground to the host / supply ground. Never power the radar from a flight-controller port.

3.1 UART + CAN

Default UART baud rate: 115200 bps. Default CAN baud rate: 500 kbps. The UART requires cross-connection (RX to TX and TX to RX). Wiring is shown in Table 2 and Figure 3.

Table 2 — UART + CAN wiring
No. Interface Color Definition Corresponding wire
1 Power input Red DC 9–24 V, 1.2 W Switching power supply 12 V
2 Power input Black GND Switching power supply 0 V / UART_GND
3 Communication White UART_RX UART_TX
4 Communication Green UART_TX UART_RX
5 Communication Purple CAN_H CAN_H
6 Communication Yellow CAN_L CAN_L
UART plus CAN wiring diagram

Figure 3. UART + CAN mode wiring diagram

3.2 UART + RS485

Default UART and RS485 baud rates: 115200 bps. The UART requires cross-connection. Wiring is shown in Table 3 and Figure 4.

Table 3 — UART + RS485 wiring
No. Interface Color Definition Corresponding wire
1 Power input Red DC 9–24 V, 1.2 W Switching power supply 12 V
2 Power input Black GND Switching power supply 0 V / UART_GND
3 Communication White UART_RX UART_TX
4 Communication Green UART_TX UART_RX
5 Communication Purple RS485_A RS485_A
6 Communication Yellow RS485_B RS485_B
UART plus RS485 wiring diagram

Figure 4. UART + RS485 mode wiring diagram

3.3 UART + RS232

Default UART and RS232 baud rates: 115200 bps. Both the UART and RS232 require cross-connection. Wiring is shown in Table 4 and Figure 5.

Table 4 — UART + RS232 wiring
No. Interface Color Definition Corresponding wire
1 Power input Red DC 9–24 V, 1.2 W Switching power supply 12 V
2 Power input Black GND Supply 0 V / UART_GND / RS232_GND
3 Communication White UART_RX UART_TX
4 Communication Green UART_TX UART_RX
5 Communication Purple RS232_RX RS232_TX
6 Communication Yellow RS232_TX RS232_RX
UART plus RS232 wiring diagram

Figure 5. UART + RS232 mode wiring diagram

3.4 RS232 + RS485

Default RS232 and RS485 baud rates: 115200 bps. The RS232 requires cross-connection. Wiring is shown in Table 5 and Figure 6.

Table 5 — RS232 + RS485 wiring
No. Interface Color Definition Corresponding wire
1 Power input Red DC 9–24 V, 1.2 W Switching power supply 12 V
2 Power input Black GND Supply 0 V / RS232_GND
3 Communication White RS232_RX RS232_TX
4 Communication Green RS232_TX RS232_RX
5 Communication Purple RS485_A RS485_A
6 Communication Yellow RS485_B RS485_B
RS232 plus RS485 wiring diagram

Figure 6. RS232 + RS485 mode wiring diagram

3.5 RS232 + CAN

Default RS232 baud rate: 115200 bps; default CAN baud rate: 500 kbps. The RS232 requires cross-connection. Wiring is shown in Table 6 and Figure 7.

Table 6 — RS232 + CAN wiring
No. Interface Color Definition Corresponding wire
1 Power input Red DC 9–24 V, 1.2 W Switching power supply 12 V
2 Power input Black GND Supply 0 V / RS232_GND
3 Communication White RS232_RX RS232_TX
4 Communication Green RS232_TX RS232_RX
5 Communication Purple CAN_H CAN_H
6 Communication Yellow CAN_L CAN_L
RS232 plus CAN wiring diagram

Figure 7. RS232 + CAN mode wiring diagram

3.6 RS485 + CAN

Default RS485 baud rate: 115200 bps; default CAN baud rate: 500 kbps. Wiring is shown in Table 7 and Figure 8.

Table 7 — RS485 + CAN wiring
No. Interface Color Definition Corresponding wire
1 Power input Red DC 9–24 V, 1.2 W Switching power supply 12 V
2 Power input Black GND Switching power supply 0 V
3 Communication White RS485_A RS485_A
4 Communication Green RS485_B RS485_B
5 Communication Purple CAN_H CAN_H
6 Communication Yellow CAN_L CAN_L
RS485 plus CAN wiring diagram

Figure 8. RS485 + CAN mode wiring diagram

04

Debugging Methods

The radar supports parameter configuration and visualized waveform debugging through the company’s debugging software via a serial port or CAN connection. It can also be connected to PX4 and ArduPilot flight controllers for real-world data testing.

4.1 Debugging Instructions

4.1.1 Host software download

The download link for the debugging software is as follows. Users can select the latest version to download (the software supports only Windows platforms); the software is ready to use after extraction.

Cloud drive: Altitude Radar Software
Link: https://pan.baidu.com/s/1z13yoI5oeBLjBYX7X6JKzg?pwd=4naf   Extraction code: 4naf

4.1.2 Required test tools

  • Laptop / PC
  • Altitude radar
  • Switching power supply
  • USB debugger: USB-to-UART / USB-to-RS232 / USB-to-RS485 / USB-to-PCAN
  • Software driver for the corresponding USB debugger
  • Other cables and adapters

4.2 Software Debugging

4.2.1 Serial device connection

After opening the software, the interface is shown in Figure 9. Connect the radar following the steps below:

  1. Select the corresponding product model.
  2. Wire according to Section 03, Product Interfaces, and select the corresponding connection method.
  3. For a serial connection using UART, RS232, RS485, etc., select the corresponding COM port and baud rate, click Connect, and wait for the version number to appear in the lower-left corner.
  4. After clicking Connect, the appearance of the version number in the lower-left corner indicates a successful connection. Click Read to obtain the radar parameters.
Host software serial connection interface

Figure 9. Serial connection interface

4.2.2 CAN device connection

After opening the software, the interface is shown in Figure 10. Connect the radar following the steps below:

  1. Select the corresponding product model.
  2. Wire according to Section 03, Product Interfaces, and select the CAN connection method.
  3. For a CAN connection, click Refresh, select the corresponding CAN device and baud rate, click Connect, and wait for the version number to appear in the lower-left corner.
  4. After clicking Connect, the appearance of the version number in the lower-left corner indicates a successful connection. Click Read to obtain the radar parameters.
Host software CAN connection interface

Figure 10. CAN connection interface

4.2.3 Interface description

After the radar is connected successfully, the interface is shown in Figure 11.

Host software debugging interface

Figure 11. Host software debugging interface

  1. Radar Connection — Switch the connection method, select the corresponding parameters, and then connect the device.
  2. Radar Basic Information — Displays a configurable character string that records radar-related information. Click Read to obtain the current radar information; click Set to write the currently displayed information to the radar.
  3. Port Configuration — Displays the parameters of the radar output interface. Click Read to obtain the current radar parameters; click Set to configure the currently displayed parameters on the radar.
  4. Detection Parameters — Displays the current radar parameters. Click Read / Set to obtain or configure them. The configuration parameters are as follows:
    • Device ID — affects the output of certain protocols.
    • COM Communication Protocol — modifies the protocol currently enabled for serial output.
    • CAN Communication Protocol — modifies the protocol currently enabled for CAN output.
    • Detection Period — affects the detection frequency and output frequency.
    • Display Mode — modifies the waveform display under the debugging protocol.
    • Serial Port Enable — enables the serial port; checked means output, unchecked means no output.
    • Measured Height — parses the output data of the connected port according to the communication protocol in the detection parameters.
    • Height Value — displays the current radar height.
    • Height Confidence — displays the confidence level of the current radar height value.
    • Line Chart — records changes in the height value and plots a line chart.
    • View Echo Data — displays the current radar echo data.
    • Data Save — when checked, saves the height or waveform to a local file.
  5. System Upgrade — upgrades the radar firmware; for details, see the Firmware Upgrade Manual.
  6. Other — displays some other information, such as current time, online status, version information, status prompts, and the current connection port.

4.3 Connecting to a PX4 Flight Controller

4.3.1 Installing QGroundControl

Official link: https://qgroundcontrol.com/

4.3.2 QGroundControl configuration

Connect the flight controller, open the configuration options, and under Parameters → sensors → SENS_TFMINI_CFG, select the input interface of the rangefinding device, such as TELEM2. Under the same menu, select TFMINI, as shown in Figure 12.

Power note
Connect the radar device to the selected TELEM2 interface. Do not power the device from the flight-controller interface, and ensure a common ground between the radar and the controller.
PX4 QGroundControl configuration interface

Figure 12. PX4 configuration interface

4.3.3 Modifying radar parameters

Set the radar serial parameters to 115200, 8, n, 1, and select the TF03 protocol.

4.3.4 Viewing radar data

As shown in Figure 13, open the Analyze Tools option in QGC and view the current distance value under MAVLink Inspection → DISTANCE_SENSOR → current_distance. Unit: cm.

PX4 monitoring interface showing live altitude

Figure 13. PX4 monitoring interface

4.4 Connecting to an ArduPilot (APM) Flight Controller

4.4.1 Downloading and installing Mission Planner

Official link: https://firmware.ardupilot.org/Tools/MissionPlanner/

4.4.2 Mission Planner parameter configuration

In the full parameter list, find and configure the following parameters:

  • RNGFND1_ORIENT = 25 (downward)
  • RNGFND1_TYPE = 20
  • SERIAL2_PROTOCOL = 9
  • SERIAL2_BAUD = 115200 (select according to your wiring and the radar baud-rate configuration)

After writing the above items, click Write Parameters and wait for the configuration interface to refresh. Then set:

  • RNGFND1_MIN_CM = 30
  • RNGFND1_MAX_CM = 20000 (configure according to the radar model)

4.4.3 Modifying radar parameters

Set the radar serial parameters to 115200, 8, n, 1, and select the TF03 protocol.

4.4.4 Viewing radar data

Select the rangeFinder1 data to display on the page, or view it on the Status page, as shown in Figures 14 and 15.

ArduPilot Mission Planner data page

Figure 14. ArduPilot data page

ArduPilot Mission Planner status page

Figure 15. ArduPilot status page

05

Protocol Overview

5.1 UART (COM) Protocol Overview

The COM protocol is a protocol for serial output via UART, RS485, RS232, etc. It sends data through the enabled transmit interface according to the configured protocol. Regardless of the protocol used, any of the three interfaces can connect to the host computer through the corresponding USB converter.

5.1.1 SZY protocol

The debugging protocol uses hexadecimal data messages in little-endian byte order. In the table, U8 denotes the char type, U16 the unsigned short type, and S16 the short type. The radar outputs height data once per cycle; the data format is shown in Table 8.

Table 8 — COM height reporting protocol format
Data field Byte count Valid value Remarks
Message header 2 "SZ" —
Message type 1 13 —
Data length 1 4 —
Height 3 — Height value, unit: mm, big-endian
Confidence 1 — —
Checksum 2 — CRC16 MODBUS checksum, little-endian; see the appendix

Example:53 5A 0D 04 00 00 00 00 0F FA

  • 53 5A — message header
  • 0D — message type 13
  • 04 — data length
  • 00 00 00 — height
  • 00 — confidence
  • 0F FA — checksum value

5.2 CAN Protocol Overview

The CAN protocol is a protocol for output via the CAN port. It sends data according to the configured CAN protocol, and any protocol can connect to the host computer.

5.2.1 CAN_SZY protocol

The debugging protocol uses hexadecimal data messages in little-endian byte order. The radar outputs height data once per cycle; the data format is shown in Table 9.

Table 9 — CAN height reporting protocol format
Data field Byte count Valid value Remarks
CAN ID 2 0x535 Default value, configurable via the host computer
Message header 2 "SZ" —
Data length 1 3 —
Height 3 — Height value, unit: mm, big-endian
Checksum 2 — CRC16 MODBUS checksum, little-endian; see the appendix

Example:ID = 0x535, Data = 53 5A 03 00 00 00 54 31

  • 0x535 — CAN ID
  • 53 5A — message header
  • 03 — data length
  • 00 00 00 — height
  • 54 31 — checksum

06

Precautions

  • Adequate electrostatic protection must be observed during radar transportation, storage, operation, and handling. When handling a standalone, non-integrated module, note that electrostatic protection should begin as soon as the module is removed from its sealed anti-static packaging.
  • Do not touch or grasp the radar antenna surface or the connector pins; only touch the edges and corners. It is recommended to wear anti-static gloves whenever handling any radar sensor.
  • Do not wrap the antenna with metal foil or any partially metallic material; do not wrap the antenna with CFK sheets (which are conductive).
  • Do not spray the antenna structure with any kind of paint or varnish.
  • Do not allow plastic materials to come into direct contact with the antenna structure (a high dielectric constant affects the resonant frequency of the patch).
  • When installing the radar, ensure that the module faces vertically downward so as to guarantee accurate detection data.
  • When installing the radar, keep it away from electromagnetic interference sources such as motors and suspended metal housings.
  • When installing the radar, keep it away from other radars to avoid mutual interference between radars operating in the same frequency band.
Installation reminder
The antenna face must be completely unobstructed — nothing may be placed beneath the radar that could block or reflect the beam.

07

Frequently Asked Questions

Double-clicking RadarConfigTool.exe fails to open the software and a pop-up message appears.
Answer: The C++ runtime library is missing. Open the DirectX_Repair software, be sure to check the option to install C++ as well, and perform a one-click detection and repair. After the repair is complete, reopen the software, as shown in Figure 16.
DirectX repair software interface

Figure 16. DirectX_Repair software interface

The converter is plugged in, but the host debugging software does not show a COM port / CAN card.
Answer: Open Device Manager and check whether the corresponding CAN card is present or whether the corresponding port appears in the Ports list, then reinstall the driver, as shown in Figure 17.
Windows Device Manager interface

Figure 17. Device Manager interface

A port appears in Device Manager but cannot be opened in the host debugging software.
Answer: Check the prompt box at the bottom of the host debugging software. If it says “Access Denied”, another program is occupying the port or the debugger does not support the current baud rate — check for other software using the port and confirm the debugger model. If another message appears, unplug and reconnect the debugger, then close and reopen the debugging software and try again (Figure 18).
Host software Access Denied interface

Figure 18. Host software “Access Denied” interface

After opening the serial port, the software does not display the height and reading other parameters produces no response.
Answer: Check the status box in the lower-left corner. “Timeout” means there is no data on the serial port — open a serial-port debugging assistant or similar tool to directly check whether data is present on the port. If there is still no data, check the wiring and the radar power supply. “Online” means there is serial data but it cannot be parsed correctly — change the baud rate and reopen the serial port (Figure 19).
Host software Timeout interface

Figure 19. Host software “Timeout” interface

The serial port shows green (connected) in the lower-right corner, but the height value is 0 or does not change.
Answer: Click Read on the Detection Parameters to restore normal operation, as shown in Figure 20.
Host software parameter reading interface

Figure 20. Host software parameter reading interface

A1

Appendix 1 — CRC16 MODBUS Checksum

The following C implementation generates the CRC16 MODBUS checksum used by the protocol frames in Section 05.

void InvertUint16(unsigned short* dBuf, unsigned short* srcBuf)
{
    int i;
    unsigned short tmp[4];
    tmp[0] = 0;
    for (i = 0; i < 16; i++)
    {
        if (srcBuf[0] & (1 << i))
            tmp[0] |= 1 << (15 - i);
    }
    dBuf[0] = tmp[0];
}

unsigned short CRC16_MODBUS(u8* data, u8 datalen)
{
    unsigned short wCRCin = 0xFFFF;
    unsigned short wCPoly = 0x8005;
    int i = 0;
    InvertUint16(&wCPoly, &wCPoly);
    while (datalen--)
    {
        wCRCin ^= *(data++);
        for (i = 0; i < 8; i++)
        {
            if (wCRCin & 0x01)
                wCRCin = (wCRCin >> 1) ^ wCPoly;
            else
                wCRCin = wCRCin >> 1;
        }
    }
    return wCRCin;
}

✓

Setup Checklist

  • Radar mounted level beneath the UAV, antenna facing vertically downward, with a clear, unobstructed field of view.
  • Wiring correct for the chosen interface pair — RX/TX crossed where required and grounds tied together.
  • PX4: SENS_TFMINI_CFG set to the selected port (e.g. TELEM2) and TFMINI protocol; radar at 115200, 8, n, 1.
  • ArduPilot: SERIAL2_PROTOCOL = 9, SERIAL2_BAUD = 115200, RNGFND1_TYPE = 20, RNGFND1_ORIENT = 25, plus appropriate MIN / MAX CM values.
  • Live altitude verified in QGroundControl (DISTANCE_SENSOR) or Mission Planner (rangeFinder1).
With these steps completed, the H-1000 radar is ready to provide reliable height data for altitude hold on either PX4 or ArduPilot. For sensor-level configuration, always return to the host debugging software described in Section 04.