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
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!
45 years since working with them!
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.
Good stuff!
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.
LEGEND!
These math examples are priceless. This technique would help on some non-linear sensor signals. Thank you Paul.
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.
It is indeed a wonderful place to be. Love it every day.
Great work Paul, the community appreciates the work you do!
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❤
Another good one, getting better all the time!
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
Great, Thanks Paul
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
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!
Great job!
I was succesful with the Homework!
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.
5 stars!!!
I am Legend. Double chest bump.
LEGEND!
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....
I am Legend - Double Chest Bump
LEGEND!
👍
I am Legend 😁👍🏼
LEGEND!
I am legend
LEGEND!
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
LEGEND!
I was successful ❤
LEGEND!
Thanks ❤
I am legend double shest bump.
LEGEND!
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
sorry guys I made a mistake i scheduled my UA-cam and links for tomorrow at midnight.
Second try posting link to homework for lesson 13: ua-cam.com/video/eSpVdHOuvg0/v-deo.html
LEGEND!
Homework: ua-cam.com/video/JUCJsaDbmpg/v-deo.html
LEGEND!
ua-cam.com/video/8mM2TsPgjZI/v-deo.html Homework .
Legend - ua-cam.com/video/uqZZSqhVZlY/v-deo.html
LEGEND!
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