+ Post New Thread
Results 1 to 6 of 6
  1. #1
    Advanced Member level 3
    Points: 4,912, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    904
    Helped
    156 / 156
    Points
    4,912
    Level
    16

    VL53L0X distance measurement chip

    Does anyone have proper data how to program this chip ?
    The specs of this new IC are great, but almost impossible to use for general use since there is virtually zero documentation.

    I need code which will fairly reliably measure distances upto 5 feet using this chip. Can anyone help ?

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 27,297, Level: 40
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,165
    Helped
    1029 / 1029
    Points
    27,297
    Level
    40
    Blog Entries
    5

    Re: VL53L0X distance measurement chip

    I need code
    Did you even have made a search on GitHub ?
    There are a lot of examples there.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )



    •   AltAdvertisment

        
       

  3. #3
    Advanced Member level 3
    Points: 4,912, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    904
    Helped
    156 / 156
    Points
    4,912
    Level
    16

    Re: VL53L0X distance measurement chip

    Yes Andre. I have seen lots of code on github. But it is all very obscure and badly documented. Also it all refers to libraries which I cannot directly use.
    Please try not to be so condescending. If you have any actual inputs then please provide. Otherwise stay off this thread. Thanks.

    I already have a system up and working, but require more details for improving the operations. Especially for longer range work up to around 5-6 feet.



    •   AltAdvertisment

        
       

  4. #4
    Super Moderator
    Points: 61,770, Level: 60
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    12,595
    Helped
    2920 / 2920
    Points
    61,770
    Level
    60

    Re: VL53L0X distance measurement chip

    Hi,

    It's not Andre's fault that the code is not well documented.
    And as long as you don't write what effort you did so far and what results you experienced .... I think it's helpful to give ideas where to look for code.

    Klaus
    Please dont contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



  5. #5
    Super Moderator
    Points: 245,621, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    42,666
    Helped
    13006 / 13006
    Points
    245,621
    Level
    100

    Re: VL53L0X distance measurement chip

    There are range specification in the datasheet for different object reflectance and ambient light conditions. I won't expect in a first order that software can extend the range beyond the specification, although it may be possible.

    Regarding software, I would start with the ST provided code.



    •   AltAdvertisment

        
       

  6. #6
    Advanced Member level 3
    Points: 4,912, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    904
    Helped
    156 / 156
    Points
    4,912
    Level
    16

    Re: VL53L0X distance measurement chip

    Quote Originally Posted by FvM View Post
    There are range specification in the datasheet for different object reflectance and ambient light conditions. I won't expect in a first order that software can extend the range beyond the specification, although it may be possible.
    Actually there are references in various code fragments of different modes - like 'high accuracy', 'long range', 'fast measurement' etc. But no clear documentation on which set of registers/ what settings to choose. Also not known is whether code by various different people is actually working properly or not. So clearly long hours need to be spent in playing with different settings - not a good way to develop a surprise-free product.

    Regarding software, I would start with the ST provided code.
    I wish I could, but I cannot use this option.



--[[ ]]--