Presented here is an automatic motion sensor switch built around a cheap ‘Doppler Microwave Radar Sensor’ that can be easily used as standalone detection sensor. The circuit, designed as an alternative to the common PIR motion detectors, is perfect for DIY microwave motion sensor light switch, human sensor alarms, smart security devices, etc. The given circuit offers a detection sensitivity of about 7 meters, and when triggered its switch remains in the active state for around 3 seconds before returning to the idle state. At the heart of this affordable idea is the RCWL-0516 microwave radar motion sensor module.
The schematic shown next is infact a perfect blend of an AC230V power supply unit and a DC12V electromagnetic relay driver realized with the help of some generally available inexpensive components, in addition to the aforesaid microwave radar module. The whole circuit can be assembled on a small piece of veroboard/customized printed circuit board to enclose in any convenient plastic container. Keep in mind that the circuit always carries fatal high-voltages, so extreme care must be taken to ensure that unisolated section of the electronics should be kept insulated from the outside world!
It is good, especially corridor lighting, to have a light sensor (CDS Sensor/LDR) attached with the motion-sensing sensor, since it ensures that even if some movement is detected, the switch will only be activated when there is little light or zero light. Here, you can solder a 5mm LDR on the 2-pin solder pad tagged as CDS.
If you are adding the light sensor, note that by adding a resistor (in parallel with the internal 1M ohm resistor, marked as R-CDS) it’s possible to change the light detection threshold as per individual requirement. A 47K-100K resistor in parallel with that 1M resistor will work fine with standard 5mm LDRs.
As you might noticed, the 12V electromagnetic relay (RL1) in the circuit is driven by an S8050 transistor (T1). If desired, you can also use other relays with a different supply voltage rating (5V for instance). However, in that case, the power supply configuration (now 12V) will have to be changed, of course with some other modifications.