We will discuss LDR darkness sensor – LED OFF as light falls on LDR and Turn ON in the dark here, it has a previous part which is LED ON as Light falls on LDR and Turn OFF in the Dark
LDR DARKNESS SENSOR – LED OFF AS LIGHT FALLS
As we can see the output of bridge is fed into an op-amp. The output of terminal A fed to inverting (-) input of op-amp and output of terminal B fed to non-inverting (+) input of op-amp.
We know as light falls on LDR its resistance starts decreasing corresponding to intensity of light and in the dark resistance increases, we know current will follow low resistive path. So, if light falls on LDR it has low resistance means more current will pass through LDR (more at point A) while in the dark more current will flow through another path (at point B).
So in sunrise point A has more current and B has less. In dark B has more current and A has less.
We know op-amp compares inverting (-) and non-inverting (+) voltages and passes which one is greater. So
- Voltage at inverting (-) is Higher. We know if signal fed into inverting (-) of op-amp it does change the polarity of the signal. So output of op-amp is negative
- Voltage at non-inverting (+) is Lower.
That implies LED will get this negative voltage and remains OFF as it is reversed biased condition.
- Voltage at inverting (-) is Lower.
- Voltage at non-inverting (+) is Higher. We know if signal fed into non-inverting (+) of op-amp it does not change the polarity of the signal so the output of op-amp is positive voltage.
That implies LED will get this positive voltage and would turn ON as it is forward biased condition.
|6||Battery 5V / 9V||1|
|7||Male to Male jumper||8|
As light falls on LDR output of op-amp is negative voltage means LED gets the negative signal that makes LED to be turned OFF and in the dark output of op-amp is positive LED will get the positive signal that needed by LED to be turned ON.