Arduino Tutorial 30: Understanding and Using Servos in Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 717

  • @adnan.khuzema396
    @adnan.khuzema396 4 ปีที่แล้ว +162

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

    • @delandbrooks3291
      @delandbrooks3291 3 ปีที่แล้ว +11

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

    • @aaronmilliman7685
      @aaronmilliman7685 2 ปีที่แล้ว +12

      So have you "Hooked a brother up yet"?

    • @FurkanOz480
      @FurkanOz480 ปีที่แล้ว

      @@aaronmilliman7685 xDDD

    • @andreasa1293
      @andreasa1293 ปีที่แล้ว +6

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

  • @rubenacruzorengo8592
    @rubenacruzorengo8592 3 ปีที่แล้ว +101

    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 3 ปีที่แล้ว

      @@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.

  • @wc2420
    @wc2420 3 ปีที่แล้ว +52

    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 3 ปีที่แล้ว +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.

  • @perjohnsen5048
    @perjohnsen5048 3 ปีที่แล้ว +18

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

  • @thethubbedone
    @thethubbedone 4 ปีที่แล้ว +39

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

  • @higuy2k
    @higuy2k 5 ปีที่แล้ว +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 ปีที่แล้ว +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

  • @johnicebourne217
    @johnicebourne217 7 หลายเดือนก่อน +11

    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.

    • @paulmcwhorter
      @paulmcwhorter  7 หลายเดือนก่อน +2

      Excellent!

    • @李晶-q2k
      @李晶-q2k 7 วันที่ผ่านมา

      @@paulmcwhorterhi

  • @freemind2pointo
    @freemind2pointo 5 ปีที่แล้ว +96

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

    • @brock1793
      @brock1793 4 ปีที่แล้ว +3

      lol to real about coffee

  • @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 9 หลายเดือนก่อน +1

      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.

  • @ylevite
    @ylevite 2 ปีที่แล้ว +4

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

  • @tiberiumihaescu7348
    @tiberiumihaescu7348 5 ปีที่แล้ว +75

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

  • @saqlainkhantrex4273
    @saqlainkhantrex4273 2 ปีที่แล้ว +1

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

  • @raminamiri9610
    @raminamiri9610 2 ปีที่แล้ว +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.

  • @Seanseerey
    @Seanseerey 5 ปีที่แล้ว +23

    Us old guys appreciate your patience

  • @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. 👍

  • @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.

  • @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 TH-cam haystack.

  • @laurentc864
    @laurentc864 5 ปีที่แล้ว +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.

  • @Yogibernd
    @Yogibernd ปีที่แล้ว +1

    Danke!

  • @irete267
    @irete267 ปีที่แล้ว

    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.

  • @Японскийшагзашагом
    @Японскийшагзашагом ปีที่แล้ว

    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.

  • @jonnyjohnson5025
    @jonnyjohnson5025 5 ปีที่แล้ว +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!

  • @doverivermedia3937
    @doverivermedia3937 2 ปีที่แล้ว

    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.

  • @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.

  • @chrisingram7277
    @chrisingram7277 5 ปีที่แล้ว +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.

  • @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.

  • @Laurenzollamass
    @Laurenzollamass 10 หลายเดือนก่อน +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!

  • @richterxxazula
    @richterxxazula 3 ปีที่แล้ว

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

  • @aloysiusstaana
    @aloysiusstaana 3 ปีที่แล้ว +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

  • @tomroberts3851
    @tomroberts3851 2 ปีที่แล้ว

    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

  • @edcox7666
    @edcox7666 10 หลายเดือนก่อน

    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.

  • @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.

  • @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 TH-cam for the Arduino.

  • @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

  • @lancek2536
    @lancek2536 4 ปีที่แล้ว

    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.

  • @et4493
    @et4493 2 ปีที่แล้ว

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

  • @caripatd232441
    @caripatd232441 4 ปีที่แล้ว

    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.

  • @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!

  • @robertnelson1802
    @robertnelson1802 4 ปีที่แล้ว

    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.

  • @markfuentes3666
    @markfuentes3666 5 ปีที่แล้ว +2

    I have not had to do this type of math in 30 plus years. You are killing me. But, please do not stop giving us home work with math in them. I need to find and dust off my math hat. Thanks for these wonderful videos.

  • @billglass5160
    @billglass5160 4 ปีที่แล้ว

    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!

  • @MechElec208
    @MechElec208 3 หลายเดือนก่อน

    I did the homework. I did it on my own and it worked. Thanks again Paul for another terrific lesson!

  • @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!

  • @shmoe820
    @shmoe820 ปีที่แล้ว

    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.

  • @GaryGraham-y7x
    @GaryGraham-y7x ปีที่แล้ว +1

    I did the home work and got the circuit and servo to work. I am a mechanical engineer which made it easier for me to figure out.

  • @grayson2455
    @grayson2455 4 ปีที่แล้ว +201

    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 4 ปีที่แล้ว

      nope.

    • @williamreisner894
      @williamreisner894 4 ปีที่แล้ว +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

  • @bigmcdaddypig7817
    @bigmcdaddypig7817 4 ปีที่แล้ว

    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..

  • @andreiandrei8240
    @andreiandrei8240 3 หลายเดือนก่อน +1

    It's been a while since the video was uploaded, but I wanted to say that I did the homeworked, I did it on my own and it worked (17:44) :)
    Thank you for being a great teacher

  • @Lensindennis
    @Lensindennis ปีที่แล้ว +1

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

  • @orndorff52
    @orndorff52 4 ปีที่แล้ว +6

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

  • @souljr.
    @souljr. 10 หลายเดือนก่อน

    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.

  • @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.

  • @harshityadav8934
    @harshityadav8934 4 ปีที่แล้ว +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:-)

  • @dougrowell7817
    @dougrowell7817 4 ปีที่แล้ว

    I admit I don't do the homework per se. I watch the episodes and build a custom project using the info. Like a dimmable led to indicate 'system voltage". Sorry I used the 'special coloured LEDs but with good reason - a 'special occasion'.
    Pot adjusts the voltage, dimming the LED. Three 'digital' LEDs Green =3V/4V. >4 shuts the system down and sounds an active buzzer for 500ms. A pushbutton resets the system if voltage is set lower than alarm level.
    You have inspired me to change out the trim-pot for a pair of push buttons.
    I like to do it alone, but in bigger steps after seeing your vids.
    Great work Paul...and regarding complaints about taking too long - You have a target audience. If they are ahead of the game, choose a different tutor and support you at Patreon if they want a say in the content, otherwise it's free. Take it for what it is and be thankful.
    Some TH-cam is rubbish, but you a re clearly a hard worker and very professional.
    Thanks again. Happy to be a Patreon. Be proud.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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

  • @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!

  • @TheTechRancher
    @TheTechRancher ปีที่แล้ว

    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.

  • @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!

  • @katherineclarke4435
    @katherineclarke4435 4 ปีที่แล้ว +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!

  • @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.

  • @aliensx6046
    @aliensx6046 3 ปีที่แล้ว

    Thanks

    • @paulmcwhorter
      @paulmcwhorter  3 ปีที่แล้ว

      WOW! Thank you so much for your kindness.

  • @Harrison-nq5ty
    @Harrison-nq5ty 6 หลายเดือนก่อน +2

    I did my homework... I did it on my own ...and it worked

  • @aynursunagatullin7029
    @aynursunagatullin7029 4 ปีที่แล้ว

    Thank you Mr. McWorther, I did the homework and the math! After time the math becomes easy because you taught us how to do it and now it's In our brains, and it was very simple for me to do it, here is my code for anyone interested.
    P.S. I got the equation by making it so that when my lightVal is 200, my servo is at position 0, and when my lightVal is at 750, my servo is 180.
    #include
    Servo myServo;
    int servoPin=9;
    int lightPin=A0;
    int lightVal;
    float servoPos;
    void setup() {
    // put your setup code here, to run once:
    pinMode(lightPin,INPUT);
    myServo.attach(servoPin);
    Serial.begin(9600);
    }
    void loop() {
    // put your main code here, to run repeatedly:
    lightVal=analogRead(lightPin);
    servoPos=(180./550.)*lightVal;
    myServo.write(servoPos);
    }

  • @dannycollins5698
    @dannycollins5698 ปีที่แล้ว

    💥
    I did the homework. I did it on my own...because you have taught me how to do the math. I enjoy writing it out in my computational notebook.

  • @maxtuck6820
    @maxtuck6820 2 ปีที่แล้ว

    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.

  • @ErlankBru
    @ErlankBru 8 หลายเดือนก่อน

    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!😇

  • @JeniMaguire
    @JeniMaguire 8 หลายเดือนก่อน

    I also had an issue with servo going back to position 0. I tried the comment regarding 'No Line Ending' but that didn't resolve it. I googled and saw suggestions that the servo could be drawing too much current, and causing the arduino to reset. To test the theory I put a Serial.println(..) in the setup and sure enough it was getting invoked after the loop(), so it was resetting. I rewired it so the servo was powered from external supply (using the parts supplied in the kit) and everything is now working fine. I wanted to share in case others had similar issues. Thanks for a great series!!

  • @Pinhead678
    @Pinhead678 5 หลายเดือนก่อน

    i wish all my teachetrs in school had the same passion and skill as you do paul!

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 ปีที่แล้ว

    I was able to successfully do the assignment after watching this tutorial. You need to add the knowledge gleaned in Tutorial 14 about dimmable LEDs. The simulation (TinkerCAD) needed no delay time, but the real-world servo needed time to react. I used dt= 1000.

  • @AndrewLanier.
    @AndrewLanier. 3 ปีที่แล้ว +2

    Got a tip, if you want to use a bigger servo get a transistor and get a battery

  • @steveholt8991
    @steveholt8991 6 หลายเดือนก่อน

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

  • @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.

  • @jimfisher5099
    @jimfisher5099 4 ปีที่แล้ว

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

  • @md.mizanurrahman5852
    @md.mizanurrahman5852 ปีที่แล้ว

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

  • @metoliusdad
    @metoliusdad 4 ปีที่แล้ว +3

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

  • @chrisgosling5408
    @chrisgosling5408 2 ปีที่แล้ว +1

    Hello Paul, don't get stressed about the curly braces, hit return and this splits the braces with a line space. this helps to keep the formatting tidy as after writing some code it is very easy to forget the closing barce and cuts down on debugging due to poor writing.

  • @graemedurden8975
    @graemedurden8975 2 ปีที่แล้ว

    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!)

  • @tonytungate4540
    @tonytungate4540 3 ปีที่แล้ว

    I did the home work, I did the maths and it worked!!! “boooom” loving this..

  • @fabrom7792
    @fabrom7792 5 ปีที่แล้ว +2

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

  • @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!

  • @deunana3
    @deunana3 3 ปีที่แล้ว

    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.

  • @RavensHammer00
    @RavensHammer00 ปีที่แล้ว

    I did it! I did it!!!! I uploaded the coding, and nothing was happening, then I noticed the servo wiring control was in the wrong pin, and BOOM! It was off and running, and everything was great, and I got a promotion, I won the lottery, I got a new head of hair, and on and on! Okay, the only thing that really happened was the servo moving like it was supposed to, but I'm sure if I bought a lottery ticket, I'd win! Thanks for the lesson!

  • @leonardbenzies6374
    @leonardbenzies6374 ปีที่แล้ว +1

    It's amazing that companies can sell something that is not working properly, even being cheap. You would not have that 50 years ago, society is allowing the lowering of standards and other topics. Thanks Paul, your videos are great.

  • @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!😀

  • @freetjen
    @freetjen ปีที่แล้ว

    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.

  • @The2xWhiskey
    @The2xWhiskey 8 หลายเดือนก่อน

    I'm building a Pinewood Derby Timer with provided code and want to incorporate a servo to actuate the release gate. This is going to help me immensely! Thank you!

  • @johnkaradimas8403
    @johnkaradimas8403 3 ปีที่แล้ว

    Thankyou Paul for your great lessons, from down under

  • @phoenixkepo2743
    @phoenixkepo2743 3 ปีที่แล้ว

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

  • @hachimankmd5843
    @hachimankmd5843 3 ปีที่แล้ว

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

  • @mikerusling416
    @mikerusling416 4 ปีที่แล้ว

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

  • @robostark-oj5vh
    @robostark-oj5vh 5 หลายเดือนก่อน

    One of the best teacher in the world

  • @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.

  • @nisri1567
    @nisri1567 4 ปีที่แล้ว

    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.

  • @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.

  • @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.

  • @aceschnacke4312
    @aceschnacke4312 ปีที่แล้ว

    holy smokes, I can't believe I figured out the homework, even the math worked out. Thanks Paul