Component guide · Intermediate · 3 min read
Garmin LIDAR-Lite v3 and LIDAR-Lite v4 LED Distance Sensors

Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The Garmin LIDAR-Lite v3 is a laser distance sensor that reaches 40 m at up to 500 readings a second over I2C or PWM. The LIDAR-Lite v4 LED uses an infrared LED instead of a laser, reaches about 10 m, and adds a Qwiic connector and an on-board nRF52840 that can be programmed. Both sit at I2C address 0x62 and run on 5 V.
Key specs at a glance
- Range
- 5 cm to 40 m (v3), up to 10 m (v4 LED)
- Accuracy
- About plus or minus 2.5 cm beyond 1 m
- Interface
- I2C 0x62 and PWM (v3), I2C Qwiic (v4)
- Supply
- 4.75 to 5.5 V, peak current up to 135 mA (v3)
- Rate
- Up to 500 Hz (v3), 200 Hz (v4)
- Laser
- 905 nm Class 1 (v3), LED (v4)
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
What the Garmin LIDAR-Lite v3 and v4 is
The Garmin LIDAR-Lite v3 and v4 are laser distance sensors that measure up to 40 m over I2C or PWM, used on drones, robots and level gauges.
The v3 draws current in sharp pulses: place a 680 uF capacitor across its power wires or readings and the microcontroller can reset.
The I2C pins on the v3 are 3.3 V tolerant but have no pull-ups; the Arduino ones are usually enough on short wires.
Garmin LIDAR-Lite v3 and v4 pinout
The pins on the Garmin LIDAR-Lite v3 and v4 and what each one does.
| Pin | Function |
|---|---|
| Red | 5 V |
| Black | GND |
| Green | SCL |
| Blue | SDA |
| Yellow | Mode / PWM |
| Orange | Power enable |
- Red
- 5 V
- Black
- GND
- Green
- SCL
- Blue
- SDA
- Yellow
- Mode / PWM
- Orange
- Power enable
Wiring the Garmin LIDAR-Lite v3 and v4
Connect the Garmin LIDAR-Lite v3 and v4 like this.
| Garmin LIDAR-Lite v3 and v4 pin | Arduino Uno | ESP32 |
|---|---|---|
| Red | 5 V with 680 uF to GND | 5 V with 680 uF to GND |
| Black | GND | GND |
| Blue (SDA) | A4 | GPIO 21 |
| Green (SCL) | A5 | GPIO 22 |
- Red
- Arduino Uno:
- 5 V with 680 uF to GND
- ESP32:
- 5 V with 680 uF to GND
- Black
- Arduino Uno:
- GND
- ESP32:
- GND
- Blue (SDA)
- Arduino Uno:
- A4
- ESP32:
- GPIO 21
- Green (SCL)
- Arduino Uno:
- A5
- ESP32:
- GPIO 22
Example code
A minimal sketch to check the part works.
#include <Wire.h>
const uint8_t ADDR = 0x62;
int readCm() {
Wire.beginTransmission(ADDR); Wire.write(0x00); Wire.write(0x04); Wire.endTransmission();
delay(20); // wait for the measurement
Wire.beginTransmission(ADDR); Wire.write(0x8F); Wire.endTransmission(false);
Wire.requestFrom(ADDR, (uint8_t)2);
return (Wire.read() << 8) | Wire.read();
}
void setup() { Serial.begin(115200); Wire.begin(); }
void loop() { Serial.print(readCm()); Serial.println(" cm"); delay(50); }Setup and tuning
feed 5 V with a 680 µF capacitor close to the sensor; it draws current peaks during each shot.
use I2C (address 0x62) with the Garmin library, or the PWM output on v3.
the v3 I2C is 3.3 V-friendly; check the v4 datasheet before wiring to 5 V boards.
accuracy is about ±2.5 cm beyond 1 m; close range is less accurate.
it is Class 1, but avoid staring into the lens.
What you need
Shop this list5 of 6 found in our store · ₹83,695
Garmin LIDAR-Lite v3 Optical LiDAR Distance Sensor, Range: 5 cm~40 m – I2C/PWM Interface: the part this guide coversGarmin LIDAR-Lite v3 Optical LiDAR Distance Sensor, Range: 5 cm~40 m – I2C/PWM Interface₹43,509
Garmin LIDAR-Lite v4 LED Distance Measurement Sensor (Qwiic): another version this guide coversGarmin LIDAR-Lite v4 LED Distance Measurement Sensor (Qwiic)₹15,530- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Holybro Pixhawk 6C flight controller: to use it on a drone or roverHolybro Pixhawk 6C Mini Flight Controller₹21,938Closest match, check the specs
Benewake TF-Luna micro LiDAR (0.2 to 8 m): a low-cost LiDAR alternativeBenewake TF-LUNA Micro LiDAR Distance Sensor (Range: 0.2m~8m) – UART/I2C Interface₹2,329Closest match, check the specs
Alternatives and when to choose them
- Benewake TF-Luna: cheaper 8 m LiDAR.
- LightWare microLiDAR: rugged drone LiDAR.
- VL53L1X: small 4 m ToF.
Common mistakes to avoid
- Leaving out the bulk capacitor.
- Using long thin power wires.
- Expecting accurate readings under 1 m.
- Aiming at glass or water and trusting the result.
Frequently asked questions
How far can the LIDAR-Lite measure?
Up to about 40 m on good targets, less on dark or angled surfaces.
Why do I get resets or bad readings?
The supply dips during each shot; add the 680 µF capacitor and short wires.
Which interface should I use?
I2C with the Garmin library is easiest; PWM is simple for timing-based reads.
Is the laser safe for eyes?
It is Class 1 eye-safe, but do not stare into it.
Can it work outdoors in sunlight?
Yes, though range drops in very bright sun.
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.


