Do some magic with the LDR
What you need to know;
- Ohms law.
- Voltage division.
- How to use the breadboard.
- How the LDR works.
In this piece, we are going to build a practical circuit with the Light Dependent Resistor. Recalling, the LDR, we know its resistance, is dependent on the intensity of light incident on it. It has a very high resistance when there is NO or LOW light incident on it and it has low resistance when more light is incident on it.
It is this property of it which we are going to harness to create something magical for ourselves.
So we are going to build a simple light sensing system which is going to read our environment’s light intensity and later Toggle an LED high or low depending on the light intensity of the surrounding.
But just the LDR cant do this magic, we are also going to harness a marvelous behavior of the voltage division to create something spectacular.
Why voltage division?
The objective Logic.
- A bread board
- A few jumper wires
- Your voltage source
- An LED of choice
- An LDR
As usual, get your bread board in place with your voltage source connected to the power rails.
- Firstly, construct a voltage divider circuit with your LDR and the fixed resistor as in the schematics.
- One leg of the fixed resistor goes to positive of the voltage source and the other leg connects to the LDR.
- The other leg of the LDR is then grounded to make a complete loop.
Your voltage divider is ready!
- So as we learnt earlier on, the LDR will have more voltage dropped across it when it is dark. Hence when it is dark and we want an LED to be lit, that LED will have to tap its voltage source from the LDR.
- Connect your LED in parallel to the LDR and see the magic.
The value of the fixed resistor
- The first assumption is, at night, the LDR will reach its maximum resistance, let that resistance be “y”. Most LDRs can reach 1Megaohm.
- If your source voltage is 9V, then about 8V will be across your LED at this time. And hence 1V across the fixed resistor. Let the value of the fixed resistor be “x”.
- From the voltage divider rule you can calculate for the value of “x” in 1=9x/(x+y). where “1” is the voltage drop across the resistor during the night condition and “9” is the value of your voltage source.
Responses