Hello, I'm trying to put together a circuit that will turn on a outside light automatically.
The light is over a doorway and can be switched on from inside, however that's not much use when your trying to find keys to get into house in the dark.
Don't want to use a pir as it can be a nuisance with cats and dogs setting it off plus the neighbours door is only a few feet away, so there likely to set it off.
I was thinking since the door opens on to driveway I could use the car headlights as a trigger to operate the light.
If I use two ldrs, one to turn on the other when it gets dark via a transistor, then when the car lights hit the second ldr that will trigger the circuit.
There's probably lots of ways to do this hoping someone could give me some pointers as to the most efficient way, with least amount of components. Had thought about using a latching relay with three separate contacts, the pulse from trigger latches relay, one set of contacts grounds the trigger ldr so that if car lights are on after relay has closed then it can no longer effect circuit. A second contact charges a rc time circuit that will be set to unlatch the relay after 3min. The third contacts turn light on.
I think this circuit will work but would it be better to use a flip flop circuit that will latch instead of multiple relay contacts?
Also if I powered the circuit of a 9v battery how long would it last given that one of the ldrs will be pulling current to ground during daylight hours? Possibly needs a rethink maybe someone could advise?
The light is over a doorway and can be switched on from inside, however that's not much use when your trying to find keys to get into house in the dark.
Don't want to use a pir as it can be a nuisance with cats and dogs setting it off plus the neighbours door is only a few feet away, so there likely to set it off.
I was thinking since the door opens on to driveway I could use the car headlights as a trigger to operate the light.
If I use two ldrs, one to turn on the other when it gets dark via a transistor, then when the car lights hit the second ldr that will trigger the circuit.
There's probably lots of ways to do this hoping someone could give me some pointers as to the most efficient way, with least amount of components. Had thought about using a latching relay with three separate contacts, the pulse from trigger latches relay, one set of contacts grounds the trigger ldr so that if car lights are on after relay has closed then it can no longer effect circuit. A second contact charges a rc time circuit that will be set to unlatch the relay after 3min. The third contacts turn light on.
I think this circuit will work but would it be better to use a flip flop circuit that will latch instead of multiple relay contacts?
Also if I powered the circuit of a 9v battery how long would it last given that one of the ldrs will be pulling current to ground during daylight hours? Possibly needs a rethink maybe someone could advise?
