Arduino Tutorial 29: Using Push Buttons to Create Dimmable LED

Поделиться
HTML-код
  • Опубликовано: 23 сен 2019
  • 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 challenge you to create a dimmable LED using two pushbuttons. One button will brighten the LED while the other one will dim it. The project also includes a buzzer to give user audible feedback that the LED has reached maximum or minimum brightness.
    You can get the kit I am using for this series at the following link:
    amzn.to/2I7N4Ek
    Also, you can get the Mastech Digital Voltmeter I am using here:
    amzn.to/2Ks9nHN
    Follow this lesson 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
  • НаукаНаука

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

  • @Mouse_007
    @Mouse_007 3 года назад +147

    whoever says these videos are boring just isn't excited about learning something new and useful. Great job Paul.

  • @sigulf99
    @sigulf99 Год назад +6

    Paul, you are not boring. I love your lessons.
    They help me keep my Alzheimer's in check

  • @srduke
    @srduke 4 года назад +114

    13:23 "Too long and too boring". In my opinion, the longer the video, the better. I can't get enough of this. You don't have to watch it all in one go if you don't want to. Keep up with the excellent Paul.

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

      I agree with you here the longer the video the more i learn :D

  • @Labattfartoui
    @Labattfartoui 4 года назад +14

    I've waited 29 lessons to say anything, but you are a pretty damn good teacher. I'm not a math guy, but you've made the math easy to understand, and I've been able to do almost all the exercises before you've explained them because you've been so thorough as you've helped your students build their coding muscle bit by bit. I appreciate all the in-depth explanations of the physics and math, so keep it coming.

  • @heinrichsutton1795
    @heinrichsutton1795 3 года назад +78

    Hey Paul, thank you for the easy to follow and inspiring series! I’m 12 years old and I find your series innovative and intriguing. I was able to win the science fair only using the knowledge you supplied to me! BTW I figured out how to build the dimmable LED with pushbuttons😁

    • @jamesc8453
      @jamesc8453 2 года назад +7

      Hey I'm older guy watching Paul to fill in gaps I'm curious about... but seeing you do this at 12 and use it at your science fair is so inspiring Heinrich!!! Kudos to you and yes to Paul as well for his great way of teaching.

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

      Great job, Heinrich! Keep it up!

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

      I too 12 yrs old

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

    Your videos are not too long. I would say boring only to those who are more advanced. I am a firm believer in repetition in learning to give one a fluid understanding. I love how you repeat things, it really helps me to reinforce. Speaking as a industrial electronics technician for over 40 years. I see the potential and that is what excites me and provides the motivation to learn this coding.

  • @travisderose
    @travisderose Год назад +4

    I was close but I couldn't quite get there without Paul

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

    I can't believe that people are complaining that your videos are too long and boring...Your videos are GREAT!!!

  • @F255123
    @F255123 4 года назад +4

    I just want to comment letting you know how much I appreciate these videos. Thank you for these!! You are an excellent teacher.

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

    This was great fun project! Your videos are never too long or boring. Your detailed approach is very nice and unique and very helpful for deep learning. Thank you Paul for all your hard work. Also, I thought your soft “booms” were very amusing!

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

    Hey man, loved this one as well. I had done this myself before watching you do it, but I did it in a different way. Loving your tutorials.

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

    In last 10 days I have completed 29 tutorials. This has been possible only because of your excellent and unique way of teaching. Thank you very much. I hope I will soon complete all tutorials in this list.

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

    BOOOM!!! I made it!
    I thought, at first I would need to resort to your video but .... I was able to do it by myself!
    More and more excited (at my age...60 years old) with the small projects we are achieving and starting to "imagine" some others for the future.
    Thank you very much, Paul!

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

    Hey Paul, I was able to create the dimmable led, ALL BY MYSELF. It was really fun, and it was nice to see it work in the end

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

    It works !!! And I developed it completely by my own. To celebrate the day, now I put the green LED on :-D
    Have a lot of thanks, Paul. You are one of the best teacher I ever had. Much greetings from Germany.

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

    these videos are pure gold because is not like the other videos where they only barely teach you about arduino, mr Paul does hands on along with the coding part

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

    I did it! Took me a couple hours but I did it! At first I wrote a lot more code and used millis() to do it but later realized that it's unneccesary and the code worked perfectly without it. Can't wait to watch Paul's version and learn how can it be done in another way! I couldn't have done it without Paul's great teaching and attitude that we have to learn by ourselves and not just copying him. Thank you good sir! Thank you!

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

    I still had you watch you Paul, but every time I do another lesson my understanding and knowledge increases. Many Thanks!

  • @Jason-ot6jv
    @Jason-ot6jv 4 года назад +3

    Paul you are THE MAN. I am really loving these series!!

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

    thanks Paul, I found this lesson quite educational and challenging, it brought together everything we have seen so far....keep up the good work!

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

    Hi Paul, I completed it on my own using two if statements and a "count" variable which attached to an analogWrite. Your videos have been so helpful for me in learning about technology! I am so excited to watch the rest of this tutorial. Thank you so much!

  • @daveharkin4731
    @daveharkin4731 4 года назад +20

    thank you Paul, your tutorials are excellent, please keep them coming.

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

    I was able to make everything work as you requested. Had to look into your comment section what the buzzer was for. I will now start the rest of the video and see how you did it. Learning soooo much!!! I will try to catch up with your other series once this one is complete. Thanks again

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

    That was a huge step up but well worth the effort. I only got part of the way with the circuitry but I'm feeling more comfortable every time out of the gate. Thanks Paul.

  • @frang342
    @frang342 10 месяцев назад +1

    Hey Paul, just finished watching tutorial 26. I do a tutorial every night and work along with you as you do it. I'm new to coding and your tutorials are teaching me how to code. Please keep it up, I'm very appreciative these tutorials are helping me a lot. Thankyou

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

    Hey Paul, I did the assignment today and it went great. Keep making these videos. Thanks.

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

    I really enjoy the trouble shooting you do this helps me a lot, I have to say I am not as sharp as most on here but I know I will catch on as I practice over time and continue to follow your great teaching skills. One of the reasons I love having you on RUclips is I can replay over and over until I get it. Many thanks and best to you.

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

    It took me hours but I did it by myself. I totally over looked the idea and learned a valuable lesson. For me, it definitely helps to put the ideas down on paper and work out the solution from there.
    Great lessons! I am really enjoying it!

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

    Hey there, Paul! I'm watching this series 5 videos a day. I'm planning to make a project soon and would like to learn a lot from you first before doing it. Thank you for the videos! Stay safe out there, Paul!

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

    Amazing videos! I'm learning so much in just 3 days! This one I figured it out on my own. Made each button add or subtract from "j" value and used that value as an "analogWrite" to change the led brightness, using only 2 "if" commands. You're teaching is invaluable sir!!!

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

    I’m really new to electronics, Arduino, and programming. I paused the video to do the homework and after about 30 minutes of tinkering and fine-tuning I had everything just the way I wanted it. I made it so that it’s fine-tuned between 0 and 25 so you you can see the dimming/brightening more clearly in finer increments in that range, and then I did a lower resolution between 26 and 255 so that it brightens/dims more quickly in that regime. I’m amazed that I received my first Arduino last week and I’m already doing stuff like this on my own less than a week later. These tutorials are exceptional!!!

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

    Thanks Paul your lessons is great. It takes time for me but I am getting there, I have learned a lot since lesson 1. Thanks for putting your time and energy in this to help someone like me.

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

    Hey Paul, after a few days of thinking about this, and trying for loops, and while loops, I ended up using multiple IF statements and was able to get it to work. Although it took me some time, and I really had to think about what I was doing here, it was very rewarding to have discovered a solution without just watching the second half of the video. I love your teaching style. Thank you for all you do! On to see how you did it!

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

    Brilliant lesson. I tried but had to follow you in the end. I did figure out the issue though and fixed it with a bigger LEDbright +/-figure, so I'm happy with that. Thanks.

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

    Got it too work!!!! Too be honest, with your amazing tutorials and the great way you explain the components, it was pretty easy to put the components to make it work! Even when I'm not watching your videos, I'm still learning from you.

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

    Happy New Year . Your videos aren’t boring to me.

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

    Excellent project. The more you struggle on your own before watching Paul's solution the easier it is to follow him.

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

    I did some of the bread board stuff by myself, then made some variables, then watched you do the rest cause I felt a bit confused on what exactly to do haha. I got this thing to work and also added some small things to make the serial monitor look neater as well. Thanks for the amazing video Paul, had fun with this one!

  • @mu-eenkhan101
    @mu-eenkhan101 3 года назад

    BOOM! It works. I managed to figure it out. Now time to check out yours. Really fun project!
    Thanks for all the tutorials so far. Bought the kit and had it laying here for quite a few days cause I didn't know where to start...then BOOM! I found your tutorials and learning so much while really having a lot of fun.

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

    Hello Mr. Paul and greetings from Germany. I follow your tutorials a couple of weeks and I LIKE it. This Tutorial here works pretty well AFTER I disconnected the cable from the buttons to 5V.
    I really try to make my homework :-), so have a nice mug of Ice Coffee on me.

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

    Hello, Paul! I went to revisit the lessons on pushbuttons and on the active buzzer and could do the assignment. Thanks for yet another great lesson! Now, onto the servos! Cheers!

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

    So many thanks for sharing your knowledge and experience. It's really amazing the way you conduct the series and I have been following you to learn Arduino. I could do it with my self but a different way .

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

    well Paul you are not long and boring. You are just being complete in your teaching .Good work

  • @mrktm65sx
    @mrktm65sx 7 месяцев назад

    I think these are the best Arduino tutorials on the Internet. Thanks Paul!

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

    Thanks Mr. McWhortor. I have always had trouble with these tactile switches. I always had to use my multimeter to make sure that I had them oriented correctly. Now, I know how to tell if I have them correctly oriented correctly. A simple thing, I know but, you made it so much easier! Thank you!

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

    another great video paul i had an idea on how to do it but i still needed help i followed along and managed to complete with your help.

  • @glendsouza4049
    @glendsouza4049 2 года назад +5

    I did it on my own to and I was really stoked to see it in action. I’m 14 years old and I’m really interested in these things. I didn’t realize how much I loved coding after I bought my own starter kit. Anyways, I coded mine almost exactly like yours, just a couple format differences. When I look back it’s insane how far we’ve all come. Thank you so much Paul 👍👍

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

    Assignment is completed! Had to think several days and hit my head against the wall, but it's working!
    Thank you very much for your hard-work!

  • @56Victorine
    @56Victorine 2 года назад

    love the content It's wonderful. I have about 25 years of instructional design experience. I’ve spent thousands and thousands in front of the classroom.
    Everything is right., The level of difficulty, the increased complexity, making complex concepts simple to understand, and the importance of incorporating Mathematics and Physics.
    Even the advice to drink straight black coffee with no sugar. The impacts that Caffeine has on increasing the dopamine response and improving neuroplasticity. You are indeed someone that deeply understands learning.
    I really appreciate good educators., Thank you for what you do.

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

    I got this one to by my self without too much trouble. The first problem had to do with switch bounce. Easily fixed by adding a 100ms time delay. Then I discovered my switches were working in reverse. The green was dimming the LED and the red was brightening it. I verified all wiring and the coding looked ok. Finally I realizied I was looking for HIGH signals at the switches. When I changed this to low everything worked great. I used 2 nested if statements to check which switch was pressed and that it did not exceed 255 of go below 0. Works great every time. There is always more than one way to complete a project when it comes to coding. Thanks again for all you do.

  • @williamlemley4333
    @williamlemley4333 9 месяцев назад

    Wow, first post in 3 years on this video. These are still so relevant. I used two while statements to see which button was pressed and during that I would work magic on the brightness via PWM. AND, I did it without coffee. Onward to watching how the master does it.

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

    Excellent tutorials Paul, please keep them coming! Brilliant!

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

    Completed my circuit in a very similar way, had my minimum and maximum if statements outside of the other if statements that caused the light to turn on while your finger was pressing on the button below and above the range values but then return to the correct state once your finger let go. Did some quick debugging and got it fixed!

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

    Yes! I was able to do it. Now I am gonna watch the solution. I am amazed by how thoughtfully each lessons are created. Without doubt the best courses in Arduino.

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

    Thank you for the tutorial. I tried it on my own first, as you suggested. Did it using buttons as toggle switches; otherwise it ended up like your construction. I didn't realize you could just hold down the buttons to gradually raise or lower the value/brightness on the LED. Much simpler than the toggle mode but I'm glad I practiced the toggle mode as that boggled me a little at first.

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

    Got it! Thank you for taking the time to do these projects.

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

    yayy!! I figured it out on my own, without the buzzer, thank you Paul, you keep me inspired everyday ;)

  • @simontopley4771
    @simontopley4771 8 месяцев назад

    So, after the last lesson, i was feeling really demoralised, i will have to revisit that at some point, i really enjoyed this, find myself preempting some of the code you use, i didn't find this solution myself this time but did enjoy the debugging aspects. Like yourself i found my buzzer didn't until I enabled the level on debug, and found i wasn't holding the button long enough, i've now tweaked settings, now i've got a really responsive dimmer with excellent range of brightness.
    Thanks bud.

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

    As usual, nice lesson that builds nicely on your prior ones. I both tried this on my own (got it working) and reviewed your solution. It's fun to play around with code after the lesson to see what happens "if you do something a little differently", learning a lot in the process.
    I tried 3 ways to calculate the brightness level to see trade-offs of each. Yours was the simplest (simply increment/decrement "brightness" value). I also used "math" (gasp!) to map the 0-10 scale of inputs/button presses to the 0-255 values for of the analogWrite similar to what you've done in your other lessons. The other was to define an 11 element array to map the 0-10 scale to values to use in the analogWrite.
    I also tweaked the code as I wanted to be a bit more precise on when both the buzzer came on for the upper and lower limits and at what point to change the LED brightness. An analogy for the buzzer: If you turn the brightness to 10, there's no buzz. But if you try to go to 11, then I turn the buzzer on and keep the brightness at 10. (same thing for trying to turn it to zero and then try to go lower).
    I also turned the buzzer on after the light brightness had been set instead of before. Purely cosmetic as to the timing of the buzzer and light change.
    Nothing like "hands-on" experience.

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

    I'm pretty sure you knew the reason that buzzer didn't work, first time for me I was screaming at the screen saying "Paul give it some time"!! Brilliant video, that one has to be the best so far, really enjoying this series, thank you so much. Well done Paul!!

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

    Paul - I could do this on my own (I am jumping and looking to do more complex things now!!) - Thanks to you!!! You are too good as a teacher!!!

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

      Slightly different code suing nested IFs (using steps in 17 - a multiple of 255 - but still seems too much!)
      int buttonPin1 = 13, buttonPin2 = 12,
      ledPin = 6, buzzPin = 9, i=0;
      void setup()
      {
      pinMode(buttonPin1, INPUT);
      pinMode(buttonPin2, INPUT);
      pinMode(ledPin, OUTPUT);
      pinMode(buzzPin, OUTPUT);
      Serial.begin(9600);
      }
      void loop()
      {
      if (digitalRead(buttonPin1) == 0)
      {
      i+=17;
      if (i>255){
      digitalWrite(buzzPin, HIGH);
      i = 255;
      }
      analogWrite(ledPin,i);
      delay (250);
      }
      else if (digitalRead(buttonPin2) == 0)
      {
      i-=17;
      if (i

  • @ABDULAZIZ-oj1hx
    @ABDULAZIZ-oj1hx 2 года назад

    I would like to describe your videos in only 2 words, EXCELLENT AND GREAT. Thank you very much paul

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

    Thank you, the longer videos - the better. Love your content and the way you teach.

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

    Had fun with this. I enjoy having success and then seeing how close my code is to yours. I even did the button checks first before the LEDs so you must be leaving an impression on me. I made it so mine came on at 50 percent brightness and if they press both buttons simultaneously, it shuts off immediately.

  • @jakubkosior
    @jakubkosior Месяц назад

    Thank you for another fabulous tutorial Paul! I have also added quick beep at each button press. Now moving to next tutorial ^^.

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

    Without watching video. I completed this. You are awesome ❤

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

    my goodness! I spent about 2 hours trying to get this to work prior to watching the video. I appreciate the way you present material, make it fun (coffee jokes, green and blue LED for special occasions, holding breath!) and really enjoy the homework. Once I heard the prompt from Tutorial 28, I went to make some breakfast and thought about how to approach the problem. Once I sat down, I raced to get the wiring setup and then went to code. Then the real learning curve began. The system wasn't working as I had hoped and after troubleshooting, I began to see that the push buttons were not registering '0' when pressed. After an hour, I decided to take it all apart, scrap all the code, rewatch previous tutorials and look at Tutorial 28 code and start from the beginning. First hook up an LED to 5V and confirm that wiring was correct; then individually set up a circuit for two push buttons and confirm via serial monitor that they were displaying 1 was detented and 0 was indented. At that point I was confident that the hardware was setup correctly and then I moved onto writing logic code to increment and decrement the LED value based on the button that was pushed. The process became frustrating at times because the system wasn't working!! But starting over and going step by step was necessary for me. Time to watch this tutorial to see how you did it and compare your method to mine!

  • @anthonyj.dipasqua4676
    @anthonyj.dipasqua4676 3 года назад

    Super cool Mr. McWhorter! As far as setting up the circuit, I got it right without watching further, however, coding required your help. I was able to set my variables and pinModes with out your help - just needed the logic. I will chalk this up to a win for me and you! Happy New Year by the way! Thanks again!

  • @Dfresh-h4r
    @Dfresh-h4r 4 года назад +2

    thanks Paul i try the circuit and skatch and it work with no problem, this will be useful for my motorize remote control blind project.

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

    Another great lesson. I sometimes get confused as where to put lines in the sketch, but getting there....slowly but surely.Many Thanks

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

    Hello Sir .....I did this project On my Own ...it took long for me to make it work perfectly .....but ya that's how learning goes and believe me u are just superbly great at this job . Learning a lot from you and from your tutorials . Thanks man ......I unexpectedly found your videos and I'm glad I found it . Thank you again

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

    Never too long and never too boring!

  • @mahdisaad5041
    @mahdisaad5041 7 месяцев назад +1

    You’re Amazing teacher /Human never boring 😊 keep up the good work Mr. Paul

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

    i did mine the same as far as the LED brightness setting goes (only with a shorter delay because I am impatient lol) but I missed the part where we were using the active buzzer and instead used and coded for the passive buzzer but achieved about the same result. I know it was a while ago now but thank you very much for doing this series, I am thoroughly enjoying it and learning alot!

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

    Great lessons! People who say it is boring don't know how to put time into something you realy want to learn and not just get a quick guide.

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

    Aight so i did it by myself, using two buttons two value storing variables, two nested if statements, the if statement check if the button is pressed or not. At first i was thinking of using button to initiate for loops and analog write to decrease the brightness, but instead i chose more simple way and just by using if statement so if the increase button was pressed the value will keep going until it reaches 255 as 255 is max for analog write, and thats the point where another if statement where it checks if value is 255 or not, if 255 it keeps it 255, else it increments the "light" variable as ++light and i did this kind of a thing with the second button like "--light" and it works. Now time to see how Paul does it.
    Youre absolutely an amazing teacher who goes to the basics to advanced level things for the most perfect understanding and making our mind thinking capacity more broader. Absolutely amazing series it helps a ton with my project!

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

    Who says your class is boring. One who attends your previous class he must enjoy and stick with you like a glue. He can not waste a single second. He does not like any interuption at all. Your class always brings some new or different tastes that is why every class is so important to understand coding. God bless you. Thank you very much.

  • @Rorschachcollision
    @Rorschachcollision 8 месяцев назад

    how can people say this is too long or boring? these videos are fantastic.

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

    Thanks, Paul. Your videos are excellent! I did the project all by myself!

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

    The best teachers teach from the heart, Thank you Paul you are wonderful ,God bless you always .

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

    very nice I like the integration of many of the devices that we have used.

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

    Thank you Paul. I am learning to code and you are to my opinion the best teacher.

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

    Wow, this one got my brain on bonkers. I did it and I'm eager to see your method. Thank you once more for these.

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

    I loved the video, explanations, and of course expressions. Keep up Paul.

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

    Hi Paul, we (father and daughter from down-under) made the circuit work with two push buttons without looking at the video. Yay!!! We had to go back and watch tutorial 7 & 27 to clarify a few bits and bobs. THX Paul.
    P.s.- This message is from my daughter

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

    Hey Paul, I’m 15 years old and I figured out how to make the dimmable LED with the push buttons!
    Took me nearly 3 weeks to figure it out on my own, but once I got it, I was so happy!
    Thank you for making these videos as I want to pursue a career in aviation as a test pilot and find the Arduino kit a very fun to use!

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

    Honestly if people are going to complain about this awesome tutorial that you’re putting out. They don’t need to be here. I have trouble with the math part ,I’m not a fan of math because I suck at it . That doesn’t mean I’m still not trying to do it. That’s part of it. If you want to learn how to be an electrical engineer, sometimes you gotta do things you don’t like. At the end of the day, you’re gonna know something about something he didn’t know about. Thank you for your super awesome tutorials I’ve learned so much in the past couple weeks.

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

    Sir ,your tutorial is too good and conceptual to explain.
    Thanks a lot.
    Again I created dimmable LED using push button without seeing the tutorial.

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

    Great job, Paul. With the earlier lessons it was pretty simple to get this one done. The only difference is that I've used a while loop instead of an if statement. Cheers!

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

    I did it, but in another way!(now i'm super proud of myself).Love your lessons!!!

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

    Nailed it! I feel like this makes up for my toggle switch failure. I've learned a lot already and now I can see that there often is more than one way to solve the code. My code differed a bit from how you did it but still gets the does job done.

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

    I MANAGE TO DO IT WITHOUT WATCHING THE VIDEO. I'M SO PROUD! Please keep the challenges at the beginning of the video so I will use my brain. It's hard but I'm glad I tried it myself before watching you!
    I'm glad that you are passionate about teaching. I know because you put those challenges at the beginning of the video knowing people might click off if they figure it themselves. So, in return, I will watch the whole video!

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

      it turns out I write it in a really complicated way...

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

    Yup!! I finally completed and debugged it myself.
    The last assignment motivated me to push myself more harder, and it's done😁

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

    I was able to do it on my own. I did do it differently. I used 2 nested if statements. But I did use Serial.print to check my work as I was going along. Great project. Keep up these great videos.

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

    Enjoyed this one too, although you didn't specify what you wanted the buzzer to do initially, I got the led to brighten and dim as required. Once you explained that you wanted the buzzer as a warning when the limits were reached, I paused the video and got that to work also. I have to say, it has taken me several lessons to start clicking, but now I seem to be building momentum. Thank you for another fine lesson!

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

    Love these lessons! They’ve renewed my interest in arduino!

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

    Using 4 switches, I made a RGB mixer with an RBG LED. 😁
    I bought the elegoo kit over a year ago, but your lessons have made me actually understand and write arduino code - rather than just copy and paste.
    By the way, I like the math in other lessons!

  • @douglasmckinley-sr1507
    @douglasmckinley-sr1507 3 года назад

    Got it to work before watching. Enjoy watching the debugging.

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

    I did the assignment and got it all working before watching your solve for it. I did almost the same thing as Paul with the checking for over or under limits. My program had 6 if statements, some of them nested. My circuit was a little more spread out by using the top rail for plus and the bottom rail for minus.

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

    This is a good project.
    Managed to print LEDbright to see if buzzer would turn on before got to point in video.
    Also added to code to turn off LED if both buttons are pushed