# @yamagame-org/raspi-vl53l0x

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

Latest version **1.2.2** (published 2019-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @yamagame-org/raspi-vl53l0x
pnpm add @yamagame-org/raspi-vl53l0x
yarn add @yamagame-org/raspi-vl53l0x
bun add @yamagame-org/raspi-vl53l0x
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2019-11-18 |
| First published | 2019-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 36.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yamaguchi Hiromitsu |
| Maintainers | yamagame |

## Links

- npm: https://www.npmjs.com/package/@yamagame-org/raspi-vl53l0x
- Repository: https://github.com/yamagame/raspi-VL53L0X
- Homepage: https://github.com/yamagame/raspi-VL53L0X#readme
- Issues: https://github.com/yamagame/raspi-VL53L0X/issues
- npm.io page: https://npm.io/package/@yamagame-org/raspi-vl53l0x

## Dependencies (1)

- [raspi-i2c](https://npm.io/package/raspi-i2c.md) ^6.2.4

## Recent versions

- 1.2.2 (latest) — 2019-11-18
- 1.2.1 — 2019-11-16
- 1.2.0 — 2019-11-16

## README

# 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](https://www.pololu.com/product/2490). The library makes it simple to configure the sensor and read range data from it via I&sup2;C.

This module is based on [VL53L0X library for Arduino](https://github.com/pololu/vl53l0x-arduino).

## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/).

Before installing, [download and install Node.js](https://nodejs.org/en/download/).
Node.js 6.0.0 or higher is required.

Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ 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.

- [continuous.js](./examples/continuous.js)
- [single.js](./examples/single.js)

---
_Source: https://npm.io/package/@yamagame-org/raspi-vl53l0x · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
