Wemos D1 (knockoff) + RCWL-5016 Microwave Sensor

I've started playing with microwave sensors and ESPHome using some knock-off Wemos D1 devices and RCWL-0516 sensors.
2
12
0
265
updated December 18, 2022

Description

PDF

I wanted to make a very small sensor using some Wemos D1 like devices I had around and some microwave sensors, to see how well they would work around the house to act as occupancy sensors.  I already have PIR sensors, which will turn lights on, but keeping them on was a bit of a bother as if I didn't move around enough, the lights would turn off.

My Home Assistant setup is that the PIR sensors turn the lights on, and both PIR and one or more microwave sensor must not detect anyone for 20 minutes, then the lights are turned off.  For my workshop, half at 20, and the other half 5 minutes later, so I am not left in the dark at the table saw.

 

My ESPHome configuration:  https://gist.github.com/skandragon/198874e8fd9f04c6ae4506e379d53249

I have the sensor on D1, and a 5mm LED on D2 (other end to ground, and a resistor inline).  The LED will fade on/off for detection, and flash once every 2 seconds for “API connected”, which shows that the device is active and connected to Home Assistant.

The microwave sensor goes on the “top”, the LED in the round hole, and the ESP8266 device in the lower, larger side.  I left notches for wires to be run around; I suggest using short and thin wires as power is not an issue here.  I fed the ESP8266's 5V to VIN on the microwave sensor, ground to ground, and the vout from the sensor to D1 on the microcontroller.

The case “top” has two holes for screw mounting, but I've not tried using them; I used “command strips” to install the sensor.  The two parts are a friction fit as well, so if they come apart when you don't want them to, I suggest a bit of CA glue.  Once working, I don't expect to have to open these again.

Tags



Model origin

The author hasn't provided the model origin yet.

License