Electronic Circuit: Dark Activated LED light with photoresistor

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

In this video we learn how to build an automatic night LED light using a NPN transistor and a photoresistor. We build a simple circuit and by it learn how transistors work.
Want to learn to code?
👨‍💻 Check my new KZread channel: bit.ly/3tku2n0

Пікірлер: 141

  • @TheMirthrindir
    @TheMirthrindir10 ай бұрын

    I searched a dozen places before I find this channel who actually explained it. A+

  • @christevelab
    @christevelab4 жыл бұрын

    Thank you, it worked! I had a yard decoration running on AA batteries that had to be turned on and off. So i hooked this up for it to come on automatically when sun goes down.

  • @flyingalbatross9634
    @flyingalbatross96344 жыл бұрын

    thank you for explaining so clearly how the components work to achieve the desired result.

  • @Educ8s

    @Educ8s

    4 жыл бұрын

    I am glad you find the video useful!

  • @drashtimodasara6858
    @drashtimodasara68587 жыл бұрын

    Thanks a lot!!!! I had a lot of trouble with all the connections. But after watching this video, I could make the circuit and now my project is actually working. Thanks for your help! :)

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

    I really Enjoyed your video my self ! Been looking for video's for My grand-son to watch on electronics circuits trying to get him interested thanks.

  • @YG3BMP-JZ13FLI
    @YG3BMP-JZ13FLI4 жыл бұрын

    Thank you for the tutorial, it was very useful for me

  • @1minotm1
    @1minotm1 Жыл бұрын

    I like the way you explain how the electronic works .

  • @crispijnvansas
    @crispijnvansas4 жыл бұрын

    Hi there, I’m building a bike light. I managed to flatten out the inductance spikes with a continuous light. In addition I was thinking of a much bigger capacitor of around .22-1F added to that the bike light should only consume energy in the eve. Do you think this setup would allow to store the energy in the capacitor? Do you think it would be wise to add a voltage drop lockout? My main concern is that the extra resistors would take the energy that would otherwise be going to the led.

  • @edcoulbourne8255
    @edcoulbourne82555 жыл бұрын

    CONGRATS finally I understand this circuit you taught a Brick something you are a very good Teacher Thx, Ed

  • @illiminatieoverlordgurglek140
    @illiminatieoverlordgurglek1407 жыл бұрын

    I'm only just getting into this stuff and this video is very helpful! Thank you so much for taking the time to make it! :)

  • @geomcc39

    @geomcc39

    Жыл бұрын

    check out forrest mims mini- engineering note books .

  • @shintan1188
    @shintan11883 жыл бұрын

    Your 4 min video is better then 2 hour of my campus lecturer, super clear explanation

  • @Dipan2012
    @Dipan20127 жыл бұрын

    Thank you so much. Your explanation, Diagram and video is very accurate and working. Thank you.

  • @flightpowersims3299
    @flightpowersims32997 жыл бұрын

    Thank you, Learned so much

  • @srul76
    @srul769 жыл бұрын

    Thanks, it is great example, simple to understand, please keep creating new videos... :)

  • @MkmeOrg
    @MkmeOrg9 жыл бұрын

    Another great tutorial! Cheers

  • @Educ8s

    @Educ8s

    9 жыл бұрын

    Eric William -MKme Tech Thanks Eric!

  • @stanchion2125
    @stanchion21255 жыл бұрын

    Helpful and well explained- thank you.

  • @RegiPavan
    @RegiPavan9 жыл бұрын

    I am always watching your nice vídeos, please keep making them... Have a good vacation!

  • @danmusiceasy
    @danmusiceasy2 жыл бұрын

    Thank you! Your video is the only one I found that explains HOW the circuit works and the path that the current follows. I finally made it. I used a 12v LED bought from a store and a power bank with 8 AA batteries, with no resistor after the LED.

  • @Educ8s

    @Educ8s

    2 жыл бұрын

    Glad it helped!

  • @GnobarEl
    @GnobarEl9 жыл бұрын

    Great Video! Keep posting more videos please.

  • @pratikshelke8812
    @pratikshelke88127 жыл бұрын

    can i use more than 1 led and what resistor would i need if i use 9v battery?

  • @zacharyheesaker5295
    @zacharyheesaker52953 жыл бұрын

    Super helpful, thank you!

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

    Hi. Why did you place the load on the transistor's emitter? It is my understanding that when using a NPN transistor (per the diagram), the load should be placed at the collector. Thanks!

  • @magicdev2192
    @magicdev21926 жыл бұрын

    Thanks Sir! You saved my day!

  • @fernandorivera2730
    @fernandorivera27303 жыл бұрын

    Only that worked so far thanks!

  • @PeterRetief
    @PeterRetief5 жыл бұрын

    How do you calculate the resistor values if I used say 3.3V input?

  • @BrescoLtd
    @BrescoLtd3 жыл бұрын

    can the circuit be revised to turn on MOSFET when the light on the photoresistor is activated. Working at 12 volts

  • @trailertrashed6390
    @trailertrashed639011 ай бұрын

    thank you, wonderful explanation

  • @RGormanJr
    @RGormanJr2 ай бұрын

    Thank you for this! It showed me the mistake in my first circuit!

  • @modo5091
    @modo50918 жыл бұрын

    That's loved this video got it straight away thanks

  • @RaccoonReplica
    @RaccoonReplica9 жыл бұрын

    These videos are really helpful and nice small projects to explore the world of electronics.

  • @ab_ab_c
    @ab_ab_c2 жыл бұрын

    So, R1 & R2 are a voltage divider. I know Q1 will probably switch on at .7V, but I don't know what resistance level R2 must be at to cause Q1 to switch on & off. At which actual resistance amounts must the photoresistor be at to cause the transistor Q1 to switch on & to switch off?

  • @jhana.2023
    @jhana.20236 жыл бұрын

    Great Lesson. Thans ! Like !

  • @croydon21H
    @croydon21H3 жыл бұрын

    Thanks. Did I miss why 100 ohm resistor was used ? Also if i put NPN by 180 degrees, will it work the opposite way i.e. led on only when it is day? something I will try

  • @RodebertX
    @RodebertX6 жыл бұрын

    What is the Power consumption when it's sunny/ Led off?

  • @RazorBucks
    @RazorBucks4 жыл бұрын

    Thank you.

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

    Could capacitors be used before the LED to exaggerate the dimming effect?

  • @amatuer5293
    @amatuer52937 жыл бұрын

    Thank you!

  • @dannymartin4225
    @dannymartin42258 жыл бұрын

    Great tutorial I had tried several other web based tutorials but your's seemed to be the one that worked for me, got the project up and running in no time. Can you please demonstrate how to add addition LEDs in either series or parallel?Thanks

  • @Educ8s

    @Educ8s

    8 жыл бұрын

    +Danny Martin I am glad that my video was helpful!

  • @steffengrund2428
    @steffengrund24287 жыл бұрын

    Danke die Skizze mit den Pfeilen erklären das super. Kein anderes Video bei KZread erklärt es besser.^^

  • @aqg7330

    @aqg7330

    6 жыл бұрын

    sorry don't speak whatever language that is. My apologies.

  • @praveengamage8593
    @praveengamage85933 жыл бұрын

    This was really helped me out

  • @blablablameh
    @blablablameh7 жыл бұрын

    hi! when i connect the component, the LED already turn on without/with me covering the LDR. So, any suggestions?

  • @peterscott-jones8797

    @peterscott-jones8797

    4 жыл бұрын

    Try reducing the amount of power in your circuit... say 3.7V rather than 6V

  • @kanhaiyaupreti3346

    @kanhaiyaupreti3346

    4 жыл бұрын

    Using different values of Resistors will help you.

  • @freshd2431

    @freshd2431

    4 жыл бұрын

    I had the sampe problem I use a different transistor and another LED, so i had to change the 2k resistor with a 10k resistor and then it worked Thanks!

  • @adamarzo559
    @adamarzo5595 жыл бұрын

    Why is the LED not bright when using this circuit? If using a 1k trimpot with LED, LED is super bright, but with your circuit even with 100 ohm resistor from transistor to led its weak. Help please.

  • @DogRox
    @DogRox9 жыл бұрын

    I totally agree with the rest of the commenters. a simple but yet very good tutorial explaining the concept of transistors and current flow. Good job!! oh, and have a great vacation! :-)

  • @Educ8s

    @Educ8s

    9 жыл бұрын

    Dog Rox Thank you!

  • @ShadowGPSDFX
    @ShadowGPSDFX5 жыл бұрын

    Awesome videos!!!

  • @CAYnGuy
    @CAYnGuy5 жыл бұрын

    What do I need to add or change to make this work with two LEDs?

  • @Wes61
    @Wes613 ай бұрын

    Worked good for making fake night vision cameras thanks!

  • @user-ep6ke4dq4s
    @user-ep6ke4dq4s3 жыл бұрын

    Thanks 👍

  • @bondjovi4595
    @bondjovi45952 жыл бұрын

    Adding a diode really makes this circuit work.

  • @simonjissygrant
    @simonjissygrant6 жыл бұрын

    Hi, great vid, I would like the LED to go on when the LDR goes from dark to lit. Is this as simple as reversing the LDR?, thanks

  • @kanhaiyaupreti3346

    @kanhaiyaupreti3346

    4 жыл бұрын

    You won't need transitor for it ,you can just connect it in series with LED.🤗

  • @Brom1CZ
    @Brom1CZ4 жыл бұрын

    WHat I should do, if I want to use it in my car. But I need it on 12V

  • @christosbairas2126
    @christosbairas21264 жыл бұрын

    Can I do this with more than 1 leds?

  • @timomoebes
    @timomoebes5 жыл бұрын

    Thank you so much for this wonderful video. I understand the electronic circuit now so much better! :-) can you tell me which program you use to draw the circuit on the computer? Thanks in advance and good luck with everything.

  • @pratikshelke8812
    @pratikshelke88127 жыл бұрын

    can i add buzzer to it?

  • @CrazyCoupleDIY
    @CrazyCoupleDIY6 жыл бұрын

    Amazing

  • @goldheart2000
    @goldheart20008 жыл бұрын

    hi i want to make LED flash using a 20 or a 30 watt w LED.... i wish to have to trigger the LED ON/OFF using a phototransistor as a trigger....can u suggest a circuit.... (am trying to build a simple LED FLASH for cheap diy photography)

  • @Educ8s

    @Educ8s

    8 жыл бұрын

    +santosh shetty I have to think about it and I will make a video on that. It is a good idea.

  • @goldheart2000

    @goldheart2000

    8 жыл бұрын

    +educ8s.tv thanks

  • @ProGamer-om4px
    @ProGamer-om4px Жыл бұрын

    Can we use a 9v battery instead of 4AA batteries?

  • @SudhanshuSekharJha
    @SudhanshuSekharJha8 жыл бұрын

    What changes do I need to make in ratings of the components if I want to use a 10W LED???

  • @joeyocom5087

    @joeyocom5087

    7 жыл бұрын

    mosfet?

  • @kanhaiyaupreti3346

    @kanhaiyaupreti3346

    4 жыл бұрын

    Um Bro you can also use a Relay in place of led to turn On Off and an LED Bulb. Or a High power Transitor TIP Series

  • @WaterSeason571
    @WaterSeason5717 жыл бұрын

    Excellent Tutorial. I finally successfully implement Thanks a lot. I search all the net but not work any implementation but your tutorial is finally worked. Thanks again. Now i have a question that how can i connect PIR sensor with this diagram. Because when dark come then pir sensor activate the light . So how can i do this.

  • @cpobyrne1
    @cpobyrne18 жыл бұрын

    nicely explained - thanks.

  • @sameeryousafzai7969
    @sameeryousafzai79696 жыл бұрын

    hey! what should i use to light up 10 leds using ldr?

  • @kanhaiyaupreti3346

    @kanhaiyaupreti3346

    4 жыл бұрын

    Increase Decrease the Resistance at Collector Value or use Larger Mah Battery.

  • @amlanchinya1370
    @amlanchinya13705 жыл бұрын

    If I use different npn transistor then will the setup of registances change?

  • @Educ8s

    @Educ8s

    5 жыл бұрын

    Yes, you have to check the datasheet of your transistor in order to choose the appropriate resistor values.

  • @christevelab
    @christevelab4 жыл бұрын

    The center leg on transistor is ran to both resistors. But why do each resistor go to different sources? (photo to ground and resistor to pos).

  • @davidcollins4144

    @davidcollins4144

    Жыл бұрын

    R1 comes from power, through Photo to ground. It makes a circuit.

  • @PinkyTaDa
    @PinkyTaDa6 жыл бұрын

    so what if I want to do the opposite? what if I want the led to be on when it is light or what I really want to do is power a solenoid with a laser pointer.

  • @aqg7330

    @aqg7330

    6 жыл бұрын

    Then don't put the Photoresistor, and while your at it take off the 100Ω resistor.

  • @kiinahuzg2252
    @kiinahuzg22523 ай бұрын

    hello, can i use 9v of battery?

  • @salvagehitech7367
    @salvagehitech73672 жыл бұрын

    how if input input voltage is 24vdc?

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

    It works

  • @bikrampratapbhatta9797
    @bikrampratapbhatta97973 жыл бұрын

    So , in Day time Current draining through LDR ? due to low Resistance ........PLZ ANS if anyone can explain it

  • @samithetechsavvy6485
    @samithetechsavvy64856 ай бұрын

    Nice

  • @amanmishra-dv1hw
    @amanmishra-dv1hw3 жыл бұрын

    Sir plz tell how many led's i can use in this project

  • @ricardorestra4600
    @ricardorestra46003 жыл бұрын

    My led stays on and only shuts off with a flashlight directly on the photoresistor? Can someone help?

  • @mikew5042
    @mikew50423 жыл бұрын

    Hello! I was wondering if i need a resistor 1/2 w, 1/4w 1 w, or if that didn’t matter. Thanks

  • @TheRealAbrahamLincoln

    @TheRealAbrahamLincoln

    3 жыл бұрын

    I am very late, but in this case, the wattage won't matter as you aren't pulling that much through.

  • @aryanmaurya942
    @aryanmaurya9426 жыл бұрын

    Is it necessary to use the resistors and the transistor

  • @aqg7330

    @aqg7330

    6 жыл бұрын

    Yes. Without the Resistors the LED will heat up and become defected. same with the transistor, it is crucial!

  • @kamaliasc
    @kamaliasc8 жыл бұрын

    nice project! with best explain... how can we make same project but with 12v battery? we use mosfet or just n transistor?

  • @Educ8s

    @Educ8s

    8 жыл бұрын

    +Kamal Aziz A single transistor can do!

  • @kamaliasc

    @kamaliasc

    8 жыл бұрын

    +educ8s.tv thanks ! i want to use it with a car battery !! is there an effect of high curent or any one can work ?

  • @sirClogg
    @sirClogg4 жыл бұрын

    Is there a way to make this work with 1 AA battery?

  • @MaksPLm

    @MaksPLm

    6 ай бұрын

    Led requires at least 2 batteries

  • @JustWanderingHighlights
    @JustWanderingHighlights7 жыл бұрын

    how could you add a pot to make the led dimmable

  • @splittrix1982

    @splittrix1982

    7 жыл бұрын

    In a potentiometer, there are 2 inputs and 1 output. To use a pot, plug the resistor from the base of the transistor into one of the side inputs on the potentiometer. Then take a wire from the middle and plug into the positive.

  • @barenmohanlal7342
    @barenmohanlal73428 жыл бұрын

    My led turns on when there is light present and turns off when no light is present.. what is the problem?

  • @ret.ard_ed1096

    @ret.ard_ed1096

    8 жыл бұрын

    in transistor

  • @tayyabhasan
    @tayyabhasan7 жыл бұрын

    how does i control the sensitivity?

  • @christereriksson9506

    @christereriksson9506

    3 жыл бұрын

    Change R1 to an trimpot.

  • @lsudan2670
    @lsudan26707 жыл бұрын

    your enlish is verry charm and beautiful ...btw can i use 9v batery ?

  • @splittrix1982

    @splittrix1982

    7 жыл бұрын

    dan laesu Yes you can. You will have to use more resistance in order to have the LED not blow out

  • @lsudan2670

    @lsudan2670

    7 жыл бұрын

    i will do so :-) thx m8

  • @aqg7330

    @aqg7330

    6 жыл бұрын

    BTW it's 'English' and 'Very' not "enlish" or "verry"

  • @savygaur
    @savygaur7 жыл бұрын

    in series or parallel

  • @atikmahbub100
    @atikmahbub1007 жыл бұрын

    Not working :(

  • @user-zx7tg4ph5r
    @user-zx7tg4ph5r6 жыл бұрын

    What would be needed to create a 120V system? and how would that circuit look?

  • @Educ8s

    @Educ8s

    6 жыл бұрын

    Please if you are new to electronics, don't even try it, it is very dangerous.

  • @vinco1
    @vinco18 жыл бұрын

    Sloud it work with bc547?

  • @Educ8s

    @Educ8s

    8 жыл бұрын

    +Vincent Wiedermann yes!

  • @ret.ard_ed1096

    @ret.ard_ed1096

    8 жыл бұрын

    no

  • @kanhaiyaupreti3346

    @kanhaiyaupreti3346

    4 жыл бұрын

    Yup

  • @djlennoxshaon358
    @djlennoxshaon3588 жыл бұрын

    can I use 9V battery??

  • @lsudan2670

    @lsudan2670

    7 жыл бұрын

    kinda the same question i ask

  • @drashtimodasara6858

    @drashtimodasara6858

    7 жыл бұрын

    Yes. I've used a 9V battery in my circuit too!

  • @nambinhvu

    @nambinhvu

    6 жыл бұрын

    You can use any voltage as long as by the time it gets to the bulb it's the required voltage to run it. Make sure all the components can handle the voltage as well. If voltage is too high it can overheat and burn out. I think 9v might be too much power for the led. You can try connecting it directly to the battery to see what happens.

  • @newq
    @newq2 жыл бұрын

    Is there a reason why this does the exact opposite of what it's supposed to do? Do I have the wrong kind of photoresistor?

  • @Wes61

    @Wes61

    3 ай бұрын

    I had the same issue, my transistor was installed backwards.

  • @medicwine
    @medicwine2 жыл бұрын

    I guess im stupid because my LED just powers straight on despite the photoresistor and I have no idea why

  • @user-jz6xs3hx5o
    @user-jz6xs3hx5o Жыл бұрын

    Write a program for the above circuit

  • @Kombi-1
    @Kombi-17 жыл бұрын

    A switch? That black thing?

  • @anujtiwari5084

    @anujtiwari5084

    6 жыл бұрын

    A transistor surely.

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

    Fun

  • @polemos74
    @polemos747 жыл бұрын

    oreo binteo!

  • @Educ8s

    @Educ8s

    7 жыл бұрын

    Thank you!

  • @Jarni1979
    @Jarni19794 жыл бұрын

    It's wrong to put the load on the emitter rail of a transistor. Put it on the collector rail.

  • @InobuZ

    @InobuZ

    3 жыл бұрын

    Why?

  • @vignesh8677
    @vignesh86777 жыл бұрын

    not working waste

  • @aqg7330

    @aqg7330

    6 жыл бұрын

    yeah, i know, so I kind of messed around with the circuit and finally made it work.

  • @ameghnishad3995
    @ameghnishad39954 жыл бұрын

    It is not working

  • @nunesrosely1
    @nunesrosely17 жыл бұрын

    Don't waste your time. This circuit does NOT work.

  • @MitaKgEg

    @MitaKgEg

    7 жыл бұрын

    It works

  • @aqg7330

    @aqg7330

    6 жыл бұрын

    Yeah i tried to make the circuit but it didn't work. I found out that he's been messing around with the current by switching the positive current on the negative terminal and vice versa. I messed around with my circuit and i have successfully created it! My problem was that the circuit worked oppositely for me because the photoresistor was not working so I placed it on the same row as my LED and it worked!

  • @clobel55
    @clobel554 ай бұрын

    Finally someone who can speak English clearly

Келесі