MOSFET - Off after a delay

  Рет қаралды 12,050

learnelectronics

learnelectronics

Күн бұрын

MOSFET - Off after a delay
In this video we use the charge discharge cycle of a capacitor as a timer. When you press the button, the gate of the FET goes high and it switches on, while at the same time it charges the cap. When you release the button, only the charge left in the cap keeps the gate open, and when it discharges fully, the FET is switched off. You can have delays from minutes to days...
5 boards for about $22 in about 7 days www.pcbway.com
Yes!! I now have merch: teespring.com/... Electronics themed T-ShirtsIf 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 1: Rigol 1054Z amzn.to/2PRybtN
Oscilloscope 2: Siglent SDS1202X-E amzn.to/31Kk1yH
Power Supply 1: TekPower TP3005N amzn.to/2TeQnxI
Power Supply 2: RUIDENG DP50V5A amzn.to/2sNicSe
Signal Generator: JS2800 ban.ggood.vip/...
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

Пікірлер: 129
@rdpoulson
@rdpoulson 4 жыл бұрын
This was really great! Please keep making more of these type of instructional videos - loved it!
@dominicdima7305
@dominicdima7305 4 жыл бұрын
Very helpful, Thanks for the upload. Watch all the content, typically as you release it, and enjoy and learn from everything so far. However, Classic Circuits You Should Know tends to be my favorite and as far as I can say as of now, the most educational that I've learned from. Thanks again keep up the awesome work. You've really turned my attention to electronics and I thank you for that Paul. Great stuff to know, awesome hobby, and the community so far seems great too.
@felixruiztorrez5192
@felixruiztorrez5192 4 жыл бұрын
Thank you for this circuit. My understanding of this circuit is, when you press the button, you charge the capacitor, then when you release the button, the capacitor get discharged on the resistor because there is no current flowing between G and S terminals, so all the current goes through the resistor. The MOSFET is acting in the saturation region as a current source because (V_GS-V_T) is smaller than V_DS.
@kingshahzad78
@kingshahzad78 6 ай бұрын
Thanks for making this video dear. You have solved my tonnes of problems. Love You
@rhoniandjeff7453
@rhoniandjeff7453 4 жыл бұрын
since ive never taken any courses or training of any kind, this is such a wonderful find. I love this. thank you.
@learnelectronics
@learnelectronics 4 жыл бұрын
Welcome, please watch all you like and email if you have any questions. Arduino0169@gmail.com
@rhoniandjeff7453
@rhoniandjeff7453 4 жыл бұрын
@@learnelectronics awesome man, thank you for making yourself available.
@marktiger4613
@marktiger4613 4 жыл бұрын
Great video I am a older guy that loved working I my garage on old cars but I hurt my back and and I am still working my full job but at the end of the day I go out to the garage and can't do anything so I bought a soldering station and going to get some parts and kits to keep myself busy thank you for your service and for your channel and information now I just need to figure out what to order for a beginner with no parts or kits and where to order
@learnelectronics
@learnelectronics 4 жыл бұрын
May I suggest my Amazon shop? Check out this page from learnelectronics www.amazon.com/shop/learnelectronics?ref=inf_own_learnelectronics
@marktiger4613
@marktiger4613 4 жыл бұрын
@@learnelectronics thank you that's great
@AsbestosInhaler-f6r
@AsbestosInhaler-f6r 4 жыл бұрын
Thanks Paul. You and the Art of Electronics book have thought me considerably more than my College course on electronic engineering have. Once again thanks
@learnelectronics
@learnelectronics 4 жыл бұрын
Wow, thanks
@ricardordz7538
@ricardordz7538 3 жыл бұрын
Great content man, i'll use this circuit for a self filling water bowl for my dog and see if it helps for when i'm out of the house
@friedmule5403
@friedmule5403 4 жыл бұрын
Again a video I needed, and at the right moment:-) I did make a delay, but only using a cap across positive and negative, follow by a resistor on the positive rail. It make the LED, fades in and out on push of the button.
@learnelectronics
@learnelectronics 4 жыл бұрын
Sounds great!
@oscarpeters1351
@oscarpeters1351 4 жыл бұрын
Im using this circuit for my garage lights, thanks a lot!
@bassome3000ify
@bassome3000ify 4 жыл бұрын
i must say i love the knowledge and experience u share with us. also like the Classic Circuits knowledge u share. small note/question, at 5:02 the second graph, are we not doing the opposite? i.e. with the resistor make the capacitor discharge slower? i.e. less sharper. thx!
@idiotwithasolderingiron
@idiotwithasolderingiron 4 жыл бұрын
The resistor is pulling current to ground discharging it faster
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 4 жыл бұрын
The graph has slight issues, there is not resistance to limit the current while the capacitor charges up when the key is pressed. so the voltage rise should be almost vertical and stay there without the 1M resistor until the cap self discharges. the 1M resister gives you a defined discharge path so you can control the discharge rate.
@eval1035
@eval1035 3 жыл бұрын
very simple but it is really usefull.
@Taran72
@Taran72 4 жыл бұрын
Yes, very useful! To see the application of something you studied with formulas....it always is. :)
@deankq4adj125
@deankq4adj125 4 жыл бұрын
Great video, really enjoy you sharing with us!! Keep up the good work my friend!
@peterlethbridge7859
@peterlethbridge7859 11 ай бұрын
Brilliant. Thank you.
@HelmutTschemernjak
@HelmutTschemernjak 4 жыл бұрын
Great video, I love this simple things. This should bring over the message to many students/attendees.
@learnelectronics
@learnelectronics 4 жыл бұрын
Im glad you likes it. Thank you very much.
@devanesanandrews3488
@devanesanandrews3488 3 жыл бұрын
this is fantastic, Would you explain how to calculate the Mosfet on off deadly times with oscilloscope
@baldrickdaisy8982
@baldrickdaisy8982 4 жыл бұрын
Thanks once again Paul. Love the classics 👌
@drocles
@drocles 4 жыл бұрын
Love your channel, thanks for being so dedicated to education!
@learnelectronics
@learnelectronics 4 жыл бұрын
Thank you
@keithking1985
@keithking1985 4 жыл бұрын
i like those croc clips, do ya have them long Paul?? these are great i bet loads of people will start to learn new stuff giving the situation were in. and stuff like this is always cool to see.
@dukeeod1650
@dukeeod1650 4 жыл бұрын
A very simple circuit that can in very handy I could also use an LDR in a separate circuit so when the LED goes out the LDR functions as a dark activated circuit. Oodles of applications, thanks
@vojtadanda5932
@vojtadanda5932 4 жыл бұрын
Super video. You should make the on after delay circuit
@learnelectronics
@learnelectronics 4 жыл бұрын
Coming up....
@Electronzap
@Electronzap 4 жыл бұрын
Very cool circuit!
@georgechambers3197
@georgechambers3197 4 жыл бұрын
Very cool circuit. I really like this series, keep them coming. 😁 Thanks for the video!
@learnelectronics
@learnelectronics 4 жыл бұрын
How you been buddy?
@georgechambers3197
@georgechambers3197 4 жыл бұрын
Pretty good here. We're pretty isolated anyway so distancing isn't a problem. How about you other than the tooth? How's the family, the boy mom and your sister?
@vlader7515
@vlader7515 8 ай бұрын
Damn love you man was looking for this 🤣
@rw2897
@rw2897 4 жыл бұрын
While this may sound like I am joking but have you ever thought of writing a book? The simplified way in which you explain things, to me, are extremely helpful. You can explain in minutes what reading an entire chapter doesn't do.
@learnelectronics
@learnelectronics 4 жыл бұрын
I have thought of it, but I cant sit still long enough.
@mohamedvahed1008
@mohamedvahed1008 8 ай бұрын
Hi, very well explained.can the switch be a toggle switch.but does the same work? Basically 1 want to use this circuit to switch on a item with a car ignition switch and it will supply 3 sec on and then off. Once the the IGNITION is switch off and then on will do the same.
@LitesLAB
@LitesLAB 4 жыл бұрын
This was great Paul! My little one has a moon light on her wall that uses this exact circuit! Nice to see it laid out like this. Thank you :) Did your vid on Pots get taken down?
@mikeburton8687
@mikeburton8687 4 жыл бұрын
This is cool circuit, really enjoyed this something I can understand
@bertspeggly4428
@bertspeggly4428 10 ай бұрын
Good video. Where do you get that capacitor kit? Thanks
@MrBobWareham
@MrBobWareham 4 жыл бұрын
Very good video where did you get your box of caps, please
@samuelchamberlain2584
@samuelchamberlain2584 4 жыл бұрын
Yes I have used this circuit for outside lights befor also it should work for extract fan boost etc . It has a nice soft off behaviour.
@michaelpadovani9566
@michaelpadovani9566 4 жыл бұрын
Different take on the 555 delay, I like it!
@learnelectronics
@learnelectronics 4 жыл бұрын
Glad you like it!
@simuk
@simuk 4 жыл бұрын
What would you change to make the LED go completely off instantly, rather than "fading" off as it shows in your video? So the LED is either completely off, or completely on but not a state between those two.
@jonelectronics510
@jonelectronics510 4 жыл бұрын
You can add a Schmitt trigger to get a clean logic switch between the filter and the gate.
@jeepingneatus
@jeepingneatus 2 жыл бұрын
Could I use this type of circuit to turn a DC motor on and have it shut off after just a couple seconds? I am trying to do a delay off in a very confined space. This seems like one of the most simple (and space saving) delay off circuits I have seen.
@khwezimngoma
@khwezimngoma 4 жыл бұрын
Awesome guy, between yesterday and today I learnt a lot from you, you got a new subscriber with a bell and a like.
@learnelectronics
@learnelectronics 4 жыл бұрын
Awesome, thank you!
@stevesfascinations1516
@stevesfascinations1516 4 жыл бұрын
Love your video. Thanks for such a good explanation. Thumbs up (already subscribed).
@electronicdanuma7067
@electronicdanuma7067 4 жыл бұрын
Good
@excitedbox5705
@excitedbox5705 4 жыл бұрын
These are the most useful videos. I am working on a website where I will have a DB of these types of circuits. Knowing these circuit building blocks is what will ultimately allow someone to design their own devices instead of just reconstructing other peoples works. If anyone has any good resources for where I can find more of these it would be a great help.
@kalikatz2382
@kalikatz2382 4 жыл бұрын
I built the same circuit for the dome lights in my car. So when I close the doors, interior lights stay on for a few seconds. That was over 10 years ago. 😀
@tusaisix
@tusaisix 2 жыл бұрын
Very nice circuit. Can it work if i remove the button and stays always connected. I want to make it work when i give it constant power supply and then the circuit turn off but the power supply stays connected until i cut the power off and reset itself. Please (you or someone else) give me an answer even if it can't be happen.
@electronic7979
@electronic7979 4 жыл бұрын
Super 👍
@barthsmusic9515
@barthsmusic9515 Жыл бұрын
Hi, thanks for the post. I have the 2 problems: 1. Not al 12V is available on the output and 2. the output current drops when it's counting down (=when de current on the elco is decreasing). Is it possible to make it stop in 1 step insteat of going down in output current? Best Regards, B.
@GORF_EMPIRE
@GORF_EMPIRE 4 жыл бұрын
A nice circuit for reset timing in a computer.
@vladimirhromis8759
@vladimirhromis8759 11 ай бұрын
if u put resistor on the input of the capacitor you can make the turn-off time dependent on time that it has been turned on for . I guess .. :D
@abhayraj695
@abhayraj695 4 жыл бұрын
Iam using similar technique....a low pass circuit for creating an on time delay for gate
@ku4nz
@ku4nz 4 жыл бұрын
Good job. Only 20K to go.
@learnelectronics
@learnelectronics 4 жыл бұрын
Fingers crossed!
@mirceanicolaepop3707
@mirceanicolaepop3707 4 жыл бұрын
A Schmidt trigger in series with the gate would have helped avoiding the dimming.
@antonypilepich8947
@antonypilepich8947 4 жыл бұрын
Thank you, Simple timing like this I have built in the past (with NPN switching transistor) I've put a resistor along the base line for delay. Is there some Mosfet reason for putting the resistor gate to earth?
@learnelectronics
@learnelectronics 4 жыл бұрын
The resistor speeds up the discharge of the cap.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 4 жыл бұрын
Antony, the NPN transistor is a current controlled device. it needs current to flow into the base for it to turn on. so the discharge time of the capacitor between the base and emitter controls the on time, to modify the on time you change the discharge current by changing the resistance between the cap and the base. The fet is a voltage controlled device when there is only current flow in to the gate at the start as the gate capacitance charges up. after this the fet can stay on all by itself, the capacitor is much large then the internal gate capacitance and with the 1M resistor to ground gives you more control of the timings.
@majorkuso6720
@majorkuso6720 4 жыл бұрын
coud you calculate the approximate discharge rate with the cap and gate to source resistance Rgs?
@waynegram8907
@waynegram8907 Жыл бұрын
PAUL, make a YT lesson about FETS miller plateau. How to measure the miller plateau and how do FETS have a miller plateau
@pulesjet
@pulesjet 4 жыл бұрын
I just spent $90.00 on SSR Solid State Relays to switch Solar Panel Voltages between uses-es. Following up explain Thermo Heat Management of the Mos Fet.
@TheJavaSync
@TheJavaSync 3 жыл бұрын
Can it replace led with relay?
@weerobot
@weerobot 4 жыл бұрын
Yes...Delay Circuits...Pantry Lights..
@jonelectronics510
@jonelectronics510 4 жыл бұрын
It would be a good idea to place your RC filter into a Schmitt gate so you don't run the mosfet into the linear mode. With an led the load would not be an issue but if you used that with a higher amperage it would heat the mosfet up as it switches off . Maybe that would be an interesting video to scope the gate with and without a Schmitt to get a clean on and off switch? Thanks for the video as always Paul ;)
@learnelectronics
@learnelectronics 4 жыл бұрын
Thanks, that's a great idea
@radius.indrawan
@radius.indrawan 4 жыл бұрын
+1 on this for future video. :)
@jotarojoestar1399
@jotarojoestar1399 Жыл бұрын
how do you do this for p-channel mosfet? for high-side switching
@jeffvenqueleir2036
@jeffvenqueleir2036 4 жыл бұрын
nice
@chancefears1759
@chancefears1759 4 жыл бұрын
What about a circuit that will turn off after a few seconds after power is supplied continuously?
@gapadad2
@gapadad2 4 жыл бұрын
I gotta ask, what kind of pen is that?
@yassirbenmessaoud4587
@yassirbenmessaoud4587 4 жыл бұрын
Very nice circuit Could you make a circuit about h-Bridge
@learnelectronics
@learnelectronics 4 жыл бұрын
I did about 2 years ago
@MrBrechtD
@MrBrechtD 4 жыл бұрын
where did you get the capacitor box? seems like a good thing to have, big range
@RoBBz2000
@RoBBz2000 4 жыл бұрын
see ebay from China
@learnelectronics
@learnelectronics 4 жыл бұрын
It's in my Amaxon shop: Check out this page from learnelectronics www.amazon.com/shop/learnelectronics?ref=inf_own_learnelectronics
@contemporiser
@contemporiser 4 жыл бұрын
can you show the simplest way to make timing independent of how long the button is pushed?
@learnelectronics
@learnelectronics 4 жыл бұрын
It is. You only need to press and release the button.
@contemporiser
@contemporiser 4 жыл бұрын
@@learnelectronics Yes, but it seams to me that as long you keep the button pressed, the light is on. What if you want to make sure that the time will be shorter than you could control with your finger. To trigger a relay in a spot welder for example.
@fuchsfalke5063
@fuchsfalke5063 4 жыл бұрын
to get rid of the fading out i assume an Zener-Diode a bit below VCC would do?
@jonelectronics510
@jonelectronics510 4 жыл бұрын
Use a Schmitt trigger on the gate
@dukeeod1650
@dukeeod1650 4 жыл бұрын
Can you make it to turn on after a delay? As usal great video, Stay healthy and safe
@learnelectronics
@learnelectronics 4 жыл бұрын
Yep, I made a video on that...
@dukeeod1650
@dukeeod1650 4 жыл бұрын
@@learnelectronics thanks I must have missed it. Take care.
@hvdtoorn
@hvdtoorn 4 жыл бұрын
Hey, just a quick question, can't really see on the board on my phone, do you need a current limiting resistor on the led or is the mosfet sufficient?
@learnelectronics
@learnelectronics 4 жыл бұрын
There is a resistor soldered to the cathode of the led.
@hvdtoorn
@hvdtoorn 4 жыл бұрын
@@learnelectronics I see! Thanks
@vernonraines3002
@vernonraines3002 4 жыл бұрын
Would love to use this to drive a relay. Have a battery charger for drills that I always forget to shut off for a day or two. Wonder if this would work?
@learnelectronics
@learnelectronics 4 жыл бұрын
Yes it would
@vernonraines3002
@vernonraines3002 4 жыл бұрын
Any idea how to tie a relay coil into the circuit to control 110v?
@NullaNulla
@NullaNulla 4 жыл бұрын
Could use this to drive something like a porch or driveway light or a time out on my radios lol. I tried to make similar with a different tran and got a different effect where switching by a tap from + resulted in a perma power on till tapped with - which resulted in a power off. It's a trans I got for my UPS that went BANG and smoked ... one of these trans was missing it's hat after that. HOPING it was just the trans ... hoping.
@learnelectronics
@learnelectronics 4 жыл бұрын
As long as you dont exceed the power rating of the FET you can drive whatever you want. Put in a big cap and remove the gate to ground resistor and you can have delays that last days!
@NullaNulla
@NullaNulla 4 жыл бұрын
@@learnelectronics yeah think the idea is use this circuit to drive a relay to power on/off whatever you're doing. I understand some electronics principles but have a hard time still generally speaking with certain things (biggest reason I'm still needing to upgrade my ham call). Out of curiosity what was the resistor put in place for here? Extra drag on the cap?
@jonelectronics510
@jonelectronics510 4 жыл бұрын
@@NullaNulla to discharge the capacitor else it would never discharge due to the high impedance of the mosfet gate (well it would discharge eventually, there would be leakage in the cap and gate etc).
@georgestephens3513
@georgestephens3513 4 жыл бұрын
Like to see one with short turn on delay.
@learnelectronics
@learnelectronics 4 жыл бұрын
Soon
@RespawnRestricted
@RespawnRestricted 4 жыл бұрын
Could I sub in a different mosfet ?
@learnelectronics
@learnelectronics 4 жыл бұрын
Sure just dont exceed the power rating
@jakub2190
@jakub2190 4 жыл бұрын
MOSFET is a bit of overkill for LED dont you think?
@learnelectronics
@learnelectronics 4 жыл бұрын
The LED is an example load. Replace it with whatever you need.
@BrucesWorldofStuff
@BrucesWorldofStuff 4 жыл бұрын
Wow, I could hook up a infrared module and a bigger led with a 2200 uF cap and have it turn on in the bathroom when I walk-in and no more bright light at night... :- D Then It will turn off after I leave... Nice! LLAP
@bblod4896
@bblod4896 4 жыл бұрын
Possibly the same design used on dome lights in automobiles.
@johanponin1360
@johanponin1360 4 жыл бұрын
What about the reverse ? a capacitor delaying the gate ?
@learnelectronics
@learnelectronics 4 жыл бұрын
Soon
@yigityildirim8974
@yigityildirim8974 4 жыл бұрын
What’s the ratio between the capacitance and the on time in seconds
@jonelectronics510
@jonelectronics510 4 жыл бұрын
5RC. But nothing in this circuit is linear (bar the resistor) so timings won't be that accurate.
@peterdavidson3242
@peterdavidson3242 4 жыл бұрын
Is there a formula for this specific circuit to calculate the time on based on all three variables, voltage, resistance and capacitance? Could you add into the "down below" so it's viewable to everyone without having to read a reply to my comment?
@jonelectronics510
@jonelectronics510 4 жыл бұрын
5RC will give you the discharge time, however, bare in mind the VI curve of the capacitor and LED is not linear so it will fade slowly then just go out. Similarly the response of the mosfet is not linear so that too will affect the result.
@WatchesTrainsAndRockets
@WatchesTrainsAndRockets 4 жыл бұрын
Thanks. I have been looking for a way to do this. The only thing is that I wanted a square wave output. To that end, I played around for a while in everycircuit and came up with this: everycircuit.com/circuit/4959474069274624 My description reads "Pressing button turns on blue LED. Stays on for the delay time delay determined by the RC timing with the on/off threshold set by the voltage divider. This makes the switching a square wave. Red LED is directly controlled by the RC circuit, so it starts to fade as soon as the push-button is released. The blue is at full intensity until the circuit times out." Ypu can fiddle with the settings by clicking on a component, then click on the wrench symbol in the lower left and move the dial that appears on the right. The green line in the graph is the RC circuit; the purple is the input to the mosfet gate controlling the blue LED.
@rsactivescience2647
@rsactivescience2647 4 жыл бұрын
Can we use 12v battery
@learnelectronics
@learnelectronics 4 жыл бұрын
Sure
@Tolderian
@Tolderian Жыл бұрын
Buuuut…. What if you want it to go off while holding the button?
@Bernhard_V
@Bernhard_V 4 жыл бұрын
Something else I miss about a "switch" like this: What's the current through the FET when it's off?
@jonelectronics510
@jonelectronics510 4 жыл бұрын
Current only flows through the FET when Vgs is above Vthreshold of the FET. When it is below that then no current will flow.
@Bernhard_V
@Bernhard_V 4 жыл бұрын
@@jonelectronics510 "No current" is not possilbe. It is a FET-Transistor, not a switch. This question is important if you operate a circuit with batteries.
@jonelectronics510
@jonelectronics510 4 жыл бұрын
@@Bernhard_V very true, I was simplifying for educational purposes.
@maxprophet2401
@maxprophet2401 4 жыл бұрын
First on, off after delay, woohoo, life complete, circuit not
Classic Circuits You should Know - Single Button Toggle
7:18
learnelectronics
Рет қаралды 19 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 424 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 8 МЛН
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 9 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
MOSFET as a variable resistor
9:42
learnelectronics
Рет қаралды 28 М.
Classic Circuits You Should Know: Delayed Start
10:12
learnelectronics
Рет қаралды 35 М.
10 awesome application of capacitors in circuits
29:01
Electronic Wizard
Рет қаралды 406 М.
How To Remove Electrolytic Capacitors - 3 Great Methods
20:09
Mr SolderFix
Рет қаралды 10 М.
flawless PCB design: Bad ground ideas many engineers believe - Part 6
15:11
How to make a simple delay circuit
9:25
learnelectronics
Рет қаралды 178 М.
Every Component of a Switch Mode Power Supply Explained
23:10
ElectrArc240
Рет қаралды 448 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 8 МЛН