Esp32 with VL53l1X

alinafloarei1994
Posts: 1
Joined: Sun May 14, 2023 11:52 pm

Esp32 with VL53l1X

Postby alinafloarei1994 » Tue May 16, 2023 6:05 am

Hi

I am using Adafruit library to connect VL53L1x to an ESP32

After connecting the sensor to the ESP32 I upload the library with no error message, but I can't get any measurements.

I am connecting the SDA to GPO21 and the SCL to GPO22 and of course the V5 and the GND

I can't figure out what is wrong. Do I have to declare the IC2 different in your library?

Can you please give me some advise. I am using arduino IDE

32ESP32
Posts: 1
Joined: Mon Nov 27, 2023 12:29 pm

Re: Esp32 with VL53l1X

Postby 32ESP32 » Wed Jan 24, 2024 9:08 am

1. Use scanner program to find address ( and you check if VL53 connected )
2. If nothing - problem with cable or VL53 ( one my VL53 worked OK but letter stopped for ever ) - check other VL53
( connect something else to test SDA,SCL )
3. Put in program new, detected address.
4. for test use only +, -, SDA,SCL - two others not connected

Who is online

Users browsing this forum: Google [Bot] and 125 guests