Тёмный

Classic Circuits You Should Know: Light/Dark Detector 

learnelectronics
Подписаться 168 тыс.
Просмотров 10 тыс.
50% 1

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

Наука

Опубликовано:

 

26 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@georgechambers3197
@georgechambers3197 5 лет назад
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
@kevfrets 5 лет назад
Thank you for this. Another outstanding demonstration and explanation.👍👍
@leestephens7281
@leestephens7281 3 года назад
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
@arthurfricchione8119
@arthurfricchione8119 4 года назад
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
@borsi99 4 года назад
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🇨🇭
@shankswrc3509
@shankswrc3509 5 лет назад
O love this One! Thanks Sir!
@MelkiSilvas
@MelkiSilvas 5 лет назад
Nice job!
@josephciaravino4115
@josephciaravino4115 4 года назад
This series is great!
@michaelpadovani9566
@michaelpadovani9566 5 лет назад
Swap the ldr and resistor above. Being me, i would put a trim pot to vary the sensitivity. Love the simplicity of this circuit.
@wreckless_-jl6uu
@wreckless_-jl6uu 5 лет назад
*Good one!*
@MCsCreations
@MCsCreations 5 лет назад
Really nice, man! Thanks a lot! 😊
@bblod4896
@bblod4896 5 лет назад
Nice. Thanks for the lesson. Switch LDR and 10k resistor.
@mikeoliver3254
@mikeoliver3254 5 лет назад
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.
@keithking1985
@keithking1985 5 лет назад
Thanks Paul.
@aaaricmondroofing1703
@aaaricmondroofing1703 5 лет назад
thank you ,thank you ,thank you
@johnf3326
@johnf3326 5 лет назад
Good man!
@thetooginator153
@thetooginator153 3 года назад
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!
@LimbaZero
@LimbaZero 5 лет назад
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.
@mikeburton8687
@mikeburton8687 5 лет назад
cool circuit
@friedmule5403
@friedmule5403 4 года назад
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?
@stephanc7192
@stephanc7192 5 лет назад
Nice video! Are you sure about the common collector, I think it is common emitter. Kind regards
@neilshobbyhq
@neilshobbyhq 5 лет назад
very new to this but I would guess at swapping the LDR with the other voltage divider resistor
@grahamrdyer6322
@grahamrdyer6322 5 лет назад
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.
@alibayati5704
@alibayati5704 4 года назад
Replacing NPN transistor, with a PNP one.
@harryshector
@harryshector 5 лет назад
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
@techrama9642
@techrama9642 11 месяцев назад
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.❤❤
@davidmoran4471
@davidmoran4471 5 лет назад
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.
@abdullahbawany7785
@abdullahbawany7785 5 лет назад
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
@MalagasOnFire
@MalagasOnFire 5 лет назад
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 ?
@zt64
@zt64 5 лет назад
I actually surprised myself by building this without no schematic. I also built an h-bridge without a schematic.
@bios546
@bios546 5 лет назад
Swap the resistors on the VTG divider
@Havoc_Prime
@Havoc_Prime 3 месяца назад
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?
@wernerberry7800
@wernerberry7800 5 лет назад
Good one Buddy!! Let go deeper with it? Using pot and relay for output?
@learnelectronics
@learnelectronics 5 лет назад
yep yep
@mrdarbab
@mrdarbab Год назад
I made a light pen for the c64 using one.
@techrama9642
@techrama9642 11 месяцев назад
Its like you build a simple NOT gate .
@keithking1985
@keithking1985 5 лет назад
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!
@aaaricmondroofing1703
@aaaricmondroofing1703 5 лет назад
turn it around, I'm just learning, so that is really a guess. will be looking forward to the answer
@learnelectronics
@learnelectronics 5 лет назад
Yes
@paulpkae
@paulpkae 5 лет назад
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.
@deepforrestalchemy9189
@deepforrestalchemy9189 5 лет назад
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?
@christiannielsen3863
@christiannielsen3863 5 лет назад
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.
@tenlittleindians
@tenlittleindians 5 лет назад
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!
@batticha462
@batticha462 5 лет назад
And LDR said let there be light!
@zezeA380
@zezeA380 5 лет назад
Juz use PNP bjt, it will work in reverse.
@microfix6035
@microfix6035 5 лет назад
reverse the base
@piyugkumar
@piyugkumar 5 лет назад
Put the LED in parallel
@dennisthrush2835
@dennisthrush2835 5 лет назад
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.
@techrama9642
@techrama9642 11 месяцев назад
Welcome to darken lab😂
@soxxz2028
@soxxz2028 5 лет назад
like
@captainpugwash4100
@captainpugwash4100 5 лет назад
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
@Elfnetdesigns 5 лет назад
Kids be like - This was easier in Minecraft - LOL
Далее
Classic Circuits You Should Know: Latching Switch
5:38
Classic Circuits You Should Know: Delayed Start
10:12
Каха заблудился в горах
00:57
Просмотров 512 тыс.
Classic Circuits You Should Know: OpAmp Timer
8:30
Просмотров 14 тыс.
World's worst video card? The exciting conclusion
24:23
5 Ways To Generate A Sine Wave (Analog)
13:16
Просмотров 84 тыс.
How INDUCTOR's work & How to make your own
15:55
Просмотров 861 тыс.
Common Circuits You Should Know: The Current Mirror
8:41
Intro to resistor networks
8:39
Просмотров 12 тыс.
Красиво, но телефон жаль
0:32
Просмотров 1,5 млн
iPhone 15 Pro в реальной жизни
24:07
Просмотров 442 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00