Arduino Uno R4 WiFi LESSON 13: Dimmable LED Controlled by a Potentiometer

Поділитися
Вставка
  • Опубліковано 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 show you how to create a dimmable LED controlled by a potentiometer. I will show you how to build the circuit, do the math, and code the solution. 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
    #potentiometer
    #tutorial

КОМЕНТАРІ • 56

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

    Hi Paul, I got it working but took a few rewinds in the lesson to understand the concept! At 63, it's been a few years, around 45 of them, with working with the power concept!

  • @louistoweill4232
    @louistoweill4232 5 місяців тому +1

    After seeing Paul's solution, I also ran the circuit with a base e logarithmic simulation and it also worked well. I have learned a neat idea from this lesson. Thank you, Paul.

  • @larryb6759
    @larryb6759 5 місяців тому +2

    I am Legend. Double chest bump. On the 2nd time after a commit from a viewer. Thanks to Keith reminding me to do some more math.

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

    These math examples are priceless. This technique would help on some non-linear sensor signals. Thank you Paul.

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

    I absolutely love the view from your backyard, such a calming backdrop to aid in the absorption of technical material. I wish I could have it on my PC background to stare at when solving problems. Congrats on achieving this. And of course, im still loving the classes when I can get enough time to complete one. Please dont stop.

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

      It is indeed a wonderful place to be. Love it every day.

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

    Great work Paul, the community appreciates the work you do!

  • @LeHossainy
    @LeHossainy 5 місяців тому +1

    Hi Mr. Paul. First, I want to say thank you for your efforts, and I have few questions I hope you answer them.
    1- which board do you think is the Most suitable to build a quadcopter (Stm32- raspberry pi pico /4- arduino uno /mega) please note that this drone will handle heavy tasks and It will contain GPS and handle a fpv camera and will be able to cut 10 km as range ( using the Lora modules or a specific type of nrf ( I forgot it 😁)
    2- do you think learning on the hardware development boards is enough to become an expert or you should learn how to work with a pure microcontroller such as (Pic series) with a compiler
    Thank you❤

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

    Another good one, getting better all the time!

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

    I plugged my led directly to the output of the potentiometer, and connected it to ground. I turned the dial up, it got bright, then POP! I forgot the resistor hahahahahaha

  • @Sideloader99
    @Sideloader99 5 місяців тому +1

    Great, Thanks Paul

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

    Hello Paul, can you do some lessons using the wifi module of the board such as using the browser of my computer to toggle the LED on the board

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

    Correction on my homework after watching your lesson: I should have calculated the potVal 0-1023, not 0-1024. Thanks for your attention to detail, Paul!

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

    I was succesful with the Homework!

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

    Lesson 12 homework, digitalWrite instead of analogWrite folded up my lawn chair. More than a hour before the led went off or in this case on.

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

    5 stars!!!

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

    I am Legend. Double chest bump.

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

    I think there is an minor error in the calculations between potval and writeVal..
    One has 1024 numbers and the other 256. Just divide by 4.... no fraction....

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

    I am Legend - Double Chest Bump

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

    👍

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

    I am Legend 😁👍🏼

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

    I am legend

  • @robertschuldenfrei2402
    @robertschuldenfrei2402 5 місяців тому +2

    Problems getting the comment to stick in Lesson 12. Maybe it will stick here. Here is the homework for Lesson 12: ua-cam.com/video/McWKlk5unHU/v-deo.html

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

    I was successful ❤

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

    I am legend double shest bump.

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

    Got a little confused with the writeVal output and how the exponential equasion would control it but i think i understand it now ua-cam.com/video/WNxhTwfyHqA/v-deo.html

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

    sorry guys I made a mistake i scheduled my UA-cam and links for tomorrow at midnight.

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

    Second try posting link to homework for lesson 13: ua-cam.com/video/eSpVdHOuvg0/v-deo.html

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

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

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

    ua-cam.com/video/8mM2TsPgjZI/v-deo.html Homework .

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

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

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

    Homework Done! It worked fine. (Its´s a shame!, I already don't know how to make and upload regular videos, but I hope next week I will. I really don't blame you if you don't want to see it)... ua-cam.com/users/shorts22AQ293A3zY?si=cx3gGANqUd-0ZvfY