
The circuit as shown act as a light detector. Under normal conditions the resistance of the LDR is high, keeping pin 2 low. When light falls onto the LDR the resistance drops to a couple hundred ohms and triggers pin 2 high which biases the base of Q1 via pin 6 and R4 and in turn activates the relay.Light/Dark switch Circuit with relayAs...