0

January 27, 2017 AT 3:00 am

VL53L0X Python interface on Raspberry Pi #piday #Raspberrypi @Raspberry_Pi

NewImage

Thanks to John for sharing with us! VL53L0X Python interface on Raspberry Pi He writes:

In working on autonomous robotics research, I recently came across the VL53L0X ToF sensor and obtained several from Adafruit. After verifying that the accuracy really is as advertised, I wanted to add this to my autonomous rover but the rover is entirely written in python on the Raspberry Pi. There are a few python interfaces available for the VL53L0X but they are limited in ability and do not work consistently. What I wanted was a python version of the ST library so all capability/configurability could be utilized but porting that entire library to python was too significant of an undertaking so I decided to create a python extension to interface to the ST Library. This python extension has a simplified interface to the library for common usage but also provides full access to all the ST library functions if necessary. This is what I would consider “beta” quality but works well enough that I wanted to share with others to advance development.

Read more.


Featured Adafruit Product!

NewImage

Adafruit VL53L0X Time of Flight Distance Sensor – ~30 to 1000mm: The VL53L0X is a Time of Flight distance sensor like no other you’ve used! The sensor contains a very tiny invisible laser source, and a matching sensor. The VL53L0X can detect the “time of flight”, or how long the light has taken to bounce back to the sensor. Since it uses a very narrow light source, it is good for determining distance of only the surface directly in front of it. Unlike sonars that bounce ultrasonic waves, the ‘cone’ of sensing is very narrow. Unlike IR distance sensors that try to measure the amount of light bounced, the VL53L0x is much more precise and doesn’t have linearity problems or ‘double imaging’ where you can’t tell if an object is very far or very close. Read more.


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!e!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Apple acquires Workflow

Wearables — Conduct with care

Electronics — Must read MOSFET material

Biohacking — NinjaPCR – Open Source #iot DNA Amplifier

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



1 Comment

  1. Updated to include Multiple sensor support and better error checking.

Sorry, the comment form is closed at this time.