Component guide · Intermediate · 3 min read
LightWare microLiDAR

SF000, SF23, LW20, SF20, SF30, SF45 Scanning) and GRF-250 / GRF-500 Rangefinders
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
LightWare makes rugged laser rangefinders for drones and robots. The SF000 and SF23 reach 50 m, the LW20 and SF20 100 m, the SF30/D 200 m, and the GRF-250 and GRF-500 250 and 500 m. The SF45/B scans side to side through 320 degrees for obstacle avoidance. They offer UART, I2C and USB, and are supported directly by ArduPilot and PX4.
Key specs at a glance
- Range
- 50 m (SF000, SF23, SF45), 100 m (LW20, SF20, SF30/C), 200 m (SF30/D), 250 to 500 m (GRF)
- Rate
- Up to 20,000 readings per second (SF30)
- Interface
- UART, I2C, USB by model
- Supply
- About 4.5 to 5.5 V
- Protection
- IP67 on LW20
- Laser
- Class 1 eye-safe
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1LightWare SF000/B (50m) microLiDAR – Serial UART & I2C Interface₹38,719
Option 2LightWare SF23/B MicroLiDAR Sensor (50 m Range) – Serial UART Interface₹23,509
Option 3LightWare LW20/C (100 m) MicroLiDAR – Serial UART & I2C Interface, IP67₹41,509
Option 4LightWare SF20/C R19.1 microLiDAR Distance Sensor (100 m Range) – Serial, I2C, USB₹30,939
Option 5LightWare SF30/C (100 m) MicroLiDAR Single-Beam Distance Sensor – USB/UART Interface₹40,029
Option 6LightWare SF30/D (200 m) microLiDAR – USB/UART/I2C Interface, Open Frame₹44,719
What the LightWare microLiDAR and rangefinders is
LightWare microLiDAR sensors such as the LW20 and SF20 are small laser rangefinders for drones and robots, measuring up to 100 m over I2C, serial or PWM.
Use the LightWare Studio app over USB to set the interface, update rate and output filtering before installing.
The SF45 sends angle and distance pairs; ArduPilot uses it as a proximity sensor for obstacle avoidance.
LightWare microLiDAR and rangefinders pinout
The pins on the LightWare microLiDAR and rangefinders and what each one does.
| Pin | Function |
|---|---|
| 5 V, GND | Power |
| TX, RX | Serial |
| SDA, SCL | I2C |
| USB | Configuration |
- 5 V, GND
- Power
- TX, RX
- Serial
- SDA, SCL
- I2C
- USB
- Configuration
Wiring the LightWare microLiDAR and rangefinders
Connect the LightWare microLiDAR and rangefinders like this.
| LightWare microLiDAR and rangefinders pin | Arduino Uno | Flight controller |
|---|---|---|
| 5 V | 5 V | Flight controller 5 V |
| GND | GND | GND |
| TX / RX | D10 / D11 | Telem or serial port |
| SDA / SCL | A4 / A5 | I2C port |
- 5 V
- Arduino Uno:
- 5 V
- Flight controller:
- Flight controller 5 V
- GND
- Arduino Uno:
- GND
- Flight controller:
- GND
- TX / RX
- Arduino Uno:
- D10 / D11
- Flight controller:
- Telem or serial port
- SDA / SCL
- Arduino Uno:
- A4 / A5
- Flight controller:
- I2C port
Example code
A minimal sketch to check the part works.
SERIALx_PROTOCOL = 9 (Rangefinder)
SERIALx_BAUD = 115 (115200)
RNGFND1_TYPE = 8 (LightWare serial)
RNGFND1_MIN_CM = 20
RNGFND1_MAX_CM = 10000 (set to your model)
RNGFND1_ORIENT = 25 (down)
Reboot and check the distance in the Mission Planner status tab.Setup and tuning
use serial or I2C to ArduPilot or a microcontroller.
set RNGFND1_TYPE for LightWare and the matching serial or I2C port.
feed 5 V at the stated current.
aim straight down for altitude, or forward for obstacle avoidance.
they are Class 1 eye-safe.
What you need
Shop this list13 of 13 found in our store · ₹3,97,422
LightWare SF000/B (50m) microLiDAR – Serial UART & I2C Interface: the part this guide coversLightWare SF000/B (50m) microLiDAR – Serial UART & I2C Interface₹38,719
LightWare SF23/B MicroLiDAR Sensor (50 m Range) – Serial UART Interface: another version this guide coversLightWare SF23/B MicroLiDAR Sensor (50 m Range) – Serial UART Interface₹23,509
LightWare LW20/C (100 m) MicroLiDAR – Serial UART & I2C Interface, IP67: another version this guide coversLightWare LW20/C (100 m) MicroLiDAR – Serial UART & I2C Interface, IP67₹41,509
LightWare SF20/C R19.1 microLiDAR Distance Sensor (100 m Range) – Serial, I2C, USB: another version this guide coversLightWare SF20/C R19.1 microLiDAR Distance Sensor (100 m Range) – Serial, I2C, USB₹30,939
LightWare SF30/C (100 m) MicroLiDAR Single-Beam Distance Sensor – USB/UART Interface: another version this guide coversLightWare SF30/C (100 m) MicroLiDAR Single-Beam Distance Sensor – USB/UART Interface₹40,029
LightWare SF30/D (200 m) microLiDAR – USB/UART/I2C Interface, Open Frame: another version this guide coversLightWare SF30/D (200 m) microLiDAR – USB/UART/I2C Interface, Open Frame₹44,719
LightWare SF45/B (50 m) Scanning microLiDAR Sensor – USB/UART/I2C Interface, 350mm Cable: another version this guide coversLightWare SF45/B (50 m) Scanning microLiDAR Sensor – USB/UART/I2C Interface, 350mm Cable₹56,469
LightWare LiDAR GRF-250 (250 m) – USB/UART/I2C Interface: another version this guide coversLightWare LiDAR GRF-250 (250 m) – USB/UART/I2C Interface₹47,779
LightWare GRF-500 500m Laser Rangefinder – USB/UART/I2C Interface: another version this guide coversLightWare GRF-500 500m Laser Rangefinder – USB/UART/I2C Interface₹48,189
Holybro Pixhawk 6C flight controller: to use it on a drone or roverHolybro Pixhawk 6C Mini Flight Controller₹21,938Closest match, check the specs
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
Benewake TFmini-S micro LiDAR: the popular 12 m micro LiDARBenewake TFMini Micro LiDAR Distance Sensor 0.3–12m – UART Interface₹3,149Closest match, check the specs
Alternatives and when to choose them
- Benewake TF02 and TF03: similar ranges, lower cost.
- Garmin LIDAR-Lite: 40 m I2C.
- LiDAR distance sensors: overview.
Common mistakes to avoid
- Wrong rangefinder type in ArduPilot.
- Mounting tilted.
- Blocking the lens.
- Not filtering readings over vegetation.
Frequently asked questions
How far can LightWare microLiDARs measure?
Up to about 100 m on bright targets, depending on the model; dark or angled surfaces give less.
Can I use it as a drone altimeter?
Yes, set it as a rangefinder in ArduPilot.
Why are readings jumpy over grass?
Tall grass and crops scatter the beam, so readings jump; add filtering or fly higher.
Is the laser eye-safe?
Yes. LightWare microLiDARs are Class 1 lasers, safe under normal use.
Can it work in sunlight?
Yes, they work in daylight, but maximum range drops in bright sun on dark targets.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


