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

  Переглядів 12,006

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 7 днів тому
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 3 дні тому
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 4 дні тому
Cool! Good luck and let me know how it goes.
@sanjurohaze
@sanjurohaze 12 днів тому
Dust dont do well with optics
@TasteTheCode
@TasteTheCode 12 днів тому
Yes, true but there is not that much dust in the bunker.
Tutorial - Multi-sensor setups for ESP32 & Home Assistant
7:20
Byte My Bits
Переглядів 45 тис.
ESP32 Smart Home UI -M5Dial
8:39
Volos Projects
Переглядів 17 тис.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Переглядів 43 млн
🔥 Україна виходить у ФІНАЛ ЄВРОБАЧЕННЯ-2024! Реакція alyona alyona та Jerry Heil #eurovision2024
00:10
Євробачення Україна | Eurovision Ukraine official
Переглядів 143 тис.
This Component solves "All" Motor Problems?! (Motor Encoder) EB#58
11:34
IKEA makes cheap USB power adapters
8:14
AllThingsOnePlace
Переглядів 153 тис.
How I automated a 1930s Typewriter
6:28
Esser50K
Переглядів 7 тис.
This 9$ Universal ROM Burner is Open Source!
16:36
Anders Nielsen
Переглядів 31 тис.
Hobby Servomotors Could Be Much Better
15:11
Positive Altitude
Переглядів 37 тис.
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Переглядів 339 тис.
13 Brilliant IoT Projects!!! (2024 Edition)
10:25
ToP Projects Compilation
Переглядів 71 тис.
Making an E-paper Dashboard with ESPHome
22:59
Tech Dregs
Переглядів 120 тис.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Переглядів 512 тис.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Переглядів 43 млн