Maker Pro
Maker Pro

Just learning and confused what this resistor does

Hi I am trying to teach myself electronics etc have followed a few tutorials and made a few things now trying to learn a bit more on the theory side to understand better....

I am looking at this webpage for turning on a light in the dark using a LDR, I believe I am ok with the majority of it but it shows a 50k ohm resistor before the LDR but no explanation or one that I can see that explains what it does. Why does the LDR need a resistor when it is one itself??

thanks for all help and sorry if this is a silly question I have done some surfing around but didn't see anything that answered this.

here is the link

http://electricdiylab.com/make-ldr-darkness-sensor-circuit-simple-diy/
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
The 50k resistor and the LDR together form a voltage divider. The voltage at the junction of these two devices goes up in darkness, and down when illuminated.
 
Think of ot this way: the LDR is there to turn the light off, the resistpr is there to turn it on.

Bob
 
Thanks I thought the LDR was able to do this on it's own.
If you put the LDR in place of the resistor then it could turn the transistor on and off "on it's own". The problem is that it would turn it on when the light is on and turn it off when there is no light.
 
Top