This is a simple circuit which controlls a relay with both LDR and PIR technology. you can supply 12v AC by connecting a 12v transformer to the 2 pinned **SCREW** header.If you dont have a transformer, you can directly connect a 6v battery to power this through the **'+DC6V' header**.
The LDR mode turns ON the relay when it's dark while the PIR mode turns ON the relay when theres a motion within...
Uses 328PU to turn off light or turn on as needed, Using much software. But it has micro wave detection, pir detection, audio detection, and light detection.