Arduino Tutorial 30: Understanding and Using Servos in Projects

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    In this lesson we learn how to control a servo from the arduino, and how to incorporate servos into our arduino projects. We will show how to program, control and build projects.
    You can get the kit I am using for this series at the following link:
    amzn.to/2I7N4Ek
    Also, you can get nicer servos than the ones in the Elegoo kit here. These are the good ones I use in most of my projects.
    amzn.to/2Ix8ATa
    Follow along on our WEB site:
    toptechboy.com/arduino-tutori...
    [Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
    #Arduino
  • НаукаНаука

Комментарии • 700

  • @johnicebourne217
    @johnicebourne217 Месяц назад +7

    I am teacher John I am teaching Robotics in Primary Level
    I just want you to know that you saved my life. please be safe and take care of yourself the world needs you.

  • @rubenacruzorengo8592
    @rubenacruzorengo8592 3 года назад +88

    When I graduated, I'm going to give a big shoutout to PAUL MCWHORTER!! SHEEEESHHHHHHH!

    • @leJzer__
      @leJzer__ 3 года назад +1

      SHHHEEEEEEEEESHHHHH

    • @Anonymous-yy5qr
      @Anonymous-yy5qr 3 года назад +1

      SHEEEESHHHHHHH!

    • @imbaduknow
      @imbaduknow 3 года назад +1

      SHHHHEEEEEEESHHHH

    • @muhammadtamim451
      @muhammadtamim451 3 года назад

      In Bangla
      Shesh means Completed.
      Tai na?

    • @austinfox4130
      @austinfox4130 2 года назад

      @@muhammadtamim451 it's a pop culture thing in America in 2020. It's meaning has changed with time but right now it's sort just an exclamation.

  • @adnan.khuzema396
    @adnan.khuzema396 3 года назад +148

    man, if you read this comment, I am inspired by people like you who does not charge for learning. Complete role model

    • @delandbrooks3291
      @delandbrooks3291 2 года назад +9

      True scholars share knowledge for the betterment of everyone. They have to eat but are not usually money driven.

    • @aaronmilliman7685
      @aaronmilliman7685 Год назад +12

      So have you "Hooked a brother up yet"?

    • @FurkanOz480
      @FurkanOz480 Год назад

      @@aaronmilliman7685 xDDD

    • @andreasa1293
      @andreasa1293 Год назад +5

      @@aaronmilliman7685 heading over to his Patreon. Thanks for the reminder.

  • @wc2420
    @wc2420 3 года назад +46

    I had a difficult time with the servo wanting to return to the 0' position after the position was entered. At first the servo would hold position with the simple code, but once the serial monitoring was introduced it would first go to the "asked position" then return to 0' position. After doing extensive trouble shooting with codes and GTS-ing the issue, the solution was simply selecting "No line ending" on the serial monitor.
    Upon successfully trouble shooting this, the homework was a piece of cake. I love the math (finally understanding dependent vs independent variables when graphing them. Thank you Paul for the amazing lesions and topics!

    • @undiamecai
      @undiamecai 2 года назад +1

      this helped me a lot, thank you

    • @justinshankle
      @justinshankle 2 года назад +2

      I had the same issue, thanks for the posting the fix!

    • @ecksdude
      @ecksdude 2 года назад +2

      Many thanks. I'd have been banging my head on the wall, ran into this as well.

    • @zhangpico7th816
      @zhangpico7th816 2 года назад +1

      I had this problem, too!

    • @blazepascal1878
      @blazepascal1878 2 года назад

      Thank you for posting this, I had the same issue.

  • @tiberiumihaescu7348
    @tiberiumihaescu7348 4 года назад +75

    That awesome feeling when you're actually excited about homework!

  • @thethubbedone
    @thethubbedone 4 года назад +37

    The delivery on the vodka joke was a work of art. Well done, Sir.
    Thanks for the excellent lessons, BTW

  • @grayson2455
    @grayson2455 4 года назад +191

    Anyone else feel sad when you have to disassemble a previous project to continue learning? A small price to pay for salvation...

    • @l.halawani
      @l.halawani 3 года назад

      nope.

    • @williamreisner894
      @williamreisner894 3 года назад +3

      Extremely

    • @turatsell
      @turatsell 3 года назад +5

      nope, but i have different problem- every free place is now occupied with Arduino Projects :)

    • @BHFJohnny
      @BHFJohnny 3 года назад +1

      A bit, but I know I could make it again so, not really.

    • @gundoggydog
      @gundoggydog 3 года назад

      hahahah was feeling exactly this

  • @freemind2pointo
    @freemind2pointo 4 года назад +93

    47 seconds in. I am subscribing. This guy is too real.

    • @brock1793
      @brock1793 3 года назад +3

      lol to real about coffee

  • @willykgogome1712
    @willykgogome1712 6 дней назад

    Hi Paul, I am teacher at Boshoek Primary School in South Africa (Rustenburg) teaching Coding and Robotics Grade 4 to Grade 7. You are really inspiring us to disseminate your knowledge and skills to learners. Thank you so much.

  • @perjohnsen5048
    @perjohnsen5048 3 года назад +17

    I like the fact that I can watch a whole tutorial without commercial breaks.

  • @ylevite
    @ylevite Год назад +3

    I did my homework. It worked! I have not ever done homework ever, not in school, never. Only in your course, Paul!

  • @jonnyjohnson5025
    @jonnyjohnson5025 4 года назад +7

    The homework is where I have really set the things you've taught me! I am always excited for the homework. I like that you come up with the idea and then I need to make it real. Thank you, Paul!

  • @chrisingram7277
    @chrisingram7277 4 года назад +8

    Good Evening Paul, now that I've finished binge watching your videos and have seven days to finish the homework assignment, it's interesting to see that your other students are also going out and researching the current assignment. Several others have noted in the comments about the map() function that is found deep in the servo instructions on the arduino site, it goes to show how well we are all taking your assignments to task. Thanks for keeping us all thinking and learning.

  • @Seanseerey
    @Seanseerey 4 года назад +23

    Us old guys appreciate your patience

  • @abdullahmuslim280
    @abdullahmuslim280 4 года назад +2

    I did the homework!!! Also I am so glad that I have Kept on doing the Tutorials. They are better then any book I have read, when working with the Arduino and by far the Tutorials are the best on RUclips for the Arduino.

  • @laurentc864
    @laurentc864 4 года назад +2

    I succeeded in doing your homework. I am following you since the beginning. Thank you for sharing your skills and passion. Your structured way of explaining things does not only teach us a lot about Arduino, but also in addressing other little challenges in electronics and IT. -- A Belgian guy in London.

  • @tomroberts3851
    @tomroberts3851 Год назад

    Hi Paul, I just did the homework and managed to get it to work without watching the next tutorial. This is getting SO exciting now, I've done all of the previous tutorials and it's so so cool to be driving a servo based on real-world inputs from a light-dependent resistor. Thanks so much for your awesome tutorials, I'm absolutely loving them!!!!!! Tom, 33, UK

  • @johnellick7778
    @johnellick7778 Год назад +2

    I know it's been 3 years since these lessons were posted,but I'm a Newby to Arduino. I enjoy the little successes ,like seeing the servo motor moving for the first time. Thanks Paul for these awesome lessons. 👍

  • @lancek2536
    @lancek2536 3 года назад

    Hello Paul, I know I am watching your tutorials a time later, however, I did do your homework assignment with the servo/ photo resistor and with some thought, trial and error, I was able to move the servo 90 degrees back and forth depending on the light conditions. What a rewarding feeling. Thanks.

  • @evierma
    @evierma 4 года назад

    This is the best Arduino tutorial around. Mr. McWhorter not only teaches how to use the electronic. The huge bonus is coding through a systematic, stepwise approach that helps get acquainted with commands and syntax. I am so grateful I finally discovered this treasure in the RUclips haystack.

  • @Jim-mn7yq
    @Jim-mn7yq 4 года назад +1

    Paul. I did the homework; I did it on my own; and it worked. And I'm sure there are many many others that have done the same. Very good lesson and one that fits into a future project that I'm anticipating building.

  • @426F6F
    @426F6F Год назад

    I was hoping this lesson would come soon! Seeing the servo move as the photo resistor receives light is awesome! Thanks for another sweet lesson Paul!

  • @tntragan
    @tntragan 2 года назад

    I did the homework and thanks to your math lessons in previous lessons I was able to figure it out fairly easily. Got the servo to rotate almost 180 degrees by just turning on and off my desk lamp. Thanks again for the great tutorial series. Helping me immensely.

  • @bigmcdaddypig7817
    @bigmcdaddypig7817 3 года назад

    Paul your 68 videos on Arduino are game changers. Much appreciated. I race you on your videos and when it goes wrong I look at how you have done it..

  • @irete267
    @irete267 11 месяцев назад

    I did the assignment and it worked. Thanks for all the lessons so far, I've gained way more from your lessons than from school.

  • @caripatd232441
    @caripatd232441 3 года назад

    I did it on my own and It works. Thank you Professor McWhorter, so far I've been able to do every homework without the answer, except for the push-up button, that one really got me. Really good teaching method. I'm a mechanical engineer with a desire to learn mechatronics. You've become one of my favorite teachers in all my student career. Appreciated.

  • @et4493
    @et4493 Год назад

    I've done the assignment. You've built us up so nicely it went smoothly. 10/10 teacher

  • @epseltigth568
    @epseltigth568 3 года назад

    I really enjoy the homework that you put at the end of the videos. It makes me practice and see if I'm able to do the projects on my own as well. loving the lessons so far !

  • @7dskei379
    @7dskei379 3 года назад +1

    Completed the homework. Had an initial circuit problem with reading my light sensor, but resolved it quickly.
    I have been a software engineer for roughly 6 years. I wanted to help a friend automate some hydroponics for his crops. Your tutorials have been amazingly helpful! I also saw your video on your high-tech hydroponics green house. I hope to have one of my own someday!

  • @FuNkT0iD
    @FuNkT0iD 2 года назад

    Hey Paul! I've been running through the tutorials and have been keeping up with everything. Your explanation game is on point!

  • @1271344able
    @1271344able 3 года назад

    I have been watching all of the Arduino videos by Paul and they have taught me so much. I am beginning to truly enjoy programing, math and engineering. I did the homework and the math and it worked out perfectly thanks to Paul's teaching skills!

  • @bunzination
    @bunzination 3 года назад

    Did my homework Paul. Worked like a charm! This series is amazing god bless you sir. Watched every single one so far!

  • @outhulst2008
    @outhulst2008 3 года назад

    I did it! And it worked. First I used the serial monitor to see what values i needed to calculate the slope. I had to peek at the formula from a previous tutorial but i am glad it worked!

  • @orndorff52
    @orndorff52 4 года назад +6

    Crushed it!!! I had to go refresh lesson 25 real quick, but it was smooth sailing after that

  • @katherineclarke4435
    @katherineclarke4435 3 года назад +1

    I managed to do the homework with some research from Tutorial 25 code. The bit that took the longest was working out the && in the middle setting, but I did it on my own. Very pleased with myself, lol. Great teaching, thanks Mr McWhorter!

  • @jackmehoff5433
    @jackmehoff5433 3 года назад

    These videos have made learning this stuff possible and I can't thank you enough. I was able to do the homework on my own using the linear equation and calculating servoPos that way.

  • @klaudiamatwiej4844
    @klaudiamatwiej4844 3 года назад

    Paul is the best teacher, how he explains things in his videos is exactly what we need as students. I am so glad I found this channel. Thank You Paul you are the best

  • @mohsenr4434
    @mohsenr4434 2 года назад

    I didn't even know what servos were until now and I already have many ideas for later projects! Thanks for this most excellent tutorial as always.

  • @jimfisher5099
    @jimfisher5099 3 года назад

    I got it working. It is surprising how responsive it is. Can't wait to start the next video!!

  • @astrodendennis
    @astrodendennis Год назад +1

    Hi Paul I did the assignment myself, and surprisingly found how I can apply it in prosthetics. Thanks alot

  • @raminamiri9610
    @raminamiri9610 Год назад +1

    I am a chemical engineer dealing with a project of sensor application.
    I have done it. Before your videos, I did not have any insight about electronics but now I can make things moves.
    Thank you so much for your great lessons.

  • @billglass5160
    @billglass5160 3 года назад

    I've made it up to lesson 30 without many problems while drinking my hot coffee sweetened up with a little nip of Cognac. It's too cold over here in Grenoble, France in December to add ice. Love your tutorials up to now. Keep it up!

  • @mazeppa47
    @mazeppa47 3 года назад

    I know I'm late to the party, but I did complete the homework assignment. I'm getting pretty good a reading the error messages. I'm grateful to you for the depth you go into the math. Now I know what goes on under the hood of the map function. I knew what it did, but didn't realize the math behind it. Now I do. Thanks Paul.

  • @fabrom7792
    @fabrom7792 4 года назад +2

    I did my homework and everything works nicely ! Wow, thanks to Paul, I'm becoming an Arduino programmer ;-) !! Fab from France

  • @maxtuck6820
    @maxtuck6820 Год назад

    Thank so much for all your videos. I did do this one and also controlled the RGB LED and the Servo with a single Potentiometer. Used the map function to determine the required values.

  • @aloysiusstaana
    @aloysiusstaana 2 года назад +2

    Yup Paul, I did the homework on my own. Thanks for the guidance. I think it's easy for us who has a n engineering background to put up the circuit and learn the programming. I'm already 54 and what I have only learned from my college days is BASIC and COBOL programming language. Thanks for putting up this arduino series of tutorial videos. It's really addicting..LOL

  • @lucasmark9656
    @lucasmark9656 2 года назад

    I actually completed the homework on my own for the first time! I did have to go back and review the photo sensor videos, but once I realized it's basically the same as setting up the buzzer, only using servo positioning in place of buzzer pulses, I remembered how to do the coding and it all made sense! I am beyond excited because my impetus for watching these videos was to learn to program servos, and here we are! But trying to skip ahead through all the other tutorials would have been a huge mistake.

  • @meesh769
    @meesh769 4 года назад

    Did it on my own, worked perfectly. I set the angle to be from 20 to 150, and the lightVal to be 60 to 1023 and got my equation.

  • @richardalexander633
    @richardalexander633 2 года назад +2

    Just completed this one myself by referring back to lessons 25 and 26 for the code written in these and how to work the maths out.
    Great series of bitesize tutorials - very relaxed lesson style that's easy to digest - learning is best when it is fun and well explained.
    Thank you Paul for creating this.

  • @keithdavies3334
    @keithdavies3334 4 года назад

    Thanks again Paul, you really are the best. I completed the homework on my own and it worked! I'll carry on and see if my solution is as elegant as yours. Best K.

  • @harshityadav8934
    @harshityadav8934 3 года назад +3

    I am from India. And I love the way you explain everything in detail,
    And you inspire me a lot .
    Be heathy and be safe:-)

  • @johnkaradimas8403
    @johnkaradimas8403 2 года назад

    Thankyou Paul for your great lessons, from down under

  • @RobVollmar
    @RobVollmar Год назад

    Paul,
    I finally worked back through all the lessons after taking a year off to focus on my master's thesis. Today was the first lesson that wasn't recovering past material and I'm happy to say that I was able to complete the assignment successfully before moving on to lesson 31. I look forward to finishing your Arduino series with gusto after I wrap up my defense at the end of April. I'm making myself finish these before "graduating" to the Pico W series.

    • @paulmcwhorter
      @paulmcwhorter  Год назад

      You will love the pico w. I am so excited to be working with it.

  • @hachimankmd5843
    @hachimankmd5843 3 года назад

    Amazing. I did the assignment and I really liked what I saw. I could easily see myself building a solar tracker.

  • @DV8ingOne
    @DV8ingOne 4 года назад

    Did the 'homework'. Its pretty neat to be able to use your hand to basically control the little servo arm. Also found out that a 9v battery isn't anywhere near enough to run the program and servo reliably. Really neat stuff! Thanks a lot Paul.

  • @williamjohnson1657
    @williamjohnson1657 4 года назад

    Paul,
    Thank you for all you do. I have a homework assignment for you. I purchased a Parallax servo a few years ago when I took your course for the first time. I was fortunate. Mine did the full 180 without the jitters. I have a Cad sulfide sensor, but it is in use in another project so I used an old trick I learned years ago. I ground off the metal top of a 2N2222A transistor in a TO5 package. I think most semiconductors are somewhat light sensitive. In my case the resistance from the collector to emitter varied with room light from around 0.5Megs to over 20 Megs. I chose a 10 Meg resister in series with the transistor for my voltage divider. The range of counts that I achieved dark to light was 14 to 988. The linear equation I arrived at was degrees= 0.1848 * analog read counts -2.58. This resulted in full scale deflection from dim to bright lighting conditions. Finally, I struggled with the toggle switch exercise, but eventually it sunk in. Desk checking the code through more than one cycle was the answer for me. Bill

  • @metoliusdad
    @metoliusdad 4 года назад +3

    I did the homework. I did it on my own, AND IT WORKED!!!

  • @user-ys6bc7yh7z
    @user-ys6bc7yh7z 8 месяцев назад

    Assignment is completed!
    Thank you so much. Many people think that math is useless in the real world, but they don't know about the beauty of the engineering and technology, even at the small level.
    I am very grateful. Thanks a million again.

  • @michaela5532
    @michaela5532 4 года назад +1

    I did my homework and it worked after a looot of troubleshooting, haha. Very happy :).
    Thank you for this tutorial series - gives me something cool to do during the quarantine.

  • @louandpaulanickles7172
    @louandpaulanickles7172 4 года назад

    Thanks again Mr. McWhorter. I've been following along since lesson one of the new and improved Arduino tutorials. I did make it work, but decided to try it with the 10k Ohm thermistor instead. Love this series! Kudo's to you Paul!

  • @HeatherJordanJewelry
    @HeatherJordanJewelry 4 года назад +5

    I did the homework all by myself! :D I'm showing the assignments to my friends on Facebook so someone knows I'm actually doing the work. I don't know if I will ever use servo motors in any of my own projects but it's good practice and the challenge was fun.

  • @patbrennan7966
    @patbrennan7966 2 года назад +14

    Not having any background in this field, I started at tutorial 1 and played along bit by bit; making sure I understood everything before moving on. I surprised myself when I actually pulled this assignment off with ease. It pays to keep good notes, but mostly, it pays to have a teacher that knows how to teach. Many thanks Paul...

    • @highscores3503
      @highscores3503 3 месяца назад

      two years ater im in the same boat. started from lesson 1 taking notes all along the way. about to start the homework once the kids nap but feel pretty confident in my ability to get it done. so far the biggest struggle was the toggle push botton to turn the light on and off. took way to long to realize i needed to put an if condition inside an if condition lol.

  • @yuriu8
    @yuriu8 3 года назад

    Mr McWhorter I am so thankful for the amazing lessons they are truly unique and super cool. I automated my espresso machine based on your seasons. I used LDR to detect light when machine hetas up after that t trigger a relay and make an espresso. Really simple but really cool thank you.

  • @xtredrambo
    @xtredrambo 3 года назад

    Thank you paul for your awsome time, knowledge and effort to make video and teach anyone that wants to learn

  • @nathandurbin1540
    @nathandurbin1540 4 года назад

    I love the homework assignments. Even if I get them wrong it makes me think and then I learn where I went wrong . Thank you Mr. McWhorter.

  • @edcox7666
    @edcox7666 4 месяца назад

    Did that there homework on my own and successfully completed the homework. Although the sunfounder's servo would only go to 20 degrees, going to 0 degrees created erratic movement. Used the servo from the elegoo kit. Bingo we in business... Another great one! thank ya sir. O' hooked a brother up.

  • @saqlainkhantrex4273
    @saqlainkhantrex4273 2 года назад

    2 years later. People are still watching and loving your tutorials!!

  • @danwolfe7665
    @danwolfe7665 3 года назад

    That was a fun homework assignment! I got it to work the first time. Can't wait to get into more of this!

  • @doverivermedia3937
    @doverivermedia3937 Год назад

    BOOM ! it worked and I didn't cheat. used a servo range of 10-170, and worked out the equation to match the min-max light levels. I can see the lessons are starting to bring together all the theory to produce practical applications. Brilliant ! love it.

  • @steveholt8991
    @steveholt8991 12 дней назад

    Nice lesson. Did it myself after figuring out all the wiring connections. Made me think, thanks!

  • @higuy2k
    @higuy2k 4 года назад +53

    Hello Paul and everyone,
    I have been following along with the lessons and have been thoroughly enjoying the series so far. Thank you for taking the time to put these videos together. I have completed all lessons so far. I got this assignement to work very nicely with the photo sensor.
    If anyone was wondering, I'm 36, and still do my homework, lol.
    Thanks again!
    Matt

    • @aaronmilliman7685
      @aaronmilliman7685 Год назад +2

      AMEN, same here. This is my College because I have a family to support and the GI Bill didn't pay out. So this is my formal education to get me into the Sales and Service of Robotics.

    • @rishitsoneja307
      @rishitsoneja307 Год назад

      he is probably sponsored by elegoo by the way he talks about it + there's AdSense revenue

  • @henderic0
    @henderic0 3 года назад

    Hey Paul,
    At first I didn't want to do the assignment and just skip to the next episode. But this time i felt really challenged and tried it anyway, And I did it!
    Thanks for the great lessons.

  • @phoenixkepo2743
    @phoenixkepo2743 2 года назад

    Thank you Paul. Your presentation and delivery have been sterling!

  • @mikerusling416
    @mikerusling416 4 года назад

    I did the homework and it actually worked well. Very satisfying. I am enjoying the course of videos greatly. Thank you

  • @TheTechRancher
    @TheTechRancher 11 месяцев назад

    I did the homework. I really enjoy it when you give us homework. It was a nice little challenge not to hard but it was a great review on our slope math. Thank you Paul for all the hard work you did to make these videos for us.

  • @todddyer154
    @todddyer154 2 года назад

    Hello Paul, I did the homework and it was quite easy actually. I do all the lessons in order and I love them!😀

  • @robertnelson1802
    @robertnelson1802 3 года назад

    Managed this without cheating. Used variables for the maths and couldn't get it working for ages. Broke the equation down and printed the values as I built the equation back up - then realised I had to declare the variables as floats for it to work. Sort of weird as I did the same in the tone generator assignment and I think that worked with integers. Anyway eventually worked it out (nearly passed out holding my breath!!). Really enjoying the course. Love your approach, detail & pace. Thanks very much.

  • @PashaV93
    @PashaV93 3 года назад

    thank you for this lesson. I have been going slow due to work. I had trouble with the math, I could not get the formula but I was able to do the assignment. but I went back to my notes on lesson 24 & 25 and that helped me

  • @Laurenzollamass
    @Laurenzollamass 4 месяца назад +1

    Aspiring top tech boi here. Pour-over coffee (black) and homework complete ✅ AND one step closer to building an automatic chicken coop door! Thanks for the great lessons Paul!

  • @graemedurden8975
    @graemedurden8975 Год назад

    Hey Paul, I did the homework and I did it on my own and it worked. (Well it worked after I re-watched Tutorial 24!)

  • @md.mizanurrahman5852
    @md.mizanurrahman5852 Год назад

    Dear Paul,
    Thank you for your great tutorial.
    I did the homework on my own and it worked!!!

  • @kshitijsonar1123
    @kshitijsonar1123 2 года назад

    Completed the assignment myself. This is due to the way of explanation.
    Thank you !!!!

  • @garywilliams5962
    @garywilliams5962 3 года назад

    Did the homework and it works perfectly! Just had to review my lesson 26 notes and check for correct syntax on some lines.

  • @souljr.
    @souljr. 4 месяца назад

    Proud to say I nailed the homework from this lesson! May or may not have "cheated" and copied my code from one of the previous lessons. I figured this one functioned with the same principals as the photoresistor tone changing assignment. And I happily found out I was correct! Worked no problems and had the whole project running in less than 5 mins.

  • @aryankr555
    @aryankr555 3 года назад

    Did it myself!!
    Feeling great for it.
    Thank you very much for your teaching

    • @paulmcwhorter
      @paulmcwhorter  3 года назад +1

      Nothing like the feeling of making an assignment work

  • @deunana3
    @deunana3 2 года назад

    Hello,
    Was able to do it. Made a 5V row for the servo and the photoresistor. Wrote the code with two "while" command.
    Thank you again mister Paul.

  • @shmoe820
    @shmoe820 6 месяцев назад

    I did it! Two new learnings today...I setup a file from scratch and I had void loop and void setup switched around! luckily I caught the mistake only after a few uploads of code. there were not errors.
    I was able to do this homework assignment but with some struggle. I had to think "do I need to use analog pins? what am I trying to receive from the equipment?"...I also had help with a little bit of googling. Rather than go back to your previous lectures on photoresistors, I was able to google "how to setup a photoresistor for aduino" and I found the wiring diagram quickly. With the lessons you have taught me, it was surprisingly uncomplicated. Without having followed your videos, I definitely would be looking at the bread board diagram with a puzzled look. Thank you Paul.

  • @vaibhavarduino3919
    @vaibhavarduino3919 3 года назад

    i did the homework all by myself,Thanks Paul you are the best!!!!
    Guru

  • @ErlankBru
    @ErlankBru 2 месяца назад

    I just did my homework and it work, even while it is 2:37am at this moment...'cause I LOVE this!
    If only I discovered this hobby a few years ago! Then I could've studied Arduino properly during hard lockdown in 2020 instead of being a LOT less productive!😇

  • @hqs9585
    @hqs9585 4 года назад

    Excellent tutorials, clear and insightful!

  • @preetamsingh147
    @preetamsingh147 3 года назад +2

    Hey man, I did the homework by myself. And it was fun. So, thank you so much

  • @FULLUPE1
    @FULLUPE1 4 года назад +3

    Yes thank you sir ...I did the assignment and is working perfectly ...thanks once again

  • @philnewman1110
    @philnewman1110 Год назад

    Really starting to get interesting now Paul, great video as always, thank you!

  • @zolan4277
    @zolan4277 2 года назад

    I really appreciate all of your videos. Already a long-time programmer but I'm learning a lot about building circuits which is awesome. You are an amazing teacher. If I were allowed to make one critique of all of the videos I've seen so far, I would say that I would like to see cleaner coding style. Obviously the code works the way it is written but, in my opinion, those just learning programming are likely picking up some bad habits and those can be hard to get rid of later. I'd like to see more whitespace/indentation/etc to make cleaner, more readable, more maintainable code. I feel that it would serve them better in the future.

  • @chrisb7250
    @chrisb7250 Год назад

    I was able to get this project without looking at the answer. Shortly after watching the lesson, I sat down in my car and looked at the gauges. It dawned on me that the fuel tank, engine temperature, rpm's and speedometer are all likely on servo's controlled by some sensory input information... Fascinating.. After figuring out the coding on this project I was starting to extend the scope. I wanted to program the servo to maintain a certain level of brightness. I began using a while loop, and could get the servo to move when the brightness was a above a certain level, and reset once a lower level of brightness was obtained. Although a little glitchy, it's approaching the idea I had in mind. An automatic blind system of sorts! This lesson was enjoyable.

  • @freetjen
    @freetjen 11 месяцев назад

    My first servo project, my first weatherstation 🥳, thanks Paul. When using the photoresistor i had to put a delay in, because when the servo engaged i had a voltage drop, what influinced the reading of the photoresistor and made the servo starting to dance. But seems to work now.

  • @richterxxazula
    @richterxxazula 3 года назад

    Mr. McWhorter forgot to mention that this series of tutorials are also breathtaking.

  • @nisri1567
    @nisri1567 3 года назад

    I can asure you sir, that i am trying my best parallel to your nice Tutor. I am doing each and ever Totur on the Kit too. No worries Sir, we are eager to learn from you. You are the best teacher from all, which i had in my several years.

  • @jimh1611
    @jimh1611 4 года назад

    Did the homework on my own !! , including the math 😊👍 loving it....

  • @yveslagace8212
    @yveslagace8212 3 года назад +1

    I did the homework yesterday, BOOM! It worked on my first try, I guess I am making a lot of progress with this Arduino contraption ;-)