whoever says these videos are boring just isn't excited about learning something new and useful. Great job Paul.
@sigulf99 Жыл бұрын
Paul, you are not boring. I love your lessons. They help me keep my Alzheimer's in check
@srduke5 жыл бұрын
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.
@TheParksy723 жыл бұрын
I agree with you here the longer the video the more i learn :D
@Labattfartoui4 жыл бұрын
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.
@TheNewfiePilot5 жыл бұрын
I can't believe that people are complaining that your videos are too long and boring...Your videos are GREAT!!!
@travisderose Жыл бұрын
I was close but I couldn't quite get there without Paul
@silverroxx10215 жыл бұрын
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.
@heinrichsutton17954 жыл бұрын
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😁
@jamesc84533 жыл бұрын
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.
@EytanKoch3 жыл бұрын
Great job, Heinrich! Keep it up!
@raghavkabra162 жыл бұрын
I too 12 yrs old
@Mrerrol133 жыл бұрын
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!
@56Victorine2 жыл бұрын
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.
@tellder14 жыл бұрын
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!
@skmplanet95913 жыл бұрын
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.
@frang342 Жыл бұрын
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
@matthewframe922 жыл бұрын
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.
@lucast30063 жыл бұрын
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!!!
@edcox766610 ай бұрын
Another one in the books. Great lesson
@josecarloszart54413 жыл бұрын
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!
@paulmcwhorter3 жыл бұрын
Nice work!
@adirajchalotra Жыл бұрын
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!
@paulmcwhorter Жыл бұрын
Nice work!
@F2551234 жыл бұрын
I just want to comment letting you know how much I appreciate these videos. Thank you for these!! You are an excellent teacher.
@davidalex84034 ай бұрын
Im using these videos as intensive mechatronics review for my mechanical engineering capstone project and I’ll tell you guys I have understood better these explanations than any of my uni professors. Awesome job Paul !!!
@shmoe820 Жыл бұрын
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!
@lwo77362 жыл бұрын
I cannot believe that I tried the homework and actually managed to get it to work by myself, it's not the most efficient but I made it work! What a dopamine hit! I used the serial monitor to find out why it wasn't working and to keep track of what the variables were as a result of my button presses. int pwmold=0; int pwmnew; int rLed=11; int upPin=13; int downPin=12; int upPinold=1; int downPinold=1; int upPinnew; int downPinnew; int dt=100; int interval=50; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(rLed,OUTPUT); pinMode(upPin,INPUT); pinMode(downPin,INPUT); } void loop() { // put your main code here, to run repeatedly: upPinnew=digitalRead(upPin); downPinnew=digitalRead(downPin); if (upPinold==0 && upPinnew==1) { Serial.println ("the up button was pushed"); if (pwmold0) {pwmnew=pwmold-interval; Serial.print ("the new pwm is "); Serial.println (pwmnew);}} pwmold=pwmnew; upPinold=upPinnew; downPinold=downPinnew; analogWrite (rLed, pwmold); delay (100); }
@lwo77362 жыл бұрын
Whoops, I didnt do the buzzer, haha
@esaef91 Жыл бұрын
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.
@purvagn4 жыл бұрын
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
@paulmcwhorter4 жыл бұрын
Excellent!
@opalprestonshirley17005 жыл бұрын
I'll tell you something I have a lot fewer hairs after this. I've been at this for awhile and did everything very methodically checked the buttons, working. Checked the LED circuit, working, checked the buzzer, working. I was ready to, well I didn't. After several hours, "VIOLA" that bloody 10 Minute delay I put in, and why I never understand, success she works perfectly. Thanks Paul.
@paulmcwhorter5 жыл бұрын
Students often tell me "my project isnt working", to which I reply, it is doing exactly what you tell it to. You would be amused if you knew all the incredible ways I have seen students make things not work. Lots of fun! Keep up the working and learning.
@opalprestonshirley17005 жыл бұрын
@@paulmcwhorter Oh I'd believe you, I've seen some whoppers that would make you laugh till you come apart at the seems. Looking forward to more, love the challenges, at 70 years I don't get many fun ones.
@muhammadrafiqulislamkhan69942 жыл бұрын
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.
@animatrix91388 ай бұрын
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!
@davidbgood2801 Жыл бұрын
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 KZbin is I can replay over and over until I get it. Many thanks and best to you.
@hungry85603 жыл бұрын
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!
@hungry85603 жыл бұрын
it turns out I write it in a really complicated way...
@Thor6825104 жыл бұрын
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.
@mrktm65sx Жыл бұрын
I think these are the best Arduino tutorials on the Internet. Thanks Paul!
@shvideo14 жыл бұрын
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!
@richardfeist93403 жыл бұрын
I still had you watch you Paul, but every time I do another lesson my understanding and knowledge increases. Many Thanks!
@NOS1872 жыл бұрын
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!
@jimfisher50994 жыл бұрын
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
@adamcurtice35842 жыл бұрын
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.
@pradeepdube13982 жыл бұрын
Hey Paul, I kinda misunderstood the requirement and ended up making a 4 step LED which works like this: 1. Press once to turn 25% brighter. 2. Press second time to turn 50% brighter. 3. Press third time to turn 75% brighter. 4. Press fourth time to turn 100% brighter. 5. Press fifth time to turn off. 6. Carries on.... I failed to make what you asked for but liked what I ended up making. Thanks for the wonderful lessons Paul!
@Rorschachcollision Жыл бұрын
how can people say this is too long or boring? these videos are fantastic.
@peteosburn77882 жыл бұрын
well Paul you are not long and boring. You are just being complete in your teaching .Good work
@robinsimpson90382 жыл бұрын
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!!!
@robinsimpson90382 жыл бұрын
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
@yonnialvarez93882 жыл бұрын
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
@daveharkin47315 жыл бұрын
thank you Paul, your tutorials are excellent, please keep them coming.
@kiranbs50574 жыл бұрын
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
@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!!
@ironsaberacademy3 жыл бұрын
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.
@HeavyHiitter2 жыл бұрын
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!!!
@williamlemley4333 Жыл бұрын
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.
@MrRealCAM2 ай бұрын
Got this working all by myself today. It took me a little while to get it iron out some kinks but I'm so proud of it. I am going onto the next lesson, but I am not ready to take it apart just yet. Thanks Paul, these lessons are great
@laxmanrao45544 жыл бұрын
I did the task by myself!! 😁😁 but all thanks to you Paul!! It included few trials and errors (a lot actually!) My breadboard is half the size so couldn't fit the second switch as there were lots of wires and other stuffs in a small place. But i got the idea so it won't be difficult had there been an additional switch anyway. Here i have used 1 switch, 1 led and 1 passive buzzer. Codes as balllow : 😁 Variables int ledPin=6; int buttonPin=2; int k; int M; int buzzPin=4; int dt=100; void setup(){ Serial.begin(9600); pinMode(ledPin,OUTPUT); pinMode(buttonPin, INPUT); pinMode(buzzPin, OUTPUT); void loop(){ M=digitalRead(buttonPin); Serial.println(M); if(M==0){ k=k+5; analogWrite(ledPin,k); delay(dt); if(k>250); k=250; Serial.println(k); digitalWrite(buzzPin,HIGH); delay(dt); digitalWrite(buzzPin,LOW); delay(dt); } } if(M==1){ k=0; digitalWrite(buzzPin,LOW); } analogWrite(ledPin,0); }
@fahimabrar8141 Жыл бұрын
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.
@paulmcwhorter Жыл бұрын
Great job!
@glendsouza40493 жыл бұрын
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 👍👍
@paulmcwhorter3 жыл бұрын
Best of luck!
@rushipatel69653 жыл бұрын
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
@Jim-mn7yq4 жыл бұрын
Excellent project. The more you struggle on your own before watching Paul's solution the easier it is to follow him.
@GeoGebweiler5 жыл бұрын
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.
@jagadeesan1273 жыл бұрын
Without watching video. I completed this. You are awesome ❤
@simontopley4771 Жыл бұрын
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.
@stevenwoest3241 Жыл бұрын
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.
@pokerface683 жыл бұрын
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 Жыл бұрын
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!
@mahdisaad5041 Жыл бұрын
You’re Amazing teacher /Human never boring 😊 keep up the good work Mr. Paul
@johnshields7552 жыл бұрын
I dont think these tutorials are too long or at all boring. Keep em coming I say, i am gratefull that Mr Mc whorter posts these tutorials they are both interesting and informative. I am doing the fuzion 360 ones then the rasp pi ones next. So thank you Mr Mcwhorter i take my hat off to you sir.
@paulmcwhorter2 жыл бұрын
More to come!
@johnshields7552 жыл бұрын
@@paulmcwhorter That is great to hear!! Thanks for the info, you are a good teacher, and i will most probably work my way through most of your stuff. Big thanks for posting these tutorials, i learn a lot watching along with my elegoo box of tricks.
@always_broke_LOL2 жыл бұрын
Happy New Year . Your videos aren’t boring to me.
@Joe_Parmesan8 ай бұрын
This was a fun lesson! I had some things figured out on my own, like needing an analogRead command, and knowing that one button needed an integer amount added too it (for brightening), and the other button needed an integer amount subtracted from it (dimming). The real result makes great sense though. Thanks, Paul!
@paulmcwhorter8 ай бұрын
Excellent!
@Японскийшагзашагом Жыл бұрын
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!
@paulmcwhorter Жыл бұрын
Excellent!
@michaeljenkins23453 жыл бұрын
Never too long and never too boring!
@autocrosser1011 ай бұрын
I was not able to get the code worked out myself on this one. I got the circuit wired up, with 2 buttons controlling 1 LED (on and off). I got stumped trying to figure out how to dim them. Once I watched ahead it made perfect sense. Like you, I did not think my buzzer was working and added a println for LEDBright. I was shocked when I hit play again and watched you do the exact same thing!
@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!
@jakubkosior6 ай бұрын
Thank you for another fabulous tutorial Paul! I have also added quick beep at each button press. Now moving to next tutorial ^^.
@pavz3 жыл бұрын
And boom! Managed to do completely by myslef and it wasn't even that difficult. Slightly different way as I have used =5 to stop going above 255 or below 0 and also different way to give buzzer alarm. Great lessons, I have learned a lot from you Paul, as I have never done any programming before.
@stienabolt2 жыл бұрын
Hey! I did it by myself! BEWM!!! I hadnt figured out how to prevent it from going over 255 and under 0. So excellent lesson once again. Hello from Australia :D
@lensman1922 жыл бұрын
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.
@highscores35039 ай бұрын
the last assignment took ages to wrap my head around the logic. putting an if loop within an if loop never occurred to me so I tried everything for days and days to get it to work otherwise and couldn't. this one went much easier with that info, however I was only able to get it to increment by 1 up or down while being held or pressed and didn't want to take 3 more days ironing it out, but I did end up getting the project to work as described. one button turns it on and if pressed or held gradually increases the other does the same but opposite. thanks for the fun project!
@rahatfaruk97474 жыл бұрын
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.
@kunasharath26373 жыл бұрын
Thank you Sir.....I found your channel...Recently....And I am so lucky to found you.....I am in 2nd year of my engineering and you inspired me and made engineering feel more fascinating.....I am going to watch your python series too......Thanks a lot for your work.....I did dimmable LED without watching your video in less than 30min.... because of knowledge i acquired from previous videos :D
@reece6743 жыл бұрын
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!
@zudzifudushzy2 жыл бұрын
Hi Paul, great lesson as always! I didn't use the buzzer in my code but I made it work with only half of the coding lines you used :) My void loop is only 4 lines long :D Here is what I came up with: int LEDPin = 9; int buttonUpPin = 11; int buttonDownPin = 12; int dt = 10; int brightness = 128; //starting at half brightness void setup() { // put your setup code here, to run once: pinMode(LEDPin, OUTPUT); pinMode(buttonUpPin, INPUT); pinMode(buttonDownPin, INPUT); analogWrite(LEDPin, brightness); } void loop() { // put your main code here, to run repeatedly: if (digitalRead(buttonUpPin) == 0 && brightness < 255) { brightness = brightness + 1; } if (digitalRead(buttonDownPin) == 0 && brightness > 0) { brightness = brightness - 1; } analogWrite(LEDPin, brightness); delay(dt); }
@briankelly4095 Жыл бұрын
I was successful on my own but I will admit that I never considered adding an audible warning. Thanks Paul.
@FernandoMartinez-kw9kj3 жыл бұрын
Greetings Paul, your series of Lessons is just awesome! Its a complete guide into arduino for free, great work man! I got this one figured out even though i used a different approach, i created a counter and set the led to 5 different dim levels. Keep it up man education is king !
@paulmcwhorter3 жыл бұрын
Nice work!
@LakshayKaushik-bs5wh6 ай бұрын
i tried using the approach in previous video(toggle switch ), was able to brighten up and down the led but got stuck when had to continuously increase or decrease brightness by just pressing the button for long , so had to watch your video. Anyways learned a lot and thanks for these lessons, they are serving me great even after 5 years.
@mukageegee5 ай бұрын
Still here Paul.Still refreshing. Many thanks!✝
@paulmcwhorter5 ай бұрын
Enjoy!
@paulrockwell99143 жыл бұрын
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.
@aliaskri9823 жыл бұрын
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.
@robertschuldenfrei2402 Жыл бұрын
I got it right by myself. This was a very good tutorial because if you understood tutorials #14 and #28 you can solve this assignment.
@mu-eenkhan1014 жыл бұрын
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.
@Puckatr0n2 жыл бұрын
I am very proud to say that after an hour of thinking, prodding, coding, using the wrong types of statements, going into and coming back up out of, a rabbithole, and more thinking, I achieved this one on my own! I am now about to watch the rest of the video (I'm paused at 1:46) and see how you did it.
@paulmcwhorter2 жыл бұрын
it is called learning! If it were not challenging, it would not feel so good when you figure it out.
@richardbritain74352 жыл бұрын
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.
@MarvelBi7 ай бұрын
You are a great teacher man. I tried my way first and the led kept flashing really bright for a split second whenever it was at 0 or 255 going up or down. You fixed my problem
@maharencall32193 жыл бұрын
I managed it Paul, thanks to your masterful guidance. Thanks for teaching us the meaning of 'hooking a brother up'! Once I have a bit more disposable income, I would be honoured to be a patreon. Regards from Wales
@markgeorge22003 жыл бұрын
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!
@Stevederald5 жыл бұрын
I completed the project myself first! The videos are excellent, the length and math are great too! My confidence is on the rise!
@Jason-ot6jv4 жыл бұрын
Paul you are THE MAN. I am really loving these series!!
@SagiBachar3 жыл бұрын
I did it all alone thanks to your previous lessons, must say i'm bit proud of myself. thank you so much for giving me that feeling with your videos Paul :))
@paulmcwhorter3 жыл бұрын
And I am proud of you too! Most Excelllent.
@wallaceshackleton18894 жыл бұрын
Admitted defeat when I forgot what the task was. It's been a long lockdown day. I can't believe you didn't connect the pull-up resistors directly from the 5V rail. Less messy wires, simplifying the layout. TOP TIP - I routed the buzzer through the spare push button and only pressed the button when I wanted to hear the tone, sheer bliss not having that oversexed mosquito screaming in my lugs.
@aryankr5553 жыл бұрын
Yup!! I finally completed and debugged it myself. The last assignment motivated me to push myself more harder, and it's done😁
@paulmcwhorter3 жыл бұрын
Excellent!
@tashadurrahman4 жыл бұрын
Hey Paul, I did the assignment today and it went great. Keep making these videos. Thanks.
@rishonfernandes79764 жыл бұрын
i did it big bro paul😁😁. I'm twelve and i just understand each and everything of your tutorials. Also i figured out the led dimmer with push buttons
@ABDULAZIZ-oj1hx3 жыл бұрын
I would like to describe your videos in only 2 words, EXCELLENT AND GREAT. Thank you very much paul
@paulmcwhorter3 жыл бұрын
Wow, thank you!
@k3nmast3rs5 жыл бұрын
Hello, Paul! What a wonderful job you're doing! Keep it Up! What I did was the next thing: I changed the pull-up resistor to pull-down, create a global counter, dimm the led 5 times. But I just couldn't stop the counter up to 5-6. int buttonLeft=13; int buttonRight=12; int ledPin=6; int counter=0; int buttonStateLeft; int buttonStateRight; int brillo; //brightness int dt=100; void setup() { Serial.begin(9600); pinMode(buttonLeft, INPUT); pinMode(buttonRight, INPUT); pinMode(ledPin, OUTPUT); } void loop() { buttonStateLeft=digitalRead(buttonLeft); if(buttonStateLeft>0 && buttonStateLeft0 && buttonStateRight
@rukidding75884 жыл бұрын
Yes, I got it on my own, but I did some things differently. I used an increment of +/- 1 for the LED brightness. I found I could control the ramp up/ramp down speed more easily by changing the delay time. By using 2 different delay times, I could make the visually apparent brightness change upward more closely match the change downward. I also used compound if statements to detect which button was pressed and check if the LED level was above 255 or below 0.
@brikozub Жыл бұрын
I also preferred using nested if statements, but I did like the way he caught max and min values, because you could use any intervals for increase/decrease. The way mine was written, the brightness level would get messed up if my brightness intervals weren't a factor of 255. if (digitalRead(dimmerPin) == LOW) { Serial.println("dimmerPin is pressed"); if (brightness > brightnessLowest) { brightness -= brightnessInterval; } }
@jonathanmalamy37602 жыл бұрын
Yay. I did it before watching. The trial and error parts were figuring out 1) how to cap the upper and lower LED limits and to add a delay so that the dimming effect satisfies.