Distance Measurement with light pulses

Measure distances with the VL53L0X LIDAR I2C sensor

Brief Summary
ExpEYES allows you to plug and play a range of I2C sensors, and the VL53L0X is one such supported sensor. It measures the distance to any reflective object by using light pulses and measuring the round trip time.
June 10, 2020
Jithin B.P.

Quick Start

Plug the sensor to the I2C port by connecting 5V, GND , SCL, and SDA pins. Then, from the general purpose sensors app, scan and start recording values. The data logger can be used to measure variations in the distance , and extract parameters from periodic oscillations.

The screenshot below shows the sensor pointed at an oscillating object, and the oscillations are measured in millimeter units. The X-Axis records time relative to the latest recorded point. This data can be analysed to extract frequency, amplitude, and damping coefficients.

Advantages over SR04 echo sensor

The SR04 uses sound pulses, and therefore requires a flat surface on the measurement surface facing it so that the reflected sound pulses are returned back to the sensor. This makes it difficult to use in traditional experiments such as pendulums with spherical bobs. The VL53L0X only needs an optically reflecting surface .

TODO

python code.