Ever wondered how your computer knows when to unlock, or how a traffic light changes at just the right time? 🤔
Well, behind the scenes, it's all thanks to logic gates!
In this lesson, we’ll explore how these small but powerful gates are used in real-life systems — like alarm systems, calculators, and even your smartphone📱!
Circuits designed to control streetlights💡
There are several occasions when the lights are on. These are,
- When only the manuals switch is closedÂ
- When the input of the timer is 1 and when the environment is dark.
 If the time is in the range of two pre-arranged ranges the input is 1 andÂ
otherwise 0. This means, the input is 1 when time is from 6 pm and 6 am, and the input is 0 when from 6 am to 6 pm. Further, the light sensor will be 1 when there is light above pre arranged value and it will be 0 when it is dark. When the environment is gloomy with a rain cloud, the street light will not be on though the light sensor’s value is 0 if the time is not between 6 am and 6 pm.
