Time of Flight Sensor (VL53L0x) for Distance Measuring in ESPHome - Pellet Level Monitor Update

  Переглядів 11,867

Taste The Code

Taste The Code

14 днів тому

Check out Altium Designer and get a 25% discount for a new account: www.altium.com/yt/taste_the_code
www.altium.com/altium-365
In this video, I'm testing out the VL53L0x Time Of Flight sensor that optically measures distance with some IR laser to see if it will be a good option to use in future versions of my pellet level monitor. I designed the first one with an ultrasonic sensor and many of the comments suggested that I use this sensor instead. You can see the first video here:
• Pellet Level Monitor f...
www.tastethecode.com/making-a...
To test out the sensor, I first connected it to a NodeMCU board and used some Arduino code to get it to work, before I moved it to ESPHome for integration with Home Assistant.
In both cases, the sensor worked beautifully, so I will next try and create a standalone version of it that can also be used in case you are not using Home Assistant.
Tools and materials used in the video:
NodeMCU Development Board - s.click.aliexpress.com/e/_oCt...
NodeMCU with ESP32 - s.click.aliexpress.com/e/_mtA...
VL53L0x ToF Sensor - s.click.aliexpress.com/e/_ol0...
Mini Breadboards - s.click.aliexpress.com/e/_m0j...
Jumper Wires - s.click.aliexpress.com/e/_mLI...
Mini PC for Home Assistant - s.click.aliexpress.com/e/_ExV...
Soldering Station - s.click.aliexpress.com/e/_mK6...
Multimeter - s.click.aliexpress.com/e/_m0o...
Full code and written instructions for the project are available on my website:
www.tastethecode.com/testing-...
Adafruit library for the VL53L0x sensor
github.com/adafruit/Adafruit_...
VL53L0x ESPHome Component:
esphome.io/components/sensor/...
Support my work on Patreon so I can continue producing free content and tutorials!
/ taste_the_code
My recording gear:
Canon M50 Mark ii - s.click.aliexpress.com/e/_ALp9Sp
GT10 Pro 5G Android Phone - s.click.aliexpress.com/e/_oDn...
Dragon Touch 4K Action Camera - s.click.aliexpress.com/e/_mrc...
USB Condenser Microphone - s.click.aliexpress.com/e/_DF5...
Tripod - s.click.aliexpress.com/e/_Del...
Phone tripod mount - s.click.aliexpress.com/e/_oDT...
Time of Flight Sensor (VL53L0x) for Distance Measuring in ESPHome - Pellet Level Monitor Update
#VL53L0x #tof #esphome #arduino #homeassistant #tastethecode
Main Site and blog: www.tastethecode.com
Facebook: / tastethecode
Instagram: / taste_the_code
Twitter: / taste_the_code
Get exclusive Taste The Code t-shirts and merch at
teespring.com/taste-the-code
Hosting discounts over at Dreamhost
click.dreamhost.com/SHiw

КОМЕНТАРІ: 8
@major_west
@major_west 7 днів тому
Very cool project. I'm not sure the life expectancy of the laser, but setting the update interval to once a minute or once an hour might be prudent.
@TasteTheCode
@TasteTheCode 6 днів тому
I'm not sure either but yes, 1s was just for testing purposes. A more real world case is once every 30 minutes or so. Maybe even once every hour as you suggested.
@markanthonynilo9198
@markanthonynilo9198 3 дні тому
The Graphics that I see in the ESP Home is already built in, I mean pre coded in the ESP Home? About 6:14 in the video. Thank You. Nice Project Sir! Keep it Up! I see from what I understand as you say Sir, it displays the reads and translate it based on the template...is there any other template that I may use for a basketball arcade more of a seven segment scoring template for a sensor that can function as a ball counter.
@TasteTheCode
@TasteTheCode 2 дні тому
The graphics are part of Home Assistant, it is the system that ESPHome runs on for smart home management. There are templates for different sensors but I'm not sure which one you can use for a basketball arcade.
@jasondessenberg6096
@jasondessenberg6096 6 днів тому
Been wanting to do something similar to keep tabs on the salt level on my water softner.
@TasteTheCode
@TasteTheCode 3 дні тому
Cool! Good luck and let me know how it goes.
@sanjurohaze
@sanjurohaze 11 днів тому
Dust dont do well with optics
@TasteTheCode
@TasteTheCode 11 днів тому
Yes, true but there is not that much dust in the bunker.
i made a robot that picks locks WITHOUT A PICK
16:50
Sparks and Code
Переглядів 210 тис.
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Переглядів 5 млн
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Переглядів 40 млн
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Переглядів 283 тис.
#1849 Linear Optocoupler (part 1 of 3)
12:31
IMSAI Guy
Переглядів 15 тис.
I tried to make a camera sensor
30:00
Breaking Taps
Переглядів 239 тис.
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Переглядів 239 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 40 тис.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 512 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 192 тис.
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Переглядів 337 тис.
This Component solves "All" Motor Problems?! (Motor Encoder) EB#58
11:34
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Переглядів 5 млн