https://github.com/stm32duino/vl53l4cd
Arduino library to support the VL53L4CD Time-of-Flight high accuracy proximity sensor
https://github.com/stm32duino/vl53l4cd
Last synced: 4 months ago
JSON representation
Arduino library to support the VL53L4CD Time-of-Flight high accuracy proximity sensor
- Host: GitHub
- URL: https://github.com/stm32duino/vl53l4cd
- Owner: stm32duino
- License: bsd-3-clause
- Created: 2022-01-03T08:45:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-31T12:16:17.000Z (6 months ago)
- Last Synced: 2024-10-31T13:22:22.625Z (6 months ago)
- Language: C++
- Homepage:
- Size: 49.8 KB
- Stars: 5
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# VL53L4CD
Arduino library to support the VL53L4CD Time-of-Flight ranging sensor.## API
This sensor uses I2C to communicate. And I2C instance is required to access to the sensor.
The APIs provide simple distance measure in both polling and interrupt modes.## Examples
There are 2 examples with the VL53L4CD library.
In order to use these examples you need to connect the VL53L4CD satellite sensor directly to the Nucleo board with wires as explained below:
- pin 1 (GND) of the VL53L4CD satellite connected to GND of the Nucleo board
- pin 2 (VDD) of the VL53L4CD satellite connected to 3V3 pin of the Nucleo board
- pin 3 (SCL) of the VL53L4CD satellite connected to pin D15 (SCL) of the Nucleo board
- pin 4 (SDA) of the VL53L4CD satellite connected to pin D14 (SDA) of the Nucleo board
- pin 5 (GPIO1) of the VL53L4CD satellite connected to pin A2 of the Nucleo board
- pin 6 (XSHUT) of the VL53L4CD satellite connected to pin A1 of the Nucleo board* VL53L4CD_Sat_HelloWorld: This example code is to show how to get proximity
values of the VL53L4CD satellite sensor in polling mode.* VL53L4CD_Sat_HelloWorld_Interrupt: This example code is to show how to get proximity
values of the VL53L4CD satellite sensor in interrupt mode.## Documentation
You can find the source files at
https://github.com/stm32duino/VL53L4CDThe VL53L4CD datasheet is available at
https://www.st.com/content/st_com/en/products/imaging-and-photonics-solutions/proximity-sensors/vl53l4cd.html