https://github.com/christianrickert/SparkFun-VL53L1X
Demonstration of the SparkFun VL53L1X Distance Sensor
https://github.com/christianrickert/SparkFun-VL53L1X
circular-buffer distance handshake sensor serial-communication sparkfun vl53l1x
Last synced: about 1 year ago
JSON representation
Demonstration of the SparkFun VL53L1X Distance Sensor
- Host: GitHub
- URL: https://github.com/christianrickert/SparkFun-VL53L1X
- Owner: christianrickert
- License: gpl-2.0
- Archived: true
- Created: 2018-09-09T05:01:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-17T01:05:35.000Z (over 7 years ago)
- Last Synced: 2024-07-29T18:44:06.746Z (almost 2 years ago)
- Topics: circular-buffer, distance, handshake, sensor, serial-communication, sparkfun, vl53l1x
- Language: Processing
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SparkFun-DistanceSensorVL53L1X
Demonstration of the SparkFun VL53L1X Distance Sensor

## Hardware
* [SparkFun RedBoard - Programmed with Arduino](https://www.sparkfun.com/products/13975)
* [SparkFun Qwiic Shield for Arduino](https://www.sparkfun.com/products/14352)
* [SparkFun Distance Sensor Breakout - 4 Meter, VL53L1X (Qwiic)](https://www.sparkfun.com/products/14722)
## Communication
The connection between the RedBoard and the graphical user interface is realized via virtual COM drivers from [FTDI](http://www.ftdichip.com/Drivers/VCP.htm). 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.