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...
this is a simple **dark sensor** project that is connected to a relay which u can connect to a domestic light or fan etc. thedevice make sure that when there is light, the relay will be switched OFF and when it's in the dark, therealy is turned ON.
This schematic uses two LDRs (Light dependent resistor) to sense the light and a servo motor to automatically rotate the solar panel in the direction of the sun light. The Arduino code is available on [Arduino Solar Tracker using LDR and Servo Motor]