SparkNavi Documentation

VL53L1X Distance Sensor Setup

VL53L1X is an STMicroelectronics I2C ToF (Time-of-Flight) laser rangefinder with a 4-meter effective range. Common applications include precision landing assistance.

Hardware Wiring#

Connect VL53L1 to the I2C external port on SparkNavi Blue:

PinSignalVL53L1X
1+5VVCC
2I2C2_SCLSCL
3I2C2_SDASDA
4GNDGND
VL53L1X module connected to SparkNavi Blue's I2C external port

ArduPilot Parameters#

In Mission Planner Config → Full Parameter List:

ParameterValueDescription
RNGFND2_TYPE16 (VL53L1X)Rangefinder type
RNGFND2_ADDR41I2C address (0x29 = 41, VL53L1X default)
RNGFND2_MIN_CM5Minimum range
RNGFND2_MAX_CM1200Maximum range
RNGFND2_ORIENT25 (Downward)Pointing down
RNGFND2_GNDCLEAR10Mounting height above ground (cm)
RNGFND2 parameters

Why RNGFND2 Instead of RNGFND1#

If you already use the MTF-01 optical flow as the primary rangefinder (RNGFND1), VL53L1X works as a secondary rangefinder (RNGFND2) for precision landing or redundancy.

If using only VL53L1X without optical flow, set RNGFND1_TYPE = 16 instead.

Verification#

After reboot, sonarrange2 (or sonarrange depending on RNGFND number) should appear live in Mission Planner Status.

Move the module from a few centimeters to a meter or more away — the value should respond.

Further Reading#