CircuitPython School - Distance Sensing with the Adafruit VL53L1X Time of Flight sensor

  Рет қаралды 4,329

Prof. John Gallaugher

Prof. John Gallaugher

Күн бұрын

We show how to use the Adafruit VL53L1X time of flight distance sensor on a variety of boards, and show setup for the CircuitPlayground (Bluefruit & Express), Feather boards, Arduino Nano RP2040, QT Py RP2040, and Raspberry Pi Pico. We write and demonstrate some basic distance sensing, then set up a challenge that will be used in the next video to create distance-relative LEDs that can also be used in a distance-reactive LED lamp or luminaria. Part of Prof. Gallaugher's CircuitPython School & Physical Computing university course.

Пікірлер: 15
@mattkojetin8198
@mattkojetin8198 2 жыл бұрын
Excellent!! Thank you. I'm going to try this in my garage to keep from driving into the wall.
@daniellemccorkle6917
@daniellemccorkle6917 2 жыл бұрын
Awesome information!!! Thank you ProfG!!
@profgallaugher
@profgallaugher 2 жыл бұрын
So glad you liked this. Keep hacking! And remember you can tweet a pic of your build with #BuilWithProfG for a chance to win a Happy Gear Make Something Awesome sticker. Cheers!
@fnm1900
@fnm1900 Жыл бұрын
this video deserves at least 3.6k likes, not 36..
@profgallaugher
@profgallaugher Жыл бұрын
Thanks, friend. I’ll keep ‘em coming. Subscribe and tell others!
@christopherlyons7613
@christopherlyons7613 Жыл бұрын
Thanks for your videos. Why did you select the L1X vs some of the other similar options provided by Adafruit (i.e. VL53L4CD (1-1300mm) & VL53L4CX (1-6000mm)) all for the same price of $14.95? These have the ability to measure distance basically right up to the sensor itself vs not providing good data when inside 30mm like the 1X. The descriptions for these don't say there are CircuitPython libraries but searching a bit seems to indicate there are Adafruit libraries available. This is one issue I have with Adafruit product descriptions, they do a great job initially but things don't get updated correctly as things change. Guessing you went with the 1X just because if has more defined CircuitPython support. Since they all seem to have similar specs, is there any reason to stay clear of the others assuming there are CircuitPython libraries? Should there be any operational differences? Interested in your thoughts. Thanks.
@profgallaugher
@profgallaugher Жыл бұрын
Hi. I liked the range and when I bought these for class they were fairly new. I thought they’d work well with our student projects. There are some great examples in the library bundle you’ll download from CircuitPython.com so if you have a different sensor but understand concepts, that might help. Also for clarity on anything Adafruit there is a fantastic Discord channel that almost always answers my questions within 15 min. Adafruit.it/discord.
@christopherlyons7613
@christopherlyons7613 Жыл бұрын
Can you also explain a bit more about what the clear_interrupt() method is doing? I fully understand what interrupts are and how they are used but I thought CP didn't support interrupts (other than some basic handling through asyncio). What does this method do?
@profgallaugher
@profgallaugher Жыл бұрын
My understanding is this is necessary to “clear” the sensor reading for accurate subsequent readings. You can give it a try without and check results. The examples show other code that may help. Also check with the Discord for details on the species of “why is this needed”. Good luck!
@stevenzembriski6761
@stevenzembriski6761 Жыл бұрын
Could i use this on a raspberry pi to measure sump pump water levels?
@Keeping_IT_Simple
@Keeping_IT_Simple 2 жыл бұрын
What's the difference between vl53l1x & vl53l10x ?
@profgallaugher
@profgallaugher 2 жыл бұрын
1x is “newer” and has a longer range (I believe 400cm v about 100cm). Looks like they sell for the same price so I’m not sure there’s a reason to get the 10x. They also use different libraries so be sure to import the correct one when coding.
@sarrabm3099
@sarrabm3099 2 жыл бұрын
Thank you for the Video! Can i use the same Library for VL53L1 ?
@profgallaugher
@profgallaugher 2 жыл бұрын
Glad you liked the video. I’ve never used that sensor but I know many tof sensors require different libraries. Imports will be different although chances are the commands are the same or similar. Search on readthedocs die CircuitPython and the name id your sensor. Good luck!
@crusherjones6809
@crusherjones6809 2 жыл бұрын
Here for the "Elon and Grimes" trip back to the well joke :)
CircuitPython School - Distance Reacting Lamp / Luminaria
19:49
Prof. John Gallaugher
Рет қаралды 1 М.
#119 Time-of-flight LIDAR with VL53L0X ?
10:58
Andreas Spiess
Рет қаралды 76 М.
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,7 МЛН
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 747 М.
Hacking my garage door with the Raspberry Pi Pico W
11:50
Jeff Geerling
Рет қаралды 340 М.
GPIO for any PC or Laptop: Adafruit FT232H
19:18
ExplainingComputers
Рет қаралды 201 М.
How accurate are time of flight sensors?
6:55
Curio Res
Рет қаралды 19 М.
Raspberry Pi Pico & VL53L0X for MicroPython
39:40
Kevin McAleer
Рет қаралды 8 М.
Understanding Optical Time-of-Flight (ToF) Technology
8:25
Texas Instruments
Рет қаралды 28 М.
Motion and Distance Sensors for your DIY Projects
28:12
ResinChem Tech
Рет қаралды 3,9 М.
Laser vs Ultrasonic - TOF10120 vs. HC-SR04
31:09
DroneBot Workshop
Рет қаралды 184 М.
Effective Ways To Detect People With Common Sensors
7:43
Core Electronics
Рет қаралды 76 М.