Good one there. I entered the code as you explained it, then paused the video before you executed it. My sketch compiled and loaded fine. It took me a while to figure out that I had to click Send or Enter to execute the read. I had the serial monitor set to "Both NL and CR", and the Serial Monitor would print an extra line saying "Your Number is 0"! Changing to "No Line Ending" fixed it. BTW, this lesson covered new stuff for me, had never seen Serial.available or Serial.parse before. Keep challenging us!
Thank you Paul, you are a great teacher. I was wondering, the setting we had to choose was "No line ending", is it also possible to add a line ending. How would such look like?
Maybe you could mention that the Serial Monitor should be set to "No Line Ending" otherwise you will get an extra line/0 each time. Took me a while to figure that one out.:-)
Yes! Thank you, I literally just spent half an hour changing all sorts of code and trying to troubleshoot why I thought my While loop wasn't working properly.
Paul, you are a very special person, teaching HS is not easy, and with your engineering knowledge you could make tons of money in the private sector, yet you chose to help these HS students get started in engineering. I hope they appreciate what you are giving them. Thank you very much, my God bless you greatly
I absolutely enjoy your teaching method :) "Hold your breath", "Boom","Noo!". It really makes learning a lot fun, especially for a subject like this. I am so much thankful!
Just a tip for other viewers: I had an issue where serial monitor would ask how many blinks, I would enter, and it would work properly. But when it void looped, it would double prompt me with "How many blinks do you want?". The issue was my fault - you need to change the serial monitor from "Newline" to "No line ending" in the drop down menu next to baud rate, in the lower right-hand corner. This is something that Paul suggested many tutorials ago, but I didn't change until now. This guy knows his stuff so pay attention =)
Watched videos up to this point, and it made me always wait for the "NOOOOO" as intentional mistake/blunder and the "BOOM" as eureka :) Good thing the sketch compiler only takes a few seconds to compile short codes, I don't want Paul to hold his breath long :) I'm a professional programmer and an electronics-hobbyist, and I'm having a great time learning through these videos on how to finally see my codes work on the physical world via arduino (and through these lessons). Thank you Paul McWhorter! I will be completing all your lessons here.
I like putting in a fake processing loop with a message like "Processing...beep-beep-bop-boop..." just to give the little projects a little more life to them. I love this series so much and can't wait to start adding more sensors into our circuits!
You're the first person who is actually able to teach this subject in a way that I can understand. Thank you very much for the content, I find myself writing and saving all the sketches you are teaching us and leaving comments on them as reminders where I went wrong so that when I refer back to them it helps fault find. I've made it to lesson 18 and I'm hooked!
Mr McWhorter....just want to say, I am a farmer and a truck driver, but Ive always been kind of an amateur scientist & engineer. I havent had much formal education, but Ive been educating myself in many subjects for many years because its just what I love to do. Besides, a farmer has to wear many hats. Anyway, I want to thank you for doing what you do. Its a tremendous benefit to people like me :)
The Arduino & Raspberry technologies have enormous potential in agricultural applications, and I hope to soon be putting them to use as much as possible
Excellent vid, I started learning computers 55 years ago but had to drop it, now am right back into it , Paul is a big part of my comeback thank you Cheers Robin from Australia
You're awesome Paul! Learning a lot from you. Don't pay attention to these hateful messages, it's their fault they can't debug their own code. Thanks for these videos!!!
I had a semi colon ; at the end of my for loop and it caused it to only blink once. Took me half hour to figure it out. but once i removed it, the code ran fine. Loving these videos. The second coffee spill made me laugh out loud for real. You are such a great teacher Paul, I am enjoying every lesson.
Everytime Paul mentions the coffee, rumble or blue and green led for special occasions he really makes my day I wish I had a teacher like Paul in school
Love the way you teach in your magnificent videos. Always a pleasure when a teacher really show the “traps” in programming and focus on the important basic skills. A bunch of thumbs up to you.
I'm 52 years old and I'm learning a lot with your videos, they're easy to understand and I can already do some circuits. Please continue with the lessons. Thanks
I love your quote : See the power. This gives us power to get our wishes into Arduino. Not this but also that : I am in control of my destiny. It is up to me how many times I wanna blinks the led. You are not just a great teacher but you are great philosopher also. Your explanation, code writing style and teaching style are so different from the other. God bless you. Thank you.
Start playing with my Uno board now. Came back and did all the programs from the beginning of the series. My son will love this. I have a BSEE from Berkeley. I love how you break this embedded programming into very accessible demo lectures. Love it Paul, Nguyen Le
great video love the "pause the video and see if you can do this" tasks and the home work you put out really help to get the brain cells working please keep those coming
Mr. McWhorter, I just want to say thank you so much for these lessons. Not only am I having a blast learning something new, but you are brightening up a pretty dark time (i.e. social distancing, pandemic, etc). You make us laugh while you teach us programming, troubleshooting, and your love of ice coffee. :-)
I've been following along since the start here and this is where it really gets interesting and fun for me. If only all teachers could adopt your teaching style Paul. Looking forward to heading on to the future lessons. PS - When I write the code on my own now I subconsciously hold my breath.😂The golden rule, besides the ice coffee. Cheers !
Paul, I am Peter from Belgium. I just retired. I can now focus on my hobbies. one of them is 3D printing! I have several projects that I want to combine with Arduino. Arduino is totally new to me. I had already bought a tutorial kit with accompanying book for beginners. It soon became unclear to me. Now with your way of teaching things are going much better so far. I understand the commands much better and all commands so far have all been successful. I also take notes with my own words to better understand everything. I know that there are now more than 60 lessons. You explain it all in great detail. Arduino and programming language is totally new to me, but at least at your pace I can follow it. The goal is to make my 3D projects work with external 12V or 24V power supplies. I think there's a lesson to be learned from this. But first through all the other wonderful lessons. Keep it up Paul!
Love your channel and the Arduino tutorial, I am new to this topic and found this to be just the best out there. Thanks for the great tutorial and time.
Paul this tutorial was just the best. I love your easy going nature and the way you impart your knowledge. Thanks again for such an insightful lesson. 😀
Thanks for these videos, Paul! My Arduino kit sat in a closet for a year because the kids lost interest pretty quickly since they haven't learned to program yet and didn't have a great resource to get started. I just just found your videos and speeding through them. I'll definitely now get them started from the beginning. They are perfectly paced for them to learn the programming at the same time. Keep up the great work.
I thought the ear pinching was going well to begin with, then I changed ear. This has been a massive lesson, and it looked like you might have been struggling with allergies yet you still made it. Thank you.
I am a retired elderly missionary surgeon from Australia, who has been recently introduced to Arduino. Learning to code is an entirely new experience, which I am enjoying . I am now up to lesson 20, but find I need to go back over the previous lessons to check my coding. It would be most helpful to be able to go to a particular lesson, perhaps at its conclusion, and view a single page of the complete code, rather than scroll through the lesson to find a particular entry. I join many others to commend your lessons, both technical and biblical.
This was a fun one (actually, they are all fun!) A bit more explanation on the Serial.available() command could be useful here, for example would I ever use it for anything other than this case of waiting on the user to enter a value. Also I'm curious if there is a way to have a user enter two or more unique inputs during the run. Maybe that is covered in subsequent lessons? Way to go on coding through the impediment of spilled coffee - handled like a pro! The important thing is it did NOT hit the Arduino! :D
You can do 2 or more inputs before anything happens. One example is using another subsequent While to wait for the 2nd input. I'm starting out on this coding stuff so can't suggest anything fancier.
You are the best Paul. Fortunately most people are appreciative, but perhaps some don't realize you don't have to do this for a living - you do it because helping people is a noble endeavor. Regardless, people walk different paths that come here and life can be stressful and frustrating. If you fall into that category, just learn to be resourceful and persistent, and you will be rewarded.
I had to stop the video several times. I was missing the closed bracket at the end. This is what I like so much is you (Paul) letting me figure it out sometimes. That's the way I learn! It's there and I missed it lol. Great video!
Your so called ramble adds to the fun in the learning, I have past the age to be come an engineer but that's not stopping me from the learning, apart from that you are getting me through these lockdowns with interest plus the pleasure of learning such an array of program uses.
According to the Arduino reference; the internal pull-up resistor is enabled by default when pins are undeclared, and the resistor acts to limit the available current. Unfortunately the Atmega328 datasheet offers only basic schematic diagrams of the I/O pins so I'm unable to explain exactly how this happens. Source : www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/
Hi you are employing 16 bit integer in the declaration. 2^16 = 65536. so when you input a number larger than 65535 it overflows and starts filling the register with the remaining value. Here, when you enter 111,111,111 its starts filling the register but it overflows, so it starts filling the register again but since your number is very large it repeats the process over and over again. 1495 times actually. After repeating it 1495 times it has a remainder of 27591. And thats the value it shows. 111,111,111 / 65536 = 1495.42100525 0.42100525 * 65536 = 27591 !!!!
Loving this course still. It brings insight on OOP principals of C++ within the Arduino environment. Your explanations to the logic is very precise and memorable. Thank you for being so amazingly unique. It honestly helps recall the information later, in the field. C++
Great Tutorials Paul loving it , I have just started getting into Arduino just before my retirement in 2018, I am now just getting the grasp of it, Thanks to you.
when i wrote the code, it waits for me to enter my number, and displays the number i entered... it then tells me my number is 0 and asks for my number again
Hi Pepsi, I had this same issue! After digging I found that in the Serial Monitor, you likely have it set to "new line" but should set it to "no line ending." This worked for me and should for you too if your code is written exactly like Paul's. Happy coding!
Videos are just the right length. I really like the way you teach because it makes easier to remember what things to check over and over so the code would compile the first time I try it. I caught the "j=j+2" immediately while you were coding the example. However, I did not catch that you did not write the "pinMode" command, because my program compiled the first time. I keep making mental notes that if I need to use the pins, then I have to set it up first and then use it, so "pinMode" and "digitalWrite" or "analogWrite" commands always go together, no matter what. Thank you again for your time and dedication you put in these tutorials.
Your doing a great job by not giving us all the answers that's the mark of a good teacher. You get nothing for free in life and working for it makes it stick in the old cranium better,Thanks Paul.
Paul there will always be people that want the answers handed to them and I get it they get frustrated and need to feel like they are moving forward we all do but I think there are way way more of us who like discovering things for ourselves after gaining a working knowledge we adapt and learn. I stand by what I said before your doing a great job and I for one appreciate it as I am sure many others do to so keep it up and don't worry to much about naa sayers this world is made of many types of people and there are more of us than them.
Mr.Paul i just want to say thank you for all that you are doing on this channel may god bless you.I am 14 years old and just desided to become an engineer and you are the most perfect teacher i could ever ask for.The way you explain the steps make me more interested in engineering thank you so much.
Really enjoying your tutorials. Old timer here. I have been in electronics and field service for years. Programing always seemed like it was too much to explore. Your videos really opened up this part of electronics for me and you present it quite well. Please keep’em coming. I found your fusion 360 and 3D printing very interesting as well. Which I could have a student in your class when I was in school!
Hello professor Paul, this class was very good, I managed to do everything that was presented, pausing the video and making an effort to try to achieve it. I always hold my breath, I find it very funny, just like the numbers in the loop, hehe. Thank you for sharing this class with us.
I’m going to date myself and share that I learned Fortran using the punch card reader in college. We gave our stack to the student assistant and waited for the errors and ridicule to come back on a print out. Writing code for the Arduino is so much better. You can spot the errors without the ridicule . These lessons are fun to do. Thanks for doing them.
17:20 I Put the video on pause there and I'm happy I figured both issues out pretty fast! Missing "pinMode" before and "for" loop issue, I needed to test it on my sample program!
Dear Paul, I really love your videos. As I'm a PLC engineer of origin, I'm used to coding in LD or FB but not Arduino. Although I've also spilled my coffee, and haven't been able to sleep for the last 4 days, as I've watched your videos and drunk a lot of ice coffee! Your videos are very useful!
Hello dear Paul McWhorter. I'm from Hungary and I"m student of electrical engineering and I write my thesis with arduino, so your tutrial videos are a huge help for me. I just would like to say thank you so much and sorry for my bad English :)
Thanks, Paul, you are one of the best teachers I have ever seen. I decide to study Arduino just to not waste time during my summer break (and I just finished a course on C++ introductory programming). You know what, this is the perfect place.
I have never been interested in programming but with the Arduino and your lessons I am enjoying both. Think it is because I see the results of what the programming is doing instantly. Thank you.
the new series of Arduino is great. no need to change anything. I've been on a roll here coding, debugging, and creating new projects thanks to you. Great videos, great material, everything is just great. Thank you
I tried two LEDs (red and yellow) with two inputs asking how many times I want to blink the red LED, then the same with the yellow LED. Turns out you can store your inputs, then you can use separate "for loop"s for each LED e.g blinks for red LED then 9 blinks for yellow LED. I was VERY happy to see it working. Thanks Paul!
Paul, your teaching is awesome. Perfect speed, everything , including entertainment. I am slowly working through you tutorials, takes me a while for things to sink in. Thank you soo much. Rick
I get flustered at times simply because I can’t keep up with the typing and absorbing what I’m typing ...then I remember to pause, rewind and start over, sometimes several times but I finally get it. I realize that people who can keep up aren’t being held back. Said it before but I’ll say it again, sure wish this feature was available when I took my trade courses many years ago. Also, really learning the importance of entering the code correctly, 🤨 Hate it when your code works and I’m stuck for a while de-bugging. Seems like a lot to take in and if I were to comment, I need more assignments to do on my own to make sure I am getting it put in the grey matter, in large part because mine is extra grey. Thanks again Paul.
Wally Murray if Paul doesn't give homework on a lesson, then play around with the code and circuit so you will learn more about how it works or doesn't work. Hope you are learning from the debugging and remembering. Mine is grey too and not remembering so easily, even though most of this is a review for me.
Paul, you are gifted as a teacher. Thank you for the Tutorial series. The suggested Super Starter Kit is a great value and I look forward to following through with all your Arduino lessons. Best wishes, George
These tutorials are awesome! And I love your sense of humor Paul. I almost grabbed the blue LED by mistake but thankfully I used the red one for this lesson.
I'm a high school student stuck in quarantine over the summer break so I thought this would be one of the saddest summer breaks I've had. I got my arduino kit in the mail a few days ago and I realized all I need to get through this is your videos and my arduino. Thanks for the awesome vids!
So happy to read this. Please, go through all the lessons, then think about moving to the Artificial Intelligence on the Jetson Nano series. Lot of good stuff here for you to learn
Hi Paul, Thank You for Your hint with "No Line Ending", otherwise I would have spent my youth looking for a mistake. I'm still with you every lesson, slowly trying to make small adjustments. It's still holding me and drawing me in more and more...
please grandpa and I am 13 years watching you from Ghana I don't understand something from lesson 18, you said we are going to read from the serial monitor give me much insight on that and the the other serial commands could you explain more on them for me please, but all together thanks for what you are teaching it has really inspired me to be someone like you one of the greatest engineers in the world and i am pursuing that by starting with arduino. Thanks grandpa paul
I played with this a bit and made it ask me two questions, gallons of gas and miles driven, and then calculate the miles per gallon. It was a fun exercise!
Guys if you are having trouble, make sure you have your serial monitor set to "No Line Ending". Otherwise you can get unpredictable results.
Good one there. I entered the code as you explained it, then paused the video before you executed it. My sketch compiled and loaded fine. It took me a while to figure out that I had to click Send or Enter to execute the read. I had the serial monitor set to "Both NL and CR", and the Serial Monitor would print an extra line saying "Your Number is 0"! Changing to "No Line Ending" fixed it. BTW, this lesson covered new stuff for me, had never seen Serial.available or Serial.parse before. Keep challenging us!
omg this was my problem tytytytytytyty lol
Thank you Paul, you are a great teacher. I was wondering, the setting we had to choose was "No line ending", is it also possible to add a line ending. How would such look like?
At last - this fixed my issue too. Many thanks
Thank you so much for mentioning this! I was pulling my hair out trying to figure out why my code wasn't working.
Maybe you could mention that the Serial Monitor should be set to "No Line Ending" otherwise you will get an extra line/0 each time. Took me a while to figure that one out.:-)
got me too, then i made the change👍
Yes! Thank you, I literally just spent half an hour changing all sorts of code and trying to troubleshoot why I thought my While loop wasn't working properly.
This drove me nuts. Thank you so much.
Thanks for that comment. Saved me some thinking ! Lol
Huge thanks. I was hoping someone mentioned this in the comments, and it only cost me 2 minutes, not 2 hours of frustration.
The real reason for RUclips to begin with , is having a channel like this ! One of the best teachers I’ve ever seen
ضيخون
I almost gave up on Arduino programming, then I came across this channel. Thank you sir !
Paul, you are a very special person, teaching HS is not easy, and with your engineering knowledge you could make tons of money in the private sector, yet you chose to help these HS students get started in engineering. I hope they appreciate what you are giving them. Thank you very much, my God bless you greatly
I absolutely enjoy your teaching method :) "Hold your breath", "Boom","Noo!". It really makes learning a lot fun, especially for a subject like this. I am so much thankful!
purple_hat 54 yep, I hold my breath every time I compile, and I guess I get that “boom” moment every time it compiles without error, 🤣🤣it
the is funny
Yes I like that too. I have learned so much from Pauls video's, Ha video's! now I'm showing my age 😄
Just a tip for other viewers:
I had an issue where serial monitor would ask how many blinks, I would enter, and it would work properly. But when it void looped, it would double prompt me with "How many blinks do you want?".
The issue was my fault - you need to change the serial monitor from "Newline" to "No line ending" in the drop down menu next to baud rate, in the lower right-hand corner. This is something that Paul suggested many tutorials ago, but I didn't change until now. This guy knows his stuff so pay attention =)
when i did change it to "no line ending" my code stopped working!!!! :D
Watched videos up to this point, and it made me always wait for the "NOOOOO" as intentional mistake/blunder and the "BOOM" as eureka :) Good thing the sketch compiler only takes a few seconds to compile short codes, I don't want Paul to hold his breath long :)
I'm a professional programmer and an electronics-hobbyist, and I'm having a great time learning through these videos on how to finally see my codes work on the physical world via arduino (and through these lessons). Thank you Paul McWhorter! I will be completing all your lessons here.
I like putting in a fake processing loop with a message like "Processing...beep-beep-bop-boop..." just to give the little projects a little more life to them. I love this series so much and can't wait to start adding more sensors into our circuits!
Me: Already doing Pinmode.
Paul: Not doing it.
Me: Thinking have i outsmarted Paul. :)
At the end you were right!
You're the first person who is actually able to teach this subject in a way that I can understand. Thank you very much for the content, I find myself writing and saving all the sketches you are teaching us and leaving comments on them as reminders where I went wrong so that when I refer back to them it helps fault find. I've made it to lesson 18 and I'm hooked!
Same XD
Some syntaxes have changed in 4 years like the "string", but still these lectures are truly gold. Thanks a lot sir.
Mr McWhorter....just want to say, I am a farmer and a truck driver, but Ive always been kind of an amateur scientist & engineer. I havent had much formal education, but Ive been educating myself in many subjects for many years because its just what I love to do. Besides, a farmer has to wear many hats. Anyway, I want to thank you for doing what you do. Its a tremendous benefit to people like me :)
The Arduino & Raspberry technologies have enormous potential in agricultural applications, and I hope to soon be putting them to use as much as possible
Farmer's and truckers are part of the backbone of America.
Paul, you are one of the best teachers I've ever had, it's a pleasure to listen to your lectures, thank you so much.
You are very welcome
it's hard sometimes to explain to my family why I'm yelling at my computer screen
Same with me
You, young lad, just read my fookin mind.
lol
1 minute of silence for who doesn't get the joke
😂😆
I like the idea of the user getting the chance to add data they get to interact with the system instead of just watching. Thanks Paul.
Paul you are a great teacher...i wish i had a teacher like you in my high school.Your way of teaching is superb..keep going.
Excellent vid, I started learning computers 55 years ago but had to drop it, now am right back into it , Paul is a big part of my comeback thank you
Cheers
Robin from Australia
You're awesome Paul! Learning a lot from you. Don't pay attention to these hateful messages, it's their fault they can't debug their own code.
Thanks for these videos!!!
I literally have never seen a hate comment on this channel
I had a semi colon ; at the end of my for loop and it caused it to only blink once. Took me half hour to figure it out. but once i removed it, the code ran fine. Loving these videos. The second coffee spill made me laugh out loud for real. You are such a great teacher Paul, I am enjoying every lesson.
I know we are still just starting out but now it is getting interesting and useful. Your tutorials are very well done. Thank you.
Everytime Paul mentions the coffee, rumble or blue and green led for special occasions he really makes my day I wish I had a teacher like Paul in school
Love the way you teach in your magnificent videos. Always a pleasure when a teacher really show the “traps” in programming and focus on the important basic skills. A bunch of thumbs up to you.
I'm 52 years old and I'm learning a lot with your videos, they're easy to understand and I can already do some circuits. Please continue with the lessons. Thanks
i am in 6th grade now and during this summer other than plying video games all day I'm listing to u
thx man
I love your quote : See the power. This gives us power to get our wishes into Arduino. Not this but also that : I am in control of my destiny. It is up to me how many times I wanna blinks the led. You are not just a great teacher but you are great philosopher also. Your explanation, code writing style and teaching style are so different from the other. God bless you. Thank you.
Well said!
@@paulmcwhorterThank you.
thanks for teaching sir!!🙏 .Also now i got two habbit of holding breath before compiling and saying boom after code success!☺️
Start playing with my Uno board now. Came back and did all the programs from the beginning of the series.
My son will love this. I have a BSEE from Berkeley. I love how you break this embedded programming into very accessible demo lectures.
Love it Paul,
Nguyen Le
Excellent!
great video love the "pause the video and see if you can do this" tasks and the home work you put out really help to get the brain cells working please keep those coming
Aside from forgetting my semicolon a couple of times I was successful with this tutorial. Another big thanks for all that you do.
Mr. McWhorter, I just want to say thank you so much for these lessons. Not only am I having a blast learning something new, but you are brightening up a pretty dark time (i.e. social distancing, pandemic, etc). You make us laugh while you teach us programming, troubleshooting, and your love of ice coffee. :-)
I've been following along since the start here and this is where it really gets interesting and fun for me. If only all teachers could adopt your teaching style Paul. Looking forward to heading on to the future lessons. PS - When I write the code on my own now I subconsciously hold my breath.😂The golden rule, besides the ice coffee. Cheers !
Thank you so much Paul. I am new to arduino and this series is really helping me out.
Paul,
I am Peter from Belgium. I just retired. I can now focus on my hobbies. one of them is 3D printing! I have several projects that I want to combine with Arduino. Arduino is totally new to me. I had already bought a tutorial kit with accompanying book for beginners. It soon became unclear to me.
Now with your way of teaching things are going much better so far. I understand the commands much better and all commands so far have all been successful. I also take notes with my own words to better understand everything. I know that there are now more than 60 lessons. You explain it all in great detail. Arduino and programming language is totally new to me, but at least at your pace I can follow it.
The goal is to make my 3D projects work with external 12V or 24V power supplies. I think there's a lesson to be learned from this. But first through all the other wonderful lessons.
Keep it up Paul!
Another educative lesson from the great teacher. great work.
He is one of the most experienced engineer as well as professional teacher who i have ever seen in any Electronic classes.
I am very grateful.
Love your channel and the Arduino tutorial, I am new to this topic and found this to be just the best out there. Thanks for the great tutorial and time.
Paul this tutorial was just the best. I love your easy going nature and the way you impart your knowledge. Thanks again for such an insightful lesson. 😀
Glad it was helpful!
Pandemic brought me here, thanks sir Paul. You're far greater than my University Professors.
I decide to study Arduino just to kill time during my summer break. And this is the perfect place
Paul thanks for everything you have done so far. I appreciate your enthusiasm to teach something new in every episode. Greetings from Turkey.
Hello Mr. Paul
I'm an applied informatics student and I can't wait for the more advanced tutorials
Thanks for these videos, Paul! My Arduino kit sat in a closet for a year because the kids lost interest pretty quickly since they haven't learned to program yet and didn't have a great resource to get started. I just just found your videos and speeding through them. I'll definitely now get them started from the beginning. They are perfectly paced for them to learn the programming at the same time. Keep up the great work.
I caught the mistakes as soon as you purposely made them Paul!!! Trucking right along! Hope to be caught up soon! Keep on keepin on!
I thought the ear pinching was going well to begin with, then I changed ear.
This has been a massive lesson, and it looked like you might have been struggling with allergies yet you still made it. Thank you.
I was ready to rumble... :(
I am a retired elderly missionary surgeon from Australia, who has been recently introduced to Arduino. Learning to code is an entirely new experience, which I am enjoying . I am now up to lesson 20, but find I need to go back over the previous lessons to check my coding. It would be most helpful to be able to go to a particular lesson, perhaps at its conclusion, and view a single page of the complete code, rather than scroll through the lesson to find a particular entry.
I join many others to commend your lessons, both technical and biblical.
the numbers off blinks i could not seem to work out but in the code if you change this line
for(j=0; j
This is the best Arduino learning series there is, PERIOD! Don’t take any shortcuts or you’ll pay the price later or even give up on Arduino.
This was a fun one (actually, they are all fun!) A bit more explanation on the Serial.available() command could be useful here, for example would I ever use it for anything other than this case of waiting on the user to enter a value. Also I'm curious if there is a way to have a user enter two or more unique inputs during the run. Maybe that is covered in subsequent lessons? Way to go on coding through the impediment of spilled coffee - handled like a pro! The important thing is it did NOT hit the Arduino! :D
You can do 2 or more inputs before anything happens. One example is using another subsequent While to wait for the 2nd input. I'm starting out on this coding stuff so can't suggest anything fancier.
You are the best Paul. Fortunately most people are appreciative, but perhaps some don't realize you don't have to do this for a living - you do it because helping people is a noble endeavor. Regardless, people walk different paths that come here and life can be stressful and frustrating. If you fall into that category, just learn to be resourceful and persistent, and you will be rewarded.
You kinda had an Austin Powers moment there at the 10min mark :) lol love your videos!
I had to stop the video several times. I was missing the closed bracket at the end. This is what I like so much is you (Paul) letting me figure it out sometimes. That's the way I learn! It's there and I missed it lol. Great video!
I was waiting for this!!!
Your so called ramble adds to the fun in the learning, I have past the age to be come an engineer but that's not stopping me from the learning, apart from that you are getting me through these lockdowns with interest plus the pleasure of learning such an array of program uses.
Why did the LEDs work at all (albeit dimly) before you initialised the pin?
According to the Arduino reference; the internal pull-up resistor is enabled by default when pins are undeclared, and the resistor acts to limit the available current. Unfortunately the Atmega328 datasheet offers only basic schematic diagrams of the I/O pins so I'm unable to explain exactly how this happens.
Source : www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/
@@danthemancasey Thanks for that explanation. Appreciate it.
I find your tutorials to be very easy to follow and are well paced. You are also entertaining keeping the subject matter light. Thanks.
Question: Why is if I input 9 ones 111111111 serial monitor shows a value of 27591?Just curious
maybe it is too large, overflow the capacity of arduino to handle a limited value of integer
U gotta put a double instead of an int
Hi you are employing 16 bit integer in the declaration.
2^16 = 65536.
so when you input a number larger than 65535 it overflows and starts filling the register with the remaining value.
Here, when you enter 111,111,111 its starts filling the register but it overflows, so it starts filling the register again but since your number is very large it repeats the process over and over again. 1495 times actually. After repeating it 1495 times it has a remainder of 27591. And thats the value it shows.
111,111,111 / 65536 = 1495.42100525
0.42100525 * 65536 = 27591 !!!!
@@prabhakaranbaskar1400 Any extra bits go into the bit bucket.
BOOM!! one of the best teachers I've ever had , Thank you for sharing your knowledge with us, you will never be forgotten ! Your student from Tunisia.
Love the cringe on compile. You are the Bob Ross of Arduino ("Beat the devil out of it!").
truest comment ever.
"And we got a happy little orange color"
Loving this course still. It brings insight on OOP principals of C++ within the Arduino environment. Your explanations to the logic is very precise and memorable. Thank you for being so amazingly unique. It honestly helps recall the information later, in the field. C++
Now I never use the blue LED... XD "it is for special occasions" haha
Great Tutorials Paul loving it , I have just started getting into Arduino just before my retirement in 2018, I am now just getting the grasp of it, Thanks to you.
when i wrote the code, it waits for me to enter my number, and displays the number i entered... it then tells me my number is 0 and asks for my number again
Hi Pepsi,
I had this same issue! After digging I found that in the Serial Monitor, you likely have it set to "new line" but should set it to "no line ending." This worked for me and should for you too if your code is written exactly like Paul's.
Happy coding!
I had figured out that j=j+2 should be j=j+1 and was shouting at you to notice it( absolutely love it when you put in mistakes for us to debug).
Good day,
I am getting the send number(77) plus an other line with a zero. how can I stop this.
Your number is: 77
Your number is: 0
Thank you
Make sure serial monitor is set to no line ending.
@@paulmcwhorter Thank you
Thanks. I had the same problem ... Now it is fixed :-)
Videos are just the right length. I really like the way you teach because it makes easier to remember what things to check over and over so the code would compile the first time I try it. I caught the "j=j+2" immediately while you were coding the example. However, I did not catch that you did not write the "pinMode" command, because my program compiled the first time. I keep making mental notes that if I need to use the pins, then I have to set it up first and then use it, so "pinMode" and "digitalWrite" or "analogWrite" commands always go together, no matter what. Thank you again for your time and dedication you put in these tutorials.
I love how passionate he is about what he is doing. I would have loved it to have him as a teacher. Thanks Paul
Your doing a great job by not giving us all the answers that's the mark of a good teacher. You get nothing for free in life and working for it makes it stick in the old cranium better,Thanks Paul.
Paul there will always be people that want the answers handed to them and I get it they get frustrated and need to feel like they are moving forward we all do but I think there are way way more of us who like discovering things for ourselves after gaining a working knowledge we adapt and learn. I stand by what I said before your doing a great job and I for one appreciate it as I am sure many others do to so keep it up and don't worry to much about naa sayers this world is made of many types of people and there are more of us than them.
Mr.Paul i just want to say thank you for all that you are doing on this channel may god bless you.I am 14 years old and just desided to become an engineer and you are the most perfect teacher i could ever ask for.The way you explain the steps make me more interested in engineering thank you so much.
Really enjoying your tutorials. Old timer here. I have been in electronics and field service for years. Programing always seemed like it was too much to explore. Your videos really opened up this part of electronics for me and you present it quite well. Please keep’em coming. I found your fusion 360 and 3D printing very interesting as well. Which I could have a student in your class when I was in school!
Hello professor Paul, this class was very good, I managed to do everything that was presented, pausing the video and making an effort to try to achieve it.
I always hold my breath, I find it very funny, just like the numbers in the loop, hehe.
Thank you for sharing this class with us.
Excellent!
Yes, ´No line ending´ is a must. Thank you.
Paul has a natural way of teaching in a fun and easy way to understand even complicated materials. Thank you Paul.
My pleasure!
Even 2.5 years later, these videos are helping folks learn the Arduino. Thx
I’m going to date myself and share that I learned Fortran using the punch card reader in college. We gave our stack to the student assistant and waited for the errors and ridicule to come back on a print out. Writing code for the Arduino is so much better. You can spot the errors without the ridicule . These lessons are fun to do. Thanks for doing them.
17:20 I Put the video on pause there and I'm happy I figured both issues out pretty fast! Missing "pinMode" before and "for" loop issue, I needed to test it on my sample program!
Dear Paul, I really love your videos. As I'm a PLC engineer of origin, I'm used to coding in LD or FB but not Arduino.
Although I've also spilled my coffee, and haven't been able to sleep for the last 4 days, as I've watched your videos and drunk a lot of ice coffee! Your videos are very useful!
Every time he spills his coffee we are reminded of how excited this guy is
Hello dear Paul McWhorter.
I'm from Hungary and I"m student of electrical engineering and I write my thesis with arduino, so your tutrial videos are a huge help for me. I just would like to say thank you so much and sorry for my bad English :)
This project worked PERFECTLY! BOOM!!! I love this series
Thanks, Paul, you are one of the best teachers I have ever seen. I decide to study Arduino just to not waste time during my summer break (and I just finished a course on C++ introductory programming). You know what, this is the perfect place.
I have never been interested in programming but with the Arduino and your lessons I am enjoying both. Think it is because I see the results of what the programming is doing instantly. Thank you.
Cool, thanks!
the new series of Arduino is great. no need to change anything. I've been on a roll here coding, debugging, and creating new projects thanks to you. Great videos, great material, everything is just great. Thank you
I tried two LEDs (red and yellow) with two inputs asking how many times I want to blink the red LED, then the same with the yellow LED.
Turns out you can store your inputs, then you can use separate "for loop"s for each LED e.g blinks for red LED then 9 blinks for yellow LED.
I was VERY happy to see it working.
Thanks Paul!
Paul, your teaching is awesome. Perfect speed, everything , including entertainment. I am slowly working through you tutorials, takes me a while for things to sink in. Thank you soo much. Rick
I get flustered at times simply because I can’t keep up with the typing and absorbing what I’m typing ...then I remember to pause, rewind and start over, sometimes several times but I finally get it. I realize that people who can keep up aren’t being held back. Said it before but I’ll say it again, sure wish this feature was available when I took my trade courses many years ago. Also, really learning the importance of entering the code correctly, 🤨 Hate it when your code works and I’m stuck for a while de-bugging. Seems like a lot to take in and if I were to comment, I need more assignments to do on my own to make sure I am getting it put in the grey matter, in large part because mine is extra grey. Thanks again Paul.
Wally Murray if Paul doesn't give homework on a lesson, then play around with the code and circuit so you will learn more about how it works or doesn't work. Hope you are learning from the debugging and remembering. Mine is grey too and not remembering so easily, even though most of this is a review for me.
Paul, you are gifted as a teacher. Thank you for the Tutorial series. The suggested Super Starter Kit is a great value and I look forward to following through with all your Arduino lessons. Best wishes, George
Wow, thanks!
These tutorials are awesome! And I love your sense of humor Paul. I almost grabbed the blue LED by mistake but thankfully I used the red one for this lesson.
I'm a high school student stuck in quarantine over the summer break so I thought this would be one of the saddest summer breaks I've had. I got my arduino kit in the mail a few days ago and I realized all I need to get through this is your videos and my arduino. Thanks for the awesome vids!
So happy to read this. Please, go through all the lessons, then think about moving to the Artificial Intelligence on the Jetson Nano series. Lot of good stuff here for you to learn
No getting bored during these lessons ! They're great !
I love using this "failure" style teaching--works great for teaching coding! Thanks so much for making Arduino programming so entertaining!
Idk how but your videos might be the funniest and most educational contents on youtube.
This lesson was harder for me to follow... Nice that I can watch it as many times as it takes. Thanks!
Hi Paul, Thank You for Your hint with "No Line Ending", otherwise I would have spent my youth looking for a mistake. I'm still with you every lesson, slowly trying to make small adjustments. It's still holding me and drawing me in more and more...
Such a great lesson, so much info but it doesn't feel like too much or overwhelming! I wish every teacher taught like you!
Glad it was helpful!
I did the part of the blinks by myself, i'm very happy !
please grandpa and I am 13 years watching you from Ghana I don't understand something from lesson 18, you said we are going to read from the serial monitor give me much insight on that and the the other serial commands could you explain more on them for me please, but all together thanks for what you are teaching it has really inspired me to be someone like you one of the greatest engineers in the world and i am pursuing that by starting with arduino. Thanks grandpa paul
I played with this a bit and made it ask me two questions, gallons of gas and miles driven, and then calculate the miles per gallon. It was a fun exercise!
I also forget to set my serial monitor to "Ni line Ending" but fortunately I saw your comment and I saw it in your videos, so thank you for it :)