Classic Circuits You Should Know: Light/Dark Detector

Ғылым және технология

Classic Circuits You Should Know: Light/Dark Detector
Yes!! I now have merch: teespring.com/stores/learnele... Electronics themed T-Shirts!
HEY YOU ABOUT TO POST SOMETHING STUPID:
Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2TdS2Ux
One of the symptoms is that is causes fluid retention, mostly in the hands, feet/ankles, and face.
It will kill me one day. I'm doing ok right now, but someday...
--------------------------------------------------------------------------------------------------------------------
If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appreciated.
---------------------------------------------------------------------------------------------------------------------
Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
----------------------------------------------------------------------------------------------------------------------
Here is all the gear I currently use:
Oscilloscope: Micsig STO1104c amzn.to/2UPPZeg
Power Supply 1: TekPower TP3005N amzn.to/2TeQnxI
Power Supply 2: RUIDENG DP50V5A amzn.to/2sNicSe
Signal Generator: JS2800 ban.ggood.vip/d9vk
DMM1: Owon18B amzn.to/2SbIGLs
DMM2: Aneng 8008 amzn.to/2sNQncI
DMM3: Aneng 8009 amzn.to/2S5qeEp
DMM4: Uni-T UT801 amzn.to/2S89SuL
Soldering Station1: Zeny (Yihua)862D+ amzn.to/2S49z4e
Soldering Station2: KSGR T12 amzn.to/2Wk7Dn9
Light Meter Smart Sensor AS803 amzn.to/2B2gyRg

