Arduino Tutorial 37: Understanding How to Control DC Motors in Projects
Ғылым және технология
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
/ paulmcwhorter
This lesson shows you how to control a DC motor using arduino and a L293D Motor Controller. It is important to make sure to use motors compatible with the current capabilities of your control chip and power supply.
You can get the kit I am using for this series at the following link:
amzn.to/2I7N4Ek
Follow These lessons on our WEB site:
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
Пікірлер: 2 400
Nearly 40 videos in and I haven't *really* said thank you yet, so here's my thank you! You deserve a lot more than this, sir!
@paulmcwhorter
2 жыл бұрын
WOW! Thanks, really appreciate that. It is a real encouragement.
For anyone that was ever wondering, this is actually why fans, like box fans, oscillating fans, etc, have high as the first speed on the dial. It's to kickstart the motor 🙂
@liamoliverdarroch6482
Жыл бұрын
interesting
@Thejbelow
11 ай бұрын
Interesting for sure
@Rorschachcollision
7 ай бұрын
dang man, so cool
@danpedersen55
7 ай бұрын
Thanks 👍 that makes sense 🙂
@frankbonsignore.RochesterNY
5 ай бұрын
Thank you for taking the time to give us this information.
I know I'm 3 years late, but this series is as awesome as roses!
@jtsowers47
Жыл бұрын
Same, but his lessons still hold up.
Rose and Ronald. Thank you for taking the time to put together these videos. They are very interesting and thought provoking!
Why does internet teach me better than the school I'm forced to go so I can find myself a future? This sir has taught me in under 1h everything I've been trying to learn in a whole week at school Thanks a lot!
Sir , these lessons are top notch nothing on the internet beats your Arduino content. Excited about your upcoming premieres.
Rose and Ronald. Great tutorials! Everything pedagogically and clearly explained, packaged and delivered in a professional manner. Some things have obviously happened on the electronics front since I studied to become a merchant marine engineer in the 80's. Now I have a lot of catching up to do as it seems ;) Thanks a lot for your tutorials, time and effort!!
Rose and Ronald. Love your content and personality in these videos! Thank you for helping me get one step closer to executing the ideas/inventions I never thought I would be able to bring to reality!
Ronald and Rose. Thank you for a brilliant series of tutorials. I suspect I would not be the only one to say how much you are helping me to get through this lockdown ! Thanks again.
Rose and Ronald in the Garden.!!! I always follow your video's to the end. I THINK I CAN GIVE YOU A PARTIAL EXPLANATION OF THE AVERAGE SHORT VIEUW_TIMES: Many times, i see your videos a second or a third time or more.Most i lookup just little fragments , that i did not understand very well the firtst time, Sometimes i scroll back or forward to see better some details, to write down some parts of the sketch...or understand things better.... I do that because i am just a beginner, and becoming a litle older and slower (66 y). I think more people do that.If every short revieuw is counted as a vieuw.....this could make a big number of very short vieuws. OF course there will be a lot of experienced an clever young arduino-users, and they wil also be curiuos what yo say... but as they know already everything about arduino and much more, they look and say :"yes i understand this all what he is saying.... and stop the vieuw.
@charlesmarlin6632
4 жыл бұрын
Yes, I too watch the videos all the way through and then go back several times to review specific items to make notes for later. Usually, I will re-watch part of the last video I watched the day before to refresh memory and then move onto the next video Tutorial. I actually enjoy the KZread ads and found some great deals because of ads for items I never would have know about without the suggestions.
@utkf16
4 жыл бұрын
Same here on your comments, beginner status and age range. I too like to go back and forth for all the same reasons. This is a great resource and when completed I hope Paul considers puling it all together with supporting resources for us to buy
@sahithisirekolam624
4 жыл бұрын
true
@snurfen
3 жыл бұрын
Yep, I like to go back after performing the exercises to get my Virtual Breadboard updated to go along in the folder with my saved sketch. And maybe a skim through to add bits to my notes.
@darceyjohnson8862
3 жыл бұрын
I do this too.
Merry Christmas Paul, Rose and Ronald! I’ve been watching your Arduino tutorial series from lesson 1 and have been able to follow along up until this lesson, always doing the assignments before watching the video and have been able to successfully do the math and all without much problem. That is because of your most excellent teaching of course. I’ve learned so much since I started watching your Arduino tutorials about a month ago. I literally didn’t even know something like the Arduino existed till the beginning of this year when I started watching videos from Mark Rober, the Hacksmith and Colin Furze and discovered the world of engineering, electronics, machines like 3D Printers and CNCs and CAD. I was blown away and fascinated at the machines and at what these guys were able to design and build and was always hearing them say they used an Arduino for certain parts of the build. It was until 2 months ago that I finally decided that I wanted to learn how to use the Arduino so I bought it but was overwhelmed and did not know where to begin since i basically knew zero about electronics or programing and the tutorials I watched kind of assumed the person already knew a bit of what they were talking about and so I was beginning to feel a bit discouraged until I found your Arduino tutorial series and with your most excellent way of teaching I began to understand how the Arduino worked. Your videos and your teaching is amazing because i have not only learned how to build circuits, how to write code and how to troubleshoot but i have also learned Math and Physics and how some components work at a fundamental level. I am very grateful to you for making these amazing lessons and making them for free and I am very excited to continue learning. I am also planning on watching your Fusion 360 Tutorial Series because I also want to learn CAD and how to 3D Print. Also for this lesson’s assignment, I decided to challenge myself and see how much I’ve really learned from previous lessons and did the assignment but I tried to incorporate every component we have learned to use so far. I hooked everything up, wrote the code from zero using everything I’ve learned so far and once I uploaded the code and saw everything worked perfectly and exactly as the code was written and based on the math, i was blown away. It was a very rewarding feeling. I was smiling the whole time! I uploaded the video on my channel and put the code in the description if you would like to see it and maybe grade me on my progress so far XD. Again, thank you so much for making these amazing lessons and I am pumped to see what we will be learning next. Merry Christmas!
Rose and Ronald - We always go all the way through your most excellent videos! Thanks for your teaching!
Rose and Ronald :) Thank you so much for making these videos, they're super helpful and very much appreciated! I'm a university student studying Computer Science and one of our classes is all about embedded systems. We cover a lot of material in class and usually if I'm struggling on something in particular, I come along to your channel because you explain things so well. It's great that you're easy to understand/follow and I also like how you repeat key concepts, making it easier for us to remember. Your videos have been especially important during the 2020 Coronavirus quarantine period, since us students haven't been able to attend classes - These videos have been a real saving grace for us, and I cannot thank you enough for taking the time to record and upload these videos. God bless you.
I've watched all of your tutorials to the end so far. I've even some of them 2 or 3 times by way of reminders. Rose & Ronald is what you requested.
Rose and Ronald, I always watch to the end Paul, and also pause and re-watch taking notes as I go along. Thanks again for a cracking lesson!
Thank you, Paul McWhorter, Rose and Ronald!
I have run through all 37 lessons and they all work fine. I do listen to the whole lesson. Rose & Ronald
I've watched till the end... love the yard rose and Ron...
Rose and Ronald. Thanks for the lesson. It is what I was looking for and more. I am just trying to learn how to control a motor at the moment, but I would really like to be good at Arduino, so I will probably do all the videos soon. I really like that you explain peripheral concepts like what can ruin the board, etc., and not just what to plug where. I appreciate developing areal understanding, not just semi-capable to do some things. Your videos help with real understanding.
Rose. Great Tutorial. I started going through this tutorial 3 days ago and I followed each lesson beginning to end (including homework). I am so glad you pulled this series together Paul. Well done!!!
I KEEP WATCHING; GREAT TEACHING; WE NEED MORE TEACHERS LIKE YOU:
@theminecraftdabberpros3409
4 жыл бұрын
yes
@prashantgunjal5566
3 жыл бұрын
@@theminecraftdabberpros3409 you are 100% correct
@Technokidzo
3 жыл бұрын
same
This was a great tutorial because I actually had a problem with it! Teaching this subject and having studied it in school means that I have a good understanding of the subject matter. However, I couldn't get it to work, so I had to debug it. Using your method of debugging, I went through the possible problems. It turned out to be a faulty wire. I decided to create a project for my students in which there would be a problematic component (a bad wire which would be given to my students without them knowing it) and my students would have to figure out why their circuit wasn't working. I am co-teaching a electronics lab class at a local university next year and was asked to do so because too many students are now too heavily invested in theory rather than practice (building the circuits they design), so they don't have a real world understanding of the many things that can go wrong. Another great video!
Rose and Ronald! The yard is looking great. I am blow away whenever you share pictures of how beautiful Africa is. Did the homework and got it working nice with the tilt switch by removing the delays and boosting the speed to 255. Thanks for all you do for us! Blessing to you and yours!
Rose and Ronald, thanks for all the hard work.
I’ve watched every single episode of the new and the old arduino tutorial series, from start to finish, keep up the great videos Paul, Rose and Ronald 👌🏻
@zainmehmood4808
3 жыл бұрын
me too
@UnknownSend3r
3 жыл бұрын
@@zainmehmood4808 Were you a beginner in programming, and did this method of learning with Arduino help.
Rose and Ronald! Thanks for starting this series, playing around with Arduino has made me deeply interested in electronics engineering and coding. I have tons of gadget ideas now that I'm learning my way with electronics, and it's thanks to you! Keep it up man
@kshitijbali5569
2 жыл бұрын
Hi, if you have knowledge about it, can you please explain what is the role of the power supply? I do not see anything wired to it, and in any case the power is coming through the Arduino. Unable to understand it.
This was a great introduction for L2930 chip, Thank you. Rose and Ronald!
I always watch until the end. Thanks to Rose and Ronald for keeping the yard nice and tidy!
“Rose and Ronald”. Thank you very much for the great lesson and channel.
"Rose and Ronald"... Thanks for this very interesting tutorial!
ROSE!!!! I was able to get the fan working with the tilt switch. I always watch from the start to the end because you never know when the gems of knowledge are going to pop up.
Rose And Ronald, Love your videos dont know what id do without you. Thanks!
Rose and Ronald.. typing with one hand only, other one is actually holding my mug of iced coffee 👍👍👍
@rushipadhiyar2615
3 жыл бұрын
You had us in the first half, not gonna lie.😂😂😂
Thanks Paul. I've learned a great deal from your videos. Better series than 30 days lost in Space and much more pleasant to watch!
@paulmcwhorter
Жыл бұрын
WOW, Really appreciate that. It means a lot to me, thanks!
@botkiller7555
Жыл бұрын
@@paulmcwhorter secret code is rose
Rose and Ronald for Paul. Everything I know about Arduino, I learned from your KZread Channel. Love it! Thank you so much.
Rose and Ronald!! Thank you, Paul, for these lovely lessons. I am both learning and teaching my son. Appreciate the hard work that you have put in.
"Rose&Ronald" gave us this great series of arduino. Best series I have watched so far.
@garimajoshi2742
2 жыл бұрын
Rose and Ronald
@garimajoshi2742
2 жыл бұрын
Thank you for the amazing content
Rose and Ronald 😄😄 I really would like to do this project, but I have another starter kit, and unfortunately I don't have a DC motor, so I just wrote the code with you. Thank you for this lesson 😊😊
Rose and Ronald. Brilliant Tutorial! Thank you, Paul.
Rose and Ronald!!! This video was awesome!!! Thanks for keeping this free on youtube!!!
“Rose&Ronald”.nice video and I did the homework .
In india the cost of elego kit is more than 150 dollars , nearly my father's income per month But I feel happy that at least this courses are free , thank you MR. Paul from bottom of my heart "Rose and Ronald"
ever since I got an Arduino I also watched different tutorials on Arduino but after I come across your channel I found all the needed fundamentals on Arduino and I just love your content been 3years since released and still doing wonders
Rose & Ronald. Thank you Paul, I always watch till the end.
Rose and Ronald. Excellent video, as always. You know, Paul, this is probably a minority opinion, but I'd really love it if you'd do another series of Arduino videos, but with more "behind the curtain" explanation of how the magic behind the sensors, components and ICs work, similar to your explanation of semiconductors and diodes in #2. I found that super helpful. I realize that this potential series wouldn't be as popular as some of your others, but I'm pretty sure there are quite a few of us (who tend to be silent) that would watch, learn from and appreciate them.
Hello Sir!! I’m a Mechanical Engineer in the aerospace industry, I have “very” recently gotten into Arduino, and your videos, so far are the best ones for me. I like this one in particular because of a project I am working on. I have a 9gram, continues rotating servo, I’m trying to get it to rotate in one direction for a certain amount of time, then shut off, then when activated again have it rotate in the opposite direction for the same amount of time. Can you help?
Rose & Ronald - Well I, for one, watch your excellent videos right to the end every time.
Rose and Ronald are so great! Thank you so much for making these videos they are the most helpful content for Arduino I have found!
anyone that doesnt like this channel will have to fight me
Don't forgot to plug your 9V into your power supply! Otherwise the motor won't spin. This wasn't mentioned in the video and I forgot to do it, hopefully I didn't harm anything lol
Came back for a review of the content. Learned a lot, again! Please support Mr.McWhorter! We need him. The world needs him. Think of all the good he has done and will continue to do. Think of all those he has impacted and will continue to impact through these classes.
I have got up to Lesson 7 and find them very easy to understand and informative. I will be doing the complete course even though I'm retired you never stop learning and I thought programming and figuring out how to program to an outcome was so interesting. As a plumber your explanation tells me how a automatic devices work!
Paul: today's secret word is "Rose." People who made to the end of the lesson but barely missed the secret word part: ....
Rose and Ronald probably noticed the excessive baud rate of 96000. They would ask you if you meant 9600.
Rose & Ronald. You have helped me learn such a valuable tool for so many projects!
Thanks for the informative video series! Rose & Ronald would be proud!
These are the best Arduino learning videos out there.
After watching this lesson I was able to make my own project which I've been wanting to make ever since I got this kit, I was able to work with a dc motor which was attached to a potentiometer which would in result control a servo motor. Thank you so much.
These videos are the main reason I am still going strong in college XD Clear instructions, good explinations and done in such a way that you can experiment yourself once you have the basics down.
Rose and Ronald. Thank You for videos! I love them. It's so easy to learn from them.
youre the chillest n the best teacher
Rose & Ronald, Thanks for everything you have taught to us up to this point.
Rose and Ronald! Amazing lesson :) did the homework and incoperated a green and red LED combined with the tilt switch to indicate the tilt state!
Man I love your stuff! Despite being a complete noob at all this Arduino stuff I was still able to successfully control a simple DC Motor with my arudino in the very first attempt! My heart goes out to you! Thank you so so much for this beautiful, simple and highly instructive video. God Bless You Sir !
Rose and Ronald! And now off to do my homework...thanks for your time and effort, Paul!
I always enjoy your classes and I take them with great enthusiasm! Rose and Donald.
Rose and Ronald. I have followed many other tutorials from other teachers on Arduino and did not learn much. But your videos are the best and I am following each and every lessons on your Arduino channel. Thanks a lot.
Rose and Ronald. Even though I don't have the same kit as you, there's always new things to learn from you so I stay and learn. Continue the great content! Thanks a lot
Rose and Ronald. These tutorials explain so much to me!!!
I watched all of his videos until the end. They are very good and have helped me a lot. I saw Mrs. Rose in the yard. Many congratulations.
Rose and Roland did a wonderful work, and the project ran smoothly
Rose and Ron. The tutorials are great Paul, thanks for creating this resource.
Rose, thank you for precious knowledge.
Rose and Ronald, very nice lesson. Will continually play with this one for a few days, tilt + red led for tilt, potentiometer for speed control button for reversing...etc. Thank you!!
Rose & Ronald. Very educational. I am South African and I find your way of teaching very helpful. I did not have the L293D chip, but I did the code anyway just to practice on my coding skills. Thank you.
Rose & Ronald, Great tutorials. Thank you Paul 🙏
I really enjoy all of your videos and I'm also very thankful that you have spent a lot of your time and resources helping people learn these great skills. Rose and Ronald
Rose. Thank you for making these tutorials. You make learning arduino easy and fun!
Rose and Ronald are doing a fine job Paul you lessons are brilliant👏
ROSE AND RONALD, PAUL!!!! I can't believe that the average time is 3 minutes. I don't think that I've watched a video of yours just once, what's left to watch it just for 3 minutes. So informative content! I have no idea what most people learn for 3 minutes.
Rose and Ronald. Thank you for producing these tutorials. You are an excellent teacher!
@paulmcwhorter
2 жыл бұрын
Our pleasure!
Thank you for all. Amazing tutorial for Elec.
Rose and Ronald Great Work!! Your tuts are really helpful.
Rose and Ronald, you are an amazing teacher
Rose and Ronald did great love it thank you Paul
Rose and Ronald. Thank you for another amazing lesson.
Rose and Ronald! Of cause Paul's Arduino lessons are worth 100% watching. Shorter-time watching is only for searching or refreshing specific sequences in previous lessons. Assignments are occationally difficult, but stimulating, with a success rate of 50% so far for me. Thank You for all teaching!
Rose & Ronald! I enjoyed all your Arduino tutorials! Thank you!
ROSE! Really appreciate the tutorials my friend!
Rose & Ronald I've watched every video completely up to this one and enjoyed them all. Looking forward to watching the rest of them. Thanks
@paulmcwhorter
10 ай бұрын
Awesome, thank you!
i really enjoyed this one Paul thx !!!
3 years later..... the rose s are still blooming. Thx for your videos and input. greetings from GER
Rose and Ronald - just to say I have always followed the tutorials from start to finish.
Rose and Ronald. Awsome Videos. Learning so much and having fun.
I have watched every video in the series so far and have done every hardware project. I intend to finish the series. Thanks for taking the time to do this.
@paulmcwhorter
2 жыл бұрын
Great to hear!
Rose and Ronald! Thanks for all the great lessons so far, dear Paul! Greetings from Germany, Boom and out! 😂
Rose and Ronald. Excellent series.
Rose and Ronald - I'm listening to all your Arduino tutorials Mr. McWorther. I have learn a lot so far and I'm looking forward to complete this program. Electronics is now a nice hobby for me. Thank you so much! I live near Ottawa: capital of your northern neighbor country.
I watch your videos to the end. I did the homework and also added a pot to control the speed of the motor. Great tutorials!
@paulmcwhorter
2 жыл бұрын
Cool, thanks!
Rose and Ronald, great presentation paul.