Human presence detection with LD2410 sensor and ESP32 - Basic Guide

  Рет қаралды 10,020

Taste The Code

Taste The Code

Күн бұрын

Altium 365 Free Trial - www.altium365....
In this video, I'm looking at the LD2410 mmWave human body proximity sensor. The sensor operates at 24GHz and is typically used to detect human presence.
Opposing to how usual PIR sensors work, the biggest advantage of this sensor is that it can also detect human presence even when the person is not moving so we can detect someone sleeping in a bed for example, or sitting on a couch.
In the video, I explore how we can read the sensor data via serial and how we can interact with it through an ESP32 to control output and an LED as an example.
Tools and materials used in the video:
LD2410C Sensor with USB to Serial - s.click.aliexp...
LD2410B Sensor - s.click.aliexp...
ESP32 Development Board - s.click.aliexp...
FireBeetle ESP32 C6 Development Board - s.click.aliexp...
USB to Serial Adapter - s.click.aliexp...
LED Kit - s.click.aliexp...
Soldering Station - s.click.aliexp...
Dupont Wires - s.click.aliexp...
Multimeter - s.click.aliexp...
LD2410 Configurator
ld2410.albert.nz/
HLK-LD2410 Datasheet and software
drive.google.c...
MyLD2410 Library:
github.com/iav...
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.aliexp...
Samsung A71 - s.click.aliexp...
SJ400 Action camera - s.click.aliexp...
USB Condenser Microphone - s.click.aliexp...
Tripod - s.click.aliexp...
Phone tripod mount - s.click.aliexp...
Human presence detection with LD2410 sensor and ESP32 - Basic Guide
#ld2410 #mmWave #presence #esp32 #tastethecode
Thanks to ‪@AltiumOfficial‬ for sponsoring this video. #AltiumStories
Main Site and blog: www.tastetheco...
Facebook: / tastethecode
Instagram: / taste_the_code
Twitter: / taste_the_code

