+ Post New Thread
Results 1 to 6 of 6
  1. #1
    Advanced Member level 3
    Points: 4,833, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    899
    Helped
    156 / 156
    Points
    4,833
    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 ?

    •   Alt5th January 2018, 18:30

      advertising

        
       

  2. #2
    Super Moderator
    Points: 25,046, Level: 38
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    7,544
    Helped
    933 / 933
    Points
    25,046
    Level
    38
    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 )



    •   Alt5th January 2018, 18:41

      advertising

        
       

  3. #3
    Advanced Member level 3
    Points: 4,833, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    899
    Helped
    156 / 156
    Points
    4,833
    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.



    •   Alt5th January 2018, 19:14

      advertising

        
       

  4. #4
    Super Moderator
    Points: 54,066, Level: 56
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    10,900
    Helped
    2574 / 2574
    Points
    54,066
    Level
    56

    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 don´t contact me via PM, because there is no time to response to them. Thank you.



  5. #5
    Super Moderator
    Points: 238,808, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    41,366
    Helped
    12620 / 12620
    Points
    238,808
    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.



    •   Alt5th January 2018, 23:58

      advertising

        
       

  6. #6
    Advanced Member level 3
    Points: 4,833, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    899
    Helped
    156 / 156
    Points
    4,833
    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.



--[[ ]]--