VL53L5CX Set Address

Materials

Example

Introduction

This example shows how to use the SparkFun VL53L5CX Time-of-Flight sensor on AMB82 Mini and how to set a custom address for VL53L5CX.

Procedure

Connect the VL53L5CX to I2C_SDA and I2C_SCL of the board as shown in the diagram below.

image01

Open the example in “File” -> “Examples” -> “AmebaWire” -> “VL53L5CX” -> “SetAddress”.

image02

Compile and run the example.

Press any key and the address will be changed to the new custom address 0x44.

image03