1.2.2 • Published 4 years ago

@yamagame-org/raspi-vl53l0x v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

VL53L0X Node module on Raspberry Pi

This project provides a simplified node module on Raspberry Pi to the ST VL53L0X API (ST Microelectronics).

Summary

This is a module for Node that helps interface with ST's VL53L0X time-of-flight distance sensor. The library makes it simple to configure the sensor and read range data from it via I²C.

This module is based on VL53L0X library for Arduino.

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 6.0.0 or higher is required.

Installation is done using the npm install command:

$ npm install @yamagame-org/raspi-vl53l0x

Hardware

Make the following connections between the Raspberry Pi and the VL53L0X board:

Raspbarry Pi   VL53L0X board
------------   -------------
          5V - VIN
         GND - GND
         SDA - SDA
         SCL - SCL

Examples

Several examples are available that show how to use the library.