Arduino Tutorial 3: Understanding How Breadboards Work

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ค. 2024
  • You guys can help me out over at Patreon, and that will keep this high quality content coming:
    / paulmcwhorter
    We are now ready to begin building circuits that are controlled using the Arduino. Our first circuit will be a simple LED circuit. In order to build the circuit we need to use a breadboard. This video explains how to use a breadboard to build a circuit. We then do a simple program that makes the external LED blink. Your assignment is to build a more complicated circuit and program where you are independently blinking three different LEDs.
    You can get the following Elegoo kit, to follow these lessons and play along at home
    amzn.to/3c9SJrO
    You can find details of this lesson on our WEB site here:
    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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.2K

  • @linnarpewbes6594
    @linnarpewbes6594 4 ปีที่แล้ว +778

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

      I was thinking Mr. Rogers

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

      not the bob ross arduinos but electronics

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

      I was leaning more towards Mr. Wizard. lol

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

      That’s exactly what i was thinking 😂🤍

  • @jamesricks5075
    @jamesricks5075 3 ปีที่แล้ว +472

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

      Its pretty inspirational that you doing things at this age sir

  • @PigNe0
    @PigNe0 3 ปีที่แล้ว +156

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

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

      would definitely drop a like

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

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

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

      So bold, laughed so hard in that moment 🤣

  • @ZTFsenpai
    @ZTFsenpai 4 ปีที่แล้ว +402

    i love how he randomly talks about slicing an artery XD

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

      Me to XD

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

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

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

      dark humor at its best lmao

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

      same here xD

    • @Karl-me4mh
      @Karl-me4mh 2 ปีที่แล้ว +1

      Yah, I love that kind of humor aswell.

  • @ggj666
    @ggj666 4 ปีที่แล้ว +174

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

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

    • @pumpkingolem9122
      @pumpkingolem9122 3 ปีที่แล้ว +5

      im litrilay 14

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

      @@pumpkingolem9122 same

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

      55 and giddy as a school boy learning this stuff!

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

  • @nihadazad
    @nihadazad 3 ปีที่แล้ว +239

    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

  • @albertshilton2346
    @albertshilton2346 3 ปีที่แล้ว +93

    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.

  • @Ronavargas
    @Ronavargas 4 ปีที่แล้ว +122

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

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

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

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

      Nice work!

    • @greyhnd001
      @greyhnd001 2 หลายเดือนก่อน

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

  • @GoreGirlFX
    @GoreGirlFX ปีที่แล้ว +22

    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!

  • @muhammadrafiqulislamkhan6994
    @muhammadrafiqulislamkhan6994 8 หลายเดือนก่อน +3

    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  8 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

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

  • @user-mr3rz4ul7d
    @user-mr3rz4ul7d 2 หลายเดือนก่อน +1

    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.

  • @Large_Woman
    @Large_Woman 3 ปีที่แล้ว +34

    "Hook a brother up." Hah! I love this guy.

  • @andresousa5302
    @andresousa5302 4 ปีที่แล้ว +97

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

  • @lifetech1989
    @lifetech1989 5 ปีที่แล้ว +32

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

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

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

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

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

    Started completely over, and doing the homework and coding as you go in the video. Love your videos Paul!

  • @ramex958
    @ramex958 22 วันที่ผ่านมา

    You're such an amazing teacher. I'm a slow learner so I appreciate the repetition. It actually sticks.

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

    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

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

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

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

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

    Great teaching Sir Paul!
    I appreciate how you repeat the concepts over and over to instill in us the confidence and eliminate the doubts we may have initially.
    Thank you Sir!!

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

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

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

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

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

    Hi Paul, I'm just getting into coding and circuits and your videos were the first thing suggested to me by the Arduino discord group. I love your teaching style. I had serious trouble understanding breadboards but what helped me realize how it worked was seeing the inside of one and seeing where the conductive bars laid inside the bread board.

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

  • @marinehm
    @marinehm 5 ปีที่แล้ว +3

    Paul; excited to see you still teaching!

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

    I'll do the homework after we learn to control the loop() structure. Loving it. My kit comes tomorrow. Thanks for your effort, it's appreciated.

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

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

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

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

  • @derpatel9760
    @derpatel9760 11 หลายเดือนก่อน +4

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

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

    these tutorials are very detailed and are easy to understand. Thank you! You have helped me a lot with my Arduino experience.

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

    Thanks for these Paul, really appreciate the time and effort that goes into teaching others your skills. Your a good teacher.

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

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

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

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

    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.

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

    Thanks Paul. Just completed the circuit & programming as you suggested for 3 LEDs. It worked perfectly well. Your way of teaching is boosting my confidence to do programming.

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

  • @julianpulido8673
    @julianpulido8673 3 ปีที่แล้ว +12

    bruh i need this guy to instruct my life

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

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

    Thank you for taking the time to teach this! Absolutly wonderful!

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

    Boy oh boy am I glad I found this channel!

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

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

    Great course, really breaks things down. Thanks for these Paul!

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

    Thanks Paul, I finished the assignment you gave in this video and look forward to the next lessons.

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

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

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

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

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

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

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

  • @Bavubuka
    @Bavubuka 2 ปีที่แล้ว +64

    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.

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

      They have increased😁❤‍🔥

    • @HaseebAdnan0
      @HaseebAdnan0 6 หลายเดือนก่อน +3

      I would assume they are accidental clicks.

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

    Lovely Bread Board explanation! It made the circuit building so much more understandable.( Before I did lesson 2, I did let the smoke out of one LED). For this homework I used a quick for-loop syntax google search and it make the code easier to write. Thank you Paul - this is so much fun!

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

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

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

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

    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.

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

    Hi Paul! I messed around with electronics as a kid, and now at 50, I'm getting back into it, thanks to you. I stumbled across your video in the early hours and got the Arduino kit next day. Really great work!

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

    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.

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

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

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

    Your tutorials are the absolute best. Looking forward to watching all the rest. Thanks!

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

    Hi Paul! I'd just like to say that you're a wonderful teacher!
    There are many tutorials on TH-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!

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

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

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

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

      That coffee, hot or cold, is very bad for GERD. Hopefully Paul sees this.

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

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

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

  • @paulusbouma9192
    @paulusbouma9192 5 ปีที่แล้ว +10

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

      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?

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

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

    Just brilliant Paul ... coming from a software background this is really helpful to understand how to piece hardware together .. thanks

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

    Thank you for sharing such a great video and especially putting it down in the simplest way for a beginner like me. Again, Thank you Paul.

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

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

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

  • @harrisonforde.
    @harrisonforde. 2 ปีที่แล้ว

    I figured the assignment out! Thank you for the helpful insight!
    Looking forward to finishing the playlist ✌🏿

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

    Your videos explain things way better than most on this topic. Often too much is overlooked and an assumption of understanding exists. I like how you actually teach - hopefully I can learn enough here to start my first arduino project.

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

  • @nestoNESTOnesto
    @nestoNESTOnesto 3 ปีที่แล้ว +5

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

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

    You really the best tutor I had after my college days . Really the way you explaining in practical & in theory made me more interested in Arduino. Simply the best.Hats off .

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

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

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

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

    Boom, I have found the best teacher!!

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

    This guys amazing and I love the teaching style. Never a boring moment.

  • @katalyst4stem
    @katalyst4stem 20 วันที่ผ่านมา

    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);
    }
    }

  • @rohit-lohar
    @rohit-lohar 5 ปีที่แล้ว +3

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

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

      Stay tuned, lots more coming!

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

    You are outstanding...Thank you

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

      Thanks . . . lots more on the way!

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

    Mr.Paul, you are the Best teacher ever! I am getting confident now to do something on my Aurdino uno board after bought and left it 3 years in store room nothing doing. Thanks a lot! You are created spark in my mind!

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

    EXCELLENT.. really engaging and quietly enthusiastic, and such a sensibly paced delivery. THANKYOU

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

  • @cyberdounia6120
    @cyberdounia6120 5 ปีที่แล้ว +4

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

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

    This is one of the best youtubers I have ever seen
    Great videos, both for begginers and advanced in different topics!

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

    These are SO helpful! Please never stop!

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

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

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

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

    Thanks for the tutorials. I have several 9-12v leds prewired with resistors and they worked as well.

  • @pavelv.134
    @pavelv.134 3 ปีที่แล้ว

    Thank you, Mr. Paul. First, I really appreciate how well and digestible you explain these terms. My love for robots started when I was around 5 or 6, one of my aunts bought me a small robot that by turning the knob on its back it was able to walk. I started college back in 1988 for computer engineering and I couldn't finish my career, my dream was to do a master in robotics. One thing led to another and I was never able to get into robots until now that I found your channel, I'm 49 now but as the other gentlemen have mentioned, I feel like a child with the little walking robot my aunt gave me. I have been following along and it's getting very exciting. I completed the homework. I noticed that the Arduino not only has one GND pin, but it also has 2 more on the opposite side so I used those two with longer jumper wires. For the program, it's repetitive but I just assume that there is another way to make the program shorter. I used the first part you wrote, added the 2 new pins, and copy and pasted the codes changing the numbers, it takes no time like that.

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

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

  • @PigNe0
    @PigNe0 3 ปีที่แล้ว +20

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

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

    Just did the homework. I have some knowledge in coding so I used some basic for loops. Thank you for teaching me Paul. And for helping me understand the fundamentals of the Arduino and it's hardware

  • @13flaws18
    @13flaws18 ปีที่แล้ว

    This is so cool. I’ve already watched about 15 episodes just to get my head around all this stuff, before jumping back to the beginning to start building and coding along. So when I saw you put the delay value in as a number I was going “NO NO! You use an “int”. So that’s what I did with code. I’m having a blast with it. After a bit of trial and error managed to figure out how to get the lights to sequence in a variety of ways, my fav being each light turning on one by one then all turning off at the same time.

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

      Write code in void setup not void loop

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

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

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

    Thanks to you, I just programmed my first ever mini disco lol. Thank you so much for these lessons. You're awesome

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

    Great at explaining things in simple term. I am a mechanical engineer learning a lot from these videos