obniz Parts Library

VL53L0X

GitHub
VL53L0X
Usable Devices :
obniz_board
Found at :
秋月電子通商

VL53L0X

laser distance sensor VL53L0X.
It measure 30mm~2000mm.

wired(obniz, {[scl, sda, i2c]})

connect to the obniz Board.

Prepare power source for this sensor.

name type required default description
scl number(obniz Board io) no   scl of I2C
sda number(obniz Board io) no   sda of I2C
i2c object no   obniz i2c object
// JavaScript Examples
var sensor = obniz.wired("VL53L0X", {scl:26, sda:0});
var distance = await sensor.getWait();
console.log(distance);

[await] getWait()

get the distance(mm) once.

// JavaScript Examples
var sensor = obniz.wired("VL53L0X", {scl:26, sda:0});
var distance = await sensor.getWait();
console.log(distance);

Supported from: obniz.js 3.5.0

You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers

Forum

Visit our developer’s forum to discuss and discover technologies.

Forum

Contact

Feel free to contact out support and technical team.

Contact us