https://github.com/stm32duino/x-nucleo-53l1a1
Arduino library to support the X-NUCLEO-53L1A1 based on VL53L1X Time-of-Flight and gesture-detection sensor
https://github.com/stm32duino/x-nucleo-53l1a1
Last synced: 4 months ago
JSON representation
Arduino library to support the X-NUCLEO-53L1A1 based on VL53L1X Time-of-Flight and gesture-detection sensor
- Host: GitHub
- URL: https://github.com/stm32duino/x-nucleo-53l1a1
- Owner: stm32duino
- License: bsd-3-clause
- Created: 2018-12-05T12:34:11.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-10-05T15:53:37.000Z (over 3 years ago)
- Last Synced: 2023-02-26T16:01:25.756Z (about 2 years ago)
- Language: C++
- Size: 38.1 KB
- Stars: 7
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# X-NUCLEO-53L1A1
Arduino library to support the X-NUCLEO-53L1A1 based on VL53L1X Time-of-Flight and gesture-detection sensor
This sensor uses I2C to communicate. An I2C instance is required to access to the sensor.
The APIs provide simple distance measure in both polling and interrupt mode, single swipe gesture detection,
directional (left/right) swipe gesture detection and single tap gesture detection.## Examples
There are 5 examples with the X-NUCLEO-53L1A1 library.
* X_NUCLEO_53L1A1_HelloWorld: This example code is to show how to get proximity
values of the onboard VL53L1X sensor and eventually of the two satellites with polling.* X_NUCLEO_53L1A1_HelloWorld_Interrupt: This example code is to show how to get proximity
values of the onboard VL53L1X sensor with interrupts.* X_NUCLEO_53L1A1_Gesture_DirSwipe: This example code is to show how to combine the
proximity values of the two VL53L1X sensor satellites together with the gesture library
in order to detect a directional swipe gesture.* X_NUCLEO_53L1A1_Gesture_Swipe1: This example code is to show how to combine the
proximity value of the onboard VL53L1X sensor together with the gesture library
in order to detect a simple swipe gesture without considering the direction.* X_NUCLEO_53L1A1_Gesture_Tap1: This example code is to show how to combine the
proximity value of the onboard VL53L1X sensor together with the gesture
library in order to detect a simple tap gesture.* X_NUCLEO_53L1A1_People_Counting: This example code is to show how to use the
proximity value of the onboard VL53L1X sensor in order to count people entering
and exiting from a door.## Dependencies
This package requires the following Arduino libraries:
* STM32duino VL53L1X: https://github.com/stm32duino/VL53L1X
* STM32duino Proximity Gesture: https://github.com/stm32duino/Proximity_Gesture
## NoteThe maximum detection distance is influenced by the color of the target and
the indoor or outdoor situation due to absence or presence of external
infrared.
The detection range can be comprise between ~40cm and ~400cm. (see chapter 3 of
the VL53L1X datasheet).## Documentation
You can find the source files at
https://github.com/stm32duino/X-NUCLEO-53L1A1The VL53L1X datasheet is available at
https://www.st.com/content/st_com/en/products/imaging-and-photonics-solutions/proximity-sensors/vl53l1x.html