Skip to content

Commit f22cd0a

Browse files
Add documentation for LightWare GRF250/500
1 parent 2dc2d73 commit f22cd0a

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
.. _common-lightware-grf250-lidar:
2+
3+
==========================
4+
LightWare GRF250 / GRF500
5+
==========================
6+
7+
The `LightWare GRF250 <https://lightwarelidar.com/shop/grf-250/>`__ and `GRF500 <https://lightwarelidar.com/shop/grf-500/>`__ are long-range lidar-based rangefinders.
8+
Both models support serial (UART) communication and provide accurate distance and signal-strength data at configurable update rates.
9+
10+
- GRF250: 0.2 m – 250 m range
11+
- GRF500: 0.2 m – 500 m range
12+
13+
.. image:: ../../../images/lightware-grf250.png
14+
:width: 450px
15+
16+
.. note::
17+
18+
Support for the LightWare GRF250 and GRF500 sensors was added in ArduPilot 4.7 and later.
19+
20+
Serial Connection
21+
-----------------
22+
23+
The GRF sensors communicate via UART using 3.3 V or 5 V logic levels.
24+
Connect the TX of the Lidar to the RX of the autopilot UART port, and the RX of the Lidar to the TX of the same port.
25+
Also connect GND and 5 V to power the sensor.
26+
27+
.. image:: ../../../images/lightware-grf250-wiring.png
28+
:width: 600px
29+
30+
Example (SERIAL4):
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
33+
If the GRF is connected to the SERIAL4/5 port and it is the first rangefinder:
34+
35+
- :ref:`SERIAL4_PROTOCOL <SERIAL4_PROTOCOL>` = 9 (Lidar)
36+
- :ref:`SERIAL4_BAUD <SERIAL4_BAUD>` = 115 (115200 baud)
37+
- :ref:`RNGFND1_TYPE <RNGFND1_TYPE>` = 45 (LightWareGRF)
38+
- :ref:`RNGFND1_SCALING <RNGFND1_SCALING>` = 1
39+
- :ref:`RNGFND1_MIN <RNGFND1_MIN>` = 0.2
40+
- :ref:`RNGFND1_MAX <RNGFND1_MAX>` = 250 *(for GRF250)* or 500 *(for GRF500)*
41+
42+
If instead you are using the Telem2 port, set :ref:`SERIAL2_PROTOCOL <SERIAL2_PROTOCOL>` = 9 and :ref:`SERIAL2_BAUD <SERIAL2_BAUD>` = 115.
43+
44+
Power note:
45+
The GRF sensors can draw higher current than typical serial peripherals.
46+
Check your flight controller’s 5 V peripheral rail limits — an external 5 V supply may be required.
47+
48+
Additional GRF-specific Parameters
49+
----------------------------------
50+
51+
When :ref:`RNGFNDx_TYPE <RNGFND1_TYPE>` is set to 45 (LightWareGRF) and the autopilot is rebooted, the following additional parameters become available:
52+
53+
- :ref:`RNGFNDx_GRF_RET <RNGFND1_GRF_RET>`: Selects which return type to use (0: FirstRaw, 1: FirstFiltered, 2: LastRaw, 3: LastFiltered).
54+
- :ref:`RNGFNDx_GRF_ST <RNGFND1_GRF_ST>`: Sets the minimum acceptable return signal strength in dB. Returns weaker than this value are ignored (0 disables filtering).
55+
- :ref:`RNGFNDx_GRF_RATE <RNGFND1_GRF_RATE>`: Sets the sensor update rate in Hz. GRF250 supports 1–50 readings per second, while GRF500 supports 0.5–10 readings per second.
56+
57+
Testing the Sensor
58+
------------------
59+
60+
You can view the live distance readings in Mission Planner → Flight Data → Status tab, under the field named “rangefinder1” (or `rangefinder2` / 3 for additional sensors).
61+
62+
.. image:: ../../../images/mp_rangefinder_lidarlite_testing.jpg
63+
:target: ../_images/mp_rangefinder_lidarlite_testing.jpg
64+
65+
If values remain at zero, verify serial wiring, baud rate, and power supply.
66+

common/source/docs/common-rangefinder-landingpage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Unidirectional Rangefinders
7878
LightWare SF10 / SF11 Lidar <common-lightware-sf10-lidar>
7979
LightWare SF20 / LW20 Lidar <common-lightware-lw20-lidar>
8080
Lightware SF02 Lidar <common-rangefinder-sf02>
81+
LightWare GRF250 / GRF500 Lidar <common-lightware-grf250-lidar>
8182
Maxbotix I2C Sonar <common-rangefinder-maxbotixi2c>
8283
Maxbotix Analog Sonar <common-rangefinder-maxbotix-analog>
8384
Nanoradar NRA24 <common-rangefinder-nra24>

images/lightware-grf250-wiring.png

539 KB
Loading

images/lightware-grf250.png

799 KB
Loading

0 commit comments

Comments
 (0)