Skip to content

POSIX/Linux port of the official ST VL53L4CX API with Raspberry Pi support and examples.

License

Notifications You must be signed in to change notification settings

coderitter/vl53l4cx-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VL53L4CX Raspberry Pi / POSIX driver

This repository provides a minimalistic POSIX-compliant port of the official STMicroelectronics VL53L4CX API (v1.2.14) with Raspberry Pi support.

Quickstart

Clone the repo and build

git clone https://github.com/coderitter/vl53lx-pi.git
cd vl53lx-pi
make

Then you can run it using:

./build/vl53lx_example

Building as library

Clone the repo and build

git clone https://github.com/coderitter/vl53lx-pi.git
cd vl53lx-pi
make build/libvl53l4cx.a 

You can now build your own software by including the following paths:

  • Api/core/inc/
  • Api/platform/inc/

and linking against the library build/libvl53l4cx.a.

Refer to the example code ApiExample/vl53lx_example.c to see how to access the sensor.

GPIO support

GPIO handling (e.g. XSHUT pin control for multi-sensor setups) is currently not implemented in this repository.

If you are using only one VL53L4CX sensor, no GPIO code is required and the driver works without modification. GPIO support is only necessary when multiple sensors share the same I²C bus and need address reassignment.

Commercial support & hardware

This project is maintained by Coderitter, a company specializing in AIoT devices for industrial monitoring.

We design and manufacture complete edge devices equipped with up to five VL53L4CX sensors, capable of processing sensor data locally or streaming it to a server.

If you are interested in a production-ready solution or custom hardware, see: https://www.coderitter.io/smart-sensor-hub

About

POSIX/Linux port of the official ST VL53L4CX API with Raspberry Pi support and examples.

Resources

License

Stars

Watchers

Forks

Packages

No packages published