This is a photocell circuit for detecting the light intensity. At full light the resistance of the photocell will be few ten ohms and at darkness it will rise to several hundred ohms. IC1 Op amp uA741 is wired as a comparator here. At darkness the resistance of photocell increases and so the voltage at the inverting input of the IC1 will be less than the reference voltage at the non inverting input. The output of the IC1 goes to positive saturation and it switches ON the transistor to activate the relay. By this way the lamp connected through the relay contact glows. The diode D1 works as a freewheeling diode.
Rangkaian Lampu otomatis menggunakan photocell (LDR)
photocell
A light sensor (photodetector) that varies its resistance between its two terminals based on the amount of photons (light) it receives. Used for photographic light meters, automatic on-at-dusk street lights and other light-sensitive applications, it is also called a "light dependent resistor" (LDR) and "photoresistor."
The photocell's semiconductor material is typically cadmium sulfide (CdS), but other elements are also used. Photocells and photodiodes are used for similar applications; however, the photocell passes current bi-directionally, whereas the photodiode is unidirectional.
Gambar photocell
Photocells come in a variety of packages such as this assortment from PerkinElmer. As the photocell receives more photons, the resistance is lowered between the two terminals.