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 it's range.There are two switches that controll the LDR and PIR sensors seperately. you can eneble both at the same time or seperately according to your desire.
The 3 pin SCREW header is the the part which carries the load in the relay. Connect the COM and NO pins to any kind of circuit as a switch according to your relay's capacity and your good to go!
(If your not sure about how relays work, I suggest you to watch a video or check it out in the internet before doing this project)
hope you like this project B)
if you have any questions, s=ask in the comment sectionand ill reply ASAPB)
|7||1206 1% 1K ohm||R2||1206||1|
|10||220Ω 3216||R5,R7,R1||1206 3216 RESISTOR SMD||3|