A varying input voltage (pin 2) is compared with a fixed reference voltage (pin 3). If the input voltage is higher than the reference voltage, then the output is negative. If the input voltage is lower than the reference, then the output is positive.
Suppose that, resistance of LDR is 15K in dark and 1K in light. If we fix the variable resistor at 40K, then, according to the voltage divider rule:
Voltage at pin 3(Reference Voltage):
Vref =[120K/(120K+40K)]*6V = 4.5V
In dark, input voltage at pin 2,
Vin = [15K/(15K+15K)]*6V = 3V
Here, from the calculation we can find that Vin < Vref
So, the output is positive, this switches on the LED.
In light, input voltage at pin 3,
Vin = [15K/(1K+15K)]*6V = 5.625V
Here, from the calculation we can find that Vin > Vref
So, the output is negative and that switches off the LED.
Heat Sensor using 741
Buy Similar Kit:
CK1003 – Light Alarm Kit