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

AI Thread Summary
The discussion focuses on designing a circuit that activates a lamp based on sound detection while ensuring it is dark, utilizing a sound sensor, light sensor, inverter, delay, and logic gates. The proposed solution includes a light sensor that allows current flow in darkness, a sound sensor connected to an inverter, and a delay set for 10 seconds before turning off the lamp after sound ceases. The circuit employs an AND gate to ensure both sensors must be active for the lamp to turn on, while an OR gate is used to manage the delay output. There are inquiries about modifying the circuit to eliminate an initial delay when turning on the light. Overall, the design aims to create a responsive lighting system based on environmental conditions.
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?
 
Back
Top