Пікірлер: 63
@HATipsByLarry
@HATipsByLarry 24 күн бұрын
Good Video. I use these all over my house with Home Assistant and ESPHome. They work very well for presence detecting. The ESPHome code i use set's up zones (3 in fact) so it can be triggered based on the zone (distance) you are from the sensor. I use them to turn on and keep lights on in a room. They work well with the BH1750 light/lux sensor to know when to turn a light on or not based on motion and how much light is currently in the room.
@TasteTheCode
@TasteTheCode 22 күн бұрын
Thanks for sharing!
@mt-qc2qh
@mt-qc2qh Ай бұрын
I've used the BLE version, but you cleared up the use of the 2410. Thanks. I prefer the 3.3v version without BLE.
@TasteTheCode
@TasteTheCode Ай бұрын
Thanks! I haven't looked at the BLE options but I might give it a go just to see how it works.
@corrupt1238
@corrupt1238 19 күн бұрын
Excellent vid, have liked & subbed !
@TasteTheCode
@TasteTheCode 19 күн бұрын
Thanks!
@TOMTOM-nh3nl
@TOMTOM-nh3nl Ай бұрын
Thank You
@TasteTheCode
@TasteTheCode Ай бұрын
👍👍👍
@SHAINON117
@SHAINON117 14 күн бұрын
I can't wait till all you guys get your hands on neuralink ❤❤❤❤❤❤❤
@GoatZilla
@GoatZilla 13 күн бұрын
what is wrong with you?
@TasteTheCode
@TasteTheCode 13 күн бұрын
Huh?!?!?
@m0ck1N9jay
@m0ck1N9jay 5 күн бұрын
is there any mmwave sensor can use without esp series for triggering relay like HC-SR501 PIR motion sensor
@TasteTheCode
@TasteTheCode 5 күн бұрын
I haven't personally used it but you can use the OUT pin directly to trigger a relay without any microcontroller in between. Make sure that the relay is rated for the voltage or to be safe, you can use a transistor.
@Tntdruid
@Tntdruid Ай бұрын
If you get the BLE version you dont need a esp, it just popup in Home Assistant.
@TasteTheCode
@TasteTheCode Ай бұрын
Thanks for pointing that out. I think I do have the BLE version but I do not have BLE enabled in Home Assistant. Maybe I'll try it out. 👍
@liveartrainbow
@liveartrainbow Ай бұрын
Thank you for sharing .
@TasteTheCode
@TasteTheCode Ай бұрын
You are welcome!
@johnpricejoseca1705
@johnpricejoseca1705 24 күн бұрын
These are nice sensors. The only drawbacks are that they use a lot of current when compared to PIR sensors and cost quite a bit more. If you are not running on batteries, they can be a nice option. Does anyone know if they are FCC type accepted for use in a potential product?
@TasteTheCode
@TasteTheCode 22 күн бұрын
I don't know for sure about FCC but I've seen them in products already. The Aqara fp2 is an example.
@PetersonChevy
@PetersonChevy 24 күн бұрын
Could we use this outdoors say for instance to turn porch or patio lights on? I guess the real question is how well does it perform outdoors and can we enclose it in something for protection from the environment?
@HATipsByLarry
@HATipsByLarry 24 күн бұрын
It would not be good to use outdoors as it's motion based, so anything moving such as a tree limb blowing in the wind, trash of any type, dogs, cats, birds, incest's, will trigger it.
@TasteTheCode
@TasteTheCode 22 күн бұрын
There is nothing preventing the sensor to be used outdoors. As long as there is an appropriate enclosure to shield it from the rain it should be OK.
@TheCaplja
@TheCaplja 22 күн бұрын
Hi there, would you recommend these to avoid false positive alarms? I'm using ZY-M100 Tuya linked to home assistant but having huge amount of false positive alarm. To avoid that I have linked 2 sensors but still now and then I'm having false positive. Main use of this is to detected human when comes to terrace. That is how I stumble upon your video of using HC-SR04 and ESP8266 so idea is to implement that as well, which I did, but now with median filter I'm getting false negative :D And if I turn off filter there are to many spike values from HC-SR04. To sum it all, what would you advise to use in such application? Considering that you have implemented all possible solutions, presence sensor, ultrasonic and laser(VL53L0x) what would you advise to use and in what combination? Many thanks...
@TasteTheCode
@TasteTheCode 20 күн бұрын
Can you elaborate a bit more on what you actually need to detect? Just movement or sitting presence as well? Right now, it sounds like a simple PIR might do the trick for you.
@thatonesnowboarde
@thatonesnowboarde Ай бұрын
I wouldn't put this in your home.. extremely toxic
@TasteTheCode
@TasteTheCode Ай бұрын
Toxic? How is it toxic? Can you please elaborate?
@thatonesnowboarde
@thatonesnowboarde Ай бұрын
​@@TasteTheCode Consider this... a microwave oven operates at 2.4ghz... and wifi is around the same freq. With blood cancer being the most common cancer in children, and microwave ovens are cooking food by effecting water molecules in our food... what do you think wifi is doing to our blood? Now... bump that freq up 90% and you have a wide range of additional problems, and if it gets up to the 60 range, than you have oxygen issues to worry about... so i'd suggest even if you go through airport don't have them radiate your cells with this non-sense mmw device which runs at 30ghz+ you can always request a pat-down which is radiation free and doesn't dysregulate your cells, blood and promote inflammation, oxidative stress, and more... there is much more to this, but to avoid censorship i better refrain from saying too much in a comment because yt often deletes my comments w/ various topics
@thatonesnowboarde
@thatonesnowboarde Ай бұрын
@@TasteTheCode So its really not a "smart home" if you keep adding more and more devices on wifi... you are going to end up causing focus issues, and a wide range of additional problems requiring your body to detox more often, and add additional burden to your immune system, which isn't even being taught correctly in med school. so most doc's are clueless on how to actually regulate the body and its setup that way
@thatonesnowboarde
@thatonesnowboarde Ай бұрын
@@TasteTheCode Radiation from wireless technology affects the blood, the heart, and the autonomic nervous system “Exposure to electrosmog generated by electric, electronic, and wireless technology is accelerating to the point that a portion of the population is experiencing adverse reactions when they are exposed. The symptoms of electrohypersensitivity (EHS), best described as rapid aging syndrome, experienced by adults and children resemble symptoms experienced by radar operators in the 1940s to the 1960s and are well described in the literature. An increasingly common response includes clumping (rouleau formation) of the red blood cells, heart palpitations, pain or pressure in the chest accompanied by anxiety, and an upregulation of the sympathetic nervous system coincident with a downregulation of the parasympathetic nervous system typical of the "fight-or-flight" response. Provocation studies presented in this article demonstrate that the response to electrosmog is physiologic and not psychosomatic. Those who experience prolonged and severe EHS may develop psychological problems as a consequence of their inability to work, their limited ability to travel in our highly technological environment, and the social stigma that their symptoms are imagined rather than real.” pubmed.ncbi.nlm.nih.gov/24192494/
@thatonesnowboarde
@thatonesnowboarde Ай бұрын
@@TasteTheCode “Cancer was first associated with exposure to electromagnetic fields (EMF) in 1979 when Wertheimer and Leeper reported that children dying from cancer resided more often in homes believed to be exposed to higher EMF than did healthy control children”... pubmed.ncbi.nlm.nih.gov/1626106/
467 Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Рет қаралды 175 М.
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 6 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,2 МЛН
HLK-LD2410 - микроволновый датчик присутствия человека (FMCW-радар, 24 ГГц)
14:43
Electromagnetic Aircraft Launcher
15:09
Tom Stanton
Рет қаралды 886 М.
Glade Air Freshener Upgraded with mmWave, touch sensor and automatic spray reset counter
8:56
439 24GHz Radar Presence Detector that Works (LD2410)
13:19
Andreas Spiess
Рет қаралды 309 М.
Human Presence Detection With LD2410 In Home Assistant: ESPHome And ESP32
5:31
12 Mind-Blowing ESP32 Projects to try in 2024!
8:50
ToP Projects Compilation
Рет қаралды 113 М.
Make Dumb Electronics Smart for $3
13:13
I Like To Make Stuff
Рет қаралды 644 М.
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 6 МЛН