Это видео недоступно.
Сожалеем об этом.

Arduino Uno R4 Wifi LESSON 2: How to Build Circuits With a Breadboard

Поделиться
HTML-код
  • Опубликовано: 31 янв 2024
  • Pick your Sunfounder kit up so you get the same results I do:
    amzn.to/3SciApZ
    You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:
    / paulmcwhorter
    In this video I show you how to get started with the Arduino R4 Wifi. I will show you how you can build circuits with the breadboard included with the Sunfounder kit. I will then give a homework assignment to build a simple blinking LED using the components in the kit.
    [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. ]
    #arduinor4wifi
    #gettingstarted
    #tutorial

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

  • @mzkayj1
    @mzkayj1 6 месяцев назад +7

    I'm so excited to be on this platform to take apart of the Ardduino4 series! Thank you Paul!

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

      Hope you enjoy it!

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

      Cannot agree more! Let's go lesson N2

  • @voltampscircuits
    @voltampscircuits 6 месяцев назад +3

    Mr. McWhorter. Your explanation of how the LED works in a series circuit was so easy to understand that it made me feel like I was learning it fresh all over again!

  • @rcj2601
    @rcj2601 6 месяцев назад +3

    Thank you, this is great, I got down to 13ms blink but if you make delays different you can get a lower millisecond after off and still see blink. I haven’t finished your r3 lessons up to about 33 but this has motivated me to do the rest. Great for a retiree to keep the mind active. I now look at automatic operating devices differently and try to work out how they operate. Being a retired plumbing educator I now realise how sensor taps, water flow lights, hand dryers, door openers, urinals etc operate, thanks again.

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

      Good job. keep up the homework. But it would be good if you put your homework under the video that the homework was mentioned, but that is just what I recommend, but do what you wish.

  • @antoniozegarra9833
    @antoniozegarra9833 5 месяцев назад +5

    Protect this guy at all costs

  • @DrBryanBarry
    @DrBryanBarry 7 месяцев назад +3

    Look forward to your new Arduino 4 series! Paul, Thank you for all you do, I have learned so much and l am excited to continue to explore on this new platform! Keep up the great work!

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

      Thanks! Hope you enjoy the new class.

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

    In the past i was working with old-fashioned plc systems. You had to use truth tabels and had to burn eproms to make them work. It was quite fiddly and tedious, one mistake and you had to erase the eprom and do it all over again. Im glad they use arduinos now. Im more a builder than a programmer so these lessons are great for me!

  • @diggee172
    @diggee172 4 месяца назад

    This is a great lesson on ohms law. Nice pace to help me understand. I really didn’t understand resistors before. Thanks.

  • @YakovFn
    @YakovFn 6 месяцев назад +1

    This is a huge upgrade from r3 series. You're great! ❤

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

    I did your last set of Arduino lessons, and (as I have seen in the comments for last week) I am using the Uno R3 Arduino (as Amazon hasn't delivered my R4 WiFi one, yet!). I remembered a different value of resistor (to limit the current). While the Uno R4 WiFi can deliver 8mA, the old R3 could deliver a higher current, and so we used a different value of resistor. I'll be posting my homework in a little while.

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

    got the circuit completed. Blinked the morse code. I got to get my kids to show me this upload video RUclips stuff. Once again great lesson. Quick side note, I really like your how to know God series too.

  • @stuzman52
    @stuzman52 6 месяцев назад +1

    Hi Paul, I just wanted to thank you for taking time out of your schedule to create this series and for the others that you have created in the past. I believe there is a discrepancy in your calculation for the LED current liming resistor. I'm sure that you know this and may be trying to keep it simple for the beginners. You are looking that there will be 5VDC dropped across the resistor which is not correct. All LEDs will have a forward voltage drop across them when they are on. Most red LEDs will have approximately 2.0VDC across them while other colored LEDs such as blue may have a higher voltage drop of around 3.0VDC. Looking at the red LED with a voltage drop of 2.0VDC, there will be 3VDC across the resistor. Using Ohm's law of V=IR and rearranging the equation to R=V/I gives a resistance value of 375Ω = 3/.008. Although, this value is not in our kit, using a 330Ω which is in our kit would yield a current of 9.1mA which I would still consider too high. Although 390Ω is not in our kit, it is a standard resistor value which would yield a current draw of 7.7mA. And with a 1kΩ resistor as used in this lesson would yield a current value of 3mA. Thanks for the ear Paul and have a super great day!

    • @paulmcwhorter
      @paulmcwhorter  6 месяцев назад +3

      I dont think you understand what I am trying to do. The current across a diode is exponential with voltage, meaning small changes in voltage can lead to very large changes in current. As the current increases, the diode can heat up, and you can end up in a run away condition. Hence, we can not say what the voltage drop across the diode will be. So, to ensure we operate in a manner that we will not damage the arduino, we assume all voltage will drop across the resistor, and then calculate a resistance value that will give 8ma. This ensures that no matter what is going on with the LED, you will never draw more than 8 ma. The design then becomes intrinsically safe.

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

      Thanks for the question (as well as, to Mr.McWhorter, the answer) - I was wondering about the voltage drop across the LED.

  • @stephenbrown5648
    @stephenbrown5648 2 месяца назад

    Mr. McWhorter;
    YOU just SAVED my NEW Arduino Uno R4 WiFi!!!!
    It is NOT WELL PUBLISHED that the Source/Sink Current on the Uno R4 Boards is only 8 mA instead of the 20 mA on the R3!
    I've been playing with this stuff for 45+ years. I should know better!
    I very much appreciate your efforts in trying to teach Old Dogs and Young Pups NEW Tricks!
    And I still laugh at you Iced Coffee addiction! :)

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

    I bought my Arduino R4 wifi yesterday im ready to rock!

  • @anomaly_echelon7994
    @anomaly_echelon7994 4 месяца назад +1

    Man, that coffee looks good. ALL THE TIME.

  • @brandonmetro7115
    @brandonmetro7115 6 месяцев назад +1

    An easy way to remember ground led lights connections, Think of the resistor as a block of wood, And if you look at the inside of the led light, To what appears to be an axe. The axe always chops the wood, Meaning
    The ax part of the light is choppingngtthe resistor visually

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

    Thank you Paul for this new series

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

    Thanks for your time Paul,just sent a short over but not sure if i have done it correctly ,new to using youtube stuff😅

  • @barrywang5031
    @barrywang5031 2 месяца назад

    Thank you Paul, Cheers!

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

    Thank you for the lesson Paul!

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

    Good news, the kit is back in stock and I should receive it within a week!

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

    I would agree 13ms, I can still detect the blinking, Peter NZ

  • @kevingriffin55
    @kevingriffin55 6 месяцев назад +1

    A slight oversimplification on the resistor calculation. The voltage accros the resistor is not 5V. it's 5V minus the forward voltage of the LED, which for a red LED is usually about 1.7V. So 5V - 1.7V = 3.3V. R = V / I therefore R = 3.3 / 0.008 = 412ohm. Still might select 1K just to be sure though. 1K will actually give a current nearer 3mA.

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

      Please watch today's supplemental video, where I explain better why I am doing it the way I am. Assigning a 'usual' value for red led can indeed lead to a circuit that will burn out the arduino. Watch my video today for a better explanation.

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

      Thanks for the question (as well as, to Mr.McWhorter, the answer) - I was wondering about the voltage drop across the LED.

  • @user-ko5jd8vm3s
    @user-ko5jd8vm3s 6 месяцев назад

    High Paul. Just started to watch your new series on the R4 - already done a lot of the V3 - so wont make comments on homework but will watch future episodes with interest. Just one problem though, could you please - as I listen with headphones - isolate your Mic from your work bench as every time you enthusiastically bang the bench its like an Howitzer being fired in a war zone :-}. Telboy

  • @bossdamol7348
    @bossdamol7348 4 месяца назад

    Love this guy. ❤❤❤❤

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

    1:45 into video you say to turn LED on you set the voltage to HIGH but then to turn it off you set it to off.
    Didn't You mean to say that to turn the LED off the voltage is set to LOW?
    P.S. Love your lessons! Wish I were in your classroom.
    P.S. I've found that Plano plastic tackle boxes with slide-out drawers are great for storing/organizing component kits are really handy for transporting as well.
    Especially since the drawers have customizable plastic dividers. 😁

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

    Good point. I learned as a Navy Aviation Electronics Technician not to trust electronics.

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

    Homework accomplished and video, not very good quality I'm afraid, but uploaded anyway. The description contains a link back to this lesson.
    Link to video: ruclips.net/video/UJ8DchnDCxY/видео.html

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

    Looks like I'll have to hold off on ordering a SunFounder Elite Explorer Kit until the end of the Chinese Labor Day. But not having the kit did keep me from writing the code to send the SOS... Why do I hear ABBA, "So when you're near me, Darlin can't you hear me? SOS."
    I know there must be a better way to send each Dit or Da... I added a bunch of comments to keep my head straight...

  • @VerbeekArie
    @VerbeekArie 5 месяцев назад

    Hello Paul,
    I like your Arduino lessens. I bought the Arduino R4 WIFI after I have done the R4 lessons and I started whit the R4 WIFI lessons.
    When I download the first blink sketches with 200 ms blinks the arduino does not really blink but faded away. You hardly see the blinking. When you use the rest button the blinking becomes more sharper. Is there a delay in the system? I like your lessons.
    Thanks.

  • @msg1956
    @msg1956 4 месяца назад

    Excellent..!

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

    I see the lesson is at 7:00 AM. I'm in California. Is it Pacific Standard Time or a different time zone?
    Don't want to miss it!!

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

      RUclips should show you the time in your local time. Dont adjust it, just believe what it is telling you.

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

      Yes, in California it will be 7:00AM but chatting is sooner!

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

    Hey Paul, I am going through this series for the first time on a week by week basis as they are coming out. Even though the beginning videos are very basic, I am learning new things. For example even though I have been trying to learn electronics for the past couple of years, I never thought about or understood how the resistor is chosen for the LED. But, Professor, I still have some questions. For all the previous projects I have done, I used about 200-300 ohm resistors with the LEDs. Is this because the amp output for the I/O pins on the Uno R4 is so low? I noted the amp out for the R3 is 20 milliamps instead of 8 milliamps. Is this a significant limitation on what peripherals can be run from the I/O pins on the R4?

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

      The R4 digital pins can only safely source 8 ma and the R3 could do more. Hence, we need a bigger resistor.

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

    Need voltage drop for the LED, and don't forget the arrows for the LED symbol.

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

      I assume that all voltage drops across the resistor. This ensures that no matter what happens in the LED, the circuit will never draw more than 8 mA, and hence will never damage the arduino. Imagine the LED failed in a way that it became shorted. Even in such a case, the current would not be more than 8 mA and the arduino would not be damaged.

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

    int ditt = 250; //delay time for a dot
    int dat = 500; //delay time for a dash
    int lett = 750; //delay time between letters
    int i = 0; //a counter
    void da_dit(int ta, int tb); //function prototype
    void setup() {
    // put your setup code here, to run once:
    pinMode(13, OUTPUT);
    }
    void loop() {
    digitalWrite(13, LOW);
    da_dit(ditt, lett);
    da_dit(dat, lett);
    da_dit(ditt, lett);
    delay(lett);
    // put your main code here, to run repeatedly:
    }
    //definition of function that blinks LED
    void da_dit(int ta, int tb){
    for(i = 0; i < 3; i++){
    digitalWrite(13, HIGH);
    delay(ta);
    digitalWrite(13, LOW);
    delay(tb);
    }
    }

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

    Is there something in a comment that prevents it from being posted by RUclips?

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

      Robert, Your comments are being published, and you are repeating yourself. Please relax.

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

    Here's my solution for the homework assignment: ruclips.net/video/eNOXOovuPm4/видео.html

  • @emmabird9745
    @emmabird9745 4 месяца назад

    I am legend double chest bump, except I have no idea how to post anything to youtube so maybe I'm a walmart chair after all????

  • @Adrian427
    @Adrian427 6 месяцев назад +1

    And we are done. ruclips.net/video/NcU9C6JPkco/видео.html Really looking forward to this series and what I will learn. You have such a great teaching style, Paul.

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

    Did first lesson got to 16 ms.
    You can teach an old dog to do new tricks !!! Thanks.

  • @drew-david
    @drew-david 5 месяцев назад

    Here's my homework #2 fresh out of the oven : ruclips.net/video/E88bkhyrN_8/видео.htmlsi=DRVqwTU4N86DXcio
    Thank you again! I look forward to video #3!

  • @sp4rtaa
    @sp4rtaa 4 месяца назад

    smoke has to stay in the board

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

    Yes I did it. And my video is here. ruclips.net/video/EnlBt_Yjmf0/видео.html . I'm still using my R3, because Amazon haven't managed to get my R4 WiFi to me yet.

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

    Video: ruclips.net/video/bkMNRoFDhac/видео.html

  • @LorisHW
    @LorisHW 6 месяцев назад +1

    Got the homework done: ruclips.net/video/PC5sMWTvncc/видео.html. Thanks for the lesson!

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

    I posted my homework and code twice. I don't see it anywhere.....Really Wierd!

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

      I moderate all comments, so comments do not appear until I look at them and approve. I do that once a day, so might be one day delay for your comments to show.

  • @Clendy321
    @Clendy321 6 месяцев назад +1

    My homework srry about the bad quality ruclips.net/video/-DQFafIqGuc/видео.html

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

    got the circuit and the Code complete:
    ruclips.net/user/shortsAhZ8x1j8Tfw?si=1ZEYItpyzMKOPEM2

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

      You have set the video to private so no one can see it. Try uploading normal video instead of using shorts, might be easier.

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

    Hi Paul! Thanks a lot for the lesson. It worked for one LED so i grabbed three more and a button I found in the kit (code in the description): ruclips.net/video/i0yaXoJLCcs/видео.html. It was really fun! enjoy the weekend and thanks again 🙌🏻

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

    Surely theres a way to condense the code other than how i did it , but i did get it done!
    ruclips.net/user/shortsfhoe0dIXIsY?si=QrvArYzw517_-em5

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

    Code: void setup() {
    pinMode(13,OUTPUT);
    // put your setup code here, to run once:
    }
    void loop() {
    // put your main code here, to run repeatedly:
    digitalWrite(13,HIGH);
    delay(100);
    digitalWrite(13,LOW);
    delay(100);
    digitalWrite(13,HIGH);
    delay(100);
    digitalWrite(13,LOW);
    delay(100);
    digitalWrite(13,HIGH);
    delay(100);
    digitalWrite(13,LOW);
    delay(200);
    digitalWrite(13,HIGH);
    delay(200);
    digitalWrite(13,LOW);
    delay(200);
    digitalWrite(13,HIGH);
    delay(200);
    digitalWrite(13,LOW);
    delay(200);
    digitalWrite(13,HIGH);
    delay(200);
    digitalWrite(13,LOW);
    delay(200);
    digitalWrite(13,HIGH);
    delay(100);
    digitalWrite(13,LOW);
    delay(100);
    digitalWrite(13,HIGH);
    delay(100);
    digitalWrite(13,LOW);
    delay(100);
    digitalWrite(13,HIGH);
    delay(100);
    digitalWrite(13,LOW);
    delay(100);
    delay(500);