No video

Arduino Tutorial 6: Build an LED Binary Counter

  Рет қаралды 443,238

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 lesson we take you through step by step how to build a Binary counter using the Arduino. We show how to make a 4 bit counter, and go through the circuit build and the program.
You can get the following Elegoo kit, to follow these lessons and play along at home
amzn.to/3c9SJrO
You can get more details about this lesson 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 900
@rubertostutzer
@rubertostutzer 3 жыл бұрын
Hi Paul! I am from Brazil, 74 years old and I am learning Arduino stuff as a Hobby! Your lesses are just great. Thank you so much!
@danielmendes5682
@danielmendes5682 3 жыл бұрын
olha só, mais um brasileiro por aqui! hehehehe
@jerrybarnish5304
@jerrybarnish5304 3 жыл бұрын
Welcome Ruberto. I am recently retired and was trained in electronics. This is fun to learn as well. Keeps me off the street and out of trouble!
@BRusso-xb2qe
@BRusso-xb2qe 3 жыл бұрын
outro br! Olá :D
@josecarloszart5441
@josecarloszart5441 3 жыл бұрын
olá! br por aqui também
@callmerel2809
@callmerel2809 2 жыл бұрын
u make me hate myself for being 18 and lazy. Thx for the motivation.
@theeldest263
@theeldest263 3 ай бұрын
i am 4 years late. But i did my homework after every video and it was really easy for me after having watched your videos. thankyou so much
@clintonlong433
@clintonlong433 2 ай бұрын
same
@davidcutburth5726
@davidcutburth5726 2 ай бұрын
Same
@llewsub
@llewsub 2 ай бұрын
same
@jaws2858
@jaws2858 8 ай бұрын
YES! Did the homework and my dog didn’t eat it. Had shoulder surgery and this is keeping me sane, well less crazy. Thank you. Off to make a 5 pin binary counter.
@user-ov3zr1oq8q
@user-ov3zr1oq8q 5 ай бұрын
I didn't do the assignment because I assumed that I would be expected to use "while" with some "if" commands. I was stumped! Learning Arduino and electronics at 72. Coded in Cobol back when chariots were the best way to get around in Rome. Love your classes!
@marseillais3423
@marseillais3423 3 жыл бұрын
Hey, Paul! I did the homework from lesson 5 just fine and my parents were impressed with my work. I am a mechanical engineering student and I am using your Arduino tutorials to help me prepare over this summer for a microcontroller programming class in the fall. You are an amazing teacher! Thank you.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
That is awesome!
@user-microburst
@user-microburst 3 жыл бұрын
I’m so proud that I did it on my own and worked nice. Never thought I’d ever like assignments.
@johnvincentjimar8257
@johnvincentjimar8257 2 жыл бұрын
Same lol
@426F6F
@426F6F Жыл бұрын
I used to get like this about drawing line diagrams for my electrical class. It was always sort of like a puzzle. Working on real circuits are so much more engaging though. I wish I started years ago!
@user-sr7ne3cl6o
@user-sr7ne3cl6o Жыл бұрын
I’m a 70 year old retired Mechanical Engineer and this has been one of the most rewarding things I have done in a long time!!!!
@user-qs4ti1bh6e
@user-qs4ti1bh6e 2 ай бұрын
I've had zero experience with microcontrollers/programming and was able to jump right in and start the creative process...for under $50.00!! Where are you gonna get a better deal without having to steal something??
@robertwebb9657
@robertwebb9657 2 жыл бұрын
Hi Paul You obviously want to "make a difference" and as a Christian since May 1956, I can tell you that you are doing that. Your first lessons were good, these are outstanding. If I had had a teacher like you I would probably not have flunked Maths at school. I have two objectives. I like to make stuff so the first objective is to add some "bells and whistles" to my current project that will probably take until the end of the year to finish. I have already learned enough to be able to do that. So thank you for that. The second objective is to use what you are teaching us to program an arduino to add functionality to a metal lathe I have converted to run using a CNC program. I am actually 10 years older that Paul from Brazil. I am in good health, an optimist and know that while other bits of us deteriorate with age, our brain can continue to function if we are prepared to stimulate it. Thank you Woodie
@colepdx187
@colepdx187 5 жыл бұрын
I haven't written a single line of code in almost 10 years. I can't wait for my super starter kit to arrive. I started programming in 1973 on an HP9000 mainframe using COBOL and BASIC. My last contract was with Intel in 2009 and I was using C++ & MFC. What a long strange trip it's been.
@avhijitnair409
@avhijitnair409 3 жыл бұрын
Wow! Glad to meet another mainframer!
@vincentcausey8498
@vincentcausey8498 2 жыл бұрын
@@avhijitnair409 Me too!
@OttoVonKonrad
@OttoVonKonrad 3 жыл бұрын
I am not sure if you will see this comment, but here goes. You are thee best teacher I have had in my life. I hated school, and most structure learning programs for that matter; but your course on Arduino has been one of the most enjoyable and educational programs I have ever taken part in. Thank you for being one of those teachers that the world needs. Your lessons have touched more lives then you will ever know.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
That is awesome!
@mrb8467
@mrb8467 Жыл бұрын
This is so fun and engaging. If you could take 43 year old me and toss me back in high school I would come out a rocket scientist. 15 year old me could have cared less about this stuff. I guess that's age and wisdom for you. Thanks a bunch for taking time out of your day Paul and creating this workshop!
@mavamQ
@mavamQ Жыл бұрын
Man, you and me both!!! I would know a whole lot more math and physics. That would have been 50 years ago.
@ErlankBru
@ErlankBru 5 ай бұрын
I'm 38 and I also tell people that if I were to redo highschool now, I will be 1024x more productive than what I was at the age of 14. 😎
@thomasmaxwell4396
@thomasmaxwell4396 Жыл бұрын
I was SOOO excited to start these tutorials 6 weeks ago, I didn't make notes. By lesson 60, I started to regret that fact, so now I'm going through some of the more important lessons again so I can make notes, and testing whether I can do the homework without watching the next video first.
@cussinsenterprisesllc1346
@cussinsenterprisesllc1346 4 жыл бұрын
i am a old repairman (66). i am really enjoying your tutorials. Your homework is really challenging my brain to stay active. Thank you
@shashwatmishra6442
@shashwatmishra6442 3 жыл бұрын
Sir you are the literally greatest teacher and trainer I have ever seen,you are the one with whom I am really learning something ever in my career,hope that I am lucky enough to meet you someday.
@turion57
@turion57 Ай бұрын
Hello Paul, I am from the Netherlands , almost 67 and recently started programming Arduino. I have no background in programming, but I do have something in electricity, not electronics. Your explanation is very easy to follow and I also complete all the assignments. Thank you for these special and easy-to-follow explanation videos
@freddyavendano2513
@freddyavendano2513 2 жыл бұрын
Paul you got me hooked on your videos...I feel like an old lady in front of the TV watching her favorite soap opera
@ernestng7113
@ernestng7113 3 жыл бұрын
I am a retiree and just interested in learning Arduino recently. Your tutorials are great. It is clear and easy to follow. I will keep on learning after these 6 lessons. Thank you very much.
@bhartitiwari2057
@bhartitiwari2057 2 жыл бұрын
You are really a very good teacher.. You know how to teach all level of student.. You are tremendous teacher... For me you are my guru ji for Arduino... I'll learn a lot from you.. God bless you sir..
@VladTheInhaler1
@VladTheInhaler1 10 ай бұрын
Was so excited when I found that my homework was completed correctly! This has easily been my favorite series of tutorials I've ever taken the time to follow. Thank you so much for your dedication to creating quality, informative content!
@carlpalmer9212
@carlpalmer9212 Жыл бұрын
Paul, Absolutely fantastic series! I can't wait to see what is in the next. As a retired SW engineer, I used the power of loops and the '&' operator to shorten the code. for (int i=0; i
@user-vp3vv7fu6k
@user-vp3vv7fu6k Жыл бұрын
I actually made a 4-bit, 5-bit, 6-bit then 7-bit binary counter! you've taught me so much about arduinos!
@Im-a-rock
@Im-a-rock 7 ай бұрын
7-bit had to be a pain to program
@3007films
@3007films 5 жыл бұрын
Thanks Paul for the tutorial. I am learning a lot from you even if I don’t have the Arduino kit yet.
@golanoski1
@golanoski1 7 ай бұрын
i realize this is way late but if youre still prototyping tinker cad has a free digital board you can use for prototyping and has a digital version of all the components.. though you're probably a seasoned professional by now 4 years later lol.
@terencebarber4269
@terencebarber4269 4 жыл бұрын
Hi Paul, at 76 I have decided to learn something new (i.e. arduino). Completed the homework but I used 5 led's instead and all worked as expected. Excellent lessons and thank you for the in depth explanations. Keep up the good work.
@crowant3717
@crowant3717 3 жыл бұрын
that's very impressive props to you
@vwwwvv2383
@vwwwvv2383 2 жыл бұрын
I do the same as you when progamming these binary counters, but instead of doing the same command for the LED and only change the necessary, for example: digitalWrite(pin1,LOW); digitalWrite(pin2,LOW); digitalWrite(pin3,HIGH); delay(1000); digitalWrite(pin1,HIGH); digitalWrite(pin2,LOW); digitalWrite(pin3,HIGH); delay(1000); Instead of repeting the same command for the pin 3, I don't add the "digitalWrite(pin3,HIGH);" unless it turns LOW. This is nice to not keep the code too "wordy" but it's easy to lose the track of the counting when you're doing this. For last, I need to thank you so much for your lessons, its really making me learn something from the scratch and understand. Great work, Paul, and sucess!
@JungleCruiseSkipper
@JungleCruiseSkipper Жыл бұрын
I did it along with you. I am just starting out and don't even know where to begin with your homework assignments. Your video is over 30 minutes long and you knew what you were going to do, imagine me trying to guess all day long how to go about it. I like the speed at which you teach, I'm able to keep up without having to pause too much.
@samueltheprogrammer6145
@samueltheprogrammer6145 Жыл бұрын
It is ok if you can't finish the homework on your own. but you need to try to do it and if you can't then watch the solution or if there is no solution then just get help from us in the comments below the video, I am always here to help. When I was starting Arduino I was having trouble too, but I did not give up, I kept pushing, then it started to get easier for me. Samuel
@davehollingshead3450
@davehollingshead3450 5 жыл бұрын
Paul, Thank you for the in depth lesson on the binary system. I appreciate the method of teaching because it helps me understand the content. I followed you first series of lessons up to the distance meter and plan to build a few of these for Christmas gifts this year. Looking forward to your next "new and improved" lesson.
@stilesmcgraw
@stilesmcgraw 3 жыл бұрын
I took the homework and did my best to write the program trying to use integers to do the work for me and also make any changes easier. I actually found this very easy to do and didn't take as long as I thought it would. I looked forward to seeing if you were going to cover the homework so I could compare how you wrote your code. Some people have told me I got it backwards, but I wanted it to match the binary chart you drew out...counting right to left. I agree that we should do the homework on our own. Following along in my opinion, can kind of hamper your confidence and creativity in the future.
@thomasperusi7854
@thomasperusi7854 Жыл бұрын
I am a retired avionics tech fcc and A/P mechanic for 43 years. I have done bench work and line work with electronics and have always wanted to learn deeper on the workings of the stuff I fixed. I know binary and many of the things your teaching but learning the Arduino and programing side you make it so easy to understand. I bought the mega kit and watching your videos will get me to the point of engineering digital experiments ive always wanted to do. Thanks so much for sharing your knowledge with us.
@paulmcwhorter
@paulmcwhorter Жыл бұрын
Great to hear this! Love to hear people are actually learning from these classes.
@Joe_Parmesan
@Joe_Parmesan 5 ай бұрын
Making the 5-bit LED counter helped, as I was able to notice the pattern you described: For the ones column, the 0s and 1s alternate every other move. For the twos column, the 0s and 1s alternate every 2 moves. For the fours, it's every four moves. For the eights column, they alternate every eight moves, and for the sixteens column, it's every 16 moves. Pretty neat to see it laid out!
@trailerkeller6760
@trailerkeller6760 3 жыл бұрын
You explain this so well. It makes me happy that I’m gonna have a new hobby where was this kinda teaching in my robotics class? My High School has a robotics class and all we learned was to play with LEGOS, I feel like my school robbed me of building and being creative. instead we could have learned how to program and make the robots go. I’m so happy I finally found what I love.
@Dizmatek
@Dizmatek 3 жыл бұрын
Fantastic lessons! My wife and I are following along together, writing our homework assignments independently, then comparing methodology to see what ideas really stuck out. Thank you very much for these videos!
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
The family that codes together stays together. God bless.
@golanoski1
@golanoski1 7 ай бұрын
this is a great idea. i love it. good for team work and learning.
@user-cw5ve1sp6n
@user-cw5ve1sp6n 11 ай бұрын
Hi Paul, I am 52 years old and from South Africa, and your videos are great, I am using the R4 and love the challenge (homework) at the end of a session. I am a master electrician of trade and love PLC and playing with cool toys. Build an analog tester that we use in the medical environment, want to use Arduino to digitize the unit in the future.
@a.vanmeel1208
@a.vanmeel1208 3 ай бұрын
I did mine homework. Make the mistake to put the led on, delay and of again and than go to the other one. Learned a lot. Thank you for the great lessons.
@ektasingla1619
@ektasingla1619 4 жыл бұрын
Hello Paul, Being a professor my own self, I am even more relishing the way of your teaching :-). The pace is just fine, and my long-long mission of doing logics myself is taking its shape. Thanks. Yes, I could do the homework well before.
@jusko2092
@jusko2092 2 жыл бұрын
Everything is great. Honestly. When I bought my Arduino kit the other day, I was super overwhelmed with other tutorials. A lot of them operate on the pretense that we already have an understanding on how everything operates: a picture of the circuit is shown and the libraries/code are just imported and copy-pasted in. I love the way you've broken things down into simple, easy to understand (and easy to work with) information. I'm having so much fun experimenting with the homework concepts and applying what I know and what I've learnt from your lessons. Thank you.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
And keep going . . . lets see you make it all the way through lesson 68
@iiiDartsiii
@iiiDartsiii 8 ай бұрын
I did it during "homework" and got it first try, only difference is I ended up spreading the LEDs on the entire breadboard so it's a bit messier but it doesn't matter as long as it works. Thank you Paul!!
@rodrigooballe
@rodrigooballe 4 ай бұрын
I have not encountered many individuals like you in my journey of learning. I must express my gratitude for your unmatched and invaluable teaching methods. Your videos have been of great help to me, and I recently discovered the ease of understanding things when approached with critical and logical thinking. With the aid of your videos and some Arduino and C manuals, I was able to solve the problem of adding an additional LED to my board and modifying what I had already done, which included the digits of 0 at 31. Thank you once again for your guidance and support. Although these videos are 4 years old, I have decided to watch them all and learn everything that's taught here.
@briannagalan302
@briannagalan302 3 жыл бұрын
Hi Paul! I'm 13 and I really love your content! all of your videos are super easy to follow so I just wanted to say thank you!
@dougnash6316
@dougnash6316 5 жыл бұрын
Hi Paul, I used colored LED's and had an off cycle between each number. You are doing a great job and giving us the tools to do the homework. Thank you
@JonathonIsTheMan
@JonathonIsTheMan 3 жыл бұрын
I ended out doing the exact same thing :D
@thomasshaw3760
@thomasshaw3760 2 жыл бұрын
Me, too. I used two delay variables; one for the on time, one for the off. To replicate Paul's code I just set the off delay to 0. Boom! 💥 Love these lesson
@cat19502008
@cat19502008 3 жыл бұрын
Thanks Paul. 71 and retired in Argentina. Learning Arduino as a hobby to built something I need for a photography project, Tough beginning but so far so good
@nobleforks8911
@nobleforks8911 11 ай бұрын
I honestly did it with the video, but I was ahead of your video and payed attention on parts where you were giving additional information and edited code as you recommended. I'm watching these videos even though I'm very comfortable with these concepts, but I have found you go further in depth on some subjects that most tutorials just graze over. I am finding these very helpful in knowing how things are working "under the hood" as you said. Thanks for these videos. PS I'm in Canada so HOT coffee is the beverage(Untill its time for a cold beer!).
@stuarthellyer4349
@stuarthellyer4349 8 ай бұрын
Thanks Paul, These are sensational video's you have put together. Yes, I have been building as we go and so far all is working great. Thanks for putting together such an easy to follow presentation.
@davidlopez7209
@davidlopez7209 5 жыл бұрын
I think you're doing a great job teaching. Really well paced for me to absorb the information. I was able to do the homework on my own.
@BrianLuna11
@BrianLuna11 Жыл бұрын
I tried doing the homework but was confused with how to set up the circuit with the increase in connections. Followed this tutorial step by step and was able to complete the 5-bit binary counter very easily! Thank you for making these tutorials clear and concise I'm new to arduino/coding and learning a lot.
@nortonbrothers7493
@nortonbrothers7493 3 жыл бұрын
Hello Paul ! Late to the party but Im in Vegas, 67 and newly retired, following a passion. Thank you so much for the classes! Your a great teacher!
@somecoder6985
@somecoder6985 3 жыл бұрын
I am really young and I’m learning a lot thank you for being the best teacher ever!!👍🏼 Keep Up The Good Work Also I did all the homework perfectly
@vincegilligan942
@vincegilligan942 3 жыл бұрын
@NadaAlouat I am young aswell aged 19
@jasonrhoades4122
@jasonrhoades4122 2 жыл бұрын
Love the lessons and really lovin the homework assignments. I have been able to follow along and finish all the homework assignments so far without making any mistakes in hardware or software. Your lessons are proving to be the most effective that I have found. Even my typing skills are greatly improving. I can't wait to get this homework assignment done and move on to the next lesson.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Wonderful!
@robinarnold7035
@robinarnold7035 3 жыл бұрын
Did it on my own. Great lesson, Paul....I never thought this 65 year old would successfully build a binary counter.
@browski1885
@browski1885 3 ай бұрын
I am learning Arduino for an engineering project in school. I appreciate you taking the time to make these, they are great for people just picking up this technology.
@mukageegee
@mukageegee 4 жыл бұрын
Hi Audio great. In answer to your question "nearly!". I am 60yrs old nearly! and learning this in lockdown. Excellent Paul but It may be some time before it sticks.
@TappedCeiling46
@TappedCeiling46 4 жыл бұрын
nice
@Steve_FLA
@Steve_FLA 4 жыл бұрын
At 48, I am obviously much younger than you, but also decided that I was going to use all this free time to learn a new skill. I agree, as history major with a lifelong fear of math, I am finding these videos challenging enough that I am not getting bored, but manageable enough that I am not giving up.
@graemeallan54
@graemeallan54 4 жыл бұрын
woof woof,from another old dog
@nithinsai2250
@nithinsai2250 3 жыл бұрын
@@graemeallan54 🤣 after 40 years u too will become an old dog
@rileypowis5319
@rileypowis5319 3 жыл бұрын
I’m 12 and I’m learning it in lockdown
@MohammadMomin
@MohammadMomin 4 жыл бұрын
Your videos are making my lockdown period productive.💖💖
@eugenejackson1358
@eugenejackson1358 3 жыл бұрын
YOU ARE A GODSEND! I am a broke aspiring microbiologist. I recently hit a financial wall in my photobioreactor, it was either spend 10k on automation hardware or finally bite the bullet and learn circuitry. tyvm bud.
@oldyorkieman
@oldyorkieman 2 жыл бұрын
Great lesson. I did it on my own. One change I added a comment line in above each bank of write commands indicating the decimal version of the binary number . This made it clearer to understand the code . Thanks for great tutorials.
@elloco99999
@elloco99999 3 жыл бұрын
Hi Paul, first I'd like to thank you for doing these tutorials! I've been a professional developer for almost 2 decades now so the programming is way too easy for me, but I'm following the tutorials to help me get a better understanding of the Arduino and what it can do. I did do the assignment before coming to this lesson and had no problems with it. I used a couple of for loops to spare me a load of copy-pasting :-) I do always like it when I'm learning something I get assignments to try and figure out for myself. You learn much more when you have to think about it instead of just following along with the video. A little tip about variable names, naming a variable pin2 (etc) might not be so useful. If you decide to switch to a different pin later, you have an incorrectly names variable that might be confusing. Better to name the variable for what the pin is used for.
@FULLUPE1
@FULLUPE1 5 жыл бұрын
Yes sir, I did my home work and it work perfectly like yours thanks so much........
@paulmcwhorter
@paulmcwhorter 5 жыл бұрын
Well done!
@arubaguy2733
@arubaguy2733 3 жыл бұрын
I watched and took notes on the first 5 lessons without any hardware set up or software running. Today I decided to go for it. My version of the IDE is a bit different from the one on screen. I get no happy orange and blue if enter correct key words and proper syntax, but just get error messages when I try to compile if I fat-fingered something. Coding is not so drastically different from the BASIC that I taught myself 35 years ago. I haven't coded in 30 years. Feels good to exercise that portion of my brain again. Thanks very much. I'm a retired Mechatronics engineer that needs to keep my mind active, or I feel dead.
@whitmodoe
@whitmodoe 2 жыл бұрын
I LOVE these lessons! I just switched from the electrician program at my local CC to digital electronics. I'm trying to prepare and get familiar with this stuff before my microprocessor/pcb class. Thank you so much! I watch each lesson then do the hw. Your lessons are cohesive, comprehensive, and very fun.
@manojentcal
@manojentcal 5 жыл бұрын
Hello there again, Chief! This is the code that I had written after you gave us the assignment last week, even before you uploaded this video. I intentionally kept the sets of the four commands in one line, using a full screen IDE, so that I has a visual impression of the binary counting. I hope it meets your approval. int oneLED = 7; int twoLED = 9; int threeLED = 11; int fourLED = 13; int wait = 1000; void setup() { pinMode(oneLED, OUTPUT); pinMode(twoLED, OUTPUT); pinMode(threeLED, OUTPUT); pinMode(fourLED, OUTPUT); } void loop() { digitalWrite(fourLED, LOW); digitalWrite(threeLED, LOW); digitalWrite(twoLED, LOW); digitalWrite(oneLED, LOW); // this is digit 0 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, LOW); digitalWrite(twoLED, LOW); digitalWrite(oneLED, HIGH); // this is digit 1 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, LOW); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, LOW); // this is digit 2 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, LOW); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, HIGH); // this is digit 3 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, LOW); digitalWrite(oneLED, LOW); // this is digit 4 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, LOW); digitalWrite(oneLED, HIGH); // this is digit 5 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, LOW); // this is digit 6 delay(wait); digitalWrite(fourLED, LOW); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, HIGH); // this is digit 7 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, LOW); digitalWrite(twoLED, LOW); digitalWrite(oneLED, LOW); // this is digit 8 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, LOW); digitalWrite(twoLED, LOW); digitalWrite(oneLED, HIGH); // this is digit 9 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, LOW); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, LOW); // this is digit 10 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, LOW); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, HIGH); // this is digit 11 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, LOW); digitalWrite(oneLED, LOW); // this is digit 12 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, LOW); digitalWrite(oneLED, HIGH); // this is digit 13 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, LOW); // this is digit 14 delay(wait); digitalWrite(fourLED, HIGH); digitalWrite(threeLED, HIGH); digitalWrite(twoLED, HIGH); digitalWrite(oneLED, HIGH); // this is digit 15 delay(wait); }
@paulmcwhorter
@paulmcwhorter 5 жыл бұрын
Well done!
@manojentcal
@manojentcal 5 жыл бұрын
@@paulmcwhorter Thanks Teach!
@yashdangat7018
@yashdangat7018 5 жыл бұрын
I am your student you just teach us ausome stuff thank you sir
@curiosityseesomethinginter9116
@curiosityseesomethinginter9116 3 жыл бұрын
abe sale, tu yaha bhi😂😂😂😂😂
@billyed100
@billyed100 11 ай бұрын
Hi Paul, I had a job to do with Arduino a couple of years ago so I subscribed then but I never actually sat down and watched your video's, I did the job back then which was getting some fish tank LED's to fade on over an hour stay on for the day then fade off in the evening. It worked great. Anyway I thought I would get back into Arduino as something as a hobby but I forgot most of it so I started watching your videos from the start and I have learnt so much already in these first six videos, I surprised myself when I noticed that you hadn't put the delay as an (int) :) as I had already done the homework and I had put it in as a (int). This proves your teaching method is working. Thank you so much for your time to make these videos, Great job !!
@jpbefx
@jpbefx Жыл бұрын
I too have completed this assignment and homework and found this course easy to follow. Just needed to watch it multiple times for all the fine details to stick in long-term memory. Thank you!!
@John-sw6gy
@John-sw6gy 3 жыл бұрын
Just created this example in python. Just starting to code. List = [0,0,0,0] for i in range(15): for v in range(4): if List[3-v] == 0: List[3-v] = 1 break else: List[3-v] = 0 print(List)
@flyingsalmon
@flyingsalmon 3 жыл бұрын
Hey John, noob to UNO here. I didn't know you could use Python on Arduino IDE. Can you write Python code in the same IDE or do you install a different IDE? I know both languages but new to this hardware thing. Thank you very much.
@harisuresh2507
@harisuresh2507 2 жыл бұрын
@@flyingsalmon Uh. I think it's just an example, I don't think he's interfacing with arduino
@araujo3498
@araujo3498 3 жыл бұрын
0:05 he looks so excited
@bbdubey
@bbdubey Жыл бұрын
Hi Paul, I am thankful to you. I am from India and i am learning this programing for my Hobby. your way of teaching is great, you make programing and project so easy to understand.thank you again. i am following your videos.
@thomasullock8912
@thomasullock8912 Жыл бұрын
Listened to Lesson 1 to 7 . Then restarted and yes I am able to build the Binary Counter and write the program. Your work is on the mark. Thanks.
@goover78
@goover78 5 жыл бұрын
I have successfully completed my homework.
@Tosoruth
@Tosoruth 5 жыл бұрын
I set up variables: int on=HIGH; int off=LOW;
@jeremysinnaeve1270
@jeremysinnaeve1270 2 жыл бұрын
Love the homework assignments. I used different Christmas colors to make it a bit more into the season. Can't wait for the next lesson!
@MooresvilleWayne
@MooresvilleWayne 2 жыл бұрын
Paul, I didn't do the work ahead of this lesson, but watched all 6 tutorials, then built this. Thanks, you are clear and easy to understand. I'll be watching all your tutorials.
@irenesebate9368
@irenesebate9368 Жыл бұрын
Hi Paul. Two days following your lessons. I'm so excited and I feel like rewind my years back to 25.
@Neoandersonvz
@Neoandersonvz 2 жыл бұрын
High Paul, I am from South Africa, 68 Years old but still young to do electronics. Your lessons are great but i always tried something different. I did that BINARY OUNTER on a arduino nano,works great
@KlaasvanG
@KlaasvanG Жыл бұрын
Hello Paul, I am Klaas (70) from the Netherlands and I appreciate your lessons very much. I'm back in school again! Doing the home work assignments even helps my brain to build new neural pathways! This seems to be the first tutorial where you go through the home work and that helps me to learn from my faults. I hope that you'll keep doing this. Thanks a lot!
@terenceroberts1923
@terenceroberts1923 2 жыл бұрын
Hi Paul, I'm 84, retired. Have just purchaced a Uno R3. I like your style, easy to follow and great to see how to correct mistakes. Many thanks.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Most excellent! Keep going.
@MercuryNewt
@MercuryNewt 6 ай бұрын
I know this video is old, but I'm really enjoying following along. As a software programmer that's trying to get into the hardware side, I'm enjoying getting back into C++. I completed the homework prior to watching this video, but I used some arrays & custom functions rather than writing everything out. It challenged me more & made it more fun!
@johnhusband924
@johnhusband924 2 жыл бұрын
Hi Pauil I am from the UK andf this is my first dabble with an Arduino and find your videos very professional, easy to follow and an excellent teaching tool. So far i have been able to complete the assignments however, when going through the Tutorial 6 on LED Binary Counter I really benefitted from your guidance on setting up components on the breadboard and taking a more structured approach. I really appreciate the time you have taken to deliver the Arduino video series and thank you for sharing.
@danieledwards-oj5zl
@danieledwards-oj5zl 2 ай бұрын
I am on day 2 of watching your lessons and as a complete newcomer to Arduino I love how fast I am learning. I had to watch the binary count explanation twice but now I understand how it works and to be able to see it in a physical reaction is awesome. I was able to build the counter easily after lesson 5.
@paulmcwhorter
@paulmcwhorter 2 ай бұрын
Excellent!
@milovanriel1
@milovanriel1 2 жыл бұрын
Hello Paul, 51Y old and sales in Space Sector (satellite ground stations for EO). I finally love having you as my main hobby now and am very glad in following your very well-explained tutorials. I can not wait to what challenging projects you will bring us. Keep up the good work. Need to go... to your lesson 7
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Welcome aboard!
@user-gp8vr6mp3m
@user-gp8vr6mp3m 8 ай бұрын
Hi Paul, These tutorials are great! I couldn't do it without them. Thank you for the training. Ray
@michaelmacauley1055
@michaelmacauley1055 Жыл бұрын
Thank you, Paul - I have a model railroad I am trying to add crossing gates with lights using the Arduino, IR sensors, and relays. I am only on Tutorial 6 but I know this has already given me so much confidence. Can't wait to see more.
@wjb2
@wjb2 3 жыл бұрын
Hi Paul, now retired (67)and come from a mechanical Engineering and IT training and installation background. So during Covid lockdown here in the UK to keep me mentally active i have just started looking at the Arduino world. I find your videos easy to follow and enjoyable to watch. Typical of retired Techies i did your lesson 5 home work and failed miserably 😫 . Poor connections and short cutting the cut and paste, using find and replace. ooops lesson learned engage grey matter and stop being lazy. now off to do the 8 bit coding. many thanks Bill.
@memirandawong
@memirandawong Жыл бұрын
Programmed and built it! Some minor syntax snags but got it working in an hour. Thank you!!! I spent decades as a PCB layout designer, but you don't learn this stuff doing that. What I do have is immense familiarity with the discreet components. So much fun! I feel like a kid! LOL
@jakedomoto6802
@jakedomoto6802 2 жыл бұрын
Hey Paul! First of all thank you so much for the work you put into these tutorials. I found you on KZbin through a quick search and after watching your first tutorial I ordered my kit and jumped right in. Today is my second day and I just finished my LED binary counter. (I actually did mine as homework so I wired it differently on the breadboard and only did 1-10) but it turned out fantastic and worked perfectly the first time. I was so proud I posted it on facebook and snapchat ha ha. I can't wait to see what else you have in store for me to learn. PS: I always get a hot coffee when you say to grab an iced coffee. Hope you don't mind!
@ethmanolboy6816
@ethmanolboy6816 3 жыл бұрын
Hi Paul, I also did the homework from lesson 5 and pretty much did all the same stuff you did by accident, with the only exception being the naming of the 'int' and the lay out of the LEDs. These lessons are very helpful, easy to follow and are just a great way to wind down after a long day, thank you.
@epic_kenobi_gamer6971
@epic_kenobi_gamer6971 3 жыл бұрын
I did do this as my homework and I laid mine out in series in the one row rather than across the board and in the column in which I had my first LED and under that the ground I connected the rest of the LED's too that column and it worked fine, so it was nice to watch the different way in which u have done. Loving these tutorials.
@markvalender
@markvalender 2 жыл бұрын
Hi Paul, I was looking for a basic electronics kit for my grandson and stumbled onto your tutorials. I have always been fascinated by electronics but never had the time or resorce to look into the subject. I have now watched the first 6 of your tutorials and am getting really hooked. Ive not purchased a kit as yet, so have not been doing my homework either. (sorry) I am 7 years younger than Roberto from Brazil, so feel I am never too old to learn new stuff! I'm 68 and from Leicester England. My grandson is 5 so I shall wait a couple of years befor I introduce him to your very thorough and easy to understand tutorials. Thank you.
@matthewjohnson3260
@matthewjohnson3260 3 жыл бұрын
I'm about a year after you posted this, but since you asked, I do try to do the homework assignments. I'm starting from scratch with your video series being the full extent of what I know about wiring, breadboards, and arduinos. That being the case, so you know, I have been able to do all the coding with what you've taught, but I was not able to fully do the wiring from Tutorials 3 (using 3 LEDs) or 5 (using 4 LEDs) as I did not know until this lesson how to connect multiple lines to the single ground on the arduino using the (-) row on the breadboard. These lessons are fantastic, and are perfectly paced and have the exact right amount of explanation. Very well done, and very much appreciated. Now excuse me while I go get some more iced coffee and prepare for Tutorial 7.
@user-hv2pw1fi9v
@user-hv2pw1fi9v 5 ай бұрын
Hi Paul, your teaching is amazing! Ive just completed the homework for the LED clock 0-31, so clear and precise, taking the time to understand how things are actually working has made it so much easier, also the laying out of circuits, the use of the whole breadboard, the copy and paste tips. These are just so helpful!
@cboyles
@cboyles 2 жыл бұрын
Hi Paul! Your Lesson 5 was so excellent that I was able to do the homework on my own. I then “cleaned” it up as I followed along with you in Lesson 6. Still amazed at how exciting it is it turn a light on! Thank you for the great lessons.
@tomroberts3851
@tomroberts3851 Жыл бұрын
I completed the homework with no support, there's no way I could have done this a few days ago, thanks so much, I'm loving these tutorials!!!!
@thomasperry772
@thomasperry772 5 ай бұрын
A friend of mine recommended watching your instruction videos to learn to code/program arduino. Best decision ever. Your teaching style is impeccable. I completed my homework from the last video a little differently. I have a 500 ms pause between each number and my LEDs come on for 500 ms. I never thought I would even be as far as I am right now and you have made that possible. Thank you so much!
@golanoski1
@golanoski1 7 ай бұрын
I was able to complete the assignment before watching this video (I even remembered to declare a variable for the delay :-)). My ground was done less efficiently but it still worked. This review is extremely valuable as a tool to learn where we may have gone wrong and what could have been done better, so many valuable tips (such as using the long ground row), I got an Arduino for Christmas from my wife so I could learn to teach our young daughters about electronic prototyping, programming and S.T.E.M in general when they get a little older (currently 4 & 1y.o). this has been tremendously helpful. thank you again Mr. McWhorter.
@TheSelfUnemployed
@TheSelfUnemployed 2 жыл бұрын
Did the homework on my own and i am super grateful for the lessons you provide us! Production value is top quality in 2022!
@thomasgalligan5662
@thomasgalligan5662 5 ай бұрын
Done this on my own but still watched this video to verify my work. Love your teaching style I have picked up more from this video series so far than I have picked up on my own. Thank you
@nathantshava4921
@nathantshava4921 2 жыл бұрын
Hi Paul, I completed it before watching this video. I had it all working exactly the way you had. I am absolutely enjoying the sessions. Thanks so much.
@gene328
@gene328 11 ай бұрын
I've been trying to program an Arduino for a long time, and I just didn't get it for some reason. After watching you a couple of times I started getting it. I'm 75 years old and it's getting a little harder to remember and understand things. Now I know it's not my age it's that I just didn't understand. It has something to do with you being a really good teacher. I did the homework for lessons 5 and 6 and was able to write the sketch on the homework for lesson 6. I didn't quite understand what you wanted and I made a few mistakes but was able to find what was wrong and fix it. It didn't take long and I got it working. I am really happy about this now. Thank you for being there. Gene
@user-cq7dj6op6q
@user-cq7dj6op6q Жыл бұрын
Замечательные уроки. Спасибо Paul McWhorter за ваш труд. Я пересмотрел много уроков других авторов по ардуино. но остановился на ваших уроках и изучаю их. пересматриваю по несколько раз. Все очень доходчиво и интересно.
@paulmcwhorter
@paulmcwhorter Жыл бұрын
Я очень рад, что они вам понравились. Спасибо за комментарий. Да благословит Вас Господь!
@57beanyboy
@57beanyboy 2 жыл бұрын
As an experienced teacher myself and as a Principal that has managed many probationary teachers, I can say with some authority that your lesson plan is well set out, your speed of deivery is just at the right pace, your tone of voice is reassuring, your knowledge level is obviously very high and the video presentation is outstanding. I am really enjoying being part of your class, thank you Paul.
@PrivateEvans
@PrivateEvans 2 жыл бұрын
Was able to write it myself between videos thanks to the first lessons. Then watched and compared your method. Really enjoying your clarity of explanations and building of understanding rather than just what to do.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Fantastic!
@user-xo2on4ru1c
@user-xo2on4ru1c 11 ай бұрын
Hi Paul from Scotland just started with ardunio trying to learn for my flight sim the way you teach i think is wonderful so easy to follow you thank you
@dcrickerson7611
@dcrickerson7611 2 жыл бұрын
I'm enjoying these and yes I do my homework. I'm 72 years old and have been retired for ten years. You're a great teacher Paul.
@paulmcwhorter
@paulmcwhorter 2 жыл бұрын
Wonderful!
@user-hm3ft7cr3d
@user-hm3ft7cr3d 7 ай бұрын
Love the work you do Paul. very simple and very clear. it could seem boring at times but going through all steps and making sure we understand is great and so important. thank you for your work 😊
Arduino Tutorial 7: Understanding the Arduino Analog Write Command
15:53
Arduino Tutorial 5: Understanding and Working With Binary Numbers
24:49
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 32 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,7 МЛН
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 563 М.
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Рет қаралды 2,5 МЛН
Can You Forge Tungsten?
16:14
Alec Steele
Рет қаралды 550 М.
Building a Relay-Powered Pi Machine
17:35
The Science Elf
Рет қаралды 303 М.
Arduino Tutorial 9: Understanding Ohm's Law and Simple Circuit Design
29:33
Arduino Tutorial 3: Understanding How Breadboards Work
30:47
Paul McWhorter
Рет қаралды 662 М.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Каха заблудился в горах
00:57
К-Media
Рет қаралды 10 МЛН