In some cases our designs failures because an unexpected enemy, the noise. Thanks to this wonderful video I've discovered that a regulator is not only useful to adapt voltage, they are effective noise blocker too! My like is the #217... Thanks a lot for another interesting video! Greetings from Argentina!
I used an LM317 to build a current ramp device, to aid in soft-start of a piece of avionics gear; a Bell 212 starting up can drop the battery bus to almost 6 V, instead of 24 V nominal, so the soft start delayed the power on for a couple of seconds.
Or just put a 100nF MLCC across the motor and a 5v TVS diode on the supply. A another approach is to power the MCU through a 100ohm resistor and have a capaictor on both sides. Most MCUs run on 3v3 so 1 regulator should be enough.
Thanks, buddy. I always learn a lot of useful and practical tips from your videos. Interestingly, a few days ago, I was watching a video where someone removed the voltage regulator from a microcontroller to reduce noise! But you said the opposite, which makes sense. If possible, could you make a video about methods for hardening and increasing the stability of microcontrollers in tough circuits and conditions? I know you're an expert on microcontrollers.
@@elewizardMaybe not 'harmful' to a battery but the regulator dissipates heat which is flattening the battery for no benefit. Best to use a dc to do converter.
Not shorten the battery life per se, but definitely discharge the battery much much faster. Like order of magnitude faster. I have used two 18650 in series along with LM7806 instead of four D-type cells and the time between recharges was like two days. So I've decided to redo it, this time using two 18650 in parallel with a SX1308 boost converter, set at 6.2V - there's your first advantage, ability to fine-tune the voltage (easily) . But the other big advantage, the quiescent current is well under 1mA, compared to 5-8 mA of the LM7806. So far it's working for two weeks without recharge.
@@MlokKarel In my limited knowledge, what could be done to reduce unnecessary power loss is using a switching regulator instead of a linear regulator, since one can be more efficient than the other with the drawback of more noise.
As one who is learning electronics your videos are very educational and well presented. Are you able to speak about DC-DC converters when you need to increase the voltage to a steady level above the battery voltage to run, for example, a portable morse code transceiver. How can I produce 13.8 volts from two lithium AA batteries that are 3.7 volts each. Thanks.
Glad the videos were helpful. By the way, subject of my next video is exactly that. In the next video, I will explain how we can use an inductor to convert 1V to -80V
i cant believe you missed out my fave use. for limiting current to sensitive components. i use lm338 all the time, with just output shorted to adjust with a 1 ohm R, then drive things from adjust lead. so it limits current to 1.25A for laser diodes.
What are your thoughts?? I have an application of using an Arduino 5V to control a Halloween prop that uses a 5V motor @ 600mA to drive a skeleton jaw (The output is PWM and my electronics switch more than fast enough to work this motor). The Motor is used to open the jaw and there is a spring to return the jaw closed. To protect the Arduino, I opto-isolated the output pin, then I used a MOSFET to drive the current required. I put a reversed 1N4007 diode across the motor to protect against back EMF as well as the motor itself has a small disk capacitor (unknown size, it was part of the older prop electronics). The 5V supply that I am using is a high current (about 1.5A) switch-mode module that converts my input voltage of 12VDC down to 5VDC common grounds. With these precautions taken, is that sufficient, or would you still recommend a separate supply for the motor? I will probably be testing the electronics today, I will scope the power supply to see how badly the noise is when the Jaw is in operation.
Thanks for the video. I would add an important application - content-current source, either 78xx or lm317 etc, can be used as a constant current to drive an LED for example.
For the MCU, NPN transistor, motor circuit shown around 6:07 are you saying that the inductive noise from the motor will pass from the collector-emitter channel through the base back to the MCU? I admit I am a newbie learning, but I didn't realize this was possible. Regardless, thank you for this video, its very helpful for learning. I knew I needed to suppress EMF noise from my dc motor, and now I might experiment with using both capacitors and voltage regulators. I really like your channel, and appreciate the time you put into it, I think this channel will grow very much. Thank you.
I think he was saying the motor would "pollute" the 5v rail with electrical noise. And as this rail is common to both the motor and the MCU, then this could cause a latch-up. Depending on component types, and ratings/values, some interference may also travel back through the BJT, therefore a filtering cap on the base would be helpful.
@@CircuitDuty101 Thank you, much appreciated. That makes sense to me. Especially in light of the next two circuits he shows at 8:35, where the power rail is 12v and the MCU and/or motor have voltage regulators on their high side. Could be that was part of the point he was making and I missed it. Thanks again.
3:47 a 7805 is NOT a fixed voltage regulator. In fact, you can use a 7805 and have a adjustable DC output voltage between 5 and 16,8V (with 20V input). For a output of 5 to 16,8V , you can do this by placing a fixed resistor of 270 Ohm and a potentiometer of 470 Ohm both in series between the common pin (middle pin) and ground/negative of the circuit. That way you have minimum 270 Ohm and maximum 740 Ohm between the common pin and ground. A 7805 can take up to 35V regarding the datasheet, but with above resistor values, the output doesn't go higher then 16,8V if you go above the 20V input. This type of adjustable powersupply was sold by Velleman a manufacturer of DIY Electronic kits in the 90's, kit partnumber P2570 or K2570.
No, in the case you are talking about the design uses a fixed voltage regulator AS a variable voltage regulator. There is a difference. The manufacturers call a 7805 fixed voltage, the convention has been established that the last 2 digits represent the voltage the regulator is fixed at. So 7805 is 5V, 7812 is 12V, 7815 is 15V etc.. We could open the discussion further and say in fact there are NO 78XX fixed voltage regulators, they are ALL variable regulators! The one that people and manufacturers CALL variable voltage are in fact "fixed" at 1.2V common to output, and use the configuration you mention to "vary" the output over the range 1.2 to 35 volts. The point is, it is not of any use to state "a 7805 is NOT a fixed voltage regulator" when it is known as a fixed voltage regulator and the minimalist component circuit results in a fixed voltage. Maybe you meant to say "Hey guys! you can use a fixed voltage regulator in a variable voltage circuit!" hmmm?
@@bazzaar1869 hi, i'm just pointing out, that a 7805 can be used as a adjustable voltage regulator and the term "Fixed" is not completely true. Many people don't know this trick and always presume that a 78xx voltage regulator is a fixed voltage regulator , while it can also be used as a adjustable voltage regulator like a LM317. Grtz
@@BjornV78 This was a widely known "trick" actually, due mostly to the manufacturers including this circuit in their device specification and application information.
What about abusing the humble 7805 as an amplifier. I know you can mess with the reference on to get odd voltages. I saw an amplifier built using 555 timers on Hackaday once too.
Is it possible for voltage regulator to increase the voltage over the battery voltage ? .. if we need 5v using battery 12v, VR can make 5v, but when battery goes down below 5v, it would be good to increase the voltage from dying battery for example 2v to 5v 😂
This guy is one of the few Elder Gods of electronics, on par with the likes of BigClive, DiodeGoneWild, Great Scott and such. In my humble opinion, of course 😉
In some cases our designs failures because an unexpected enemy, the noise. Thanks to this wonderful video I've discovered that a regulator is not only useful to adapt voltage, they are effective noise blocker too!
My like is the #217...
Thanks a lot for another interesting video! Greetings from Argentina!
Yeah, regulators are a powerful tool for noise reduction.
You rock my Argentinian friend. ❤️
I used an LM317 to build a current ramp device, to aid in soft-start of a piece of avionics gear; a Bell 212 starting up can drop the battery bus to almost 6 V, instead of 24 V nominal, so the soft start delayed the power on for a couple of seconds.
Another one: source of constant current instead of voltage.
I was hoping he would mention this
I missed that🫠
In an updated video, I'll add more usages including current limiter 👍
Or just put a 100nF MLCC across the motor and a 5v TVS diode on the supply. A another approach is to power the MCU through a 100ohm resistor and have a capaictor on both sides. Most MCUs run on 3v3 so 1 regulator should be enough.
Yes, putting 104 cap may decrease the noise, but in some cases, it is not enough 👍
ایول داداش باعث افتخاری مخصوصا با لحجه صحیح ام انگلیسی صحبت میکنی ،ایولا دمت گرم
Thank you bro for supporting me 😎
Thanks for this video. As always your videos are direct to the point and practical 😊
You rock. Thank you for supporting me ❤️
Thanks, buddy. I always learn a lot of useful and practical tips from your videos. Interestingly, a few days ago, I was watching a video where someone removed the voltage regulator from a microcontroller to reduce noise! But you said the opposite, which makes sense. If possible, could you make a video about methods for hardening and increasing the stability of microcontrollers in tough circuits and conditions? I know you're an expert on microcontrollers.
Thank you meysam for your great suggestion. It will be a good subject for a video 👍
Thanks much! Always looking forward to your new staff.
..stuff
Awesome, thanks for your attention ❤️
Thanks for all the educational content you pass on to people. I'm learning every time I watch your content.
Glad to hear it. It is my pleasure.
By the way, your £5 Super Thanks rocks! Thanks a ton!
Keep it coming! You have one of the highest useful-information density videos out there! 😊
Wow, awesome. Thank you for supporting me ❤️❤️❤️😃
The video was really good and the explanation was great.
Awesome, thanks for watching 🥂
14:31 The regulator gives a stable voltage to the transistor base BUT the collector current is horribly temperature dependent!
good explanation as always :)
Thanks so much my friend
Thanks
Thank you for the awesome A$14.99 Super Thanks! 🌟
Thank you. Yet another brilliantly explained video. Please keep then coming.
Thanks, will do! ❤️❤️❤️
Great vid. Audio was a little low this time. THANX.
Sorry about that. I am trying to improve the visual and audible quality.
@@elewizard No apology required. Just letting you know it has been right on it other vids. Carry On sir.
If we use a voltage regulator on portable devices will it reduce the battery life ?, because the power loss across the regulators are high ?
It depends on many factors. But generally NO, it shouldn't be harmful for the battery 🔋
@@elewizardMaybe not 'harmful' to a battery but the regulator dissipates heat which is flattening the battery for no benefit. Best to use a dc to do converter.
Not shorten the battery life per se, but definitely discharge the battery much much faster. Like order of magnitude faster. I have used two 18650 in series along with LM7806 instead of four D-type cells and the time between recharges was like two days. So I've decided to redo it, this time using two 18650 in parallel with a SX1308 boost converter, set at 6.2V - there's your first advantage, ability to fine-tune the voltage (easily) . But the other big advantage, the quiescent current is well under 1mA, compared to 5-8 mA of the LM7806. So far it's working for two weeks without recharge.
@@MlokKarel In my limited knowledge, what could be done to reduce unnecessary power loss is using a switching regulator instead of a linear regulator, since one can be more efficient than the other with the drawback of more noise.
As one who is learning electronics your videos are very educational and well presented. Are you able to speak about DC-DC converters when you need to increase the voltage to a steady level above the battery voltage to run, for example, a portable morse code transceiver. How can I produce 13.8 volts from two lithium AA batteries that are 3.7 volts each. Thanks.
Glad the videos were helpful.
By the way, subject of my next video is exactly that.
In the next video, I will explain how we can use an inductor to convert 1V to -80V
Great well explained video….as always!
Awesome, thanks again 😊
i cant believe you missed out my fave use. for limiting current to sensitive components. i use lm338 all the time, with just output shorted to adjust with a 1 ohm R, then drive things from adjust lead. so it limits current to 1.25A for laser diodes.
Yes, I missed that 🫠
What are your thoughts?? I have an application of using an Arduino 5V to control a Halloween prop that uses a 5V motor @ 600mA to drive a skeleton jaw (The output is PWM and my electronics switch more than fast enough to work this motor). The Motor is used to open the jaw and there is a spring to return the jaw closed. To protect the Arduino, I opto-isolated the output pin, then I used a MOSFET to drive the current required. I put a reversed 1N4007 diode across the motor to protect against back EMF as well as the motor itself has a small disk capacitor (unknown size, it was part of the older prop electronics). The 5V supply that I am using is a high current (about 1.5A) switch-mode module that converts my input voltage of 12VDC down to 5VDC common grounds. With these precautions taken, is that sufficient, or would you still recommend a separate supply for the motor? I will probably be testing the electronics today, I will scope the power supply to see how badly the noise is when the Jaw is in operation.
Thanks for the video. I would add an important application - content-current source, either 78xx or lm317 etc, can be used as a constant current to drive an LED for example.
Awesome, thanks for mentioning that 👍
Yes, but if you pulse the circuit to flash the led, you will kill the led because the 78xx takes a few usec to get into regulation.
Nice video, thanks :)
Thank you ✌
I once heard of a guy who used some 7805 to convert digital 12V signals on his car to 5V for further processing with an AVR.
Maybe it work, but there is an easier solution for that.
You can use just two resistors as voltage divider network
@@elewizard Which is a very stupid idea in a CAR!
@@blackcathardware6238why, specifically?
Very useful. Thanks
Welcome 👍
Excellent..!
Many thanks!
So interesting... Thanks alot! 👍🏻
Keep watching 🥂
You can use the lm317 to make steady current source,
Yeah. Exactly. Thank you for mentioning this point
For the MCU, NPN transistor, motor circuit shown around 6:07 are you saying that the inductive noise from the motor will pass from the collector-emitter channel through the base back to the MCU? I admit I am a newbie learning, but I didn't realize this was possible.
Regardless, thank you for this video, its very helpful for learning. I knew I needed to suppress EMF noise from my dc motor, and now I might experiment with using both capacitors and voltage regulators.
I really like your channel, and appreciate the time you put into it, I think this channel will grow very much. Thank you.
I think he was saying the motor would "pollute" the 5v rail with electrical noise. And as this rail is common to both the motor and the MCU, then this could cause a latch-up. Depending on component types, and ratings/values, some interference may also travel back through the BJT, therefore a filtering cap on the base would be helpful.
@@CircuitDuty101 Thank you, much appreciated. That makes sense to me. Especially in light of the next two circuits he shows at 8:35, where the power rail is 12v and the MCU and/or motor have voltage regulators on their high side. Could be that was part of the point he was making and I missed it. Thanks again.
3:47 a 7805 is NOT a fixed voltage regulator. In fact, you can use a 7805 and have a adjustable DC output voltage between 5 and 16,8V (with 20V input).
For a output of 5 to 16,8V , you can do this by placing a fixed resistor of 270 Ohm and a potentiometer of 470 Ohm both in series between the common pin (middle pin) and ground/negative of the circuit. That way you have minimum 270 Ohm and maximum 740 Ohm between the common pin and ground. A 7805 can take up to 35V regarding the datasheet, but with above resistor values, the output doesn't go higher then 16,8V if you go above the 20V input.
This type of adjustable powersupply was sold by Velleman a manufacturer of DIY Electronic kits in the 90's, kit partnumber P2570 or K2570.
No, in the case you are talking about the design uses a fixed voltage regulator AS a variable voltage regulator. There is a difference.
The manufacturers call a 7805 fixed voltage, the convention has been established that the last 2 digits represent the voltage the regulator is fixed at. So 7805 is 5V, 7812 is 12V, 7815 is 15V etc..
We could open the discussion further and say in fact there are NO 78XX fixed voltage regulators, they are ALL variable regulators! The one that people and manufacturers CALL variable voltage are in fact "fixed" at 1.2V common to output, and use the configuration you mention to "vary" the output over the range 1.2 to 35 volts.
The point is, it is not of any use to state "a 7805 is NOT a fixed voltage regulator" when it is known as a fixed voltage regulator and the minimalist component circuit results in a fixed voltage. Maybe you meant to say "Hey guys! you can use a fixed voltage regulator in a variable voltage circuit!" hmmm?
@@bazzaar1869 hi, i'm just pointing out, that a 7805 can be used as a adjustable voltage regulator and the term "Fixed" is not completely true. Many people don't know this trick and always presume that a 78xx voltage regulator is a fixed voltage regulator , while it can also be used as a adjustable voltage regulator like a LM317. Grtz
@@BjornV78 This was a widely known "trick" actually, due mostly to the manufacturers including this circuit in their device specification and application information.
I can't agree with you, because the 7805 is actually a fixed voltage regulator, however it can be used as an adjustable voltage regulator👍
@@BjornV78That's a great use to use a 'fixed' regulator at a different voltage. The video doesn't show this trick.
What about abusing the humble 7805 as an amplifier. I know you can mess with the reference on to get odd voltages.
I saw an amplifier built using 555 timers on Hackaday once too.
Yeah, 7805 is really a humble component. It's my childhood friend 😃
Is it possible for voltage regulator to increase the voltage over the battery voltage ? .. if we need 5v using battery 12v, VR can make 5v, but when battery goes down below 5v, it would be good to increase the voltage from dying battery for example 2v to 5v 😂
With buck-boost regulators, we can increase and decrease the voltage
Yes, boost regulators like xl6009 can easily increase voltage. By the way, in my next video, I'll teach you hot to make 80v from 0.5v
ماشالاه ایرانی باعث افتخاری فقط یه سوال اسپانسر شما به ایران هم ارسال داره و اینکه با صرفه هست سفارش بدیم برای برد پی سی بی
Mamnoonam. Na alan dg be keshvar ma ersal nadarand
TPWS
💖💖💖💖
❤️❤️❤️❤️
TURKMUSUN LA ?
Evet, benim Ana dilim azerbaijan turkçesi
you are always spewing fake information. why?? because from tehran?
Can you mention the false info I prevented?
This guy doesn't know anything about electronics
Thank you for expressing your opinion 🌷🌷
@kouroshkhaleghi4678 can you detail where you found mistakes? For newer learners, this information seems very helpful.
This guy is one of the few Elder Gods of electronics, on par with the likes of BigClive, DiodeGoneWild, Great Scott and such.
In my humble opinion, of course 😉
Yeah figured that... apart from the stuff he knows...which is a fair bit...
@@hannibaltexterregulators don't remove noise