ULTIMATE IoT project ESP board & NEW mmWave sensor

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
a lot of projects on this channel and other smart home channels require some kind of MCU or a board to power it we all know about the esp32s the small esp32 boards we also know about the ESP D1 minis or 8266 boards but some time ago Seed Studio has released Xiao esp32c3 board around December of 2022 this board has been officially added to ESP home and today we will be playing with this board here but also the latest sensor from the seat Studio the present sensor will start in couple of seconds if we compare this five dollar board with other options we have for DIY projects and some of my favorites are esp32 and esp8266s in a small D1 mini package we can see that there is a lot of difference in size and Size Doesn't Matter always because this little esp32 C3 board is packing a lot of punches I will be of course leaving a link to this board the sensor will be using today but also all the other links that you need to finish up this project while we are talking about the Seed Studio they are really known for their excellent documentation and most of the things that we will be doing here today you can also find in the links on the pages I will be providing but let's spend couple of moments talking about this a little bored Xiao which I think in Chinese means small or tiny esp32 C3 board is new risk architecture style of the board it supports both Wi-Fi and ble but unfortunately at the time of the recording of this video ble functionality is still not supported with the ESP home we will not be needing it but just in case if you are considering to use this board as a Bluetooth proxy and I really do hope that we will see bluetooth support added in near future because this board is even smaller than some of the other proxies I've been using and those are M5 stack atom lights the board does arrive with the external antenna which is a pretty big one but if you are thinking of printing a case and putting your project inside the case then you also have the alternative and the alternative is this external antenna there are some other flavors to the board don't mix them up because we need this esp32 C3 other boards may not be compatible with the projects that you want to do or with the ESP home itself but there is also kit for this seed shell board which includes some of the sensors and things that you can start playing with which I really do recommend that you try out of course if you can seat Studio has as I mentioned previously great documentation you have a lot of applications or examples or samples that you can look at get inspired or start working with for example this one here smart private garage which is using two of those boards to control your garage doors or this one here remote Forest tracker that can be used as a tracker for your pet dog this board is using type c connector we have led that will light up if it's charging or if it receives power we have boot Button reset button and as I mentioned the Wi-Fi slash Bluetooth antenna connector and the second component we will be using today is this 24 gigahertz microf sensor component human static presence module light there are different types of the sensors this one which costs only seven dollars or a little bit under seven dollars is this human static presence light we have also this stationary sensor respiratory or sleep sensor respiratory or heartbeat sensor and full detection Pro sensor most of them cost double triple or even quadruple from what this static presence sensor light costs and as you will see later on it really does refresh a lot and give you a lot of information that you can then use in for example home assistance some of the information in regard to that board this board runs on 5 volts but it can run in the range between 4.5 up to 6 volts operating current typical is 100 110 milliamps but it can also pull all the way down from 95 up to 120 milliamps operating i o current is from 8 to 20 milliamps and the size itself is not that big 35 by 30 millimeters those nine millimeters are the pins that are pre-soldered on the board maximum detection distance is from 3.5 meters for detecting objects or people in sleep 4 meters four stationary objects and 5 meters for motion detection range this is the maximum values and angles are 90 degrees horizontal and 60 degrees vertical or pitch and now let's look at this guide here Shaw esp32 C3 access home assistant via ESP home service in order for us to finish this project you will be needing esp32 C3 board you will need this millimeter wave sensor board and also four Dupont cables Plus One USB C connector that will be used to power the board and also program it for the first time documentation for this project that is available on the link down in the video description will guide you through the whole of the installation process it does presume that you already have home assistant running but even if you do not have home assistant installed here you will find links to install it on the Odyssey x86 machine read terminal or rerouter or link start router and now comes the fun part you have to hook up this board first Dupont cable needs to go from 5 volt pin on the ESP board to the 5 volt pin on the sensor board next we need to connect the ground wire from the ESP board which is one pin below the 5 volts to the PIN for the ground that is next to the 5 volts in the first row on the sensor board next we need to connect D6 connector with the RX or receive on the board and D7 connector on the ESP board to the the X on the sensor board and that's it four wires are all we need to hook everything up this Pro is using additional header file and because of that you either need to go to the terminal and run this terminal inside your home assistant instance or for example how I did it is to use either file editor or vs code to copy that file to home assistant we will just copy this link here https up to dot h and paste and open the URL in the new window then just right click or press Ctrl a on Windows machine copy everything and inside vs code or file editor whatever editor you are using to edit ml files go to ESP home folder and there create a new file name the new file r capital r 24 DVD in lowercase.h and just paste the code there that's it we have now prepared dot h or header file for the next step the next step is same for this board as with any new board that you are using in your ESP home click on add new device type in device name for example esp32c3 click on next if you are running your home assistant with the https certificate you will be presented with a screen like this but if you are on your home assistant without HTTP certificate or in unsecure form you will see screen like this in this case click on open ESP home web click on connect select USB JTAG serial debug unit click on connect and prepare for first use but as I mentioned I am using the certificate and I have secure connection so I'll be doing it the other way around I will click connect select USB JTAG serial debug unit connect and if you receive this seller you can press and hold the boot Button and repeat the same process depending on the speed of your system it can take from couple of seconds to couple of minutes and if everything is correct that should be it in the next step we have to change parts of the yellow file click on edit we will have to replace this upper part which is called part one in documentation and this lower part which is this captive portal line here and in documentation it is referenced as both part 2 and part three this upper part which starts at the beginning of the document and finishes with logger we have to click on this link here and that will open the GitHub repository where you need to copy this code and replace the first part of the code you can delete this here and give this device either same name esp32 C3 in my case or whatever name you want to name this device we see that this is underlined because yeah it will not work with the captive portal delete it go back to the documentation click on this second link and we will copy this second part of the code click on Raw select everything copy and paste it inside the ESP home that's it everything is now ready if you have followed this step by step connected those four Dupont cables connected everything up and change the code according to what I've shown you here or the documentation you are good to go click on Save and click on install Next Step depends on your setup you can either use wirelessly because OTA update will already work or if you're using USB cable and have https certificate for secure connection you can use this plugin to computer I will be using wirelessly this process will take again some time but that should be the last step actually the last step is to add everything to home assistant and voila it's finished if everything is correct you should see something similar to this here and the board has start sending the data we now have everything working and we can use it as a sleep sensor or sensor that you put under or above your desk to see if you are working or not there are tons of ways on how you can use this sensor data but we still haven't got that data inside home assistant for us to be able to do that let's do couple of more steps I'll copy the encryption key don't worry this key will be changed by the time the video is released and also if it's not changed good luck on trying to find my network and connecting to it let's check notifications to see if the system has discovered this device or not yes it has been discovered but if for example the system wouldn't Discover it you would just need to go to the add integration type in ESP home click on it and set another instance of ESP home in my case I will just press configure submit select area finish and that's it we should now see device here if we click on it we have one device with 35 entities you can disable enable the device and you can play with the settings and there are really a lot of settings from sensitivity to timers or timeouts Etc if some of the data is not visible for example standard firmware version Hardware Etc don't worry unfortunately it doesn't work also for me there are a couple of sensors that you should look carefully at for example this one here this is the standard heartbeat sensor if everything is working correctly you should see it or it should always be in the normal state if for example the sensor loses connection because the wire has disconnected you will get abnormal State here here we have information about the motion distance yes you do not have centimeters here but it does round nicely to half a meter meter Etc motion speed will tell you how fast is the object moving either in a positive value when something is moving towards the sensor or negative value if something is moving away from the sensor but before I leave you to play with the sensor data look at this number here if I stand still it drops to one as soon as I start talking or breeding it jumps to six so the sensor is very sensitive for the price for the size and for the availability sure there are alternatives but I really do like this sensor and it can be as I mentioned easily used as for example something that you put inside your bedroom to check if there is occupancy of the bed or not and if there is a occupancy or if somebody is sleeping in the bed second thing that I also mentioned on the stream and yes last weekend we had members only stream where we played with this sensor and talk about a bunch of other stuff the recording itself will be available soon on that stream I mentioned that for example I can use it here at this desk to see if I am present at the desk or not and so if I leave those two lights on and I walk away from the desk I can have this sensor trigger the lights off if it doesn't detect that there is an occupancy here even if there is no movement while since Studio did send me free of charge this year sp-32 C3 board and this sensor board they didn't sponsor or pay me to do any kind of a review or anything but I still do like what they are doing for the Arduino and DIY Community for example look at this one here this is the groove board with the OLED display that has been designed for this esp32c3 module and it's really awesome because it allows you to expand to learn about Arduino to learn about coding to learn on how sensors work and later use that knowledge for your DIY sensors I challenge you to be next Lewis and create even better present sensor so check out the links below and if you did like this video and do like those boards don't forget to give me a like this not just means a lot to me but it really helps with the messed up YouTube algorithms and I really want to thank all of you wonderful people that are supporting me and that have become YouTube channel members thank you all for all of your support but let's not forget each and every one of you who has watched liked or subscribed to my channel if you too want to support the channel you can do so by a becoming a YouTube channel member for only less than two dollars or two Euros per month or P go to my merchandise store and buy something there we called it merchandise store not merge we are adults and I will be seeing you next time until then bye bye and have fun
Info
Channel: BeardedTinker
Views: 36,779
Rating: undefined out of 5
Keywords: esp32c3, esp32c3 xiao, mmwave presence detection, mmwave sensor, mmwave radar, mmwave presence sensor, mmwave sensor home assistant, mmwave home assistant, seeed studio xiao, seeed studio xiao esp32c3, home assistant esp32c3, esphome esp32c3, esphome esp32c3 arduino, esphome presence detection, esphome presence, diy motion sensor, mmwave sensor esphome, mmwave sensor module
Id: KMopR2zANDc
Channel Id: undefined
Length: 17min 2sec (1022 seconds)
Published: Wed Mar 08 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.