VL53L0X is a device that can measure the distance to a surface by detecting a reflected light pulse, LIDAR. It is an I2C standard module that is supported by expeyes.
We are using this LIDAR to measure the distance to a mass suspended on a spring. The experiment setup is shown in the figure below.
The distance is measured as a function of time and the frequency of oscillations is found out by fitting the data with sine function. The screenshot on the left shows the connection diagram and graph of distance versus time to a fixed surface.
The screenshot on the right shows the recording of data of a mass-spring system. The analysis gives the frequency of osillation is 1.4 Hz, the mass used is of 75 grams.