That's wrong, it should be == because it's conditional
@terrymiller16003 жыл бұрын
Paul, I also am an Engineer but, I went to school in the age of vacuum tubes. I was the RTU Engineer at my local electric utility. Your videos are very professional informative. I do watch every lesson to the end. I also spent 7 years in the Ivory Coast as a Peace Corps volunteer. Thanks for the wonderful classes. I do really appreciate the insight. BTW, Happy Birthday and enjoy your time with Gabrella.
@abdulfx50309 күн бұрын
GABRIELLA! Thank you engineer. I have an electronics engineering degree. Thank you for giving this free tutorial. It was one of the best tutorials I've watched.
@Chris_Bro_aka_MR_PLAT1NEM3 жыл бұрын
GABRIELLA! I'm currently on day 3 of going through these tutorials and I have done them all the way through including the homework in between. This stuff works!
@FEDERICO-tc3wn2 жыл бұрын
Gabriella!
@dema36192 жыл бұрын
you are incredible fast! congratulations, you are a really fast
@billlaird733211 ай бұрын
GABRIELLA! I'm watching all of your Arduino tutorial videos in order and always to the end. I don't do every assignment, but when learning a new important point, I do the assignment to reinforce the learning. You are a Master Teacher and your teaching style is the best I have ever experienced. I have completely understood every lesson. I especially like the in depth explanations of the combination of software, hardware, and physics. Well done, sir.
@sumantakumardutta98611 ай бұрын
Done the assignment by myself after pausing the video. Got it right in the first shot itself. Really had fun!!!😃😃😄
@Rorschachcollision9 ай бұрын
I am a programmer and engineer, so have very little patience for these things - but the wife had to point out that you and I are both Scorpios. So happy birthday, great teacher, and know that I will follow your tutorials always to the end, with coffee in hand.
@MrSylsound3 жыл бұрын
"Gabriella !" Awesome videos by the way! After only a few days of owning the Elegoo kit, I made it to lesson 36 and was able to do the homework, and it worked! I'm super happy :) Thank you!
@kaindradjoemena77893 жыл бұрын
Awwww Gabriella looks cute Happy birthday Paul! I just made a robot the other day that follows light. Nope, I did not copy anyone’s code. I did it myself. Thank you
@bilbo5934 ай бұрын
I am a retired Electronic Repair and did my course back the 70's with AWA Corp and Industrial Electronics . I am enjoying keeping my mind active and re learning things. I closed down my Repair Business back in 2008 and since then I have lost touched with everything electronics and all the latest innovations. Gabriella was happy to catch the plane to come and see you. And a very Happy Birthday!!
@alecgriffiths7908 ай бұрын
Gabriella! And yes, I was able to figure out how to set up and program the LEDs with the tilt switch without having to simply copy what you were doing... for once, haha! Hopefully that means I'm finally figuring this stuff out. This was a great tutorial, and I'm looking forward to watching the next one.
@tonygolden86222 жыл бұрын
Hello again Paul. Now that I have completed the project and watched the end of the lecture it is time to mention Gabriella. I have watched all of your videos, some more than once. I have completed all the projects, got many of them right, made mistakes on others, but learned something and had fun with all of them. I see that you have many other courses, enough to keep me busy for a long time. It is hard to imagine all the work it took to produce them. I really like the spontaneous feel, like one is working along with you at the same time, and your sense of humor is spectacular. Now on to lesson 38, 39, ……. Tony
@MajdMazin4 жыл бұрын
Gabriella. I have been watching till the end every single one since the beginning. You have been a godsend good sir. I highly appreciate all the effort you put into these tutorials, it is not lost on us. You are a truly exceptional teacher and a delight to watch and learn from.
@banyincam3 ай бұрын
I showed my son the green on tilt red project and he was amazed. I explained that it was as simple as two connections and a little ball. I even unplugged it and rattled the ball inside. He then suggested a magnet and sure enough, the magnet doesn't even have to touch it. It simply gets close and the lights change color. Gabriella!
@emiliomartineziii2980 Жыл бұрын
At the start of the video I paused and built the entire thing and got it to work by myself!
@johnmills3534 жыл бұрын
Hi Paul, Gabriella !! Following your whole series of newer Arduino tutorials, just finished No 36 (tilt Switch). I always watch them to the end, I have about a 50% success rate with the assignments. You have got the mix of practical and theory just about right in my opinion.
@cmartin61262 жыл бұрын
Hey Mr.Paul! Another glorious video tutorial. I am very grateful for the hard work that you put into these amazing tutorials. Keep up the good work! Gabriella looks excited! -STILL not Carole, just her son.
@JohnyRalte2 жыл бұрын
Gabriellaaaa!!! Not only did I watch all your videos from start to end, I have watched some videos twice. You are a good teacher.
@paulmcwhorter2 жыл бұрын
Thank you so much!!
@muhammadrafiqulislamkhan69942 жыл бұрын
Happy Birthday. God bless Gavrialla. I do not know how many times I watch your video to understand your project. Every time a new thing comes out to me. Your debugging process is wonderful. It helps students where they are made mistake. Today I learn why I put TiltVal in place of TiltPin into serial.println because we already have tiltPin=2. I know it easy for everyone to undetstand but it is really difficult in past to me but today my legendary teacher Paul all clear to me. Thanks for everything Paul. God bless you.
@soup2ru4333 жыл бұрын
Really wish I had you as a teacher when i was in school, I might have just paid more attention.
@yasins87134 жыл бұрын
i figured out the error and homework by myself, i also used the mini breadboard for the tilt switch so i could move it with out reducing the visibility of the leds. gravrela
@tonygolden86222 жыл бұрын
Hi Paul. I’m just another old dog trying to learn some new tricks. You are a great teacher. Thanks for your generosity of spirit.
@paulmcwhorter2 жыл бұрын
Glad to help
@satisfactoyz3 жыл бұрын
Today's homework was much easier to complete without instruction. And it was your birthday! Lucky man to have such a beautiful grand-daughter! Thanks for another great lesson.
@johnmichaeljones26004 жыл бұрын
Belated “Happy Birthday”! Another great tutorial. Gabriella.
@delroybarnes20414 жыл бұрын
Made it to the end ans saw "Gabriella"; see much more than 3 minutes worth.
@agonslay9173 Жыл бұрын
3 years late but Happy Birthday!! Also Gabriella looks like an angel. I thing you are the sweetest and coolest grandpa that everybody would want
@timothyflanagan77752 жыл бұрын
All the info you put into your videos; does NOT go to waste with this student
@TheUnofficialMaker4 жыл бұрын
i use this tilt switch with a 555 timer to light an led and installed in a house shoe so I can see at night if I have to get up.
@musicalhamsa58924 жыл бұрын
the 3 dislikes are the people who dont like coding
@geraldinecommowick3 жыл бұрын
What is there to dislike? I don't get it.
@benthompson6118 Жыл бұрын
Gabriella. I recommend all of your video tutorials to anyone who asks me where to learn arduino, pi, fusion360, or python.
@rodchristen2705 Жыл бұрын
I watched to the end and did my own coding!! Thanks for your help. I hope you had a great time with Gabriella as she was coming to see you. Grandkids are great!!!!!
@dannycollins5698 Жыл бұрын
This was fun. I taught this to my 4 boys and wife. It was fun letting them hold the tilt switch. I asked them what they felt. It was fun to see them enjoy learning. 4, 6, 8, and 10 are the ages of my boys. This is so wonderful to take the code and to the physical world. It is fun thinking about what projects we can do with all that you have taught me. My boys have ideas of what we can do together. Look forward to paying it forward to my boys and may a school someday! We started with an experiment from the Feynman Physics lectures/exercises this morning and then did this. Wow -- how blessed I am to study Physics with Feynman and Computer Science with you Mr. McWhorter!!!
@paulmcwhorter Жыл бұрын
Great that you are making this investment in your boys. Well done!
@eddiedunseath9063 Жыл бұрын
I also used else instead of 2 if's on this. I jump back into your lessons to check things as I'm doing my homework (sometimes for only a few minutes, as you say), because I started your most excellent tutorials only 2 months ago, following my 80th birthday Arduino gift, and my brain velocity is much lower than it was 60 years ago! Also in this project i stuck my tilt switch to my stepper motor cardboard arrow (motor fixed vertically), connected using a pair of female/male wires. It switches the red/green LED's, but also controls the stepper motor direction, clock/anticlockwise, like a wiper blade. Thanks for your really excellent lessons Mr Paul. I used to live in Addis Ababa, love Africa and its wonderful people! Hi Gabriella !!
@angusclarke85922 жыл бұрын
Thanks, Paul. My Maths is actually non-existent so I'm very slow at working these things out. But trying a new thing in my late 60's gives me a new challenge in life. Welcome to Africa. I see you've now re-located. Very Brave at your age, but obviously Higher Hands are leading you. And Gabriella is a sweetie. So Cute.
@israelkolawole7144 Жыл бұрын
Hi Gabriella, Mr. Paul has taught me a lot and am very grateful so give him lots more applause
@diessos2 жыл бұрын
Gabriella..... took a few months off due to other commitments. But was able to easily do this on my own. Really like these videos. I am finally understanding how all this works.
@johnryall57113 жыл бұрын
Many Happy Returns Paul, made it to the end AND made it work! Granddaughters are precious, enjoy your time with Gabriella.
@joelmagana4227Ай бұрын
Funny enough, I wrote my own code before looking at yours, but neither mine nor your code seemed to work, so I was just about to get ready to take apart my circuit. Then I realized that I had never grounded my red LED. Now, it works like a charm!
@zachhamersley9673 жыл бұрын
Don't understand why people wouldn't finish the videos, but I like to understand how things work. Make it to the end every time, I thought that was the point. Did the homework on my own the same way you did, I think I'm starting to get this stuff. "Gabriella". Thanks for the videos Paul!
@victorlove35582 жыл бұрын
Gabriella, I am very appreciative of your easy to follow and understand lessons. I'm in my seventies and doing Arduino for the first time.
@paulmcwhorter2 жыл бұрын
Wonderful!
@kirstinlee68386 ай бұрын
Happy birthday! Your granddaughter Gabriella is adorable! I was so excited to do the homework by myself. Thank you so much for these videos.
@gilnasty822 жыл бұрын
GABRIELLA is precious!! Truly a gift from God!! :-) I can't believe average view time of your videos is only 3 minutes!! WOW!! I find myself anxious for more!! Can't wait to start the next lesson! HAPPY BIRTHDAY PAUL!! (late by a few years sorry)
@Mr_Jonathan_Greer16 күн бұрын
I really like the homework. It forces me to recall things that I have learned and figure it out on my own. I really enjoy the way you do these lessons! Great work!
@digitaldoubter5 ай бұрын
Gabriella!! I'm a computer science student who has a passion for building things with my hands, your tutorials have been awesome and I'm really thankful for this series!
@aaronmilliman7685 Жыл бұрын
Seeing the children healthy and Happy is the best birthday gift ever! Happy Birthday and Gabriella looks so happy.
@jaydusterhoff27952 жыл бұрын
Gavriella. Struggled with the homework for a bit until I realized I used the wrong brackets. Worked great after that lol. Happy very belated birthday Paul, hope you had a great day.
@amiamso8 ай бұрын
GABRIELLA, I just want to say THANK YOU for all your videos. Yes, I watch them to the end, and then go back and pice-meal them into the code project i'm working on. Oh... and no, I don't do my homework. I take a coffe break with you. Thanks again for all that you do.
@dubrocadidier45832 жыл бұрын
GAVRIELLA .... This Homework was cleared fast 😀 thanks Paul. I have been watching all your videos to the end. Most times I replay as many times as possible to understand the concepts. Especially the ''PUSH BUTTON AS TOGGLE'' lesson.😄
@CK-sv8fc3 жыл бұрын
Happy Birthday Paul!! --Gabriella-- As soon as I heard "pause this video" I immediately went ahead and did the homework.
@MrBrentc743 жыл бұрын
Gabriella looks like a bundle of joy! I saw the mistake as you were typing it. Still need to wrap my head around the toggle switch logic, but was able to do the homework just fine. Thanks for the effort you give in sharing this knowledge. We are truly blessed to be able to learn this because of beautiful people like yourself!
@daniel-yd7bq11 ай бұрын
Gabriella! You are the best teacher I have ever had, I'm glad you made this series
@paulmcwhorter11 ай бұрын
Wow, thank you!
@daniellehwing46674 ай бұрын
Gramps Paul must be so proud!!
@HASANALI-wd1yl2 жыл бұрын
happy birthday Mr. McWhorter, you absolute legend!
@davidkeynton34023 жыл бұрын
Yes, I got to the end and completed the homework before watching how you did it. Am enjoying all your videos. Gabrielle.
@derekpalmquist594 Жыл бұрын
Gabriella! Was able to do the homework on my own. Just proof of how awesome of a teacher you are! Keep it up Paul!!
@paulmcwhorter Жыл бұрын
Great job!
@ABAT582 жыл бұрын
Thank you very much, Paul. That is because you are printing the pin not the value you just read. Thank you for your trick. You are a wonderful instructor.
@jeffnixon8338Ай бұрын
Gabriella. Love your explanation and coding, Paul. I’m Jeff from Australia
@thelocal911 Жыл бұрын
I always do the homework Paul. And, you're right, it really does help. I coded mine to take three readings 500ms apart. You can shake it all day without triggering the red LED, but one second after it tips, boom. Red Light!
@hbar20282 жыл бұрын
Gabriella. Been watching all your videos beginning to end at work on my breaks. Then when I have time at home, I redo them again step by step. Great videos sir! Learning so much.
@ErlankBru3 ай бұрын
Thanks Paul, I enjoyed this project and watched until the end and was also able to program the homework myself. Gabriella looks very excited to go see her grandpa!😀
@lefterisdagkalakis3016 Жыл бұрын
Paul, I did the mistake of the equal, instead of the equal equal. I was breaking my head to understand why it wasnt working, and then I eventually understood it. I hope that eventually I learned it. GABRIELLAAA!!
@TheCourtoh2 жыл бұрын
Gavriella. I don't have a tilt switch in my kit but I am listening along to the video.
@user-ys6bc7yh7z9 ай бұрын
Thank you for the great series! The deliberate mistake was that we were reading tiltPin, instead of tiltVal!
@charlesouma28032 жыл бұрын
I was able to go back and finish the assignment on my own without watching the whole video. It worked, and now that i have watched to the end....Gabriella❤❤
@paulmcwhorter2 жыл бұрын
Excellent!
@Jobbe596 ай бұрын
Gabriella! I watch all your lessons to the end. Don't want to miss a second of them.
@alexguidi23456 ай бұрын
Hi Gabriella, I actually did the project by myself before you gave the homework as when you started the video and showed the tilt switch and the two LED’s I knew exactly where this was going 😂
@user-po3zo6dj7b10 ай бұрын
"Gavriella". Off course I always follow your videos to the end. Well, I did my homework and I did it well after two mistakes ("Red" instead of 1, "Green" instead of 0). Always fun to follow your Lessons.
@josemurillo22711 ай бұрын
Gabriella!! I am 3 years and change in the future wishing you a very late happy birthday PAUL! haha. Also, I was able to do the homework on my own the only thing different I just put the else statement instead of another if statement. Great video once again !!
@mystreteacher Жыл бұрын
Gabriella. Thanks for putting this series together. I'm an Assistive Technologist for students with disabilities and I'm just starting down the Auduino path so I can make more customized and sensitive switches for the students I work with.
@koomber7772 ай бұрын
I'm happy to admit that going through these lessons that I have printed the pin rather than val many, MANY times.
@Zpheme1226 күн бұрын
you are one of the greatest you tubers for electronics education. (Gabriela)
@jabber28243 ай бұрын
Love this course! And yes did my homework and watch til the end. I bet Gabriella is having her own Arduino kit by now. Cheers!
@williamlemley43339 ай бұрын
Gabriella, homework completed. Added a delay in the loop to avoid intermittent flickering in the closed position.
@sapphirereaper12525 ай бұрын
Gabriella! and that's for every video so far. This series is absolutely brilliant!
@utahasweseeit Жыл бұрын
I made it to the end and did the homework on my own. Gabriella. Grandchildren are the best.
@vincentgirard80453 жыл бұрын
This wasn't the first time that I have attempted the homework but it was the first time that I successfully completed it without having to cheat. Thank you for all your work.
@williamluety64302 жыл бұрын
This was a great problem which I solved with using Your Tutorials and, of course an Arduino kit. A motor driven arm rotate starting at -10 degrees all the way around 360 degrees to +10 degrees and then stop. Of course after it stops you will need to rotate it back to the -10 degree start position. Tilt switch are not used due to repeatability problems. We also couldn't use limit switches. If you would like to know my solution just ask. Only tutorials 1 thru 17 were needed.
@pudgepatenaude34813 жыл бұрын
Boom, homework done. Gabriella looks very happy to be coming to see you.
@noobcoderandmaker7 ай бұрын
I'm watching Paul!. Enjoying the series so far. I also made it to the end, as I have with all your videos.
@parulchhabra29392 жыл бұрын
Happy Birthday Mr Paul, seeing the video 2 years after you posted it and coincidentally on your birthday date 🙂. You are an excellent mentor so can't miss any part of the video and yes saw Gabriella !!!!
@akm56112 жыл бұрын
Hi Paul, I think your lessons are great. I have had some programming in C about 25 years ago and it seems to be like riding a bike, most of it came back. Thanks for the videos, having a great time with my Arduino.
@paulmcwhorter2 жыл бұрын
Great to hear!
@chernoblyat19013 жыл бұрын
Gabriella is lucky to have someone like you sir!
@user-mx4ek3jf8s Жыл бұрын
Gabriella. I watch all tutorials to the end. They are so informative and easy to understand. Happy birthday.
@audreyflores243Ай бұрын
Made it to the end. Gabriella (I hope I spelled her name correctly) I was able to do the homework on my own, along with the servo/joystick homework. Having a great time. Hope when you made this video you had a great birthday. Thank you so much again for the great content.
@yigitpar64922 жыл бұрын
Gabriella! Not a single second is wasted by skipping it. I have very limited time during the day because of work+parenting, but I am here to learn, not to memorise some stuff for a day or two. Hoping one day I'll tell/show someone what I learned, so I gotta be prepared :) Thanks a lot
@alanfowler3069 Жыл бұрын
Tilt Switch working, think I'm finally getting to grips with this coding. Happy Days. I Know I'm late to the class, but really enjoying learning new skills. Thank again.
@paulmcwhorter Жыл бұрын
Nice work!
@kevinshaver56132 жыл бұрын
The project was an easy one. After the stepper motor lesson,this one was welcome!
@Aliguibrisa393 Жыл бұрын
Gabriela I watch your videos all times to the end thank you for your time
@caltech-wirewizard Жыл бұрын
Gabriella !! Yes, I go from start-to-finish on each video in succession and I enjoy them! And YES, each and every assignment.
@paulmcwhorter Жыл бұрын
Wonderful!
@tomeasley59792 жыл бұрын
Nice that Gabriella could come and visit you! I am sure you enjoyed the visit! and Happy Belated Birthday as I realize the time delay of making the video and us viewing it.
@paulmcwhorter2 жыл бұрын
Thanks so much! 😊
@philnewman1110 Жыл бұрын
I always make it to the end even if I have the video two or three times (Your benefit Paul) and I worked out the fault that was in there before you showed it! Im so pleased with myself! GiddyUp Gabrielle!! Thanks Paul.
@gladbod3002 жыл бұрын
Thanks, post-Happy B-day! As a fun challenge I made the code so that it allowed vibration using two variables. The first was an average of 30 shorts or open circuits using a for loop. This produced either an int of one, or a float less than one. The other was produced with an if statement that counted the number of consecutive averaged ones (shorted states/cycles). So if 20 consecutive averaged ones were counted then it would allow the shorted state of one to pass through the if statement and trigger the light (if (ave=1 && count > 20) etc...). I based this by vigorously shaking it, which usually triggered 4-15 consecutive averaged ones. If I tipped it over, then it instantly (to the natural eyes) counts 20+ consecutive averaged ones (or shorts), and it gets triggered.
@davedave36313 жыл бұрын
Happy belated birthday, Paul. You probably won’t see this but I really enjoy your tutorials. I wish I would have found them sooner. Who knows, maybe I would have been so much further ahead by now if I would have. Two thumbs up, sir.
@paulmcwhorter3 жыл бұрын
Glad you like them!
@Sam-rz5hw2 жыл бұрын
And i am watching this lecture on my birthday!!
@Shalfatk012 жыл бұрын
gabriela is pretty name :) . side note. most of those short views are because somebody come back and seek only the part of the video that didn't remember. new viewer can also speed up the video up to 2x speed. so it is half of the time . those are factors why those numbers may seems to be "low" but dont worry. those videos were made two years ago and i just stumble across them :D and i love all of them. it is exactly the way i like to learn. you made great job by making those videos.
@bill65903 жыл бұрын
Made it: Gabrella. Good tutorial. I tried to use the else command instead of a double digitalWrite command. I got a very weak green and red LED lite. But, with the doubleWrite commands. I got a bright LED lite. Strange, not sure what happened. I got it right except I forgot ==. I just used 1 =, and forgot my penmodes. I always go all the way thru the tutorials and do the homework first. HAPPY BIRTHDAY PAUL!
@yepitsmebob882 жыл бұрын
Gabrialla, I did the home work and the mistake on my own. Awesome lesson, keep it up.
@leifpernstig32002 жыл бұрын
Hi Paul, and happy birthday. Hope Gabriella comes to visit! And yes, I watch all your excellent tutorials to the end (36 so far!)
@arseivan Жыл бұрын
Hey Paul, thank you for another lesson (Gavriella)! I did this one before watching you doing it. Below is the code I ended up having. Nice way to simplify the if statements here - since we read 0 and 1 already we can incorporate these values in the digitalWrite statements: int greenPin = 8; int redPin = 9; int tiltPin = 53; void setup() { pinMode(greenPin, OUTPUT); pinMode(redPin, OUTPUT); pinMode(tiltPin, INPUT_PULLUP); Serial.begin(9600); } void loop() { bool tiltVal = digitalRead(tiltPin); digitalWrite(redPin, tiltVal); digitalWrite(greenPin, !tiltVal); }