This circuit can be used to check, for example, whether the door of a refrigerator has been properly closed. An LED sends out a beam of light, which, if the door is closed, is reflected. An optical sensor (CNY70) then detects the amount of light. If the sensor does not receive the right amount of light, the buzzer will sound after about a minute. When the door is closed (and the CNY70 receives enough light again), the buzzer turns off.
Discussion (0 comments)