Arduino Tutorial 3: Understanding How Breadboards Work

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 1,2 тис.

  • @jamesricks5075
    @jamesricks5075 4 роки тому +497

    Hi Paul, I'm an 86 year old student of yours and I just want to say thanks.
    I retired from Texas Instruments in 1991 after a 33 year career. My early years was vacuum tubes and analog based. We built transistors but had no idea how to use one. I love your work.

    • @jameswiles7553
      @jameswiles7553 3 роки тому +4

      Why doesn’t the light flash consistently itt kinda random

    • @chaoscal7399
      @chaoscal7399 3 роки тому +2

      @@jameswiles7553 i believe there is a delay between the arduono switching between high low (as its doing it so fast) and the time it takes current actually getting sent through the circuit which creates this offset

    • @ancala4140
      @ancala4140 3 роки тому +3

      @@chaoscal7399 how about our sight capability, i remember read an article long ago that state the eye perceive things as 'flickering' if it below 50Hz

    • @swayamsiddhadas5847
      @swayamsiddhadas5847 3 роки тому

      @@jameswiles7553 sir here we use the delay function so that we can see how it's deal with the how and low voltage flow there for it doesn't blink constantly . Sir i want my future career in @texasinstrument . Can u suggest me about anything... How to apply and how to get a job please.

    • @shubhampatil899
      @shubhampatil899 2 роки тому +5

      Its pretty inspirational that you doing things at this age sir

  • @PigNe0
    @PigNe0 4 роки тому +208

    "Wouldn't it be funny if I sliced an artery on youtube and started bleeding profusely?" DOESN'T EVEN CHANGE TONES
    madlad.

    • @austinratke5849
      @austinratke5849 3 роки тому +1

      would definitely drop a like

    • @MrDarrenp40
      @MrDarrenp40 3 роки тому +2

      Is all this some sort of 'prequel' to The Texas Chainsaw Massacre - lol?

    • @punteanu831
      @punteanu831 8 місяців тому +1

      So bold, laughed so hard in that moment 🤣

    • @pinec0ne
      @pinec0ne 8 днів тому

      he's pretty goated for that one ngl

  • @nihadazad
    @nihadazad 3 роки тому +246

    this channel is a better physics channel than any other on youtube this guy is such an amazing teacher

    • @baxter6504
      @baxter6504 3 роки тому +8

      I agree 100% 👍

    • @beniciopina9438
      @beniciopina9438 3 роки тому +5

      for real. yes!

    • @tomallen2351
      @tomallen2351 3 роки тому +3

      Thank you for your patience. Thank you, too for being on the beginner level.
      I'm 74 yrs old and you give me the encouragement to stay mentally active, plus learn new things.
      Looking forward to Lesson 4.

    • @shaheer_ghazi
      @shaheer_ghazi 3 роки тому

      Agreed Maa Shaa Allah

  • @RubenAvila-p6w
    @RubenAvila-p6w 10 місяців тому +2

    im 48. been installing tile for the past 30 years. i forced myself to retire and find something new and exciting. i enrolled in the local community college and landed myself a spot in Industrial Automation. its fast and sometimes theres not a lot of time to explain things to someone like myself who has no idea what theyre doing. Mr, McWhorter makes it easy to understand and explains everything clearly. Ep. 3 and counting.

  • @ggj666
    @ggj666 4 роки тому +190

    Oh my, 50 years old and i have been given homework, suddenly I am 14 again, cold sweat and panic.
    Thank you for the lessons

    • @MirceaCK
      @MirceaCK 4 роки тому +5

      I´m 54 and I´ve done the homework :)

    • @pumpkingolem9122
      @pumpkingolem9122 4 роки тому +6

      im litrilay 14

    • @edenshaffer1302
      @edenshaffer1302 4 роки тому +2

      @@pumpkingolem9122 same

    • @anomadicmouse
      @anomadicmouse 4 роки тому +2

      55 and giddy as a school boy learning this stuff!

    • @nikkip3385
      @nikkip3385 4 роки тому +1

      I'm 52 and just starting on this.
      Man I wish this chap had been my physics teacher. I might have done something useful with all those years since! 😂

  • @muhammadrafiqulislamkhan6994
    @muhammadrafiqulislamkhan6994 Рік тому +7

    Such a great Arduino teacher. We are lucky to have paul. This is third time to watch him. And now I can write this code as our teacher tells us:
    Void setup {
    pinMode(13, OUTPUT);
    }
    Void loop {
    digitalWrite(13,High);
    delay(500);
    digitalWrite(13,Low);
    delay(500);
    }
    First, we connect a wire with arduino board pin 13
    Second, we should set a current limiting 330 ohm resistor on bread board
    Third, connect LED long with +ve volt which comes from arduino board through current limiting resistor
    Fourth, a gnd connection is connected with arduino gnd pin and we need to connect gnd with LED short leg.
    Finally, my question, why we do not write code about GND as we write pin 13?
    Again, I would say God bless our great Arduino Teacher Paul. Thank you so much.

    • @paulmcwhorter
      @paulmcwhorter  Рік тому +3

      Because ground is just an electrical connection, like just the place where the ground lead comes from the power supply. It is not programmable, so is not mentioned in the code.

    • @samueltheprogrammer6145
      @samueltheprogrammer6145 Рік тому

      GND does not have a switch or anything to control it with, so we do not need to say anything about GND in the code. keep up the good work.
      Samuel :)

  • @albertshilton2346
    @albertshilton2346 4 роки тому +98

    Ok Paul, I am 75 and learned basic electronics in high school in 1959. I became a HAM in 2002 an have done nothing related to electronics until now. Vacuum tube theory was great, but I’m excited about getting into today’s world with your help. Your a terrific teacher. Thank you.

  • @linnarpewbes6594
    @linnarpewbes6594 5 років тому +827

    I just realized i'm watching the Bob Ross of arduinos.

    • @joeb.fromsydneyaustralia5313
      @joeb.fromsydneyaustralia5313 4 роки тому +9

      Oh wow! Spot on.... Love 'em both!!!! So easy to watch!!

    • @LanceMcGrew
      @LanceMcGrew 4 роки тому +2

      I was thinking Mr. Rogers

    • @jobsanjose1188
      @jobsanjose1188 4 роки тому +6

      not the bob ross arduinos but electronics

    • @krystelcompton840
      @krystelcompton840 4 роки тому +2

      I was leaning more towards Mr. Wizard. lol

    • @Yoqamar
      @Yoqamar 4 роки тому +3

      That’s exactly what i was thinking 😂🤍

  • @Ronavargas
    @Ronavargas 4 роки тому +127

    Going through these tutorials at 63 feels like being a teenager! Thanks for introducing me into an unknown and fantastic world. Now I feel that I need another life to learn about arduino and its whole set of applications...

    • @crowant3717
      @crowant3717 4 роки тому +8

      the future is now old man... lets enjoy it together (sorry for calling you old)

    • @navibean1635
      @navibean1635 2 роки тому +4

      Ronald: People only become 'old' when they decide to stop learning. If you are learning, then you stay young. Enjoy!

    • @Joseph-cn3vr
      @Joseph-cn3vr 2 роки тому

      @@navibean1635, You're absolutely right 100%. Keep Learning is the secret of staying young and useful all the days of our lives

    • @marks3400
      @marks3400 2 роки тому

      Like you I come late to the party 🎉

  • @clearsky4049
    @clearsky4049 2 роки тому +11

    Thanks to your tutorials I've just built my first LED circuit and I didn't burn my house down!

    • @paulmcwhorter
      @paulmcwhorter  2 роки тому +2

      Nice work!

    • @greyhnd001
      @greyhnd001 9 місяців тому

      YES he has helped me soo mutch over the years..

  • @ZTFsenpai
    @ZTFsenpai 4 роки тому +424

    i love how he randomly talks about slicing an artery XD

    • @toptinty6186
      @toptinty6186 4 роки тому +1

      Me to XD

    • @favesongslist
      @favesongslist 4 роки тому +3

      Not so funny, I had mine cut for a heart operation :(

    • @peaches4240
      @peaches4240 4 роки тому +12

      dark humor at its best lmao

    • @BokBokerS
      @BokBokerS 3 роки тому

      same here xD

    • @Karl-me4mh
      @Karl-me4mh 3 роки тому +1

      Yah, I love that kind of humor aswell.

  • @joehappin
    @joehappin 3 роки тому +8

    I had been using arduino for a while but a week ago I received the kit and starting viewing and listening the lessons.
    Many thanks and congratulations to the teacher both for the way he explain difficult things in a very simplistic way.
    After lesson 3, I tried to use the (for loop) to do the homework. Below I am sharing the code I used.
    void setup()
    {
    // put your setup code here, to run once:
    pinMode(12,OUTPUT);
    pinMode(8,OUTPUT);
    pinMode(4,OUTPUT);
    }
    void loop()
    {
    // put your main code here, to run repeatedly:
    // blink red led 5 times:
    for (int r = 0; r < 5; r ++)
    {
    digitalWrite(12,HIGH);
    delay(300);
    digitalWrite(12,LOW);
    delay(300);
    }
    delay(1000);
    // blink green led 10 times:
    for (int g = 0; g < 10; g ++)
    {
    digitalWrite(8,HIGH);
    delay(300);
    digitalWrite(8,LOW);
    delay(300);
    }
    delay(1000);
    //blink blue led 15 times:
    for (int b = 0; b < 15; b ++)
    {
    digitalWrite(4,HIGH);
    delay(300);
    digitalWrite(4,LOW);
    delay(300);
    }
    delay(3000);
    }

    • @joehappin
      @joehappin 3 роки тому +1

      I wanted to congratulate you too, PAUL for the nice video settup you have.

    • @MrkTan
      @MrkTan 3 роки тому

      I knew there was a more efficient way of writing the code

  • @NightmareFoundry
    @NightmareFoundry 2 роки тому +26

    I've had my Arduino kit sitting in my living room for a year and I was really too intimidated to sit down and learn it... you've made this both fun AND easy to learn.... This is so cool, THANK YOU PAUL!

  • @andresousa5302
    @andresousa5302 5 років тому +98

    You are an absolute genius in teaching. Thank you a lot for everything

  • @zahraasakrani5114
    @zahraasakrani5114 3 роки тому +13

    I love your videos! I'm 15 and for some reason, as of late I've become interested in this kind of thing. I tried looking for beginners videos and tutorials and your videos are the only ones that seem to truly be for people who are just starting out. You explain everything very well and I have not been confused once, thanks so much for making these!

  • @eduardocastellanoscampos293
    @eduardocastellanoscampos293 3 роки тому +2

    Hi Paul, I am 79 and I just discover your Arduino tutorials, they are fantastic and very easy to understand; I have no previous knoledge of electronics and I find that your explanatios are quite clear and lets me learn, thanks very much for your shared knoledge.

  • @alexschulz373
    @alexschulz373 4 роки тому +6

    Great stuff, I have been a professional programmer for over 40 years, but this is downright fun. Have to brush up my C though, haven't used it in a while.
    Homework is fun. I used a more advanced and flexible approach by creating a function to put a passed pin number high for a passed duration and low for a passed duration. The second function calls the first a passed number of times using a for loop, I then declared the pin numbers as constants RED, BLUE and GREEN. This made setting pinMode easy and passing the pin numbers clearer.
    You, sir, are a fabulous teacher. Thank you for all your time in this.

  • @pfv3462
    @pfv3462 27 днів тому

    I think you repeat the same thing regularly, I think you are an excellent teacher!
    I am now 61 and a truck mechanic, after that I was a Sharepoint admin at my work and build computers myself but want to make consoles for my flight sim myself.
    And although I think it is going slowly and I think I am back in school ;-)
    One thing is for sure you build up slowly, and make sure that all students are involved.
    I hope your lessons go very far!

  • @assembledremnant
    @assembledremnant Рік тому +4

    I’ve been using your tutorials and have bought my Elegoo kit, for the past 2 days I have been truly absorbing the knowledge from your videos as I absolutely love them, I plan on using my knowledge with Arduino to get into Animatronics and Pneumatics! Without your tutorials I would be lost. Thank you so much, Paul and God bless you!!

  • @ishsiriram8286
    @ishsiriram8286 4 роки тому +1

    Ish from South Africa - I am 49 years old ...never thought I could get so excited to see an led go on off on off on off. Waiting for my parts to arrive.

  • @estebanpoltorak1504
    @estebanpoltorak1504 Рік тому +3

    Congratulations Mr Professor, I am just a little younger than James, only 72 and I enjoy your lessons very much. This channel along with people like you makes me feel more optimistic towards the future for the young generations.

  • @derpatel9760
    @derpatel9760 Рік тому +4

    With you and google combined, learning Arduino has never been a simpler process! Thanks Mr. McWhorter!

  • @willemvanrensburg3644
    @willemvanrensburg3644 4 роки тому +12

    Hi Paul, this is super helpful. I am a teacher myself and I want to tell you, you are an exceptional teacher. You're moving nice and slowly so It's real easy to follow but you're keeping it light and entertaining and you don't let anything drag, so your students can actually learn and remember an amazing amount of knowledge.

  • @vernonfernandes3312
    @vernonfernandes3312 Рік тому +1

    Hi Paul. I'm 57. Wish UA-cam and teachers like you were around when I was in school. Would have mastered electronics then.
    But as they say "It's never too late", I have started my journey with teachers like you as my guide and mentor. Keep up the good work.

  • @josiest-amour5298
    @josiest-amour5298 3 роки тому +3

    I know it's nothing for pretty much every one, but I simply cannot believe I've been able to do this! Now I'm bummed because I do not have enough dupont cable in my own kit to do my "homework" so I'll have back back next week! Thank you, this is so much fun and so well explained

    • @paulmcwhorter
      @paulmcwhorter  3 роки тому +1

      It is a big deal to attempt something difficult and succeed. Really fells great to be successful at something hard. Congratulations.

  • @melanatedmoms5161
    @melanatedmoms5161 3 роки тому +1

    Thanks!

    • @paulmcwhorter
      @paulmcwhorter  3 роки тому

      WOW, really appreciate it. You are so kind, thank you so much for the encouragement.

  • @carolinecaroline2264
    @carolinecaroline2264 3 роки тому +11

    I just completed my first Arduino project, and I am very excited to learn more :) I have my 3 little LEDs dancing and I am excited about the possibilities.

  • @markus72wi
    @markus72wi 3 роки тому

    Dear Paul,
    I'm a 49 year old professional softwaredeveloper and wan't to learn something about microcontrollers. Now I found your channel and learn so much more . Thank you for your excellent work and the absolutly worthfull sharing of knowledge.
    Greetings from Germany
    Markus

  • @lifetech1989
    @lifetech1989 5 років тому +32

    You never get old, always fresh. My first youtube arduino tutor. Thank you!!

  • @dipakpoudel6036
    @dipakpoudel6036 Рік тому +1

    I am an electrical engineering of final year. I have heard my friend talking about aurdions making automated devices using aurdion but I was in vain actually how these magic things happen. But after watching ur videos ur teaching style with basic concepts not even leaving a single thing, I came to know the actual things how does it works . Ur video is so much helpful for normal student like us.

  • @gordrum
    @gordrum 3 роки тому +18

    I love this dude. I was hopeless learning the Arduino on my own - Paul gives me the confidence to dive in with a real understanding 👍

  • @thao3456
    @thao3456 2 роки тому

    I love your tutorials. Most UA-camr would gloss over details that would frustrate me. Thank you for breaking it down.

  • @paulusbouma9192
    @paulusbouma9192 5 років тому +11

    I appreciated the thorough explanation of the breadboard as it is a new device to me. I smiled when you assigned homework because it must be 50 years since I last did any!
    As to said homework, I was able to quickly write the code…copy and paste is my new best friend, but I’m guessing there’s a better way. Hooking up the circuit was also straightforward except for the ground connections. Not enough of them on the Arduino; then your breadboard lesson pinged in my brain and I used the ground row on the breadboard. Been staring at 5 red, 10 green and 15 blue for a while now. Maybe I’ll change it up! Thanks!

    • @paulmcwhorter
      @paulmcwhorter  5 років тому +6

      Well done! Wondered if anyone would really do the homework. A+

    • @rawcool
      @rawcool 2 роки тому +1

      You could just run one Grd to the negative row along the edge and run all the Grd s you need to it

    • @ronaldsethoga667
      @ronaldsethoga667 2 роки тому +1

      @@paulmcwhorter Sir would you be showing us how you would have done it?

  • @odogwunwoke7319
    @odogwunwoke7319 Рік тому

    hey, Mr paul, I am a Software Engineering student in Nigeria, been using your tutorial and I must say this is by far the best one.

  • @Bavubuka
    @Bavubuka 3 роки тому +67

    The fact that there's even one thumbs down, let alone 68, proves there really is evil in this world. This guy is pure gold.

  • @msirb9859
    @msirb9859 2 роки тому +2

    Hi Paul! I'd just like to say that you're a wonderful teacher!
    There are many tutorials on UA-cam for the Arduino, but yours actually teach how it works, rather than just how to make it work. Thank you for the great content!

  • @MJCPeters
    @MJCPeters 5 років тому +40

    😉 I love it when my instructor misspeaks and my brain catches it and I know what they meant to say. It is a sign that I understand the lesson.

  • @michaelbuffmire9688
    @michaelbuffmire9688 7 місяців тому

    You are an excellent teacher. I am a teacher myself. When I have never taught a student before, I assume they know nothing and make everything simple to understand. You are very good at doing that. Great job

  • @anonimato1987
    @anonimato1987 3 роки тому +3

    Boy oh boy am I glad I found this channel!

  • @alanbod47
    @alanbod47 11 місяців тому

    Not quite as old as James, I am 76, but I also want to say thanks. Your tutorials are easy to follow and so far have worked. I am really enjoying them. I just got my Arduino and everything works OK>

  • @ericsmith7988
    @ericsmith7988 4 роки тому +3

    Just found your online classroom. Thank you. I bought my kit a few weeks ago and the lessons they gave with the kit are very confusing to me. Your videos are helping me understand programming for the first time in my 49 yrs on this earth. I will be watching all of your lessons and I am doing my homework. Thank you.

  • @jorgebebelagua3774
    @jorgebebelagua3774 5 років тому +7

    Got my iced Coffee Tonight and dropped in my LED's :) Thank you for the video! I hated coding and anything that had to do with it in H.S because the teacher did not have any patience to break it down Barney Style. I've learned more in two nights than 4 years in High School.

  • @lg2058
    @lg2058 8 місяців тому +1

    Thank god i found this series. Presentation style is next to ideal!

  • @electronicsinstructor4267
    @electronicsinstructor4267 4 роки тому +4

    Paul, thank you for making this great tutorial. I showed it in our Electronics class at our local Community College. We use the Arduino kit from Elegoo too so this is perfect ! You are a fantastic teacher.

  • @Karl-me4mh
    @Karl-me4mh 3 роки тому

    Oh, I paused the video before you gave the homework, connected all 6 red LEDs that were in my box and made a Knight Rider like running red light. And it worked ! Started with the first LED, after that always 2 LEDs at the same time on running to the right, leaving the last LED on and coming back then 2 seconds break before the next sequence. Now I can buy more resistors and leds, solder them on a circuit board and build the whole thing into my car. xD
    Your Tutorials are great.

    • @paulmcwhorter
      @paulmcwhorter  3 роки тому +1

      Nice work!

    • @Karl-me4mh
      @Karl-me4mh 3 роки тому

      @@paulmcwhorter thx, I can't wait until I can give signals into the arduino. Just added the binary counter to the kitt light.

  • @julianpulido8673
    @julianpulido8673 4 роки тому +12

    bruh i need this guy to instruct my life

  • @katalyst4stem
    @katalyst4stem 8 місяців тому

    Dear Paul, thanks for being so fabulous. I am a Diabetologist by profession and a STEM educator by passion. I use your Arduino series as a teaching resource and my students love it.
    I have a little bit of programming experience in C. I have thus used the for loop to get around the repetition of code. I am posting it here, in the interest of those who are new and wondering about an alternative approach. I am on to your 4th video. Thanks a ton from all of us @ Katalyst Education 🙂
    // Define the pins for LEDs
    const int firstLEDPin = 13;
    const int secondLEDPin = 12;
    const int thirdLEDPin = 11;
    // Define the durations for blinking and the gap between blinks
    const int blinkDuration = 300; // in milliseconds
    const int blinkGap = 200; // in milliseconds
    // Define the number of blinks for each LED
    const int firstLEDBlinks = 5;
    const int secondLEDBlinks = 10;
    const int thirdLEDBlinks = 15;
    void setup() {
    // Initialize the LED pins as output
    pinMode(firstLEDPin, OUTPUT);
    pinMode(secondLEDPin, OUTPUT);
    pinMode(thirdLEDPin, OUTPUT);
    }
    void loop() {
    // Blink the first LED
    for (int i = 0; i < firstLEDBlinks; i++) {
    digitalWrite(firstLEDPin, HIGH); // Turn on the LED
    delay(blinkDuration);
    digitalWrite(firstLEDPin, LOW); // Turn off the LED
    delay(blinkGap);
    }
    // Blink the second LED
    for (int i = 0; i < secondLEDBlinks; i++) {
    digitalWrite(secondLEDPin, HIGH); // Turn on the LED
    delay(blinkDuration);
    digitalWrite(secondLEDPin, LOW); // Turn off the LED
    delay(blinkGap);
    }
    // Blink the third LED
    for (int i = 0; i < thirdLEDBlinks; i++) {
    digitalWrite(thirdLEDPin, HIGH); // Turn on the LED
    delay(blinkDuration);
    digitalWrite(thirdLEDPin, LOW); // Turn off the LED
    delay(blinkGap);
    }
    }

  • @davidlee9924
    @davidlee9924 4 роки тому +4

    i love how he breaks things down so i can understand it

  • @reaper060670
    @reaper060670 2 роки тому

    Brilliant set of videos for beginners who know absolutely nothing about electronics, programming, etc.. Thanks pal.. Salute from IRELAND!

  • @sahanag836
    @sahanag836 4 роки тому +31

    Figured out the homework:
    Basically the trick is to have the other circuits connect to the ground level. So, what I did is duplicate the first circuit twice, and when I needed to connect the circuit back to the ground level, I just had a wire in the same column as the short end of the LEDs connect to the column with the ground level, so that way, the circuit connects back to the ground level. So, basically I made it work even though there's only one ground level pin.

    • @josephb5911
      @josephb5911 4 роки тому

      i did the same, i assume that's how you're supposed to do it?

    • @CodingWithLewis
      @CodingWithLewis 4 роки тому +2

      Thanks for the solution! I posted a video on my channel what this might look like. Thanks!

    • @crowant3717
      @crowant3717 4 роки тому

      i did the same but with cords linking up the LEDs with the ground column

    • @u30R
      @u30R 4 роки тому +1

      I just used the other 2 ground pins on the Power supply side.

    • @OatmealTheCrazy
      @OatmealTheCrazy 3 роки тому +1

      @@u30R I just attached the ground to the top row with the - and had all of the short led leads go to that row

  • @Truckinman2000
    @Truckinman2000 Рік тому

    This is awesome. I'm also a General Class Ham operator that has forgotten alot about electronics. Covid19 retired me @52 because of lung issues. It worked but I did it the long way. I forgot all about if then else statements that I saw others do. I have to relearn alot of things do to Covid19... every thing from walking, cooking and now electronics. I love these classes!!! Short term memory is gone so I may have to go over some lessons a few times.

  • @syedsajjadali4220
    @syedsajjadali4220 3 роки тому +3

    Boom, I have found the best teacher!!

  • @bonganimalinga3439
    @bonganimalinga3439 3 роки тому +1

    The more I listen to this guy, the more I am motivated to continue learning to program. You are damn good man.

  • @Александр-р3э3м
    @Александр-р3э3м 4 роки тому +4

    Oh, my god, Paul! It's almost 1 am and i am so happy, that now i can control LEDs and i understand how breadboards work! And yes, i have made my simple night lamp as the homework(i am not sure, if i can sleep to these 3 blinking diodes, but nonetheless :) ). And thank you so much for your awesome tutorials! The farther i go through them, the more happiness i have!)
    P.S. thank you also for a night lamp :)
    But, tomorrow i will try to make it smooth blinking and than it will be a better lamp ;)
    And again, THANKS!

  • @aircates
    @aircates 2 роки тому

    Did the homework and added different delays between the end of one color led blink sequence and the beginning of the next one. Copy and paste is your friend here. Thanks for the excellent teaching!

  • @nestoNESTOnesto
    @nestoNESTOnesto 4 роки тому +5

    I don't remember if I ever did homework in school, but in here, in my 30's I did it enthusiastically :-D

  • @yaswanthpaani.k2113
    @yaswanthpaani.k2113 Рік тому +1

    Thnx Mr Paul I'm 17 yrs old and I always wanted to get started with computer stuffs and things , It took me two years to find your channel . It was through your videos that i was able to learn Arduino programming thanks a lot and could u plsz teach us about programming microcontrollers that doesn't comes fixed in Board like Arduino by default .I hope that u understood what I'm trying to mean

  • @a1blerd374
    @a1blerd374 3 роки тому +3

    This man must be protected at all costs, thank you sir.

  • @shennalim111
    @shennalim111 Рік тому +1

    Thank you, so much. I'm trying to get my children interested in electronics and having to learn before I teach them. Your videos are fantastic.

  • @lebrongoated23
    @lebrongoated23 3 роки тому +4

    I love these tutorials, you have somuch tutorials that I can benefit from, also you are a great teacher. I appreciate it somuch.

  • @langer727
    @langer727 4 роки тому +2

    Thank you so much, Paul! I did the homework. I almost forgot a semicolon and the last LED only blinks 14 times, but I am happy! 42 years old STEAM teacher from Colombia, living in Azerbaijan and learning here with your tutorials.

  • @isaachossain2807
    @isaachossain2807 4 роки тому +4

    1:22 I definitely agree, this is exactly what I was trying to learn as well. When I use something, I always wanna know how it works.

  • @arthurmallett8
    @arthurmallett8 3 роки тому

    Hi Paul, I'm 67 and always wanted to understand how to code, iv'e found your lessons easy to understand as i actually find it hard to take things in, but tonight ive actually managed to do the homework you set and got all the led's to flash in the correct order. Thank you for the way you make it look easy, looking forward to the next lesson.

  • @jazzlovah1370
    @jazzlovah1370 4 роки тому +3

    I’ve just seen the third “episode” of this series so far. I ordered my Arduino kit from Amazon last night and won’t be arriving until Friday, July 24th. I’ve enjoyed all three videos and it’s a good refresher for me since I haven’t been in the subject of microprocessor-based control systems since the first half of my fifth year of studying Electronics and Communications Engineering twenty-eight years ago which focused more on theory and less practical application. This will be a great opportunity learning the hands-on side of microcontrollers. Thanks in advance for the videos, Paul. It rekindled my interest in the subject after being dormant for so long.

  • @jamieyz
    @jamieyz 4 роки тому +1

    I have done several Arduino projects over the last year. They all work but I didn't have a good foundation and was easily overwhelmed. I am starting from scratch with these lessons. I like the good explanations and slow pace.

  • @Brandon16532
    @Brandon16532 3 роки тому +16

    Tip for the HW:
    try using a for loop inside the void loop so you don't have like 50 lines of code
    for(int x = 0; x < 5; x++){
    code goes here
    }
    have three of these for each color, make sure you change the variable for each
    explanation:
    int x = 0; just means that a variable has been declared with a value of 0
    x < 5; just means it will stop after 5 loops (change accordingly)
    x++ just means that after every loop x will increase by 1

    • @jaspermccleary
      @jaspermccleary 2 роки тому +1

      I used a while loop and that worked as well but thanks for the tip.

  • @RobVollmar
    @RobVollmar 3 роки тому +1

    Paul,
    My daughter (who is six) and I completed our homework using the longform cut and paste method. She is very helpful because her eyes are much better than mine and she's also got tiny little fingers!

    • @paulmcwhorter
      @paulmcwhorter  3 роки тому +1

      Wonderful to hear you are working on this with your daughter. Six is the right age to introduce children to programming. They can alter the simple blink program to make it do what they want. They can actually change LOW and HIGH and see what happens on the board. But, more importantly, you are building memories that will last a life time for her. Well Done!

  • @lhouse19
    @lhouse19 5 років тому +6

    Great course, really breaks things down. Can't wait for the next lesson.

  • @lilgrimy6655
    @lilgrimy6655 3 роки тому +2

    I'm just on the third tutorial, realized you have like 60 more tutorials, and I am soooo excited, thankful, and in awe at the devotion to these videos, and how much this will help me in my journey to arduino competence!

    • @dremr2038
      @dremr2038 3 роки тому +1

      So you completed them all?

  • @klrwhizkid
    @klrwhizkid 4 роки тому +21

    Here's my code to flash red 5 times, flash green 10 and blue 15. Since you did not say to repeat, the code is set up to do this once. I like to tab in to help emphasize structure.
    // integer variables to keep track of blinks:
    int(countred);
    int(countgreen);
    int(countblue);
    void setup() {
    // put your setup code here, to run once:
    // pin 13 is for red, pin 12 for green and pin 11 for blue:
    // all three are outputs:
    pinMode(13,OUTPUT);
    pinMode(12,OUTPUT);
    pinMode(11,OUTPUT);
    // initialize the counters:
    countred = 0;
    countgreen = 0;
    countblue = 0;
    }
    void loop() {
    // put your main code here, to run repeatedly:
    // this first if / else loop will cause the red led on pin 13 :
    // to blink until it has blinked 5 times :
    if(countred!=5){
    countred = countred + 1;
    digitalWrite(13,HIGH);
    delay(500);
    digitalWrite(13,LOW);
    delay(500);
    }
    else
    // this second if / else loop will cause the green led on pin 12 :
    // to blink until it has blinked 10 times after the red Led is done:
    { if(countgreen!=10){
    countgreen = countgreen +1;
    digitalWrite(12,HIGH);
    delay(500);
    digitalWrite(12,LOW);
    delay(500);
    }
    else
    // this third if / else loop will cause the blue led on pin 11 :
    // to blink until it has blinked 15 times after red and green are done:
    { if(countblue!=10){
    countblue = countblue +1;
    digitalWrite(11,HIGH);
    delay(500);
    digitalWrite(11,LOW);
    delay(500);
    }
    else ;
    }
    }
    }

    • @joewhitlatch1584
      @joewhitlatch1584 4 роки тому +2

      Don't you need to change your third loop count to read {if(countblue!=15){
      otherwise, it works great for me.

    • @simonbpuk2949
      @simonbpuk2949 2 роки тому +7

      I don't think Paul has taught us this part yet unless i missed it in the first two videos

    • @ronaldsethoga667
      @ronaldsethoga667 2 роки тому

      Yeah change it to 15. I honestly thought we were supposed to change the LEDs in a space of 1 seconds, otherwise wouldn't have been stuck

    • @techyboi3091
      @techyboi3091 2 роки тому +1

      damn this works just need to change to 15 on the last one
      a bit advanced tho
      did not understand much

    • @user-fo1nk3pd1t
      @user-fo1nk3pd1t Рік тому +6

      The problem here is that he didn't teach us any of those commands and if this is suppose to be aimed at a beginner (which it is), I don't think it''s right to omit important information like that. It's like trying to teach Calculus without first learning algebra. Sure, I can go watch some other video on how to create a loop or a video that goes more in depth on the Arduino language, but that kind of defeats the purpose.
      I didn't bother with trying to learn the language and get ahead of myself. Instead I used the only commands that he showed us in the 1st episode. It's lengthy and I did change the counter for the each of the LEDs to only blink 5 times. Otherwise the code would've been even longer. I used pins 11,12,13 as my outputs and the code looks likes this in case anyone is wondering:
      void setup() {
      // put your setup code here, to run once:
      pinMode(13,OUTPUT);
      pinMode(12,OUTPUT);
      pinMode(11,OUTPUT);
      }
      void loop() {
      // put your main code here, to run repeatedly:
      //
      //blink 1st LED 5 times
      //
      digitalWrite(13,HIGH);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,HIGH);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,HIGH);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,HIGH);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,HIGH);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      //
      //Blink 2nd LED 5 times
      //
      digitalWrite(13,LOW);
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,HIGH);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      //
      //Blink 3rd LED 5 times
      //
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,HIGH);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,HIGH);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,HIGH);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,HIGH);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,HIGH);
      delay(500);
      digitalWrite(13,LOW);
      digitalWrite(12,LOW);
      digitalWrite(11,LOW);
      delay(500);
      }

  • @anilgopie
    @anilgopie Рік тому

    I bought an Arduino kit to learn with my niece and nephew. Haven't had time yet as they are in school, will jump on it during their summer break. But really enjoy this series, especially as you teach and then have an assignment.

  • @mahmoudkhaled3081
    @mahmoudkhaled3081 4 роки тому +3

    You really make me adore this field!!
    Thank you Mr. Paul

  • @alandignans2396
    @alandignans2396 2 роки тому

    Wow. Only lesson 3 and I've learned so much. I sat down for a half-hour lesson but by the time I'd finished my "homework", I had been at it for nearly 2. The LEDs are flashing away merrily as I write.
    I appreciated the detail you went to when explaining exactly how a breadboard works and how each section differs in their connection structure. When I realised that each of the three LED circuits would need a connection to ground but there was only one ground connection on the UNO, I understood the reason for the full-length positive and negative strips you talked about - I linked the negative strip to the UNO GND and then had each LED circuit tap into the earth connection with a short jumper wire.
    I've done some work in BASIC so when I realised just how many lines of repeated code I would have to write in order to fulfil the homework brief I tried a FOR NEXT loop... which didn't work of course so I went to the Arduino website and learned how a loop should be structured. I also learned how to declare a variable in C. I ended up with 3 separate loops, each controlling a separate LED and everything works perfectly.
    I was surprised that such a small program took up 3% of storage space so it looks as if efficient coding is a must if you want to fit a more sophisticated program onto the UNO chip. I thought about nesting the loops to make the program more efficient but it's now late and I'm tired so I'll do it tomorrow before I start lesson 4.
    Thanks Paul.

  • @marinehm
    @marinehm 5 років тому +3

    Paul; excited to see you still teaching!

  • @Ali_Alhakeem
    @Ali_Alhakeem Рік тому

    I've watched many arduino tutorials but yours is the easiest and most straight to the point one so far ! showing us how it works in realtime

  • @nicholasdavidson1789
    @nicholasdavidson1789 3 роки тому +1

    I've had an Arduino for months now and never done anything with it. Now I can't stop learning! You are awesome and make this so fun!

  • @weinstienm.d.3826
    @weinstienm.d.3826 5 років тому +3

    PAUL! SO glad to see your videos on my suggested!
    missed ya buddy

    • @paulmcwhorter
      @paulmcwhorter  5 років тому +2

      Really glad to have time this summer to get back to making lessons. Hope you continue to stick with the series, hope to have some great new material coming up.

  • @realyellowman
    @realyellowman 3 роки тому +2

    Best Arduino tutor, very easy and simple to understand and has a sense of humour. Already shared this with all my friends!

  • @nicolasbassano3697
    @nicolasbassano3697 5 років тому +5

    Hi Paul, The videos are great.
    On a side note I think it would be cool if the code for the assignment was available so we can check and compare with ours.
    Thank you for the time and keep em coming.

  • @user-ks5cg5cd7m
    @user-ks5cg5cd7m 3 роки тому +1

    My 11 year old son has completed the first two tutorials but got stuck on this third one. The circuit did not work. We had to troubleshoot. We were NOT using components we purchased from this course but rather ones we scavenged from other electronics kits. We found using a simple circuit we constructed from a Snap Kit with AA batteries to test components worked well. He was able to find that one of our wires was broken, and he also found that he used the wrong resister. He was so excited when he finally got the programmed circuit to work! Thanks again!

  • @edenshaffer1302
    @edenshaffer1302 4 роки тому +14

    Do you do live stream lessons? because I can tell that you don't edit your videos, which I admire because somehow you still make It super easy to watch and learn.

  • @wayneandrews1738
    @wayneandrews1738 Рік тому

    I believe you are teaching a fundamental step that is missing in some electronics schools with two year courses.
    Theory can only go so far.
    You are teaching us the critical thinking of turning schematic diagrams into real working circuits.
    Also, we are learning to analyze both code and circuit building.
    Thank you for providing the "missing" steps that theory classes and some books don't provide!
    Very well thought out and done!
    Wayne

  • @glennfelpel9785
    @glennfelpel9785 5 років тому +6

    You are outstanding...Thank you

    • @paulmcwhorter
      @paulmcwhorter  5 років тому +1

      Thanks . . . lots more on the way!

  • @shingo607
    @shingo607 4 роки тому

    I`m beginner of arduinos. There is no such a thing of tutorial in japan youtube. it is very helpful to start for beginner. I just got Elegoo kit from your amazon links!

  • @micjon7620
    @micjon7620 4 роки тому +12

    Whose old, I'm writing code I said to my son and he replied "sure dad" and I replied "sure ". What a buzz when you're 73.😁

  • @devonmccall9155
    @devonmccall9155 3 роки тому

    I am in college and before I started this. I learned electrical stuff in the 2nd trimester of tech school. It has helped me out a lot and I can understand better with this information.

  • @mikerilling2745
    @mikerilling2745 Рік тому +3

    How can you save these programs so that you can repeat them later on without having to retype everything?

  • @reubenpilli6549
    @reubenpilli6549 10 місяців тому

    Hello teacher, I just want to mention that your are a great teacher. Now, having said that, I also like to mention that these video lessons are recorded and on UA-cam (you put them there 😊). So, you do not have to repeat yourself so many times. If students like me want to listen to your explanation of a certain concept again, they can - they can just replay that portion of the video.
    Have a great day!

    • @paulmcwhorter
      @paulmcwhorter  10 місяців тому

      Perhaps you should consider this class is for absolute beginners, and an absolute in effective teaching is to reinforce what you are teaching. Rather than complain about the channel, why dont you go find one that is what you are looking for? No, I am not going to remake 900 videos to suit your particular preference.

    • @BB_Sam
      @BB_Sam 10 місяців тому

      @@paulmcwhorterReally hope someone doesn't make you mad cuz The Texas Chainsaw Massacre will happen if they do sorry The Texas Arduino Massacre
      *wink wink*

  • @rohit-lohar
    @rohit-lohar 5 років тому +3

    thanks so much sir for making more interesting videos on arduino and sharing with us.

  • @QUARTERBAT
    @QUARTERBAT Рік тому

    Just retired so I thought i'd give this a go. Really well explained and I did vary the speed of the LED. THanks

  • @cyberdounia6120
    @cyberdounia6120 5 років тому +4

    thanks a lot i love all your videos! :-)

  • @danielsaenz5570
    @danielsaenz5570 2 роки тому

    Understanding Breadboards will unlock so much in this hobby. You teach how they work very well!

  • @markwatson1769
    @markwatson1769 4 роки тому +5

    i got all three blinking and can control their frequency, unsure how to limit their numbers ie: red 5, green 10, blue 15, repeat. enjoying the new learning

    • @digitalrodin
      @digitalrodin 4 роки тому

      Write code in void setup not void loop

  • @saumypks
    @saumypks 4 роки тому

    We use arduino for our robotics class. I didn't get anything the teacher said but now I feel like a professional arudino worker person after just watching your 3rd video

  • @PigNe0
    @PigNe0 4 роки тому +20

    I have just created a weapon that can give anyone seizures in 5 seconds

  • @ARMY_RUGS
    @ARMY_RUGS 2 роки тому +1

    the newer version doesnt highlight the OUTPUT, HIGH and LOW in color which makes it quite difficult.
    yu are a great teacher. im 30years and now startting basic electronics . YOu re the best teacher.

    • @max_dee
      @max_dee 2 роки тому

      My kit just arrived yesterday and I noticed the same thing....wasted first hour trying to get the IDE to change the syntax. Even downloaded the clang auto-format ini file, but gave up in the end. TIP: turn on the format assistance option in preferences (makes coding a whole lot quicker!).

  • @johndodge8999
    @johndodge8999 5 років тому +6

    I assume the uneven blinking is an artifact of the recording devices frame rate?

  • @andrewburn8611
    @andrewburn8611 3 роки тому

    I’m learning more from you than I did 3 years or college. Sometimes really clever people don’t understand how to explain the basics, you are very good at it.

  • @bgg4892
    @bgg4892 4 роки тому +4

    Never thought I'd get so excited seeing an led blink 😂

  • @sammydogruby
    @sammydogruby 5 років тому

    As a 81 year old newbie I am enjoying the new series of videos,as I did the previous lessons, so please keep them coming and thank you for taking the time to explain and making learning enjoyable.