I have connected the VLX531X distance sensor to my Pico W as follows :
Pico Pin 1 (SDA) to VLX531X Pin SDA
Pico Pin 2 (SCL) to VLX531X Pin SCL
Pico Pin 36 (3V3 Out) to VLX531X Pin VSS (3.3Volt)
Pico Pin 38 ( Gnd) to VLX531X Pin Gnd
I am using the 3 files as defined in the YouTube tutorial. ( https://www.youtube.com/watch?v=Ly0Ga2yK_d0&t=1s) but not using the expansion board as shown
I have checked with other software that the distance sensor is at address 0x29
I am getting the following error when I run the main.py file
MPY: soft reboot
Traceback (most recent call last):
File “”, line 4, in
File “PiicoDev_VL53L1X.py”, line 112, in init
File “PiicoDev_VL53L1X.py”, line 136, in reset
File “PiicoDev_VL53L1X.py”, line 125, in writeReg
OSError: [Errno 5] EIO
How does the software determine on what I2C channel the sensor is connected?
Please assist what could cause this error.