Circuit Diagram for lights in a building (Sound/Light Sensor + Delay)

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
06mangro
Messages
20
Reaction score
0

Homework Statement


Need to design a system where the lamp (output) turns on when sound is heard and turns off after 10 seconds of no sound, but it must also be dark (light sensor).

Homework Equations


The Attempt at a Solution


I have put a Light Sensor (that is set to let current flow when it is dark). Then i have a sound sensor, connected to an inverter, which is connected to a delay (set to 10 seconds). These are both connected to the light (lamp) through an 'AND' gate so that both must be allowing current to flow for the light to turn on.

When turning the light on there is a delay, (the question didn't say that having a delay at the start isn't correct, but if someone could tell me how to modify it so that that doesn't occur, it would be appreciated)
 
Last edited:
Physics news on Phys.org
the output of the delay and the output of the inverter should connected to an OR gate. The output of the OR gate goes into the AND gate.

Delay:
output=OR gate
input=inverter

OR Gate:
output=AND gate
inputs=inverter,delay

AND Gate:
output=lamp
inputs=Or gate,light sensor.

make sense?