Arduino Tutorial 8: Understanding Pulse Width Modulation (PWM) and the Arduino Analog Write Command

  Рет қаралды 390,466

Paul McWhorter

Paul McWhorter

Күн бұрын

You guys can help me out over at Patreon, and that will keep this high quality content coming:
/ paulmcwhorter
In this video we dive into how the Arduino Analog Write command really works. We connect the arduino to an oscilloscope and take a look at what the waveforms really are that are being generated.
You can get the following Elegoo kit, to follow these lessons and play along at home
amzn.to/3c9SJrO
You can get more details at our WEB site HERE:
toptechboy.com/arduino-tutori...
[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
#Arduino

Пікірлер: 1 300
@user-ys7yw7my5h
@user-ys7yw7my5h 3 жыл бұрын
You: Trying to set a half brightness to the LED. LED: -_-
@kagankilic4905
@kagankilic4905 3 жыл бұрын
Aight, that's the best joke I've heard all day
@AndrewLanier.
@AndrewLanier. 3 жыл бұрын
Just change int to float and change the number to 127.5
@anthonyj.dipasqua4676
@anthonyj.dipasqua4676 3 жыл бұрын
Hahahaha. Nerdy. ❤️
@EdOyama
@EdOyama 3 жыл бұрын
😂😂😂😂😂
@wannaeatpizza
@wannaeatpizza 3 жыл бұрын
you won the internet for a day
@supernova5107
@supernova5107 3 жыл бұрын
Some of the best camera work I've seen on the internet KZbin lessons.
@isaiahwhitney8168
@isaiahwhitney8168 3 жыл бұрын
agreed, this is honestly amazing
@faizfaiz6323
@faizfaiz6323 Жыл бұрын
Correct
@joseribon27
@joseribon27 7 ай бұрын
Definitely. Great performance for continuous recording without weird cut off blips
@L3x4Pr0ne
@L3x4Pr0ne 3 жыл бұрын
The moment I knew Paul was my favorite teacher was when he felt the need to re-square his boards because it bothered him - then explain it bothered him. His organization makes me so happy. I’ve been binging all of these over my 2020 Xmas break. Thanks, Paul, for putting these learnings together! You’re an EXCELLENT teacher.
@arubaguy2733
@arubaguy2733 3 жыл бұрын
Having things square (in alignment) is an OCD trait of mine. I also obsess over things like keeping my cash all facing the same way front side up and stacked in denominational order. A picture on the wall makes me crazy if it is off level by 2 degrees. Grid-lined paper is greater than sliced bread to me.
@jackkay1638
@jackkay1638 3 жыл бұрын
@@arubaguy2733 "keeping my cash all facing the same way front side up and stacked in denominational order." YES. bonus points if you flatten bent corners on bills
@Jondoesntlikecoffee
@Jondoesntlikecoffee Жыл бұрын
the moment i knew was 2 seconds into the first video
@yoursfithfully047
@yoursfithfully047 5 ай бұрын
the sheer attention to detail sets him apart cheers!
@joshuacanlas4679
@joshuacanlas4679 4 жыл бұрын
lesson 8 and i've learned a lot about arduino and how to get a "caffeine overdose" from those iced coffee HAHAH, thanks Paul McWhorter
@waynemoorfield594
@waynemoorfield594 3 жыл бұрын
I have worked all my life in the electrical/electronic field And I Wished I had a Tutor like you . I'm now in my seventies and still learning Thanks Paul You are the best .
@dettimp
@dettimp Жыл бұрын
Your explanations are great: I'm a total novice and yet I understood perfectly everything you talked about. Plus, I love the fact you're teaching things that allow us to understand what's going on, instead of just telling (for example) that PWM works the way it does "because it does". I'm really glad I've found your videos!
@paulmcwhorter
@paulmcwhorter Жыл бұрын
Awesome, thank you!
@sanjaykumarg3511
@sanjaykumarg3511 4 жыл бұрын
"A real way of teaching engineering" Well explained sir
@Ajaypurandare
@Ajaypurandare 4 жыл бұрын
I can see my dream come true only because of your fantastic tutorials. I want to run a CNC machine using Arduino. I will be greatful to you for rest of my life.
@briantoste904
@briantoste904 3 жыл бұрын
Hows the CNC machine going?
@danieldickinson9167
@danieldickinson9167 3 жыл бұрын
What’s a CNC machine?
@lensman192
@lensman192 3 жыл бұрын
@@danieldickinson9167 CNC stands for Computer Numerical Control and it is used to move the several axis of a tool by computer control. Industry uses CNC for welding metals, drilling, cutting and more on many materials. There are CNC drills, milling machines, lathes, routers, plasma cutters, water jet cutters, welders, EDM machines, benders, grinders, and probably many other machines that are CNC. People are now building their own 3D printers which are a type of CNC machine.
@linnarpewbes6594
@linnarpewbes6594 4 жыл бұрын
my notes for this lesson analogWrite("pinNumber","value between 0-255"); the value 0-255 corresponds to 0-5 volts this command uses - pulse width modulation: this means that the Volts are only either 0 or 5 but pulse on and off at a speed that is dependent on what value you are using. how to view it: imagine a person is running at a speed of 5mph, for 0.1 seconds before they stop for 0.1 seconds. from your perspective it would appear that the person is running at a speed of 2.5mph even though they are actually only ever running at a speed of either 5mph or 0mph
@MrAshwindersingh
@MrAshwindersingh 3 жыл бұрын
brilliant
@sourajdarsan6831
@sourajdarsan6831 3 жыл бұрын
@@MrAshwindersingh well i dont get it. ..
@Healingmyselfeveryday
@Healingmyselfeveryday Ай бұрын
Is it because the image persists in the eye for 0.1 s approximately. So even when it stops our eye continues seeing it for 0.2 secs and that is why it appears that he is slower and running at 2.5 mph?
@jessar84
@jessar84 4 жыл бұрын
Really you are a fantastic teacher, it is a good way to explain PWM. now I understand PWM very well! Thanks.
@drzwithcrow6075
@drzwithcrow6075 Жыл бұрын
Absolutely agree. Can't imagine it being demonstrated any other way, now that I have seen this lesson. Way to go, Paul!
@dmartinez9048
@dmartinez9048 Ай бұрын
Just dropping a comment to say “I absolutely did the homework” “It did make a lot of sense!” “Audio/Video quality is superb” “I know I’m only in lesson 9 but this is SO much fun! THANK YOU!”
@paulmcwhorter
@paulmcwhorter Ай бұрын
Boom!
@berlinjackson1847
@berlinjackson1847 26 күн бұрын
I am a retired electronic engineer and just now learning c++ and arduino. You are excellent teacher and yes I follow what you are teaching
@piocustodio8468
@piocustodio8468 3 жыл бұрын
I actually regret not seeing this sooner
@alastairbutterworth3495
@alastairbutterworth3495 4 жыл бұрын
It was interesting that when you dropped the pwm signal to 60 with the capacitor in the circuit the led actually cut out as the forward voltage was too low. This of course doesn’t happen without it as it’s being pulsed with 5v for a short time. So an led can run dimmer with pwm than it can with analog input. That’s really cool!
@winsontam6334
@winsontam6334 2 жыл бұрын
Thank you so much for breaking out the oscilloscope. I never even knew I wanted to know this level of detail. Outstanding series so far and looking forward to the rest
@utkf16
@utkf16 4 жыл бұрын
Brilliant explanations throughout your lessons Paul. Well paced and the content just enough in each session. Thank you
@RohitxArora
@RohitxArora 4 жыл бұрын
Hey Paul, like always, enjoying and actually learning from these videos, instead of other places. Thanks a lot once again. Keep it up.
@magneertresvag
@magneertresvag 5 жыл бұрын
Dear Paul! Thank you for this in depth series of the Arduino. This is very promising and I'll can't wait to see all of it. Thank you again sir!
@426F6F
@426F6F Жыл бұрын
You made this incredibly clear. Thanks so much, Paul!
@tomeasley5979
@tomeasley5979 2 жыл бұрын
Paul, you do an excellent job of describing things. It is very easy to follow. You are a great teacher. Please continue to produce videos!
@hail2287
@hail2287 3 жыл бұрын
I like that you go through the basics and code before jumping right into fancy sensors and motors like other lessons. You give us a good background and concepts so we create a renown things 👍
@alandignans2396
@alandignans2396 Жыл бұрын
I didn't really understand Pulse Width Modulation before but I do now. Watching you build the circuit, then actually seeing a pictorial representation of what's happening as you changed the values in the program really made it clear. A lot clearer than reading an explanation in a book.
@jaydusterhoff2795
@jaydusterhoff2795 2 жыл бұрын
Great job explaining PWM, very easy to understand especially with the info from the oscilloscope. Thanks for the great videos, looking forward to going through the rest of them.
@mikemanny1533
@mikemanny1533 4 жыл бұрын
Cheers for another great tutorial, mate! I am really getting to grips now with the theory and practical of electronics/voltages/analog/digital etc.
@et4493
@et4493 Жыл бұрын
The amount of preparation and thought that goes in making these videos is heartwarming. You're a fantastic teacher Sir
@sadguru1969
@sadguru1969 2 жыл бұрын
Sir there could not be an easier video explaining these concepts Bravo and a salute to your efforts 👍
@raymondcronin899
@raymondcronin899 Жыл бұрын
I have to reach out and say thank you, and I'm in awe of your lessons here. Just bought my kit, and can't wait to start playing with it. I'm a teacher myself and do short video lessons and am looking for great applications to show my students of mathematics and science. You break things down really well!
@felixcherrey1771
@felixcherrey1771 4 жыл бұрын
Thanks Paul you are always so clear in what you say. I now fully understand PWM. You are such a good teacher!
@COUTERSTRIKE24
@COUTERSTRIKE24 3 жыл бұрын
I really love these videos, I’m a freshman doing mechanical engineering! I love these so much thank you
@kcninjaneer4671
@kcninjaneer4671 3 жыл бұрын
Just wanted to thank you for this series. I've been "shotgunning" circuits and code by just copying and making up my own stuff for too long. You really have made understanding what is going on a lot easier!! Having a good teacher that is interested and motivated in the subject makes all the difference in my opinion. Thanks again and let's keep rolling!!
@rosebud8222
@rosebud8222 2 жыл бұрын
I loved this lesson! Especially the fact that you used the oscillator. Made it 100 times easier to understand!!
@edgargraadtvanroggen7384
@edgargraadtvanroggen7384 4 жыл бұрын
Paul, you explained PWM very clearly. Just makes me want to know more and keep following your lessons
@collincruise956
@collincruise956 3 жыл бұрын
I am a senior Electrical Engineering major at a good school and I didn't understand PWM at all when it was taught to me. Now it makes complete sense. Thank you so much Paul!
@Zzt31
@Zzt31 2 жыл бұрын
These kind of lessons are empowering in the sense that I am learning about what's actually going on rather just putting words into code. It is not boring at all. Understanding the fundamentals is allowing me to think further into the codes and asking myself "what is really going on when I put this code in and is it what I want the Arduino to do?" The more of these kinds of lessons, the more I feel I am gaining in fluid knowledge that I can apply rather than just regurgitating information.
@maitreyeekarmarkar7801
@maitreyeekarmarkar7801 Жыл бұрын
Another gem!! Thanks a bunch. I understand capacitors and PWM now much better than ever before!
@tallslimpr
@tallslimpr 3 жыл бұрын
Well done Paul, thoroughly understood. Wish you were my professor back in the days. Thank you! Great job!
@theadventuresofmikeandjami6693
@theadventuresofmikeandjami6693 3 жыл бұрын
Hearing you say “hook a brother up” just cracks me up. Seriously though - these tutorials are GREAT! You are an amazing teacher. So clear and concise. Thank you so much.
@richardruark6422
@richardruark6422 5 жыл бұрын
PWM is something like turning a light switch on and off fast or slow causing it to be brighter or dimmer. Enjoying your classes. Thanks
@johndiy6420
@johndiy6420 4 жыл бұрын
Another great video. The demo with addition of capacitor was very clear. Must say Paul, I thought I sort of understood PWM before I watched the video. Now I KNOW I do! Thanks a lot.
@Drmerlin604
@Drmerlin604 3 жыл бұрын
Excellent description of PWM... It made complete sense!
@tysonclark9167
@tysonclark9167 3 жыл бұрын
8 lessons in 3 days, and still going strong! I love it, Paul
@Black_X_Crescent
@Black_X_Crescent 9 ай бұрын
8 in 2 days mine
@winx910
@winx910 8 ай бұрын
that's a lot of coffee!
@ChiodoDragon2
@ChiodoDragon2 3 жыл бұрын
I'm a 50 year old technician that went to tech school before PC's were popular. Maybe it's the fact that I'm mature now and have a greater attention span but I think you are just a kind soul and it translates to a good teaching style. You are definitely taking the apprehension I had in learning Arduino and the associated programming to a manageable level. I've thoroughly enjoyed your lessons and look forward to learning more.
@jimsimpson1006
@jimsimpson1006 7 ай бұрын
Excellent explanation and demonstration Paul. I’ve certainly heard of PWM before but now have a clear understanding of exactly what it means.
@nielsroetert
@nielsroetert 3 жыл бұрын
Really enjoyed this video, I now understand PWM but also adding the capacitor to smooth out the signal made so much sense. I'll be trying this myself tomorrow.
@rolstonholas333
@rolstonholas333 5 жыл бұрын
I loved seeing the voltage on the oscilloscope, it really brings home, in a very visual way, how PWM works. I would love to have seen the Fade sketch on the oscilloscope to see what that would look like. Thanks for another great vid
@munishgoyal7602
@munishgoyal7602 4 жыл бұрын
who is here in this quarantine
@didifady1641
@didifady1641 4 жыл бұрын
me!!!
@2006death2006
@2006death2006 4 жыл бұрын
i am doing this is surprising how many items we use every day could be working with there's
@adrianwiuk
@adrianwiuk 4 жыл бұрын
Week 10 (excluding school holidays) of lockdown in Scotland here :-)
@nabeelahmed4352
@nabeelahmed4352 4 жыл бұрын
me i loved this class
@langer727
@langer727 3 жыл бұрын
Me!
@ajithdamo
@ajithdamo 4 жыл бұрын
I have been watching each of your tutorial, and following with practicals on my breadboard : I am finally getting somewhere with Arduino! Excellent teaching method. I can see the value of setting the variables and having no numbers in the loop.Great demonstration of PWM and use of that capacitor .
@banyincam
@banyincam 4 ай бұрын
This is great. I'm having so much fun watching these videos. I've watched them all at least three times.
@Bob-zg2zf
@Bob-zg2zf 5 жыл бұрын
Well designed course for PWM. Thank you, Paul. I would like to summarize the concept of PWM: a programmer sets the time for a circuit to be on and sets the time for a circuit to be off, in an on-and-off cycle. The result is the final average output voltage is set to a fixed value. To easily undestant the effect of PWM, I do not think the best example is LED brightness. I believe the best example is use PWM to set the speed of a computer fan. Students will be able to visually see and understand PWM can set or change how much wind the fan can blow to them. Thank you, Paul!
@bigstickpilot
@bigstickpilot 4 жыл бұрын
agreed, the eye doesn't respond linearly to brightness
@juggalizzle75
@juggalizzle75 4 жыл бұрын
It's actually amazing what you can do with pwm. We use it quite a bit with flight controllers to control our brushless motors for our drones. These motors are supplied constants battery voltage up to about 25v but the pwm occurs through a data line which is just 0-5v that turns the motors off or on by applying the battery voltage or removing It. It handles not only setting the rpms of the motors but ramping them up slowly or quickly and even active braking of the motor rpms by momentarily reversing the motor. Not to mention the radio control signal is based on pwm as well. I was one told to think of pwm as cruising at speed on a bicycle. You can stop pedaling and coast. If you want to keep that speed you don't have to pedal constantly but rather push the pedal full force a quarter turn every now and then to keep the speed constant. I probably didn't explain that very well but it made sense to me at the time.
@sorryboss8550
@sorryboss8550 9 ай бұрын
I’m just starting arduino I didn’t think this lesson was important but wow
@muskanagarwal6749
@muskanagarwal6749 4 жыл бұрын
I have been wanting to understand PWM for so long and have been looking all over the internet for this. This is by far the best video that explains PWM to me with this oscilloscope. Thanks, Paul for this.
@mohsenr4434
@mohsenr4434 2 жыл бұрын
I've been wondering what uses capacitors had for a long time and this tutorial was a perfect example. Thank you!
@glennfelpel9785
@glennfelpel9785 5 жыл бұрын
Paul I work in heavy equipment design and particularly in the hydraulic systems which power the mechanisms. Sometimes the valves we use are PWM type valves. Now with this understanding I can see better how the valves are working. In those systems they have PWM drivers which apparently produce enough amperage to actuate the valve coils. And I believe the signal we send the drivers is just a lower amperage signal. Does that sound correct?
@chrisbe4463
@chrisbe4463 5 жыл бұрын
The arduino simulates the analog voltatage by switching from plus 5v to 0 back and forth in a frequency to get the voltage
@vitustillebeck4965
@vitustillebeck4965 3 жыл бұрын
unless you use a capacitor right? I'm just asking because im not sure.
@gowthamjothiramalingam6911
@gowthamjothiramalingam6911 3 жыл бұрын
@@vitustillebeck4965 yaahh....
@thethubbedone
@thethubbedone 4 жыл бұрын
The oscilloscope was a perfect tool to show the point. I was familiar with the concepts before watching the video, but seeing the square wave, and then the wavy analog voltage still felt enlightening. Nice job.
@jamesmcbrideag5ve743
@jamesmcbrideag5ve743 4 жыл бұрын
I had a basic bbn understanding of PWM, but when you hooked the cap in at the end, a HUGE lightbulb went off in my head. Thank you, thank you, thank you !!!
@philipreed2758
@philipreed2758 5 жыл бұрын
Hi Paul. loving the videos and looking forward to each one. only thing I noticed is your scope was set to 0.5mS per division and the period was 4.2 divisions. that to me is just a fraction over 2mSec not as you said 4mS. just me being eagle eyed. but loving it. when you getting onto inputting via switches or sensors?. keep up the excellent videos and not tried the ice coffee yet...
@paulmcwhorter
@paulmcwhorter 5 жыл бұрын
I could have misread it, thanks for the observation. Not drinking Ice Coffee could get you banned from the channel, though:)
@williamperry2074
@williamperry2074 3 жыл бұрын
@@paulmcwhorter Now Paul, you know it's really tea in that cup. HaHa. Fantastic tutorial series so far! Learning so much. Thanks
@DaveSprague
@DaveSprague 3 жыл бұрын
@@paulmcwhorter actually you read the period from the screen and the msec/division scaling correctly, you just made a mistake when you used the calculator. You might want to put an overlay of the video at that point with the correct period of 2.1 msec rather than 4.2 msec.
@subhopriyojoarder3536
@subhopriyojoarder3536 5 жыл бұрын
Thank you for the Arduino Tutorials sir!! I know that capacitor opposes sudden change in voltage. ic = C dV/dt. So, when the pin output goes from LOW to HIGH, capacitor should take large impulse current as dV/dt goes to +inf. Similarly when the pin output goes from HIGH to LOW capacitor should supply large impulse current back to Arduino pin. Is it safe in the long run? Are digital/analog pins capable of taking current from external circuits??
@paulmcwhorter
@paulmcwhorter 5 жыл бұрын
The things you are saying are correct . . . I was just trying to show a quick and dirty demo of how capacitors can turn AC into DC. If you were really going to do this, you should do some circuit design.
@danthemancasey
@danthemancasey 5 жыл бұрын
It is safe, the Arduino pin when off is effectively floating and does not "sink" current from the cap, and the charge will sink quickly through the LED. Every digital pin is capable of handling 5V. What do you think it is doing for the digitalRead?
@davidrestrepo2927
@davidrestrepo2927 Жыл бұрын
Thank you for the class Paul. I am enjoying and liking the course.
@jimjewell3135
@jimjewell3135 3 жыл бұрын
I enjoyed the class, great demo of the O-scope. Made PWM very clear and showed exactly what was going on. Thanks
@nexpro6985
@nexpro6985 6 ай бұрын
I fundamentally disagree with this video. It is well understood that good Arduino videos should be accompanied by hot coffee with cream and lots of sugar. 😊
@paulmcwhorter
@paulmcwhorter 6 ай бұрын
BANNED!
@MrEerilybasic
@MrEerilybasic 6 ай бұрын
😂
@nexpro6985
@nexpro6985 5 ай бұрын
@@paulmcwhorter lol. Merry Christmas.
@ErlankBru
@ErlankBru 2 ай бұрын
😂
@calvinunruh8062
@calvinunruh8062 7 ай бұрын
The way you explain it, it is easy to understand. Love learning about this stuff.
@IJacinto66
@IJacinto66 7 ай бұрын
Hi Paul, you made it very clear to my understanding PWM. Thank you! 🙏
@1psychoticmurmur
@1psychoticmurmur 3 жыл бұрын
Yes, I now understand pulse width modulation, PWM. Great visual. I like that you keep things neat and organized on the video, it makes it easier to understand.
@stephenmichael2687
@stephenmichael2687 4 жыл бұрын
I'm finally making the leap with a good understanding of electronics to software development. That was a great video of PWM. You have a very impressive course so far. great job!! 10/10
@ernestng7113
@ernestng7113 3 жыл бұрын
Yes. The aid of the oscilloscope display helps me to understand PWM in a very visual way. Thanks.
@watersprayer
@watersprayer 22 күн бұрын
Thanks for the work you did on this. Just a few lessons and I can already see what going on in more complicated programs.
@JR-je7ce
@JR-je7ce 3 жыл бұрын
I genuinely feel like you are one of the best teachers I have come across and I dont just mean with arduino I've watched a few learning videos on the old KZbin and you are by far the most clear and explanatory and you make the lessons engaging I wouldn't say you ramble at all you just want to be clear and precise. Plus you know you've found a good teacher when you're disappointed that no homework was set haha.
@DrewCreate
@DrewCreate Жыл бұрын
Can’t get enough of your videos it feels like I’m back in school in the best way possible!
@averycolburn
@averycolburn 3 жыл бұрын
Yes, very informative! And your use of capacitors makes sense too, the cap charges and discharges with each period, effectively normalizing the voltage seen by the led
@Panvil
@Panvil 3 жыл бұрын
Paul, what a good man you are. I'm a mechanical engineer student, and getting into electronics has been a long time wish. Thanks for putting out quality content for free.
@dinagiselabluemel9169
@dinagiselabluemel9169 Жыл бұрын
Love your videos! I always go back to them when i need help with Arduino.
@SalimaBarzane
@SalimaBarzane 3 жыл бұрын
You are a great teacher Paul. I watched your series on the Raspberrry PI, and have hooked my Arduino to it. Just waiting post surgery for eyes to settle to do these sessions.
@akashdeeppaul9272
@akashdeeppaul9272 4 жыл бұрын
I'm in the field of communication engineering but even then this video helped me have a different outlook on PWM.Great work on the video and your explanation is simplistic, intuitive and to the point. Thanks for the insightful video
@ronkline8726
@ronkline8726 2 жыл бұрын
Thank you ! The oscilloscope display re-inforced the PWM concept.
@Colyon
@Colyon Жыл бұрын
Been watching these from Tutorial #1, currently learning the Arduino in university as we move forward with various microcontrollers, and these videos are putting me steps ahead of the lecture from class as you explain the material in a very detailed way. Appreciate it, I'm going to watch all of them.
@leoniegeerdinck4913
@leoniegeerdinck4913 3 жыл бұрын
Hi Paul, you were very clear to me again. Very nice, how you are using the scope to explain PWM, and having all the pictures all together in the screen. Very educational. Thanks!
@ErlankBru
@ErlankBru 3 ай бұрын
I'm doing some revision.. You explained pwm very well! Thanks Paul!
@ronreagan8854
@ronreagan8854 3 жыл бұрын
Good video, Paul. The O-scope makes it easier to visualize what is going on there. Thanks!
@chirio90
@chirio90 3 жыл бұрын
it super clear - pulse wave modulation .. really amazing way how you teach. God bless you!
@dereksavage8728
@dereksavage8728 3 жыл бұрын
I really appreciate these tutorials. Very in depth it's impossible to get lost
@pd4897
@pd4897 Жыл бұрын
First time in my life that I really understood PWM. Thanks Professor!
@kristofferbrink2689
@kristofferbrink2689 3 жыл бұрын
This makes a lot of sense, also to a lot of other stuff I’ve learned (like why some lamps look like they blink) i now also know why to use capacitors, and now i also know why you’d use resistors for the led instead of just setting the value of brightness to something like 30. Thanks for the help Paul!
@PigeonSpeaks
@PigeonSpeaks Жыл бұрын
Very clear explanation. Also now understand the usefulness of capacitors a little more.
@anthonyj.dipasqua4676
@anthonyj.dipasqua4676 3 жыл бұрын
Well done Paul! Ramble on it’s making sense to me. I’ve been explaining this to my spouse and friends and it is sticking.
@mrktm65sx
@mrktm65sx 5 ай бұрын
Another excellent video, thanks for all you do Paul!
@andypearce7442
@andypearce7442 Жыл бұрын
Ramble On Paul, I've never learnt so much in such a short time, Loving the videos Mate!!!
@briansheridan9975
@briansheridan9975 3 жыл бұрын
You sir have a gift for teaching. I have bought your kit and have been enjoying every lesson. Who ever said you can't teach and old dog new tricks has not met you. Thank you very much!!!
@elaheparvaee2390
@elaheparvaee2390 3 жыл бұрын
Thank you Paul, I've really learnt of you and your tutorial videos are the best academic videos I've ever watched. You describe everything in detail and I really enjoy watching your videos. I appreciate your time, patience, and effort. Thank you Thank you Thank you
@SelfCheckout
@SelfCheckout 10 ай бұрын
Hey Paul, I'm loving these tutorials. I had 0 knowledge of electronics going into this but you explain things in a way that anyone regardless of prior knowledge can understand. What I particularly like about these tutorials is that I already understand programming so I can focus solely on the electronics portion. It also allows me to get creative with my solutions for the assignments you give at the end of the videos too, there are a lot of Eureka! moments that remind me of when I first learned to program. I'm really looking forward to working through your Introduction to Robots series once I complete this one. You rock!
@CodicologiaUCM
@CodicologiaUCM 4 жыл бұрын
You are a great teacher, Paul. I have tried to learn these things several times but never went beyond the first lessons. Now I am hooked to your course. The ice coffee may help, but I think it is rather your teaching excellence. Thank you.
@danieldickinson9167
@danieldickinson9167 3 жыл бұрын
Fantastic video series. I’m able to follow along and really getting the concepts.
@raymondwood3603
@raymondwood3603 Жыл бұрын
Really, really loving the lessons on the fundamentals behind the work you are teaching us. It helps solidify the lesson in my mind much more than just learning what to code and then hitting download, allowing me to recall the lesson much better in the future. (41yo manager in mining technology wanting to learn more about what my contractors do for me).
@msg1956
@msg1956 6 ай бұрын
Excellent..! I bought the kit and trying one by one ..! Success so far..!
@benthompson6118
@benthompson6118 3 жыл бұрын
Great tutorials and teaching style, thank you. From the homework in lesson 7 I added the capacitor just to see what it would do. The capacitor made the LED go from three different levels of brightness to just on or off.
@davidlarson2534
@davidlarson2534 Жыл бұрын
Yes, I understand. As I commented earlier, I am using your course as a refresher. I learned all this almost 50 years ago.
@antoniodomit2782
@antoniodomit2782 2 жыл бұрын
I think this was great. I new what i PWM but I enjoyed very much your explanation. Thank you Antonio Domit
@gauravdas5002
@gauravdas5002 3 жыл бұрын
I learned PWM in physics but never really understood it as clearly as I did today thank you, this is another great tutorial in this series!
@flashy89
@flashy89 4 жыл бұрын
Hi, your videos are great. As I knew already what PWM is, this video helped me on how to explain it to others. But I learned what Capacitors are for. Thx a lot
@LaughingHeals
@LaughingHeals 7 ай бұрын
No doubt this is one of the best lessons explaining PWM!
Arduino Tutorial 9: Understanding Ohm's Law and Simple Circuit Design
29:33
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 16 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 1,9 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 14 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 29 МЛН
How PWM works | Controlling a DC motor with a homemade circuit
10:01
Duty cycle, frequency and pulse width--an explanation
8:53
Justin Miller
Рет қаралды 457 М.
Arduino Tutorial 7: Understanding the Arduino Analog Write Command
15:53
Converting an Arduino PWM Output to a DAC Output
18:48
ForceTronics
Рет қаралды 107 М.
Understanding Pulse Width Modulation
13:45
Rohde Schwarz
Рет қаралды 10 М.
Arduino Tutorial 13: Understanding Arduino If Statements
36:51
Paul McWhorter
Рет қаралды 329 М.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Motor speed controller tutorial - PWM how to build
17:33
The Engineering Mindset
Рет қаралды 1,1 МЛН
MacBook Air Японский Прикол!
0:42
Sergey Delaisy
Рет қаралды 534 М.
ТОП-5 культовых телефонов‼️
1:00
Pedant.ru
Рет қаралды 18 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 6 МЛН
Секретный смартфон Apple без камеры для работы на АЭС
0:22
сюрприз
1:00
Capex0
Рет қаралды 1,4 МЛН