Adafruit Holiday Shipping Deadlines 2018: Attention! Place all UPS 3 Day orders by 11am ET Wednesday 12/13/2018
0

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!


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 9,200+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Japanese word working and more in December’s issue of HackSpace magazine!

Wearables — Solder-less magic

Electronics — = != ==.

Biohacking — Finding Bliss with Anandamide

Python for Microcontrollers — sysfs is dead! long live libgpiod! libgpiod for linux & Python running hardware @circuitpython @micropython @ThePSF #Python @Adafruit #Adafruit

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.