VL53L1X

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
devnull
Posts: 451
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

VL53L1X

Post by devnull » Mon Jul 02, 2018 6:25 pm

Just wondered whether anyone has succeeded in writing a driver for this mini lidar ?

I have tried the code written by deshipu for the VL53L0X which starts but fails at getting spad_info:

Code: Select all

>>> from machine import Pin, I2C
>>> i2c = I2C(scl=Pin(5), sda=Pin(4), freq=400000)
>>> i2c.scan()
[41]
>>> from vl53l0x import VL53L0X
>>> v = VL53L0X(i2c)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/vl53l0x.py", line 36, in __init__
  File "/lib/vl53l0x.py", line 96, in init
  File "/lib/vl53l0x.py", line 252, in _spad_info
TimeoutError: 
I don't have my logic analyser with me so I can't debug the signals, but are hoping that someone else may have already done this ??

Alvinmb
Posts: 1
Joined: Thu Jan 16, 2014 11:04 pm

Re: VL53L1X

Post by Alvinmb » Sat Mar 21, 2020 11:50 am

Did you find solution or cause for the spad_info error?

Post Reply