I am trying to make my own motion sensors using NodeMCU & RCWL-0516 sensors and did following steps:
On a breadboard connected a FTL card set to 5V
Connected NodeMCU as follows:
a. VIN to 5V from FTL card
b. GND to GND from FTL card
The flashed NodeMCU works and I can access the webGUI and set the template to “Generic(18)”
Connected RCWL-0516 as follows:
a. VIN to 5V from FTL card
b. GND to GND from FTL card
c. OUT to D1 pin on NodeMCU (GPIO5)
In webGUI for Tasmota I set GPIO5 to “Switch(1)” and now can see “Switch=ON” in the console
But if I leave it alone or move away from the board and then it should show “Switch=OFF” as there is no motion occurring but it stays 'Switch=ON" all the time.
Did I miss anything in the configuration or did it incorrectly?
Thanks @nickrout, I saw few other DIY tutorial and they all used a pull up resistors so perhaps that is the next step. I am also thinking that might as well add a bypass capacitor at the same time while I am ordering resistors on Amazon.
yes I am aware of the range so left the setup in a room and went far away for few minutes but console did not log anything different when I was away.
In my case I want to add this motion sensor to a light in my home office so that if I walk into office past sunset, the light should come on. The RCWL-0516 seems to have good sensitivity to get the job done but there is a problem with my setup. The wall which has the power socket, behind this wall is a toilet which is not connected or accessible from my office.
So if there is motion in the toilet then RCWL-0516 would still get activated as it works on doppler which can penetrate through the wall. So I am contemplating adding a HC-SR501 to the NodeMCU board as there are free GPIOs. Since HC-SR501 is direction sensitive (in front), taking a boolean from both the sensors would make the motion detection restricted to office space.
So two questions comes to my mind:
Is the logic for adding RCWL-0516 & HC_SR510 correct?
Would HC-SR501 also need a bypass resistor and a balance capacitor the same way as you described above?
Thanks.
PS: I am still waiting for resistors, capacitors and HC-SR501 to arrive so cannot test my premise.
Yes HC-SR501 is a PIR sensor. In the comments section of few of the DIY tutorials for motion sensors, folks mentioned that combing HC-SR501 with RCWL-0156 gives much more reliable performance so was curious.
I’ve just set one of these up as an experiment. The problem in having is that it never seems to register as off. Even tucked away somewhere or if site.
Hello, it’s my first time sharing here
I am in the rcwl-0516 radar sensor project, I was able to make it work, I integrated it into esphome, however, home assistant does not recognize the entity, only the device
We might be able to help if you share the ESPHome device’s configuration. If the entity does work in ESPHome but not in Home Assistant, then it either isn’t correctly set up as a binary sensor in ESPHome, or you accidentally set the sensor as internal which prevents it to manifest itself in Home Assistant.