Incredible how small things can get nowadays. I believe it's reaching the limit of how small we can develop our DIY boards. Smaller than this and we'll need specialized tools to solder and trace our wires. As always a great informative video that explains everything in simple straightforward direction. Thank you!
Absolutely! Anything smaller would really be hard to work with. But great that we can now create for example LED project and have board be almost the size/width of strip. really compact.
I've been doing all my diy projects in KiCad or Eagle, for the past 5 years. Things can become a lot smaller than this, when using 0603 or even 0402 sized caps and resistors. I 100% recommend trying it out... The only things you need, are a light, fine soldering iron and tweezers.
Have that before one beta was released - showcased it in video on 2023.2 as this was release when support was added. Though people have been experiencing issues with it if no controller is used. Works better if connected via ESP module and also some had more luck after firmware of the board was updated.
A thumbs up for your help. I am up and running and with a few tweaks seems to be doing fine. A few questions. If you have yours in a case, what did you use? Also did you make any special yaml changes in HA to use it as a device in your office detection. Again, your channel helps drill down through everything at gets right to the point.
Thank you Carlton! I still haven't found a case for this project, or created box myself. It's on my to-do list, but knowing me and available time, it will take a long time. As for setting it up, also, no - unfortunately, I jump from project to project and never have enough time to pursue project till the end. I'm thinking on designing PCB that would just have headers for ESP32C3 and mmWave sensor for start - that would remove need for wires and maybe make it easier to create case for this. But...
Thanks for sharing this detailed tutorial as it was very helpful and allowed me to set up 2 around the house with no issues and I really love Seeed Studio as the XIAO and Grove range of devices work great with HA/ESPHome . 🏆
Shame they are out of stock till end of the month. (mmwave) Have one arriving from another company later this week though so still going to get my feet wet with this. Lewis got me all excited about the possibilities.
FINALLY a good price for this project.. I need 1 in each room and possibly 3 more in various areas of the house. Will you consider expanding to also include a PIR sensor to make sure movement is by a warm body?
@@BeardedTinker Your expertise would be much appreciated.. the idea is to detect minute movements and verify that it's from a warm body in 1 device. 1 other idea is a 8x8 thermo sensor that can identify when someone's temperature is starting to be too high or low. Useful for kids and old people alike
Cats throw out the usefulness for me, but its small enough for mounting in a doorway to see if someone has passed through the doorway for turning lights on/off
I've a lot of trouble with the ESP32C3. The board is on a PCB with a ADXL via SPI. The whole thing should be LiIon powered .... but there are two main issues Arduino IDE 2.04. - no serial communication / ESP repairtool .... accidental repair - Board an sensor .... random function There 'll be a long way to transfer acceleration / single shock values to a smart fone by BLE or WiFi
What ADXL board are you using. I had few issues with them arriving dead or not working as they should. But yes, C3 is a different than standard Arudino board and does require a bit of hacking.
Some updates from me: I managed to get it installed with the following snags: 1. Had to add the esp32c3 to my network DNS as it (HA?) could not resolve the esp32c3.local name 2. Seeed changed their pins to D2/D3 for stability reasons? 3. I had to change the esp32c3 yaml part 1to the below because it could not find the right version for CMAKE to compile. esphome: name: platformio_options: board_build.flash_mode: dio board_build.mcu: esp32c3 platform_packages: - framework-espidf @ 3.40300.0 - toolchain-riscv32-esp @ 8.4.0+2021r1 - toolchain-xtensa-esp32s2 @ 8.4.0+2021r1 includes: - R24dvd.h esp32: board: esp32-c3-devkitm-1 variant: esp32c3 framework: type: esp-idf platform_version: 3.4.0 I hope this helps people out there. ------- Now after all this I could see the esp32c3, it would even show me the firmware version etc so great. I let it run all night and since the morning it's connected but all reported sensors are stuck on 'unknown' and status is 'abnormal' Tried restarting it, unplugging and replugging in.. no bueno :( Any help would be great.
Thanks for the great video! Will the $19.90 sensor "24GHz mmWave Sensor - Human Stationary Presence Module" work with the same esphome code of the lite version? Will the same esphome code work with a different ESP32 board? I just ordered q.ty 3 of the $19.90 sensor since the "lite" are currently out of stock in Europe. Thanks
Thanks for a great idea! I was looking to buy a presence sensor, but it comes pretty costly compared to PIR sensor. Do you have an idea how I could use this, but with battery power? I don't have a wall socket near the place where I will put it so I'm trying to find out how to power it with batteries.
That's not that easy. It will also bring a lot of delay on triggers - not that device is slow, but WiFi and sleep adds a lot of overhead as it takes some time to wakeup, do WiFi handshake and send notification. Anywhere from 5-12 seconds from my tests. But biggest concern is of course battery life. In sleep power consumption can be lowered but since it does need to power motion sensor, not sure how long battery would last.
@BeardedTinker great tutorial! I am wondering if the "standard body movement" data 14:39 can be logged / mined through home assistant? Also, is there a valid link to your discord?
All of the data should be stored in database inside HA. depending on the retention period you have set, you can use historical data for analysis. Also you can setup on that sensor data min/max/mean sensor to get those values too.
Great video, already have LD2410 in use but these seems to be really good. Will "24GHz mmWave Sensor - Human Stationary Presence Module" work with the esphome code for the lite version? I have many ESP32 NodeMCU lying around, must it just be the ESP32C3 model?
I noticed that there is no simple enitity for occupancy. I think that is the most important one to use for automations. Does someone have an esphome Code for this?
Thank you very much for this video. One question, I didn’t saw a occupancy sensor, should I need create it by myself? I mean like the FP1 shows out of the box the occupancy.
As in away/present? No, not currently from what I know. You could potentially create template binary sensor to check if value is 0 (or less than any values you want) to toggle away/present. But I haven't played with that so far.
@@BeardedTinker Thanks a lot, unfortunately I can't get it to work because I get an error. I have been trying to find the problem for couples hours. I did exactly like you did but i got this message: WARNING Can't connect to ESPHome API for test.local: Error resolving IP address: [Errno -5] No address associated with hostname
Try to use fixed IP address in network section. And than access from Home Assistant via IP address and not via mDNS name. Looks like network issue by the looks of it.
do you get more sensors in home assistant if you get that presence sensor compared to the LD2410B or it is just having the code to be as the code you showed since both are using 24G mm wave
As I said I ordered the parts to try it. Now for another question which I could not find on the Seeed site. What other sensors can be hooked up to this. I have a lot of D1 mini that have temp/humidity/pressure/light level/pir and also led which activate by motion. Can this board handle that. Might you have a link.
Take a look here at documentation: wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/ Most of the sensors can be hooked up to it. It has 11 pins, but you'll need to check pinout guide on above link. So you shouldn't have an issue with sensors like DHT, ADXL, BME280 etc
I followed this tutorial and got the ESP32-C3 to connect in ESPhome and show the device page with all the controls, but I never get any data from the device. I have tested the mmwave sensor in Arduino IDE and was able to read data from it and show it in the serial monitor, but now with ESPhome it doesn't seem to be communicating. Any ideas? I swapped jumper cables to make sure it wasn't a wire connection issue. Confirmed wires in the right place. Tried swapping RX/TX just for fun. Flashed the firmware several times. I even tried the dev branch code but couldn't get it to compile. My friend is having the same issues, but he's using a normal ESP32 dev board not the XIAO ESP32-C3. Disconnected/reconnected the 5V pin on the device. Logs in ESPhome say 'Standard Product model': Sending state '' (and same for Product ID, hardware model, firmware version etc. whenever I press the lightning bolt to get live data (log says "text_sensor on_raw_value" when I press it). I even tried my second mmwave sensor in case I had somehow damaged the first one.
@@BeardedTinker I have tried to post links to my logs but that has fail. I am having the same issues as described above. It there a method for sharing the logs you could provide? Appreciate you and your videos so much
Hi BT how are you finding the Seed MMwave sensor? My sensor keeps saying someone in the room even when empty. Also I couldn't get the sensor data to show as a trigger in HA automation. Can you help me, am I doing something wrong?
That really depends. It is very sensitive! So movement of curtain, fan, pets, someone behind the wall, that all can trigger it. I've tested with ESP32 board directly and last test was with Everything Presence Lite - with EP Lite I got strange readings, while first test, as in video was OK.
Shame this board doesn't pack any connectivity of its own tho... LD2410B features bluetooth! and it's a breeze to add to HA, no ESPhome required! I use an ESP32 as bluetooth proxy for the LD2410B, it works great :)
Yeah, was testing that also in early HA beta. still have it somewhere around. Did you update firmware on it and have you tired that one with ESP32 board with cable connection? I've heard that some had issue with 2410B board after some time via Bluetooth connection.
@@BeardedTinker I've been testing the Bluetooth connection keeps going unavailable and have to mess around restarting integration and sensor. Esphome seems a better way to go
Nice video! I am trying to compile the MR24HPC1 in ESPHome using an esp32dev board on pins 16-17 RX-TX but I get compilation error if i use the github xiaoesp32c3 yaml file. Is this going to work with an esp32dev board or do i need to buy a xiaoesp32c3 board?
If I remember correctly the yaml is configure for specific board - ESP32C3 board. You should be able to flash also with ESP32DEV board but you need to select appropriate board type and other specific setting plus of course pins you've mentioned.
@@BeardedTinker Ok, thanks. With the data that this exposes in HA, is it possible to differentiate the presence of one or two people more or less with the numbers? Thanks in advance
I'm using a 2410 radar on an ESP8266. Less settings but gets the job done. Transporting 24V on a wire and installed a mini buck-converter to step down to 5V. Installed the 5V straight to the 5V pin on the esp and radar, everything works great 👌. No kees for a bulky USB plug this way, and everything is put in a 3d printed box. All fits snug in there. Just to be sure noting falls out, I melted the seams with a soldering iron. Box is permanently shut now (splash proof)
But you can use 2410 BLE verison too, without the need for any ESP. Although as I've mentioned previously, they can have sometimes issues. It's great that we have options for different scenarios as not all mmWave sensors are the same.
Hi, the oficial site on "Hardware preparation" say: RX to D2 and TX to D3, but on yaml file on uart section say: rx_pin: 5 and tx_pin: 4, can you help me?
Did you check in video? I show where cables are connected. RX and TX pins on ESP32C3 are pins D7(RX) and D6(TX) - they were according to documentation GPIO20(RX) and GPIO21(TX). Not sure why few days ago they changed it to GPIO4(D2) and GPIO5(D3). I didn't update to that code or changed pins
mmWave board doesn't work until its power cycled after the ESP32C3 is powered. I have to install a swich between the 5v line between the ESP32C3 and mmWave board so I can power down and up again? Anybody solved that issue?
Yes I agree that this is my experience. I soldered the board and mmWave board but nothing worked, then realised that the mmWave board needs to be powered after the ESP32C3 which is a bit of a shame.
@@BeardedTinker I actually meant a working ESPHome code. Which works specifically for the seeed studio esp32c3. With the esp8266 I have the module running. Unfortunately this code does not work with the esp32.
Code for 2410 should be same. I think you need to use pins D6 and D7 (same as for this sensor) for TX and RX. Resto of the UART code and sensor one should be same. But I didn't try to hook this up. I don't have full code.
@@BeardedTinker Unfortunately, this is not the case. I have used D6 and D7. It comes to the error message when compiling. I am not so fit to fix the error. Do you have a working code that I can use?
@@BeardedTinker I orderd one from china so it will take some time to arrive here in the netherlands but when I got it maybe I can draw a case in sketchup.
@@BeardedTinker thank you very much I will do it myself but I'm so terrible at 3d design that it makes my had hurt Anyway I wanted to also thank you for let me know about this board and sensor because I intend to to use it for switch on and off the screen of my LG tv to prevent burn in
I have been reading about the mm sensor for a while. Question is sensitivity. My home office and my wifes home office are in two adjacent rooms. Our desks face the same point in the wall. If I have the mm sensor in my office on my desk, will it be sensitive to her movement was well? This is my only aprehension in going this route. Thanks Andrej
I think this will depend on the wall. But this one is not as strong as some others and you can tweak the sensitivity (for example reduce range). So I believe it could work. I have brick or concrete walls mostly. Need to test with one wall that is plaster with insulation to see
It wasn't at the time of the testing and when ESP32C3 support was still experimental. Could be that now BT support for Xiao C3 was added. You need to double check.
Any ideas/suggestions on a case to put this in? I'd like to put one in each room of my house but I don't want the exposed cards on the wall. I also don't want to install new outlets at each sensor location or run wires to them. Any thoughts on connecting a battery?
Ive just received a pair of each of these boards from Seeed, the mm Wave sensor uses some very tiny pitch headers.... normal dupont connectors are too big, now I'm left trying to find a source of suitable plugs to use with these small pitch connectors..... anyone know what they are called? Ive measured the distance between the pins, seems to be about 2.4mm
That's strange... I've used standard dupont cables for this. LD2410 is using 1.25mm pins that are not standard, but these mmWave should be standard ones - on both sides.
@@BeardedTinker thanks for the reply, I have bigger issues though, esphome is giving me a problem, many compile errors, restarted everything again from scratch, I can now compile the sensor without it erroring, flashed the binary to the esp using legacy tools esphome method, that went OK, but the device now doesnt boot, and the serial monitor displays a few messages in a cycle that seem to be during the esp boot sequence....... if you were able (and I appreciate any assistance...) can you shed any light? I know my esp device is working as Ive created a simple blinky led as per the Seeed studio projects pages... and that does work......
Hmm - bootloop probably. One thing that can be reason for that is inadequate power. How are you powering the device? I have it connected to PC but via powered USB HUB, to try and prevent those issues
Most often I use cheap ESP32 mini boards you can find on Aliexpress for around 5€ - simimlar in size to D1 mini. When this ESP32C3 gets BT support, it will fall in that range too, but so far it can't be used for that for now.
Aahh.. the temptation to promote or say something positive about the company that is giving you free stuff (read: not sponsoring!). Because they may just give you more free stuff in future. But for the rest, excellent video with lots of detail. Thanks!
Just letting you Guys know: the mmwave Sensors have a high fall Out rate. Of 5 Sensor 3 are know defect after 2 weeks of usage. Also the WiFi antenna of the esp32 Mini Boards are totally worthless. They have constant disconnects. I replaced the with other pigtail antennas and have nö Problems since.
@@BeardedTinker maybe I Just have a bad batch. I am in contact with Seeed. They said they will investigate this issue, but i haven't heard from them since 10days.i opted out to an hlk-ld1125h Sensor and it been working nice since days. I even have a usable Sensor, that just states recognized/unrecognized which works just fine for automations. The Seeed Sensor is missing this simple Sensor in the config completely! Concerning the antenna of the esp32(-s3), it'sobvious that it is crap. If you use wpa3 it doesn't work stable. On wpa2 it works much better, but i don't know how that is related in any technical way to the problem. Update: Just got a reply from Seeed: Hi, During this time we investigated the cause of the problem, it was caused by the fact that the radar was not in custom mode when adjusting parameters using the esphome console, this triggered the protection lock of the radar, please try to unlock the protection lock using the attached tools and guide and then reflash the firmware according to the wiki, I believe this will solve the problem.wiki.seeedstudio.com/Radar_MR24HPC1/#firmware-version-updates files.seeedstudio.com/wiki/Radar_MR24HPCB1/ArteryICPProgrammer_V2.4.23.zip wiki.seeedstudio.com/Radar_MR24HPC1/
Hi, did you manage to fix the issues by updating the firmware? I recently bought the sensor and connected it with esp32 and got the readings only once, after that the sensor stopped working. I tried reflashing esp, changed uart pins, powercycled it and it never worked. Every entity is unknown or unavailable.
@@anandsaravanan8732 Had no time yet. The Sensors are glued with hot glue into place and i can hardly reach the pins for reprogramming. I will let you know as soon as i do it. I am tinkering with ld1125 mmwave Sensors right now and they seem to Work much better and faster, so i think i will replace the Seeed ones.
@@t0mz3n75 goodnews, finally managed to update the firmware using the uart to usb method and the sensor started working. Hope it wont break again. initially the uart programmer didnt work, power cycled the sensor alone and it started the flashing process.
Well, got you to leave the comment, so that's win for me ;) Not sure why would you need faster one. And if you do want it, there are versions that can do ML, voice recognition,... that should be sufficient for most of the projects.
Incredible how small things can get nowadays. I believe it's reaching the limit of how small we can develop our DIY boards. Smaller than this and we'll need specialized tools to solder and trace our wires.
As always a great informative video that explains everything in simple straightforward direction. Thank you!
Absolutely! Anything smaller would really be hard to work with. But great that we can now create for example LED project and have board be almost the size/width of strip. really compact.
@@BeardedTinker what an interesting idea. And with its small current draw the list of possibilities gets even bigger
We're not even close to the limit.
It will get smaller, faster, more energy efficient and cheaper (choose any 3 for your next favorite form factor).
I guess you are right. As long as pins stay the same, I'll be ok. If they get smaller, I'm out of here 🫣🤣
I've been doing all my diy projects in KiCad or Eagle, for the past 5 years.
Things can become a lot smaller than this, when using 0603 or even 0402 sized caps and resistors.
I 100% recommend trying it out... The only things you need, are a light, fine soldering iron and tweezers.
Thanks for the video. So good to see many of this sensors available for such a good price. Hope to make some presence detection sensors soon.
Hope you manage to do something and have fun with it. Thank you Adi!
Thanks Andrej. Mmwave is hot these days!
Yes they are Ed! A lot of them and it makes it both easier for us but also harder to make a choice. But choice is always a good thing.
That thing is amazing, so small. Hope BLE comes soon for that. Could make a really nice multi sensor with very small case
Fingers crossed that it gets supported soon! I'll be ordering few of them just to have for small projects that I want to keep hidden/non-intrusive.
🔥
I just bought the pieces for this project.
Thinking in upgrade all my esp32 projects with this esp32 board.
Also thinking the same to replace some of the bigger boards with this one.
Bought 8 of the LD2410B interfaced with ESP BLE/WiFi Module which has 5v and GRD pins. Now working in HA with ESP home and extended BLE range.
If you already have BLE proxys around your home ... LD2410 BLE is also an option. No microcontroller needed just that board by itself.
Have that before one beta was released - showcased it in video on 2023.2 as this was release when support was added.
Though people have been experiencing issues with it if no controller is used. Works better if connected via ESP module and also some had more luck after firmware of the board was updated.
I have used the above sensor and it just works. As someone keeps saying.
I still haven't tried to hook then up to ESP board. But do like the simplicity of integration via BLE - and as Paul would say - it just works 😂
A thumbs up for your help. I am up and running and with a few tweaks seems to be doing fine. A few questions. If you have yours in a case, what did you use? Also did you make any special yaml changes in HA to use it as a device in your office detection. Again, your channel helps drill down through everything at gets right to the point.
Thank you Carlton!
I still haven't found a case for this project, or created box myself. It's on my to-do list, but knowing me and available time, it will take a long time.
As for setting it up, also, no - unfortunately, I jump from project to project and never have enough time to pursue project till the end. I'm thinking on designing PCB that would just have headers for ESP32C3 and mmWave sensor for start - that would remove need for wires and maybe make it easier to create case for this. But...
Thanks for sharing this detailed tutorial as it was very helpful and allowed me to set up 2 around the house with no issues and I really love Seeed Studio as the XIAO and Grove range of devices work great with HA/ESPHome . 🏆
Seeed studio is one of my favourite component manufacturers. They just put a bit more effort in documentation, use cases etc that others miss.
can you make a tutorial on setting up this mmwave sensor with a xiao board please?
Shame they are out of stock till end of the month. (mmwave) Have one arriving from another company later this week though so still going to get my feet wet with this. Lewis got me all excited about the possibilities.
Yeah, he did really awesome work on his sensor board. It's great that we have so many various boards now available unlike just a year ago.
FINALLY a good price for this project.. I need 1 in each room and possibly 3 more in various areas of the house. Will you consider expanding to also include a PIR sensor to make sure movement is by a warm body?
There are more than enough PINs let to add PIR. I need to find one and test it with.
@@BeardedTinker Your expertise would be much appreciated.. the idea is to detect minute movements and verify that it's from a warm body in 1 device. 1 other idea is a 8x8 thermo sensor that can identify when someone's temperature is starting to be too high or low. Useful for kids and old people alike
@@BeardedTinker I was too fast... seeed ran out of the mmWave sensor 😭😭😭
Cats throw out the usefulness for me, but its small enough for mounting in a doorway to see if someone has passed through the doorway for turning lights on/off
Another Great Video.
Glad you enjoyed it Thank you :)
I've a lot of trouble with the ESP32C3.
The board is on a PCB with a ADXL via SPI. The whole thing should be LiIon powered .... but there are two main issues
Arduino IDE 2.04.
- no serial communication / ESP repairtool .... accidental repair
- Board an sensor .... random function
There 'll be a long way to transfer acceleration / single shock values to a smart fone by BLE or WiFi
What ADXL board are you using. I had few issues with them arriving dead or not working as they should.
But yes, C3 is a different than standard Arudino board and does require a bit of hacking.
@@BeardedTinker Sorry, it seems my answers are lost .... ?! ADXL375
Some updates from me:
I managed to get it installed with the following snags:
1. Had to add the esp32c3 to my network DNS as it (HA?) could not resolve the esp32c3.local name
2. Seeed changed their pins to D2/D3 for stability reasons?
3. I had to change the esp32c3 yaml part 1to the below because it could not find the right version for CMAKE to compile.
esphome:
name:
platformio_options:
board_build.flash_mode: dio
board_build.mcu: esp32c3
platform_packages:
- framework-espidf @ 3.40300.0
- toolchain-riscv32-esp @ 8.4.0+2021r1
- toolchain-xtensa-esp32s2 @ 8.4.0+2021r1
includes:
- R24dvd.h
esp32:
board: esp32-c3-devkitm-1
variant: esp32c3
framework:
type: esp-idf
platform_version: 3.4.0
I hope this helps people out there.
-------
Now after all this I could see the esp32c3, it would even show me the firmware version etc so great. I let it run all night and since the morning it's connected but all reported sensors are stuck on 'unknown' and status is 'abnormal'
Tried restarting it, unplugging and replugging in.. no bueno :( Any help would be great.
Thanks for the great video! Will the $19.90 sensor "24GHz mmWave Sensor - Human Stationary Presence Module" work with the same esphome code of the lite version? Will the same esphome code work with a different ESP32 board? I just ordered q.ty 3 of the $19.90 sensor since the "lite" are currently out of stock in Europe. Thanks
I'm not 100% sure. It should, be I don't have those and didn't try. Will try to check with Seeed Studio.
Thanks for a great idea! I was looking to buy a presence sensor, but it comes pretty costly compared to PIR sensor.
Do you have an idea how I could use this, but with battery power? I don't have a wall socket near the place where I will put it so I'm trying to find out how to power it with batteries.
That's not that easy. It will also bring a lot of delay on triggers - not that device is slow, but WiFi and sleep adds a lot of overhead as it takes some time to wakeup, do WiFi handshake and send notification. Anywhere from 5-12 seconds from my tests. But biggest concern is of course battery life. In sleep power consumption can be lowered but since it does need to power motion sensor, not sure how long battery would last.
@BeardedTinker great tutorial! I am wondering if the "standard body movement" data 14:39 can be logged / mined through home assistant? Also, is there a valid link to your discord?
All of the data should be stored in database inside HA. depending on the retention period you have set, you can use historical data for analysis. Also you can setup on that sensor data min/max/mean sensor to get those values too.
Great video, already have LD2410 in use but these seems to be really good. Will "24GHz mmWave Sensor - Human Stationary Presence Module" work with the esphome code for the lite version? I have many ESP32 NodeMCU lying around, must it just be the ESP32C3 model?
It should work with it. Only upper part of the code should be changed to match the board type. Rest, I think should work out of box, but didn't try.
I noticed that there is no simple enitity for occupancy. I think that is the most important one to use for automations. Does someone have an esphome Code for this?
Same issue here. In Homeassistant I do not even get triggers with the entity I can work with....
Thanks for that BT ... BLE radars are here !
Thank you Nikša. Radars are everywhere these days.
Thank you very much for this video. One question, I didn’t saw a occupancy sensor, should I need create it by myself? I mean like the FP1 shows out of the box the occupancy.
As in away/present? No, not currently from what I know. You could potentially create template binary sensor to check if value is 0 (or less than any values you want) to toggle away/present. But I haven't played with that so far.
@@BeardedTinker Thanks a lot, unfortunately I can't get it to work because I get an error. I have been trying to find the problem for couples hours. I did exactly like you did but i got this message: WARNING Can't connect to ESPHome API for test.local: Error resolving IP address: [Errno -5] No address associated with hostname
Try to use fixed IP address in network section. And than access from Home Assistant via IP address and not via mDNS name. Looks like network issue by the looks of it.
any updates on how to make a binary sensor with this (detected/clear)?
Is there an blueprint to use this setup for activating my lights or something else?
Not really sure. I don't use blueprints, so haven't searched for one.
do you get more sensors in home assistant if you get that presence sensor compared to the LD2410B or it is just having the code to be as the code you showed since both are using 24G mm wave
You do get more code in HA with Seeed Studio sensor than with LD2410B, but dsome of it is configuration parameters that you don't have with LD.
Just wish something could be done for fan interference with mmwave sensors.
The only way is to try to point a bit lower, out of detection range. But yes, they are a problem.
As I said I ordered the parts to try it. Now for another question which I could not find on the Seeed site. What other sensors can be hooked up to this. I have a lot of D1 mini that have temp/humidity/pressure/light level/pir and also led which activate by motion. Can this board handle that. Might you have a link.
Take a look here at documentation: wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/
Most of the sensors can be hooked up to it. It has 11 pins, but you'll need to check pinout guide on above link. So you shouldn't have an issue with sensors like DHT, ADXL, BME280 etc
@@BeardedTinker Thanks, exactly what I needed.
Great stuff BT, Thanks
Glad you enjoyed it - thank you!
I followed this tutorial and got the ESP32-C3 to connect in ESPhome and show the device page with all the controls, but I never get any data from the device. I have tested the mmwave sensor in Arduino IDE and was able to read data from it and show it in the serial monitor, but now with ESPhome it doesn't seem to be communicating. Any ideas?
I swapped jumper cables to make sure it wasn't a wire connection issue. Confirmed wires in the right place. Tried swapping RX/TX just for fun. Flashed the firmware several times. I even tried the dev branch code but couldn't get it to compile. My friend is having the same issues, but he's using a normal ESP32 dev board not the XIAO ESP32-C3. Disconnected/reconnected the 5V pin on the device. Logs in ESPhome say 'Standard Product model': Sending state '' (and same for Product ID, hardware model, firmware version etc. whenever I press the lightning bolt to get live data (log says "text_sensor on_raw_value" when I press it). I even tried my second mmwave sensor in case I had somehow damaged the first one.
Do you see anything in log files? Can you try to change debug level so it displays more info?
@@BeardedTinker I have tried to post links to my logs but that has fail. I am having the same issues as described above. It there a method for sharing the logs you could provide? Appreciate you and your videos so much
If you have Discord - you can post them there - link to server is in video description.
Hi BT how are you finding the Seed MMwave sensor? My sensor keeps saying someone in the room even when empty. Also I couldn't get the sensor data to show as a trigger in HA automation. Can you help me, am I doing something wrong?
That really depends. It is very sensitive! So movement of curtain, fan, pets, someone behind the wall, that all can trigger it. I've tested with ESP32 board directly and last test was with Everything Presence Lite - with EP Lite I got strange readings, while first test, as in video was OK.
@@BeardedTinker thank you for the feedback:)
Shame this board doesn't pack any connectivity of its own tho... LD2410B features bluetooth! and it's a breeze to add to HA, no ESPhome required! I use an ESP32 as bluetooth proxy for the LD2410B, it works great :)
Yeah, was testing that also in early HA beta. still have it somewhere around. Did you update firmware on it and have you tired that one with ESP32 board with cable connection? I've heard that some had issue with 2410B board after some time via Bluetooth connection.
@@BeardedTinker I've been testing the Bluetooth connection keeps going unavailable and have to mess around restarting integration and sensor. Esphome seems a better way to go
Yes... But people also say that flashing latest firmware helps with this. I haven't done that yet.
Does anyone have any good solutions for a case for this board/sensor combo?
Not yet. Was looking to create one, but by the time I released it, probably world will end...
Nice video! I am trying to compile the MR24HPC1 in ESPHome using an esp32dev board on pins 16-17 RX-TX but I get compilation error if i use the github xiaoesp32c3 yaml file. Is this going to work with an esp32dev board or do i need to buy a xiaoesp32c3 board?
If I remember correctly the yaml is configure for specific board - ESP32C3 board. You should be able to flash also with ESP32DEV board but you need to select appropriate board type and other specific setting plus of course pins you've mentioned.
@@BeardedTinker Thanks! I will give it again a try
Great video! If I understood correctly, it also works with an esp8266 board, right? I have a couple here and so I can use them. All the best
While RX/TX part should work, AFAIK, 8266 only supplies 3.3V on some boards. D1 Mini I think also has 5V. So just be careful about that.
@@BeardedTinker Ok, thanks. With the data that this exposes in HA, is it possible to differentiate the presence of one or two people more or less with the numbers? Thanks in advance
I'm using a 2410 radar on an ESP8266. Less settings but gets the job done. Transporting 24V on a wire and installed a mini buck-converter to step down to 5V. Installed the 5V straight to the 5V pin on the esp and radar, everything works great 👌. No kees for a bulky USB plug this way, and everything is put in a 3d printed box. All fits snug in there. Just to be sure noting falls out, I melted the seams with a soldering iron. Box is permanently shut now (splash proof)
But you can use 2410 BLE verison too, without the need for any ESP. Although as I've mentioned previously, they can have sometimes issues. It's great that we have options for different scenarios as not all mmWave sensors are the same.
@janinho82 - haven't tested but will try. Not really sure about that one.
Hi, the oficial site on "Hardware preparation" say: RX to D2 and TX to D3, but on yaml file on uart section say: rx_pin: 5 and tx_pin: 4, can you help me?
Did you check in video? I show where cables are connected.
RX and TX pins on ESP32C3 are pins D7(RX) and D6(TX) - they were according to documentation GPIO20(RX) and GPIO21(TX).
Not sure why few days ago they changed it to GPIO4(D2) and GPIO5(D3).
I didn't update to that code or changed pins
Yes if you are following the connections in the video the github code needs changing to say rx_pin: 20 and tx_pin: 21
Yes, recently Seeed studio changed pins and code on GitHub. I still haven't tested with new code on different pins.
mmWave board doesn't work until its power cycled after the ESP32C3 is powered. I have to install a swich between the 5v line between the ESP32C3 and mmWave board so I can power down and up again? Anybody solved that issue?
Haven't seen that issue so far.
Yes I agree that this is my experience. I soldered the board and mmWave board but nothing worked, then realised that the mmWave board needs to be powered after the ESP32C3 which is a bit of a shame.
Thanks B.T.
Thank you Ron 😉👍
Is there already a way to run the esp32c3 with the Hilink LD2410B? I have not managed so far.
Connection via cable or Bluetooth? Via cable should probably be possible, but haven't tried. What PINs are you using?
@@BeardedTinker I actually meant a working ESPHome code. Which works specifically for the seeed studio esp32c3. With the esp8266 I have the module running. Unfortunately this code does not work with the esp32.
Code for 2410 should be same. I think you need to use pins D6 and D7 (same as for this sensor) for TX and RX. Resto of the UART code and sensor one should be same.
But I didn't try to hook this up. I don't have full code.
@@BeardedTinker Unfortunately, this is not the case. I have used D6 and D7. It comes to the error message when compiling. I am not so fit to fix the error. Do you have a working code that I can use?
No, I don't use LD2410B with ESPHome - it's connected via Bluetooth proxy. (actually, it's offline now).
Is there also a case available ? I own a 3D printer so an stl file would be nice
Unfortunately, there is still no case for this combo AFAIK.
I've found STL's of devices on GitHub from SeedStudio, but just the devices themselves.
@@BeardedTinker I'm also interested let us know if something comes up please
I wish I had time to do the case. But I'll tag here if I find any. Biggest issue can be that it's using wires as it's 2 components.
@@BeardedTinker I orderd one from china so it will take some time to arrive here in the netherlands but when I got it maybe I can draw a case in sketchup.
@@BeardedTinker thank you very much I will do it myself but I'm so terrible at 3d design that it makes my had hurt
Anyway I wanted to also thank you for let me know about this board and sensor because I intend to to use it for switch on and off the screen of my LG tv to prevent burn in
I have been reading about the mm sensor for a while. Question is sensitivity. My home office and my wifes home office are in two adjacent rooms. Our desks face the same point in the wall. If I have the mm sensor in my office on my desk, will it be sensitive to her movement was well? This is my only aprehension in going this route. Thanks Andrej
I think this will depend on the wall. But this one is not as strong as some others and you can tweak the sensitivity (for example reduce range). So I believe it could work. I have brick or concrete walls mostly. Need to test with one wall that is plaster with insulation to see
@@BeardedTinker I will give it a try. My house is wood studs and plaster board between the rooms (about 13cm thick).
BLE isnt supportet from ESPHome? Sure?
It wasn't at the time of the testing and when ESP32C3 support was still experimental.
Could be that now BT support for Xiao C3 was added. You need to double check.
Any ideas/suggestions on a case to put this in? I'd like to put one in each room of my house but I don't want the exposed cards on the wall.
I also don't want to install new outlets at each sensor location or run wires to them. Any thoughts on connecting a battery?
Ive just received a pair of each of these boards from Seeed, the mm Wave sensor uses some very tiny pitch headers.... normal dupont connectors are too big, now I'm left trying to find a source of suitable plugs to use with these small pitch connectors..... anyone know what they are called? Ive measured the distance between the pins, seems to be about 2.4mm
That's strange... I've used standard dupont cables for this. LD2410 is using 1.25mm pins that are not standard, but these mmWave should be standard ones - on both sides.
@@BeardedTinker thanks for the reply, I have bigger issues though, esphome is giving me a problem, many compile errors, restarted everything again from scratch, I can now compile the sensor without it erroring, flashed the binary to the esp using legacy tools esphome method, that went OK, but the device now doesnt boot, and the serial monitor displays a few messages in a cycle that seem to be during the esp boot sequence....... if you were able (and I appreciate any assistance...) can you shed any light? I know my esp device is working as Ive created a simple blinky led as per the Seeed studio projects pages... and that does work......
@@tonybell1597 you need "2mm to 2.54mm Pitch Ribbon just received today from Amazon and working fine
Hmm - bootloop probably. One thing that can be reason for that is inadequate power. How are you powering the device? I have it connected to PC but via powered USB HUB, to try and prevent those issues
Can I use this sensor with ESP01?
It requires 5V. I think ESP01 uses 3.3V. But there are no reasons why RX/TX ports should work for this.
@@BeardedTinker thanks for the reply man!! Really appreciate. Keep growing. Love your work!
Thank you!!!
can i be able to get that presence sensor through Ali express?
Haven't seen it on Aliexpress.
What esphome compatible board do you recommend that does Bluetooth proxy and presence detection?
Most often I use cheap ESP32 mini boards you can find on Aliexpress for around 5€ - simimlar in size to D1 mini.
When this ESP32C3 gets BT support, it will fall in that range too, but so far it can't be used for that for now.
@@BeardedTinker Thank you. I am new to this. Thank you for the helpful video
Disable and enable doesn't work for me. It keeps disabling
I had that issue when Dupont cable was not seated properly. After making sure I had connection, it worked as it should.
@@BeardedTinker soldered the wires on esp32c3 and mmwave sensor didn't solve the problem. Guess I will have to contact seeed studio
Same for me, soldered short wires and output switch keeps disabling.
@@JasperTielen You need a switch between the 5V line, the mmwave sensor needs cycling after the esp32c3 is up and working
Is there a work around for this?
Aahh.. the temptation to promote or say something positive about the company that is giving you free stuff (read: not sponsoring!). Because they may just give you more free stuff in future.
But for the rest, excellent video with lots of detail. Thanks!
You never know :)
Just letting you Guys know: the mmwave Sensors have a high fall Out rate. Of 5 Sensor 3 are know defect after 2 weeks of usage. Also the WiFi antenna of the esp32 Mini Boards are totally worthless. They have constant disconnects. I replaced the with other pigtail antennas and have nö Problems since.
Haven't seen this issue yet.
@@BeardedTinker maybe I Just have a bad batch. I am in contact with Seeed. They said they will investigate this issue, but i haven't heard from them since 10days.i opted out to an hlk-ld1125h Sensor and it been working nice since days. I even have a usable Sensor, that just states recognized/unrecognized which works just fine for automations. The Seeed Sensor is missing this simple Sensor in the config completely! Concerning the antenna of the esp32(-s3), it'sobvious that it is crap. If you use wpa3 it doesn't work stable. On wpa2 it works much better, but i don't know how that is related in any technical way to the problem.
Update: Just got a reply from Seeed:
Hi,
During this time we investigated the cause of the problem, it was caused by the fact that the radar was not in custom mode when adjusting parameters using the esphome console, this triggered the protection lock of the radar, please try to unlock the protection lock using the attached tools and guide and then reflash the firmware according to the wiki, I believe this will solve the problem.wiki.seeedstudio.com/Radar_MR24HPC1/#firmware-version-updates
files.seeedstudio.com/wiki/Radar_MR24HPCB1/ArteryICPProgrammer_V2.4.23.zip
wiki.seeedstudio.com/Radar_MR24HPC1/
Hi, did you manage to fix the issues by updating the firmware? I recently bought the sensor and connected it with esp32 and got the readings only once, after that the sensor stopped working. I tried reflashing esp, changed uart pins, powercycled it and it never worked. Every entity is unknown or unavailable.
@@anandsaravanan8732 Had no time yet. The Sensors are glued with hot glue into place and i can hardly reach the pins for reprogramming. I will let you know as soon as i do it. I am tinkering with ld1125 mmwave Sensors right now and they seem to Work much better and faster, so i think i will replace the Seeed ones.
@@t0mz3n75 goodnews, finally managed to update the firmware using the uart to usb method and the sensor started working. Hope it wont break again.
initially the uart programmer didnt work, power cycled the sensor alone and it started the flashing process.
Hi i think there is chinese mmwave is that works
Actually, most of them are Chinese :) From Aqara FP1, LD2410B, Seed Studio,... They are all made in China :)
@@BeardedTinker yes i meant the ld can i do the same and another question what is sleep sensor and can it work with home assistant thx from iraq 👍👍
Esp needs to tape out a faster mcu already they don't want to pay for the license fees to improve raster performance. Boring video
Well, got you to leave the comment, so that's win for me ;)
Not sure why would you need faster one. And if you do want it, there are versions that can do ML, voice recognition,... that should be sufficient for most of the projects.