Coder Social home page Coder Social logo

vl53l0x's Introduction

TOF - VL53L0X Time of Flight distance sensor library

This code is based on the Pololu Arduino library (see LICENSE.txt) My aim with this project was to simplify that code and port it to Linux for use on boards like the Raspberry Pi. The problem with ST Micro's part and support software are that they designed their I2C interface specifically to rely on 'magic numbers' for initialization and publish a software library which requires adherance to restrictive licensing terms. By publishing this library, I hope to help more people use the sensor in more ways. The technology and low cost of the sensor make it a valuable addition to the IoT world, but ST Micro's attempt to obfuscate the interface and control the software goes against the open nature of the community.

This code puts the sensor into continous sample mode and allows selection between the default mode (30-800mm) and the long range mode (30-2000mm).

From my limited testing, it appears to give accurate results in the range 40-600mm. Beyond that and the results are less accurate and more prone to being interfered with by ambient light.

vl53l0x's People

Contributors

bitbank2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.