Just learning and confused what this resistor does

Discussion in 'General Electronics Discussion' started by jasemilly, Nov 8, 2018.

  1. jasemilly

    jasemilly

    Joined:
    Nov 8, 2018
    Messages:
    2
    Likes Received:
    0
    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/
     
    jasemilly, Nov 8, 2018
    #1
  2. jasemilly

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    Joined:
    Jan 21, 2010
    Messages:
    24,757
    Likes Received:
    2,538
    Location:
    Mid way between Beijing and the Ronne Ice Shelf
    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.
     
    (*steve*), Nov 8, 2018
    #2
  3. jasemilly

    Harald Kapp Moderator Moderator

    Joined:
    Nov 17, 2011
    Messages:
    8,595
    Likes Received:
    1,663
    Location:
    Germany-Europe-Earth-Sol System-Milky Way-Laniakea
    The LDR and the resistor form a potential divider also called voltage divider. See here for a detailed explanation. Without that 50 kΩ resistor the base of the transistor would be at 9 V and the transistor would blow up as there is nothing to limit the currrent into the base. See also our resource.
     
    Harald Kapp, Nov 8, 2018
    #3
  4. jasemilly

    jasemilly

    Joined:
    Nov 8, 2018
    Messages:
    2
    Likes Received:
    0
    Thanks I thought the LDR was able to do this on it's own.
     
    jasemilly, Nov 8, 2018
    #4
  5. jasemilly

    BobK

    Joined:
    Jan 5, 2010
    Messages:
    7,330
    Likes Received:
    1,540
    Location:
    Worcester, MA
    Think of ot this way: the LDR is there to turn the light off, the resistpr is there to turn it on.

    Bob
     
    BobK, Nov 8, 2018
    #5
  6. jasemilly

    Frankchie

    Joined:
    Nov 14, 2017
    Messages:
    33
    Likes Received:
    0
    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.
     
    Frankchie, Nov 8, 2018
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.