Пікірлер: 70

  • @georgechambers3197
    @georgechambers31975 жыл бұрын

    I would think swapping the resistors in the divider would do it? Nice stuff we need more like this. Thanks for the video!

  • @boudreaulea
    @boudreaulea Жыл бұрын

    thank you so much for your tutorials!

  • @kevfrets
    @kevfrets5 жыл бұрын

    Thank you for this. Another outstanding demonstration and explanation.👍👍

  • @leestephens7281
    @leestephens72813 жыл бұрын

    Thanks buddy, i took this one and changed it a little for my garden lights, for ages i was getting the ones you spike in the ground but they were crappy so i would modify them, i just made my own using the Rotating colours LED's and marbles to refract the light and a stack of D-cells in a coffee jar, they will last about 6 months now, lol

  • @shankswrc3509
    @shankswrc35095 жыл бұрын

    O love this One! Thanks Sir!

  • @josephciaravino4115
    @josephciaravino41153 жыл бұрын

    This series is great!

  • @arthurfricchione8119
    @arthurfricchione81194 жыл бұрын

    Grate video. I have a radio shack circuit/component test kit and I just built both circuits but it’s downfall is it doesn’t explain why it works and you have just explained it for me. I will go build each one again and possibly answer the question. My lucky day as I am just a rookie at electronics teaching myself but this is a great channel. Thanks for sharing Artie 👍👍👍

  • @borsi99
    @borsi994 жыл бұрын

    Dear Sirj ust a bright Thank You very much for all of your very interesting electronic projects! It‘s so easy to understand the way you explain all that to me/to us👍🏼 I hope you can go on! Boris🇨🇭

  • @MCsCreations
    @MCsCreations5 жыл бұрын

    Really nice, man! Thanks a lot! 😊

  • @wreckless_-jl6uu
    @wreckless_-jl6uu5 жыл бұрын

    *Good one!*

  • @MelkiSilvas
    @MelkiSilvas5 жыл бұрын

    Nice job!

  • @bblod4896
    @bblod48965 жыл бұрын

    Nice. Thanks for the lesson. Switch LDR and 10k resistor.

  • @keithking1985
    @keithking19855 жыл бұрын

    Thanks Paul.

  • @aaaricmondroofing1703
    @aaaricmondroofing17035 жыл бұрын

    thank you ,thank you ,thank you

  • @michaelpadovani9566
    @michaelpadovani95665 жыл бұрын

    Swap the ldr and resistor above. Being me, i would put a trim pot to vary the sensitivity. Love the simplicity of this circuit.

  • @mikeoliver3254
    @mikeoliver32545 жыл бұрын

    Classic fun first transistor circuit. When you swap the resistors in the voltage divider it works the exact opposite way. This was one of the first things I breadboarded when I started learning electronics. I’ll tell you one thing it took me awhile to wrap my head around the simple component swap reversing the behavior, but it hooked me. Great video Paul.

  • @felixcosty

    @felixcosty

    5 жыл бұрын

    I put this circuit together, and it worked to turn on when dark. When I switched the 10k and LDR the led would be one when light, but would not turn off when the LDR was dark, it would only dim. Did I do something wrong?

  • @LimbaZero

    @LimbaZero

    5 жыл бұрын

    @@felixcosty It's using transistor as voltage follower and not like switch. "Simple" solution tweak resistor values and swap led and transistor place. With this you have to use base resistor if ldr going too small value.

  • @felixcosty

    @felixcosty

    5 жыл бұрын

    @@LimbaZero the question at the end of the video. I do not have the knowledge to form the right question this the best I can come up with. Does switching the LDR and 10K answer the Question? And if so the circuit created works more like a dimmer switch, then and on off, instead of being the opposite of the original circuit. Was the question at the end of the video to be and on off switch, but on in daylight and off at night, this is wear it gets a bit confusing.

  • @LimbaZero

    @LimbaZero

    5 жыл бұрын

    @@felixcosty yes. switching 10k and ldr is right answer.Current version of circuit is "dimmer" style. 10k and ldr set voltage for base and emitter is about 0.6v under that. This circuit wotk this way with leds because they have treshold voltage. if normal lamp is used then it's dimming it. When led is stating to take more current then voltage over 22k resistor is close to 10k then it start limit current for led.

  • @johnf3326
    @johnf33265 жыл бұрын

    Good man!

  • @alibayati5704
    @alibayati57044 жыл бұрын

    Replacing NPN transistor, with a PNP one.

  • @LimbaZero
    @LimbaZero5 жыл бұрын

    Swap 10k and LDR. In that case when LDR get bright whough trasistor base voltage is rising to point (0.6V + Uled) where led start to work. Also don't try to use this type of circuit for normal lamp. Use common emitter circuit for better switching caracteristics and lower power loss in transistor. For big current lamps darlington is needed for enough high hfe or drive relay. Edit: There also is broblem when changin 10k and LDR. if LDR go enough low resistance when bright then transistor Ib is going high because LDR is only limiting factor for led current. Edit2: Good idea usually to draw all chematics if you are doing some circuits. That help people to understands how it's really connected.

  • @harryshector
    @harryshector5 жыл бұрын

    An interesting variation would be to use a light sensitive transistor. Perhaps you could do one with one of those for comparison.

  • @grahamrdyer6322

    @grahamrdyer6322

    5 жыл бұрын

    If the photo transistor feeds a Darlington that also works and with more current handling

  • @thetooginator153
    @thetooginator1533 жыл бұрын

    You explained that perfectly! Well done! Thanks! No big deal, but I wonder how much current is flowing when the LED is off. I’m guessing it’s pretty minimal. Thanks again!

  • @mikeburton8687
    @mikeburton86875 жыл бұрын

    cool circuit

  • @grahamrdyer6322
    @grahamrdyer63225 жыл бұрын

    Swap the base resistor/ldr round, I don't use this circuit much as I tend to use a photo transistor coupled to a pnp Darlington, it doesn't trigger so early when the sun goes down.

  • @techrama9642
    @techrama964210 ай бұрын

    Answer :- i just goona add the LDR in series of LED . Hence in presence of light LDR resistance drops and current can easily pass through it and glow up the LED.❤❤

  • @neilshobbyhq
    @neilshobbyhq5 жыл бұрын

    very new to this but I would guess at swapping the LDR with the other voltage divider resistor

  • @davidmoran4471
    @davidmoran44715 жыл бұрын

    Swap the LDR and the base bias resistor

  • @learnelectronics

    @learnelectronics

    5 жыл бұрын

    Yes

  • @albertvdm

    @albertvdm

    5 жыл бұрын

    @@learnelectronics That would have been my answer as well, all thanks to arduino and this channel. I've learned so much from this channel over the last year. Thanks Paul.

  • @stephanc7192
    @stephanc71925 жыл бұрын

    Nice video! Are you sure about the common collector, I think it is common emitter. Kind regards

  • @friedmule5403
    @friedmule54034 жыл бұрын

    Great video as always, may I please ask you a question: could that LDR not also be replaced by a NTC Resistors, to detect heat?

  • @abdullahbawany7785
    @abdullahbawany77855 жыл бұрын

    replace the 10k resistor with a resistor having resistance equal to ldrs normal resistance which was about 0.8k in your case so that there is equal voltage drop and the current takes the path to the transistor and to the led

  • @zt64
    @zt645 жыл бұрын

    I actually surprised myself by building this without no schematic. I also built an h-bridge without a schematic.

  • @bios546
    @bios5465 жыл бұрын

    Swap the resistors on the VTG divider

  • @wernerberry7800
    @wernerberry78005 жыл бұрын

    Good one Buddy!! Let go deeper with it? Using pot and relay for output?

  • @learnelectronics

    @learnelectronics

    5 жыл бұрын

    yep yep

  • @aaaricmondroofing1703
    @aaaricmondroofing17035 жыл бұрын

    turn it around, I'm just learning, so that is really a guess. will be looking forward to the answer

  • @learnelectronics

    @learnelectronics

    5 жыл бұрын

    Yes

  • @techrama9642
    @techrama964210 ай бұрын

    Its like you build a simple NOT gate .

  • @mrdarbab
    @mrdarbab Жыл бұрын

    I made a light pen for the c64 using one.

  • @MalagasOnFire
    @MalagasOnFire5 жыл бұрын

    swap the LED from the emiter to colector, so emitter directly goes on GND and from VCC to 22k to Anode and katode to colector ?

  • @deepforrestalchemy9189
    @deepforrestalchemy91895 жыл бұрын

    Swap the base bias resistor and LDR to create a dark/light detector. Works a treat but energy efficient... not so much. Wouldn’t using a PNP transistor (Base pulled high using a higher value resistor) Base biased to ground via LDR be more efficient? Or is that why you are using a NPN transistor as a high side switch? Just guessing - will have to look that one up... Thanks for your insights, I appreciate your videos greatly. Makes me stop and think. Especially as most espouse digital solutions when I am often looking for simplest solutions.

  • @deepforrestalchemy9189

    @deepforrestalchemy9189

    5 жыл бұрын

    der bender nice - as a low or high side switch?

  • @Havoc_Prime
    @Havoc_Prime2 ай бұрын

    I had to increase my resister values by quite a lot to get this to work. Im curious if this works the way it does because of electron flow or conventional flow?

  • @paulpkae
    @paulpkae5 жыл бұрын

    Not sure about the 22K current limiting resistor? Should it not be more like 220R?

  • @learnelectronics

    @learnelectronics

    5 жыл бұрын

    Like I said, i carefully chose those values to limit the current.

  • @keithking1985
    @keithking19855 жыл бұрын

    Hey Paul could you do a review on the new must tool scopemeter when it comes out soon on banggood. It's an upgrade from th MT8205...Because I was hoping it would be a good buy. Thanks. P.s. swap it with the bais resistor so that during the day the bais is more positive and stays on...

  • @learnelectronics

    @learnelectronics

    5 жыл бұрын

    Ill see if I can get one. you are correct!

  • @christiannielsen3863
    @christiannielsen38635 жыл бұрын

    Why doesnt the current ALSO flow through the transistor when the LDR has low resistance? why only to ground?

  • @josephcote6120

    @josephcote6120

    5 жыл бұрын

    Well, it does, but at a much smaller current, thus allowing a much smaller emitter current. Think of it as a voltage divider with the 10k from Vcc to midpoint, and the CDS cell AND the transistor's base to emitter resistance from midpoint to ground. When the resistance of the CDS goes low, it pulls the voltage at the midpoint low, giving less voltage (and less current) at the base.

  • @microfix6035
    @microfix60355 жыл бұрын

    reverse the base

  • @tenlittleindians
    @tenlittleindians5 жыл бұрын

    Is the voltage rating on LED's the same as the voltage drop across them? Your using a 12v power supply and it looks like your limiting current but not voltage across the LED.

  • @cosimo8046

    @cosimo8046

    5 жыл бұрын

    If you limit the current then you are automatically also limiting the voltage on the diode, because the resistor will drop the excess voltage. If the current is within the rating of the led, you are good.

  • @tenlittleindians

    @tenlittleindians

    5 жыл бұрын

    @@cosimo8046 Just for fun I created a circuit with an app called EveryCircuit that used a 12v supply and an Led connected in series with a 22K resistor. I had to turn the power supply up to 800 or 900 volts to fry the Led. That huge resistor really limits the current!

  • @zezeA380
    @zezeA3805 жыл бұрын

    Juz use PNP bjt, it will work in reverse.

  • @piyugkumar
    @piyugkumar5 жыл бұрын

    Put the LED in parallel

  • @batticha462
    @batticha4625 жыл бұрын

    And LDR said let there be light!

  • @dennisthrush2835
    @dennisthrush28355 жыл бұрын

    I thought current flowed from negative to positive. Was I taught wrong 60 - 70 years ago?

  • @midnightrizer

    @midnightrizer

    3 жыл бұрын

    no that is right neg to pos. in the far past they thought it was pos to neg.

  • @soxxz2028
    @soxxz20285 жыл бұрын

    like

  • @techrama9642
    @techrama964210 ай бұрын

    Welcome to darken lab😂

  • @captainpugwash4100
    @captainpugwash41005 жыл бұрын

    Let there be light! - God Let there be more light! - Pink Floyd Answer: Flip the resistor and LDR.

  • @learnelectronics

    @learnelectronics

    5 жыл бұрын

    Correct

  • @captainpugwash4100

    @captainpugwash4100

    5 жыл бұрын

    Did something similar with PNP transistor, but my favorite is with an Op-amp.

  • @LimbaZero

    @LimbaZero

    5 жыл бұрын

    @@captainpugwash4100 op-amp is best for setting acurate tripping point. Also common emitter circuit is better for lamps and relays.

  • @Elfnetdesigns
    @Elfnetdesigns5 жыл бұрын

    Kids be like - This was easier in Minecraft - LOL

Келесі