Arduino Uno R4 WiFi LESSON 10: Writing Analog Voltages With the Arduino

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • Pick your Sunfounder kit up so you get the same results I do:
    amzn.to/3SciApZ
    You can pick up the neat jumper wires I showed in the video here:
    amzn.to/3U2vyIe
    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 introduce you to the concept of analog voltages on the Arduino Uno R4 Serial Monitor. I show how to use the analogWrite command to simulate analog signals. Enjoy!
    [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
    #analogwrite
    #tutorial

КОМЕНТАРІ • 80

  • @drdentin3215
    @drdentin3215 6 місяців тому +1

    I watched Paul again. I was not a good listener. I only did the ramp up and missed the ramp down portion in the HW. My Mom saved a kindergarten assignment that had bold red letters "Did you listen to the assignment?" She saved it for years! Old habits persist.

  • @jolenebett5043
    @jolenebett5043 6 місяців тому

    This one is a great class since it requires additional logic. I previously did some python classes and remembered the use of if statements. I don't yet know the code for arduino so I needed a little internet search help to figure it out. I appreciate the time you take to make these videos, teaching others is a gift you are giving to the world so one day we may return the favour.

  • @larryplatzek9017
    @larryplatzek9017 6 місяців тому +1

    Yes, this another Great introduction to analog write!

  • @larryb6759
    @larryb6759 6 місяців тому +1

    Sorry I missed last weeks class and the one this morning. I have been tied up with Doctor appointments.

  • @alfredcalleja450
    @alfredcalleja450 6 місяців тому +1

    Thanks Prof Paul. Another great tutorial. I enjoyed the Homework. It's amazing how much I've forgotten since your last Arduino course I did with you a few months back. This course is a really vital refresher and, like you, I keep getting my Python coding mixed up with the Arduino stuff. I'm enjoying redoing a lot of the things we did last time because I have forgotten so much, so I am pleasantly working my way back to a semblance of understanding of this "basic" stuff in readiness for the more advanced and new R4 WiFi tutorials. Is there any chance we can actually do some WiFi related tutorials, that would be really stunning?

  • @scottwait3585
    @scottwait3585 6 місяців тому

    Analog volts! Thanks Paul

  • @TheUnofficialMaker
    @TheUnofficialMaker 6 місяців тому +1

    You should make a download PDF of each sketch to go with your videos, then we could build a Notebook of code when we need to refer back to something!

  • @FreidonNasrat
    @FreidonNasrat 6 місяців тому +2

    Thank you ❤

  • @ryanholt2509
    @ryanholt2509 3 місяці тому

    Great job Paul!

  • @patrickfox-roberts7528
    @patrickfox-roberts7528 6 місяців тому +1

    Thanks Paul

  • @rickclever506
    @rickclever506 24 дні тому

    Don't drink coffee but I do have a nice tall glass of ice cold tea. Straight up, black tea, poured over ice. No sugar. No sweeteners. None needed.

    • @paulmcwhorter
      @paulmcwhorter  24 дні тому

      Unsweetened tea definitely on the approved beverage list for the channel. I do love iced tea as well, sometimes with a few mint leaves.

  • @Photoeye65
    @Photoeye65 Місяць тому

    Thank you sir... Is there somewhere we can clip the code into my IDE?

  • @masman1st
    @masman1st 4 дні тому

    Was playing with RGB and forgot to put pinMode(bLedPin.OUTPUT); in setup. Blue LED still came on so I remove pinMode for both rLed and gLed and they still worked also. I guess with analog pins defined as variables above void setup I don't need to pinMode statements in void setup. Is there a reason I should do it for good coding practices?

  • @anagramfive
    @anagramfive 4 місяці тому

    Hi Paul! I have a question: What difference is between opening the bare minimum example sketch, and just open a new sketch?

  • @raz3743
    @raz3743 6 місяців тому

    Hey paul thanks for the tutorials, could I ask what specifications does your computer have?

  • @alldaypancakes7058
    @alldaypancakes7058 6 місяців тому

    A bit of a weird question but can I use your Raspberry Pi Pico lessons with my esp32 I am no beginner I'm just asking is most of the programs compatible with the esp32? Love the lessons

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 6 місяців тому

    I ran into your livestream on DAC quite by accident on March 31, 2024. It ran live on the 15th. Where do you announce these supplemental lessons?

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

      When you subsribe to the channel click the bell and ask to get all notifications.

    • @robertschuldenfrei2402
      @robertschuldenfrei2402 6 місяців тому

      @@paulmcwhorter The bell is, and has been, activated. Maybe I did not notice the notification. Any idea when the next one is coming out?

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 6 місяців тому

    Pardon the interruption. Is there any kind of community discussion channel to share comments about Arduino, the class, and learning in general? Something like discord would be great. Paul has a section called Community, but it has not been used in years.
    I am asking the question here in lesson 10. The lessons are NOT the right place for general discussions and the Arduino forum is massive. For example, today I have been learning about Arduino memory mapping. For the Nano memory begins with 32 registers from location 0x0000 - 0x001F. Of importance to me for the Nano is that SRAM runs from 0x0100 - 0x08FF. None of this would be of importance to a beginner who is trying to get his head around int and float. But, it does interest me. Any ideas?

  • @chrisallen2894
    @chrisallen2894 2 місяці тому

    👍

  • @borufight7141
    @borufight7141 6 місяців тому

    Sir, can u upload video tutorial about emonLibCM?

  • @ethanaskew5586
    @ethanaskew5586 4 місяці тому

    Is there a way to complete the homework assignment using just the elements that have been taught up to this point? I see a lot of completed homework assignments using commands like "constrain" and "for" which up to this point he has not covered.

    • @paulmcwhorter
      @paulmcwhorter  4 місяці тому

      Yes you can do it with just what I have taught so far.

    • @ethanaskew5586
      @ethanaskew5586 4 місяці тому

      @@paulmcwhorter Thank you for the quick response. I see how to do it now. I was overthinking the solution. These lessons are wonderful and I am so happy you took the time to make them.

  • @ArthurCammers
    @ArthurCammers 18 днів тому

    8 = log(255)/log(2)

  • @Ducerobot
    @Ducerobot 5 місяців тому

    I'm on a r3😊

  • @Adrian427
    @Adrian427 6 місяців тому +1

    I'm onto it this week. Homework done: ua-cam.com/video/6ojTW74dB_E/v-deo.html

  • @larryb6759
    @larryb6759 6 місяців тому +1

    2nd try at adding my Homework. ua-cam.com/video/YpMOtsofg_U/v-deo.html

  • @drdentin3215
    @drdentin3215 6 місяців тому +1

    My HW. ua-cam.com/video/BwSFeFFXpj0/v-deo.html Hope fully I set this up so comments are allowed. Thanks Paul.

  • @dmlmediaug5700
    @dmlmediaug5700 6 місяців тому

    İ commented first

  • @charlotteswift
    @charlotteswift 6 місяців тому

    Here's the (6th) notification for my lesson 9 homework - no link, no description, nothing to make you know who delete it.
    I'm now editing it with the link: ua-cam.com/video/xzjLXp6wG90/v-deo.html

    • @peterwadham7965
      @peterwadham7965 6 місяців тому

      Charlotte, I had the same problem I had to post my comment 4 times! it kept disappearing after I posted it to the web site, all I can say is don't give up.

  • @LorisHW
    @LorisHW 6 місяців тому

    Here is my homework for Lesson 10: ua-cam.com/video/F4W3iPCLl7Q/v-deo.html. Thanks for the lessons Paul.

  • @charlotteswift
    @charlotteswift 6 місяців тому

    Lesson 10 completed and video uploaded.
    I'm now editing it with the link: ua-cam.com/video/78rDUUNk2_A/v-deo.html

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

      LEGEND!

    • @richardsstark9825
      @richardsstark9825 6 місяців тому +1

      Very nice. I learn a lot from watching your videos.

    • @charlotteswift
      @charlotteswift 6 місяців тому

      @@richardsstark9825 That very kind of you, Richard. I actually learn a lot from rewatching my videos as my memory is so bad🙃Supposedly Einstein had a bad memory too.

  • @martindasilva4358
    @martindasilva4358 6 місяців тому +1

    Hello Paul, this is my third attempt at posting my homework assignment. I don't understand why it disappears
    ua-cam.com/video/6rhus5qeaoU/v-deo.html

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

      LEGEND!

    • @robertschuldenfrei2402
      @robertschuldenfrei2402 6 місяців тому

      Martin, that often happens to me too. I have tried, without success, to track it down. That being said, if you persist, as you have done here, it will stick. When I type my comments, I hold a copy on file so if it fails, I don't have to retype the whole thing. Hope this helps. Bob

  • @SaiyanJin85
    @SaiyanJin85 Місяць тому

    Homework: ua-cam.com/video/egafLYaHd-s/v-deo.html
    I noticed that the same happens even on non PWM pins, why is that??
    Thanks

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 6 місяців тому +1

    My homework for lesson 10: ua-cam.com/video/KCYtgheep74/v-deo.html

  • @anagramfive
    @anagramfive 4 місяці тому

    Homework done! Thanks a lot! (i'll work in improving my videos when I have a little of time to do that). ua-cam.com/users/shortsBnth_X-vpYE?feature=shared

    • @paulmcwhorter
      @paulmcwhorter  4 місяці тому

      Please post the videos as normal youtube video, not a short. Shorts are harder to see, and cant leave comments.

    • @anagramfive
      @anagramfive 4 місяці тому

      @@paulmcwhorter I'm new in this and I don't know how to do that yet, but I'll do my best to do it asap.

  • @FreidonNasrat
    @FreidonNasrat 6 місяців тому +1

    ua-cam.com/video/vOQX2JPkt9o/v-deo.html Homework

  • @dorixlopte6026
    @dorixlopte6026 2 місяці тому

    so great content

  • @jadauno2494
    @jadauno2494 Місяць тому

    Homework - ua-cam.com/video/F0GV2SRVock/v-deo.html

  • @Tron_Starfighter
    @Tron_Starfighter 4 місяці тому

    Legend - ua-cam.com/video/Hd0wrK4VfNg/v-deo.html

  • @ryderjds
    @ryderjds 6 місяців тому

    Homework Complete: ua-cam.com/video/tILHxXWeXZE/v-deo.html

  • @richardsstark9825
    @richardsstark9825 6 місяців тому

    My Homework ua-cam.com/video/GbFExLF4EtU/v-deo.htmlsi=IL26SV9ywX55zz2i I tried to incorporate what I learned so far and learned how to use a for loop to count backward.

  • @edcozens6179
    @edcozens6179 2 місяці тому

    Thanks!

    • @paulmcwhorter
      @paulmcwhorter  2 місяці тому

      Thanks Ed, I really appreciate that, it means a lot to me!