What does a capacitor do?

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • In this video, I'm connecting a circuit with an LED and a resistor. To show you exactly what a capacitor does.
    If you want to learn electronics from scratch - check out my blog www.build-elec...
    When I connect the plus and the minus from the battery, the LED lights up.
    Nothing magical here.
    And in the exact moment when I disconnect the power, the LED turns off.
    Next, I'm connecting a capacitor.
    I connect it across the LED and the resistor.
    Then I reconnect the power, and the LED lights up again.
    But take a look at what happens when I disconnect the power:
    The LED stays on!
    And after a few seconds, you can see it fading out.
    This is because the capacitor is kinda like a tiny battery.
    When I connected the power, it charged up.
    Then when I disconnected the power, it started using its stored energy to keep the LED on.
    This is very useful to make for example a time delay in a circuit.
    Or to make filters.
    If you have no idea what a filter is, here's a simple one:
    Imagine a terrible battery that for some reasons keeps turning the voltage on and off every second.
    Without the capacitor, the LED would be blinking.
    But with the capacitor, you'll filter out the OFF periods and get an LED that is always on.
    -----------------------------------------------------------------------------------------------------------------------
    Free course: www.build-elec...
    Check out my blog: www.build-elec...
    Facebook / buildelectroniccircuits
    Join my Ohmify community at ohmify.com/ and learn electronics in an easy and fun way.
    Hope to see you there!
    Facebook: / ohmify
    Instagram: / ohmify_circuits
    Thanks for watching!

