It is truly inspirational to see that there are people like you who love what they do and also have the gift of transferring complex information in such a simplified way. If every teacher was like you, our education system would be flourishing. This really helped me today. thank you very much and God bless you.
What a fantastic explanation! At first I didn't quite understand the entire concept. It wasn't until you introduced the much slower, 502 Hz frequency that it all clicked... Thanks, teacher!
@@SimplyElectronicsOfficial is it possible to code an arduino to use a pot for duty cycle and for an adjustable frequency. i want to be able to adjust both on the fly to fine tune a project.
Thank you so much for this video. I've been trying to wrap my head around the concept of a PWM solenoid that controls a hydraulic circuit. Now I get it.
so basically can pulse width modulation be summed up in the following sentence: power switched on every x secs for a period of y secs where x is called the frequency and y is called the width, and is given as a percentage of the total frequency period?
Light House Of World It’s a clock. Every electronic circuit needs a clock to beat to, (unless it’s something simple like turning on and off an LED,) just like your body needs a heart to beat too. The cool thing about the 555 is that you can easily change the clock’s frequency by switching out the capacitors and resistors
You have answered the question I had about the PWM power supply that I had at the beginning by adding the arduinho at the end. I note that the variable potentiometer has flat pins, do they fit into the breadboard without damaging it? I look forward to your introduction on the arduinho,
One of the best video i have seen, u have cleared all my doubts, Thank you sir and can you please suggest how to move further in this stream to the next level as i want to take electronics as my career, please suggest as it helps me alot
I have a question that I hope you can help me with. I connected a pwm reversible speed controller to my trolling motor. This is supposed to be 100 max and 60 continuous amps. When I first tried it out. I noticed it got fairly hot in the enclosure I made for it so I decided to add a fan. I connected the fan to the 12 v power going in with an inline on off switch. When I tried it,the fan burned out almost immediately. Thinking I may have had a bad fan,I connected a new one with the same result. When I checked the power in with my multi meter,it was showing a very erratic reading. The volts were going up and down from 1 v up to 18 and in between. I even saw it jump to 36 volts. I'm using three 12 volt batteries in paralle. When i checked the voltage at the batteries,it was the same,just all over the place. For the heck of it. I tested the cigarette plug on the jump box that is one of the batteries connected in parallel and low and behold,it was showing the correct voltage which in my case was 13 volts on fully charged batteries. Looking inside the jump box. I notice that the cigarette plug was connected with a small circuit board. I assumed that the circuit board somehow regulated or should I say,normalized the voltage. I ended up running the fan on it's own circuit via the cig plug and it now works fine. The obstacle I'm trying to eliminate is,I also have a 12v steering unit for the trolling motor. I would like to connect the steering unit to the power in of the speed controller as to eliminate having to use another cord but I'm unable to with that type of voltage that it produces. Short of pulling that circuit board out of the jump box,would you possibly know what I can add to achieve this? Also,would you know why this pwm behaves in this manner? Thanks.
I have one doubt. In animation part you said that microcontroller will control the PWM% so according to that on and off will happen but in practical part you just control the voltage to the LED by variable resistance not by microcontroller. Correct me, If i am wrong
A variable resistor needs a physical input to be changed, IE a person turning a knob. The reason PWM is useful is you can use a digital signal to control the average voltage seen by a device. So if I wanted to run a motor that has variable speed using a microcontroller, it would be impossible or at least far too complicated to use a variable resistor to change the voltage/speed. An LED is a much simpler application that would be fine with a variable resistor, but more complex applications benefit greatly from PWM.
PWM Its easy to understand in the synthesiser world because the pulse width actually does modulate usually with the aid of an LFO, however in this instance the pulse width is not actually modulating the time is always the same in every pulse however you could argue the LED is modulation on/off.
Need Help, How to reduce/ adjust the VSS (vehicle speed sensor) pulse output? Actually i want to install cruise control module kit in my vehicle but the pulse frequency which comes from VSS is higher for the aftermarket cruise control module and the cruise control is only upto engaging upto 80km/h speed.
Good simulation, still some questions because of my poor comprehension. (1) Does pulse width modulation appliy to only DC voltage? (2) Instead of chopping off the duration of voltage, why don't we provide a steady average voltage? This fluctuating voltage looks like a deliberate unsteady power ! (3) If we apply the PWM to an electrical motor, will not the motor's speed be a fluctuating one (instead of a steady speed)? (4) What is the objective of a pulse width modulation? Dimming a light? We can do the same dimming effect by using a low wattage lamp. (5) If the PWM voltage is applied to a solenoid, will it not induce reverse voltage because of changing flux? To me PWM is like breaking the leg of an athlete, to raise a special olympics champion. Thanks for the video.
I'm wanting to make a lighthouse for my yard with an LED that fades in and out simulating the rotation of the beacon on a real lighthouse but without needing to actually rotate. I also want to use an 18650 cell or series of cells, and make it solar powered. Do you have any videos that would have a howto where I can make this?
To have a given amount of light dimming effect (ex: 30cd ), is the power consumption the same when : a) A resistor is used to drop the voltage b) PWM is used
I'm just learning. How do I get my phone vibrating motor to increase intensity hold and then slowly go back down? Automatically without a screw driver?
This WAS EXTREMELY IMPRESSIVE! you used the capabiltys of the computer to maximize what you were speaking about! you go beyond being a college instructor, your a "research" scientist! but how do i adjust the speed or frequency of the pulse width? you adjust the pulse width the capacitor but how about the speed? the period? the frequency?
5:50 How does the potentiometer/ microcontroller create more a efficient power supply? Could you briefly elaborate. Thank you for this video by the way. Some aspects of electronics videos are explained better than others. This video is one of the good ones as it is explained very slowly and clearly with excellent animation. Hopefully in the near future my successful circuits will reflect your effective teaching method. 😊👍
The pot is not in the power circuit. It is only being used to control the pulse width via an analog to digital conversion. You can control the pulse width any way you like, but a pot is easier for a demo than, for example, using a keypad to enter a number.
Ok then what's make the cheap pwm on a pocket light strobe on camera ? ... and not on your video? A frequency that is not evens or Nyquist even with the shutter speed of the said camera? Is the frame rate is in this equation too?
Good video. I'm just starting with Arduino. Did you have the variable resistor being input to a sketch, which then sent a calculated width to the led? What freqency does the Arduino send the pulses at? Can that frequency be controlled as well? Thanks, going to watch a lot more.
Alternating current is already sinusoidal, you don't really need to make it that way. Adjusting its frequency, amplitude, etc. is really pretty fundamental, the real questions start when you're looking into what happens to a circuit when those things change.
I wonder if the electric meter will detect this fast switching outbursts while is has some coil and core to spin something even with these new electric meters. I think it may not detect these off and on due to kinetic energy been involved in the spinning of some shaft to move reading through gears transferred to digital readout. Unless the new meters have different technology, then the only saving to run led lights maybe due to the brightness of led's running at lower amps compare standard bulbs. My watt saver meter shows for sure small usage compare to standard bulbs.
PWM does save power, but not because the meter is missing something. It's just the nature of pulsing voltage: you only deliver power for the duration of the duty cycle, so naturally you use less power than without pulsing.
Thank you - well done - I am just starting to learn about circuits and at age 70, the better the explanation the easier to grasp.
Hey man it doesn't matter how old you are, it's NEVER too late to learn.
I wish the best for you friend
You can now make circuits as a hobby
Brilliant minds some times flashes at elderly age.
Wishing you luck Sir👍
Great
Incredible way of explaining things. I know this video is 7 years old now, but the way you presented everything here is top tier
It is truly inspirational to see that there are people like you who love what they do and also have the gift of transferring complex information in such a simplified way. If every teacher was like you, our education system would be flourishing. This really helped me today. thank you very much and God bless you.
You are doing great things for mankind with this series. I didn't really understand it until you showed the Arduino then it made sense.
What a fantastic explanation! At first I didn't quite understand the entire concept. It wasn't until you introduced the much slower, 502 Hz frequency that it all clicked... Thanks, teacher!
Well explained. I did not see anyone explained it better than the way you did. Keep going mate!
Thank You :)
yes
@@SimplyElectronicsOfficial is it possible to code an arduino to use a pot for duty cycle and for an adjustable frequency. i want to be able to adjust both on the fly to fine tune a project.
I am a Civil Engineering student, studying Power Electronics as an Elective. Everything is explained so easily to clear the basics. Thanks You..!
I wish you'd been my lecturer at tech when I was a student... It's soooooo much simpler the way you describe and demonstrate it
So the dimming effect, is it happening because of a flickering on-off effect? or is there something else causing the light to actually be weaker?
The best channel which I was never gone through.
After I get my prepaid card, I will buy EveryCircuit. I am now addicted to that app.
Volta is an ideal Magento 2 theme to start an Electric Vehicles Parts and Components store. e-web.top/category/electronics/
I deal with PWM on cars at work and after watching this video was made it more easier to understand
Thank you so much for this video. I've been trying to wrap my head around the concept of a PWM solenoid that controls a hydraulic circuit. Now I get it.
This video finally helped me understand what pulse width modulation was. Thanks!
Same here
Great video!
I just recently found your channel, and i have really learnt a lot so far.
Keep up the good work!
Thank You Kristian. I'm glad you have learned so much. I am committed to this channel and intend to go on for a long time coming :)
I see what you did there...
অনেক ধন্যবাদ বস! I was confused between the difference of a PWM device and a switch. Now it's clarified strikingly!
one of the best explained pwm videos
thanks a lot. tutorial video was absolutely great. I'm gonna share this with all my classrooms.
Excellent explanation from the presenter.
so basically can pulse width modulation be summed up in the following sentence:
power switched on every x secs for a period of y secs
where x is called the frequency and y is called the width, and is given as a percentage of the total frequency period?
nice. it was very helpfull
Very helpful with my project of building a swerve drive- thank you!
มีประโยชน์ วีดีโอสัญญลักษ์ ทำให้เข้าใจง่ายขึ้น คงต้องไปทำการทดลองต่อ
Really good explanation and good clear unterstandable english for a german :)
Very clear and simple explanation, thank you very much
your teaching is very good .. plz teach us what is 555 timer
Light House Of World It’s a clock. Every electronic circuit needs a clock to beat to, (unless it’s something simple like turning on and off an LED,) just like your body needs a heart to beat too. The cool thing about the 555 is that you can easily change the clock’s frequency by switching out the capacitors and resistors
Very nice, friend, greetings from brazil!
You have answered the question I had about the PWM power supply that I had at the beginning by adding the arduinho at the end. I note that the variable potentiometer has flat pins, do they fit into the breadboard without damaging it? I look forward to your introduction on the arduinho,
I don't think I ever learned this in my entire BSEE degree. Thanks for a super simple explanation.
One of the best video i have seen, u have cleared all my doubts, Thank you sir
and can you please suggest how to move further in this stream to the next level as i want to take electronics as my career, please suggest as it helps me alot
Me too
you are awesome thank you much your videos are much better than most
Thanks a lot... it really cleared my confusions on pwm... thanks a lot again
Thank you very much. Excellent videos- They are short, detailed and simply explained.
Really liked the explanation
Thank you so much!!! This was an awesome content!!!
I have a question that I hope you can help me with. I connected a pwm reversible speed controller to my trolling motor. This is supposed to be 100 max and 60 continuous amps. When I first tried it out. I noticed it got fairly hot in the enclosure I made for it so I decided to add a fan. I connected the fan to the 12 v power going in with an inline on off switch. When I tried it,the fan burned out almost immediately. Thinking I may have had a bad fan,I connected a new one with the same result. When I checked the power in with my multi meter,it was showing a very erratic reading. The volts were going up and down from 1 v up to 18 and in between. I even saw it jump to 36 volts. I'm using three 12 volt batteries in paralle. When i checked the voltage at the batteries,it was the same,just all over the place. For the heck of it. I tested the cigarette plug on the jump box that is one of the batteries connected in parallel and low and behold,it was showing the correct voltage which in my case was 13 volts on fully charged batteries. Looking inside the jump box. I notice that the cigarette plug was connected with a small circuit board. I assumed that the circuit board somehow regulated or should I say,normalized the voltage. I ended up running the fan on it's own circuit via the cig plug and it now works fine. The obstacle I'm trying to eliminate is,I also have a 12v steering unit for the trolling motor. I would like to connect the steering unit to the power in of the speed controller as to eliminate having to use another cord but I'm unable to with that type of voltage that it produces. Short of pulling that circuit board out of the jump box,would you possibly know what I can add to achieve this? Also,would you know why this pwm behaves in this manner? Thanks.
Came here looking for PWM explanation in synthesizers, stayed for content.
PRODIGY SIMPLY ELECTRONICS
👍 VERY MUCH HELPFUL INFORMATION VIDEO
PRODIGY SIMPLY ELECTRONICS
FROM NICK AYIVOR FROM LONDON ENGLAND UK 🇬🇧
Great explanation. You are a great teacher....
Thanks for the real life example! This cleared up a lot of questions I had!
Simply great- simple n to the point explanation! keep it up!
This was a great video. Thank you.
I’ve a 5v dimmable picture frame led light. We have 120vac dimmer pack. Can I use a PWM to dim light?
Great Video well done
Mr Feynman is smiling from the quantum realm.
beautifully explained
Very good description
I have one doubt. In animation part you said that microcontroller will control the PWM% so according to that on and off will happen but in practical part you just control the voltage to the LED by variable resistance not by microcontroller. Correct me, If i am wrong
A variable resistor needs a physical input to be changed, IE a person turning a knob. The reason PWM is useful is you can use a digital signal to control the average voltage seen by a device. So if I wanted to run a motor that has variable speed using a microcontroller, it would be impossible or at least far too complicated to use a variable resistor to change the voltage/speed. An LED is a much simpler application that would be fine with a variable resistor, but more complex applications benefit greatly from PWM.
Great explanation, God Bless.
PWM Its easy to understand in the synthesiser world because the pulse width actually does modulate usually with the aid of an LFO, however in this instance the pulse width is not actually modulating the time is always the same in every pulse however you could argue the LED is modulation on/off.
thank you so much for making this video
The video was incredible thank you for that but If you have shown the effect of lowering and increasing the frequency would be nicer.
Need Help,
How to reduce/ adjust the VSS (vehicle speed sensor) pulse output?
Actually i want to install cruise control module kit in my vehicle but the pulse frequency which comes from VSS is higher for the aftermarket cruise control module and the cruise control is only upto engaging upto 80km/h speed.
Thanks for so good explanation.
Good simulation, still some questions because of my poor comprehension. (1) Does pulse width modulation appliy to only DC voltage? (2) Instead of chopping off the duration of voltage, why don't we provide a steady average voltage? This fluctuating voltage looks like a deliberate unsteady power ! (3) If we apply the PWM to an electrical motor, will not the motor's speed be a fluctuating one (instead of a steady speed)? (4) What is the objective of a pulse width modulation? Dimming a light? We can do the same dimming effect by using a low wattage lamp. (5) If the PWM voltage is applied to a solenoid, will it not induce reverse voltage because of changing flux?
To me PWM is like breaking the leg of an athlete, to raise a special olympics champion. Thanks for the video.
Thanks for your wisdom 👌👌👌
I'm wanting to make a lighthouse for my yard with an LED that fades in and out simulating the rotation of the beacon on a real lighthouse but without needing to actually rotate. I also want to use an 18650 cell or series of cells, and make it solar powered.
Do you have any videos that would have a howto where I can make this?
To have a given amount of light dimming effect (ex: 30cd ), is the power consumption the same when :
a) A resistor is used to drop the voltage
b) PWM is used
Very good explanation!!!
So it was an illusion all along… I finally understand it, thank you.
When dimming is done, are we Saving any consumption of energy?
Arduino has PWM pins, if I want to pulse led connected to these pins, should I use a potentiometer?
another excellent video. keep up the good work.
I'm just learning. How do I get my phone vibrating motor to increase intensity hold and then slowly go back down? Automatically without a screw driver?
which simulation are u using ?
great video!
I accidentally stooped by if I can study synthesizer :-) But good information too!
Impressive presentation! Could u plz mention the name of the simulator that u r using here?
what is the simulation softwere that you running?
Well done, thanks a lot for clear explanation
but instead of Arduino I could just use 555 chip right? And just choose the right capasitors to have exact frequency?
Very useful video!
This WAS EXTREMELY IMPRESSIVE! you used the capabiltys of the computer to maximize what you were speaking about! you go beyond being a college instructor, your a "research" scientist! but how do i adjust the speed or frequency of the pulse width? you adjust the pulse width the capacitor but how about the speed? the period? the frequency?
hello, may i know what app are you using for this demo?
very informative and understandable for people from off engineering field
5:50 How does the potentiometer/ microcontroller create more a efficient power supply? Could you briefly elaborate. Thank you for this video by the way. Some aspects of electronics videos are explained better than others. This video is one of the good ones as it is explained very slowly and clearly with excellent animation. Hopefully in the near future my successful circuits will reflect your effective teaching method. 😊👍
The pot is not in the power circuit. It is only being used to control the pulse width via an analog to digital conversion.
You can control the pulse width any way you like, but a pot is easier for a demo than, for example, using a keypad to enter a number.
Ok this was not explained clearly enough in the video- your explanation is much better
Very nice! 👍
Nice video.Thanks for sharing
Ok then what's make the cheap pwm on a pocket light strobe on camera ? ... and not on your video? A frequency that is not evens or Nyquist even with the shutter speed of the said camera? Is the frame rate is in this equation too?
This is fantastic explain about this circuit. Can you upload forward and flyback dc to dc topologie videos.
I like this explanation
Would you like something fit for the HHO generator and to make it look this circuit ??
Very well explained, thanks!
Great accurate explaination
what is the name the simulator that you using
plz , can you tell me what application you present your circuit
Great video, very helpful. What software are you using in the video, it's quite impressive.
Great presentation, please which simulator you are using?
awesome explanation !!
Good video. I'm just starting with Arduino. Did you have the variable resistor being input to a sketch, which then sent a calculated width to the led? What freqency does the Arduino send the pulses at? Can that frequency be controlled as well? Thanks, going to watch a lot more.
bravo, well done
Great video. I'm curious. Doesn't the potentiometer change the resistance of the circuit? Nothing really to do with the pulse width or hertz right ?
what is the program you use for simulation ?
very well explained.
If PWM is just sending high signal for a specific duration at a specific frequency, how is it different from any other GPIO pin?
Can we use only pwm code and control power across load without using potentiometer?
Yes, I would use a decade box in place of a potentiometer
Excellent video! Do you have one showing the next step; making a sine wave?
Alternating current is already sinusoidal, you don't really need to make it that way. Adjusting its frequency, amplitude, etc. is really pretty fundamental, the real questions start when you're looking into what happens to a circuit when those things change.
Thanks for Tutorial. What is the Code for this Program?? what shall I do, when I want to change the frequency i.e. from 10 Hz to 100 Hz?
I wonder if the electric meter will detect this fast switching outbursts while is has some coil and core to spin something even with these new electric meters. I think it may not detect these off and on due to kinetic energy been involved in the spinning of some shaft to move reading through gears transferred to digital readout. Unless the new meters have different technology, then the only saving to run led lights maybe due to the brightness of led's running at lower amps compare standard bulbs. My watt saver meter shows for sure small usage compare to standard bulbs.
PWM does save power, but not because the meter is missing something. It's just the nature of pulsing voltage: you only deliver power for the duration of the duty cycle, so naturally you use less power than without pulsing.
I learn a lot guys thank's tech us more