Light Sensitive Alarm

The Challenge

How do you stop people from snacking or make people aware of how much they are snacking?

The circuit for the fridge alarm, originally created by Forrest M. Mims III is a light-activated switch that activates a piezo tone generator. When the cadmium sulfide photoresistor (photocell) is surrounded by darkness, its resistance is very high and the NPN switching transistor is off. When light strikes the surface of the photocell, its resistance falls significantly which causes the voltage divider to apply sufficient bias to the transistor's base which allows the current to flow through it to the piezoelectric buzzer.