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
Posts: 454
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall


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()
>>> 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
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 ??

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?

Posts: 1
Joined: Tue Apr 21, 2020 3:15 pm

Re: VL53L1X

Post by Stino » Fri Apr 24, 2020 10:40 am


I also got stuck with the same errors.
Any luck on omitting them?

The i2c bus scan on my side reveals no issues or faulty data.
Clueless at the moment...

Kindest regards,


Post Reply