Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Demonstration of the SparkFun VL53L1X Distance Sensor

License

Notifications You must be signed in to change notification settings

christianrickert/SparkFun-VL53L1X

Repository files navigation

SparkFun-DistanceSensorVL53L1X

Demonstration of the SparkFun VL53L1X Distance Sensor

Screenshot of the graphical user interface

Hardware

Communication

The connection between the RedBoard and the graphical user interface is realized via virtual COM drivers from FTDI. The communication is implemented through a custom serial port handshake, i.e. the RedBoard will not record or transmit new data before the previous transmission has been confirmed by the graphical user interface.

Averaging

The sketch contains a basic Java-class for a circular buffer that can be used as a template for other projects. Previous sensor values are averaged with the help of the circular buffer to calculate the moving average.