Using the Raspberry Pi Pico with 2 x VL53L0x in Micropython
Orionrobots
The Vl53L0X is an optical (light-based) distance sensor. It uses light to detect how far things are away. Attach 2 of these sensors to a Raspberry Pi Pico on the same I2C bus and program them in Micropython.
00:00 Intro - the VL53L0X optical distance sensor 00:45 Shout out to Kevin McAleer for his help with VL53L0X and Micropython 02:13 Raspberry Pi Pico Wiring Tip - Using the Datasheet 02:52 The Code - the VL53L0X Micropython library
Wiring the VL53L0X board to the Raspberry Pi Pico
This is a perfect sensor for a robot, but is slightly tricky to use in Micropython. Using 2 of them is great if you want to sense 2 sides. I show more than one way to attach them and program them on the Raspberry Pi Pico.
Also - using Pycharm with Raspberry Pi Pico micropython using rshell and a bit of shell scripting.
Code in this video: https://github.com/orionrobots/vl53l0x Original code: https://github.com/kevinmcaleer/vl53l0x Kevin McAleer on Vl53L0X: https://www.youtube.com/watch?v=YBu6GKnN4lk&ab_channel=KevinMcAleer Pico Handy Wiring Diagram is on page 5 of https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
Buy the VL53L0X sensor: https://amzn.to/2RWArV8
Music used is my own. ... https://www.youtube.com/watch?v=XQrxPcq2tZ8
233260887 Bytes