КОМЕНТАРІ • 124

  • @lindascoon4652
    @lindascoon4652 3 роки тому +73

    Thank you for getting right to the point. It's amazing how your short video explains this better than some long videos here on UA-cam

  • @yoko6281
    @yoko6281 4 роки тому +77

    My teacher sent us this link thorough online school

  • @Montee1979
    @Montee1979 8 місяців тому +12

    Finally a video that doesn't have to do something complicated to explain it and just gets straight to the point. Thank you.

  • @murraymisha3845
    @murraymisha3845 5 років тому +25

    A great way to demonstrate how a capacitor works

  • @42luke93
    @42luke93 5 місяців тому +2

    Thanks. I connected a LED light to my alarm clock to see the analog tuner at night but it is never a constant light since it turns on and off based on the sound. Looks like a capacitor is what I need and I found one from an old rc remote.

  • @kurddata5228
    @kurddata5228 4 роки тому +11

    Hey man! I consider you as my primary teacher :) thanks

    • @Ohmify
      @Ohmify  4 роки тому +1

      I'm glad I can help =)

    • @ethicalhacker1
      @ethicalhacker1 Рік тому

      ​​@@OhmifyWhat was the value of Capacitor and how much volts was your battery? I'm unable to get this work with a 25v Capacitor with a 9v battery and 10k resistor. It works normally but not if I add the Capacitor

  • @bekkerthesokuangeldragon68
    @bekkerthesokuangeldragon68 2 місяці тому +1

    That is just goddam cool on how it works. I was alway's curious and wondering on how Capacitor's and resister's work and now i do !

  • @YD-uq5fi
    @YD-uq5fi 10 місяців тому

    This video could have saved me a lot of time 30 years ago. Alas..... kids today don't know how good they have it.

  • @pradipamkar6781
    @pradipamkar6781 Рік тому

    Simplest explaination of capacitor

  • @progressnee
    @progressnee 3 роки тому +1

    Your teaching skill is exceptional!

  • @AshishAdhikari
    @AshishAdhikari 2 роки тому +1

    Wooah, that was a short crash course that was absolutely amazing

  • @muhammadbasir83
    @muhammadbasir83 2 роки тому +1

    Excellent breadboard set up.

  • @tdk478
    @tdk478 4 роки тому +1

    You are a marvellous teacher

  • @kakoozaxenyondo00
    @kakoozaxenyondo00 3 місяці тому

    Simple and brief video. Thanks Professor

  • @chuckthesham5195
    @chuckthesham5195 3 роки тому +2

    Great explanation, the best I have seen for a capacitor.

  • @AnonyTests
    @AnonyTests 8 місяців тому +1

    After doing this do we need to remove the capacitor and discharge it, or did it already get discharged when the led finally turned off?

    • @Ohmify
      @Ohmify  7 місяців тому

      When the LED turns off, it's not 100% discharged. So if you for some reason need to discharge it completely, yes, you'll have to do that manually.

  • @deenbandhuchaudhary9381
    @deenbandhuchaudhary9381 Рік тому +1

    Short and sweet

  • @rajaryantiwari4159
    @rajaryantiwari4159 6 місяців тому +1

    A question ✋🏻, can we use the LED without the resistor??

    • @maggie-oc1bg
      @maggie-oc1bg 5 місяців тому

      no, usually the voltage and current are so high that itll burn out

    • @Ohmify
      @Ohmify  5 місяців тому

      No, you should use a resistor to avoid damaging the LED.

    • @user-pq1zg9uo3c
      @user-pq1zg9uo3c 2 місяці тому

      What is the resistor you have used?

  • @mehdijafari9424
    @mehdijafari9424 4 роки тому +2

    thank you very much for such great concise explanation

  • @Derkhehe
    @Derkhehe Рік тому +1

    hey, how do I make a delay turning on the led?

    • @Ohmify
      @Ohmify  Рік тому

      Place a resistor (1k-10k) in between the circuit and the battery (in series).

    • @Derkhehe
      @Derkhehe Рік тому

      @@Ohmify nice, I was thinking about it but I am beginner on eletric

    • @Mejo_95
      @Mejo_95 10 місяців тому

      can you please make a video and demonstrate?@@Ohmify

    • @Ohmify
      @Ohmify  10 місяців тому

      @@Mejo_95 I'll keep it in mind for the future

  • @PraveenMax
    @PraveenMax 3 роки тому +1

    Short and clear.. 👍👍👍👍

  • @ENTHUSIASTICFIFAFAN
    @ENTHUSIASTICFIFAFAN 6 місяців тому +1

    Thanks!!! I totally understand now!!!

  • @Moreira787
    @Moreira787 4 роки тому +2

    Succinctly explained, thanks!

  • @Ben-pi5ww
    @Ben-pi5ww 3 роки тому +2

    Thanks for this great explanation!

  • @richardvanraay2011
    @richardvanraay2011 2 роки тому +1

    Thank you.

  • @BarryOm
    @BarryOm Рік тому +1

    Amazing,
    Ultimately I got this❤

  • @pateldivy6464
    @pateldivy6464 Рік тому +1

    Very useful video. Thanks

  • @arftrooper2057
    @arftrooper2057 3 роки тому +1

    This video was so helpful, thank you!

  • @kobie1585
    @kobie1585 3 місяці тому +1

    Good video Boss 👍👍👍

  • @jong1796
    @jong1796 5 місяців тому +1

    Very nice , the best .

  • @hamzafakhro5454
    @hamzafakhro5454 Рік тому

    Very good explained and informative. Thanks.

  • @pegaferno4429
    @pegaferno4429 Рік тому +1

    Thank you so much!

  • @jasonruth6594
    @jasonruth6594 2 роки тому +1

    Very interesting and informative.

  • @zokitofaraon7807
    @zokitofaraon7807 5 місяців тому

    Hi sir, do I have to add diode on Voltage input to protect dc circuit if ever I need to make bigger project? Thanks in advance. newbie here

    • @Ohmify
      @Ohmify  5 місяців тому

      A diode on the input is usually used to avoid connecting the power supply the wrong way - or to choose between two power sources.

  • @Criminality4life
    @Criminality4life 6 місяців тому

    i can't get it to work but i did the exact same thing and used the exact stuff in this video any help? or advice?

    • @Ohmify
      @Ohmify  5 місяців тому

      If you did the exact same as in the video, the only potential problem left is that one of your components is damaged

  • @jumbo999614
    @jumbo999614 4 роки тому +1

    I'm new to Electronics. Can i do this with 35v 1000uf capacitor? It's not going to explode into my eyes right?
    What value of your capacitor and resistor you used in this video?

    • @Ohmify
      @Ohmify  4 роки тому +1

      Yes, you can. And you don't have to worry about it exploding as long as you use a standard 9V battery. (If you connect it to 110 or 230V, expect a small explosion). I think I used 1000 µF capacitor and a resistor of 470 ohms.

  • @helium3137
    @helium3137 Рік тому

    This video is so good

  • @42luke93
    @42luke93 5 місяців тому

    Which way to connect it polarity wise?

    • @Ohmify
      @Ohmify  5 місяців тому

      Plus pin towards the plus terminal of the battery.

  • @bogdansandu4995
    @bogdansandu4995 3 роки тому +2

    Hi there! I want to use a capacitor to stop a 12v small led flickering . I aimed to 16 v capacitor but not sure what UF to chose. Do you think 22 UF or 47 UF will do, or should I get a higher UF ?

    • @Ohmify
      @Ohmify  3 роки тому +1

      I'm not sure really. I recommend just testing a few different values. But 22µF or 47 µF both seem like good values to start with.

  • @begenchmeredov
    @begenchmeredov 10 місяців тому

    Sir you are greatest

  • @vutrung12345
    @vutrung12345 Рік тому

    Very helpful, thanks so much

  • @adilakbar3053
    @adilakbar3053 2 роки тому

    I learned something new today

  • @offcyclops
    @offcyclops 3 роки тому +1

    thanks 👍

  • @tninfinity5988
    @tninfinity5988 4 роки тому +1

    Great work

    • @Ohmify
      @Ohmify  4 роки тому +1

      Thank you! Cheers!

    • @tninfinity5988
      @tninfinity5988 4 роки тому +2

      @@Ohmify I'm learning electronics to robotics.
      Your work is very useful.

  • @MrGeekGamer
    @MrGeekGamer 5 років тому

    How does this work? The capacitor is charged to the input voltage, which is connected before the resistor and bypasses the resistor entirely. Why doesn't the LED blow up?

    • @Ohmify
      @Ohmify  5 років тому

      The capacitor is connected across both the LED and the resistor - that is parallel to the voltage source. The resistor isn't bypassed.

    • @RCFrizz
      @RCFrizz 5 років тому

      If you look closely, when the camera angle is from almost directly above, you can see that one of the the capacitor's wires goes to the resister, which in turn goes to the LED. It is right at 0:25 in the video.
      BTW... If you use the comma and period keys, YT vids go frame by frame. It is easy to remember because the comma and period are on the '' keys. Don't use the shift key, though. Unless you want to speed-up or slow-down the playback speed.
      Also, the left ←and right → arrow keys jump backward/forward by 5 seconds.

    • @treeski3410
      @treeski3410 5 років тому +1

      @@RCFrizzit seems you are correct that when the voltage source is removed, the capacitor is in serial connection with the LED. However, the resistor is still present in the circuit and keeps the current below threshold level.

  • @knightridersofgreece
    @knightridersofgreece 2 роки тому

    help me on this please!what type of capacitor do i need to buy in order to give a spotenious fade when i turn off the switch on a 12v 100watt halogen car lamp!

  • @richardworden9747
    @richardworden9747 6 місяців тому

    If i have a small solar panel. And the output is 5vdc can i add a cap. At the output to make it move of a stable voltage. . It will charge my phone but i am trying to make it work better with less Fluctuation on the output side.

    • @Ohmify
      @Ohmify  6 місяців тому

      A capacitor will help reduce ripple, yes

  • @maniruddin3570
    @maniruddin3570 3 роки тому

    Very much helpful. Can you tell me what volt-capacitor should i use for a 12 volt LED strip? I will replace my Yamaha keyboard's display backlight(ccfl) with LED. I will take the 12 volt power from any voltage regulator located in the power suplly board inside. Thank you

    • @Ohmify
      @Ohmify  3 роки тому +1

      The voltage rating must be higher than 12V, but there's no limit on how high. So choose any rating higher than 12V.

  • @bigzonetechnology5974
    @bigzonetechnology5974 7 місяців тому

    What capacitor should i use with 12v1amp dc power adaptor with led to make slow dim effect after power off

    • @Ohmify
      @Ohmify  6 місяців тому

      As big as possible. The bigger, the longer the dim effect.

    • @bigzonetechnology5974
      @bigzonetechnology5974 6 місяців тому

      @@Ohmify thanks for the information. Soon I will try

  • @benlee3545
    @benlee3545 Рік тому

    Hi Sir, I have a question. For touch screen switch and some smart light bulb, when you turn off the switch, the light bulb only dim and not completely turn off. but when a capacitor is added between the live and neutral cable, the light bulb is completely turn off. Able to illustrate what is the reason behind that?

    • @Ohmify
      @Ohmify  11 місяців тому

      No idea

    • @benlee3545
      @benlee3545 11 місяців тому

      @@Ohmify ok thank you.

  • @GeraltOfRivia69
    @GeraltOfRivia69 Місяць тому

    Please do it with a Inductor also, then Inductor plus capacitor

    • @Ohmify
      @Ohmify  Місяць тому

      You won't get enough delay to make it visible for the naked eye with an inductor unfortunately.

  • @yusufkoraycan4607
    @yusufkoraycan4607 10 місяців тому

    Thanks!

  • @virk-iw1tc
    @virk-iw1tc Місяць тому

    amazing

  • @mraja2215
    @mraja2215 Рік тому +1

    Resister value ?

    • @Ohmify
      @Ohmify  Рік тому

      1k almost always works. If you want to calculate it, check out this article: www.build-electronic-circuits.com/current-limiting-resistor/

  • @jumbo999614
    @jumbo999614 5 років тому

    How do you find out how many voltage and farad of the capacitor to use with LED and 9v battery?

    • @Ohmify
      @Ohmify  5 років тому +6

      The voltage on a capacitor is how much voltage it can handle. So you just have to make sure you don't have a capacitor with a voltage rating lower than what you plan to use. For the farad value - it depends on the time you want it to take to fade out. Higher farad value means longer time.

  • @wakkiephone
    @wakkiephone 3 роки тому

    I want to install Smart WiFi Switch with my AC do I need to install Capacitor or I can just wire the wires directly with the Switch. Thanks

    • @Ohmify
      @Ohmify  3 роки тому

      I'm not familiar with that product, so I can't answer.

  • @lelohalmah5707
    @lelohalmah5707 2 роки тому

    I want to ask, how can I maintain the arduino r3 running at 12v for 2sec while switching to alternate power source.(Note: I have the main power source producing 12v and a battery producing 12v too) the power module circuit is yx850 power failure system. There's a a delay in the module when switching

    • @Ohmify
      @Ohmify  2 роки тому

      Just use a capacitor with enough capacitance, and you should be able to do that. How much capacitance depends on how much current your circuit is pulling. But you could experiment to find out how much you need.

  • @soulmusic948
    @soulmusic948 5 років тому +1

    You are very nice sir

  • @primozhorvat8096
    @primozhorvat8096 Рік тому

    How do you determine what capacitor size you need?

    • @Ohmify
      @Ohmify  Рік тому +4

      In this example simply use a larger capacitance value for longer delay, smaller capacitance value for shorter delays. It would be possible to create a formula for this based on the capacitor charging formula.

  • @bkpalos
    @bkpalos 2 роки тому

    Will this have same effect for 120V AC

    • @Ohmify
      @Ohmify  2 роки тому

      No. With AC you would first charge the capacitor, then discharge the capacitor, then charge it, then discharge it, then... And so on.

  • @janel4073
    @janel4073 2 роки тому

    what voltage of battery did you use?

  • @sameel9777
    @sameel9777 Рік тому

    For what we need it?

    • @Ohmify
      @Ohmify  Рік тому

      One important thing is to add time delays into a circuit. For example to blink an LED.

  • @reverseengineering6158
    @reverseengineering6158 2 роки тому

    How much voltage to connect with led

    • @Ohmify
      @Ohmify  2 роки тому

      You always connect a LED in series with a resistor. And as long as you do, you can apply any voltage you want. You just have to adjust the resistance value according to the voltage. More info here: build-electronic-circuits.com/current-limiting-resistor

  • @naseem5622
    @naseem5622 10 місяців тому

    how is this different from an inductor

    • @Ohmify
      @Ohmify  9 місяців тому

      A few differences: Inductors have very little capacity compared to capacitors. An inductor will resist change in current. Current can still flow through a charge inductor.

  • @nattan3226
    @nattan3226 2 роки тому

    what about what does a capacitor do in a flasher circuit?

    • @Ohmify
      @Ohmify  2 роки тому +1

      It adds delay to keep the LED on/off for a short time

  • @ninggonmei2016
    @ninggonmei2016 3 місяці тому

    that is easy but how much value of capacitor we need.... and no one talks about it...

    • @Ohmify
      @Ohmify  3 місяці тому +1

      Try with 1000µF. It's possible to calculate it too, but a bit complex, so the trial and error method is usually faster for circuits like this.

  • @brentadriaansz6099
    @brentadriaansz6099 4 місяці тому

    ❤❤❤

  • @ArshadKhan-bn3mq
    @ArshadKhan-bn3mq 8 місяців тому

    Sarvan video for me special

  • @nukegamereactor7750
    @nukegamereactor7750 7 місяців тому

    Please teach me how to make a DRAM with capacitors 😭

  • @himadridev425
    @himadridev425 Рік тому

    Can u plz provide the circuit diagram of this entire work

    • @peatmoss4415
      @peatmoss4415 5 місяців тому

      You beat me to it! I was going to ask this dumb question as a joke! You are not the sharpest pencil in the pencil box are you?

  • @mig4868
    @mig4868 2 роки тому

    Wish I could give two likes.

  • @fbi7577
    @fbi7577 3 роки тому

    Came from a gmail

  • @manlikezakaado6135
    @manlikezakaado6135 Рік тому +1

    🫡

  • @user-pe6zc2vf5j
    @user-pe6zc2vf5j 3 місяці тому

    ....

  • @chriswoodward6668
    @chriswoodward6668 3 місяці тому

    Is a capacitor the same thing as a resistor in an LED bulb??

    • @Ohmify
      @Ohmify  2 місяці тому

      No, resistors and capacitors are two different things.

  • @conflictTV265
    @conflictTV265 Рік тому +1

    Best explanation

  • @user-fb9yd8wo8j
    @user-fb9yd8wo8j 3 роки тому +1

    Thank you.

  • @legendofman12
    @legendofman12 2 роки тому

    Thank you