Arduino Uno R4 Wifi LESSON 3: Blink an LED With the Arduino

  Рет қаралды 14,016

Paul McWhorter

Paul McWhorter

Күн бұрын

Пікірлер: 123
@rokkocina7408
@rokkocina7408 11 ай бұрын
hey, just wanted to let you know you are the best teacher I ever had. You deserve all the views and so much more and I cannot express enough how thankful I am for everything you have done. I will try my best everyday and hopefully someday I can repay you back for your hard work, inspiration, motivation, laughs and so much more you have done for me, the community and everyone else that watches your videos. Thank you for everything, you are the best!
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Thank you for the kind and encouraging words!
@lukepenner7929
@lukepenner7929 10 ай бұрын
Such an amazing teacher, the love and the passion is quite evident
@davidbgood2801
@davidbgood2801 10 ай бұрын
I have my Sunfounder kit and am following each lesson I really enjoy your way of teaching and I have learned so much I have followed all your older lessons on the Arduino and can now, do the home work, I used to fold a lot of lawn chairs but now I am legend lol.
@paulmcwhorter
@paulmcwhorter 10 ай бұрын
LEGEND!
@xondemingo
@xondemingo 10 ай бұрын
back to the lessons! you're a legend, professor
@mirjamwassenaar9123
@mirjamwassenaar9123 13 күн бұрын
I just wanted to tell you that you explained it very clearly. thanks for that
@paulmcwhorter
@paulmcwhorter 12 күн бұрын
Glad it was helpful!
@steveholt8991
@steveholt8991 7 ай бұрын
I'm a tea drinker myself, but these lessons are invaluable. Thank you.
@brucemilyko8549
@brucemilyko8549 11 ай бұрын
I am legand. I finally got my Sunfounder Explorer kit today
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Excellent!
@Clendy321
@Clendy321 11 ай бұрын
bro i got it same day as you
@Volker-Dirr
@Volker-Dirr 11 ай бұрын
You forgot the double chest bump. :-)
@edcox7666
@edcox7666 11 ай бұрын
Once again Great Lesson
@Europayacht
@Europayacht 11 ай бұрын
Good explained- all is running well!
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Good to hear!
@leonkandhai9404
@leonkandhai9404 11 ай бұрын
Thanks again for this great content, I noticed in these new lessons you are not stressing the importance of comments in our code like you have done previously. Once again thanks.
@SolarG_Official
@SolarG_Official 2 ай бұрын
The mistakes were very beneficial to see how you troubleshoot and what to look for. Connecting multiple LEDs took me a few tries but I got it down now! I tried having the LEDs all under one pin but it didn't work - I'm thinking it may be changing the formula or current having 4 LEDs in series. I separated them onto one pin per LED and it works now. Thank you for the tutorials!
@rosswang8751
@rosswang8751 4 ай бұрын
I am LEGEND💪. Thank you so much for making the best course on the internet!
@paulmcwhorter
@paulmcwhorter 4 ай бұрын
LEGEND!
@ericalangworthy1878
@ericalangworthy1878 4 ай бұрын
YOU are a legend! I got it right as you did your coffee greeting :)!!!
@paulmcwhorter
@paulmcwhorter 4 ай бұрын
Great job!
@frickinbill
@frickinbill 11 ай бұрын
Great lesson 😁 Sunfounder kit ordered & will be here next Tuesday.
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Have fun!
@superevostevo
@superevostevo 23 күн бұрын
im having a blast with this!!
@magnieduardo8570
@magnieduardo8570 5 ай бұрын
He is back; thank you so much
@qzorn4440
@qzorn4440 6 ай бұрын
The mistakes are great tools for learning. 🤸 Thank you.
@N4DDM
@N4DDM 8 ай бұрын
The code for this was easy and straightforward... Just use PinMode to declare the use of pins 10-13. Then digitalWright for each to go HIGH, then delay, and go LOW... I chose pins 10-13 so it would be easy for me to think of pin 10 as the Least Significant Bit (LSB) and Pin 13 as the Most Significant Bit (MSB)... The 4 LEDs could be read to get the status of a 16-bit word sent to one of the 16 relay boards... If I was to draw a schematic and layout a PCB I'd make them D3, D2, D1, and D0... This so much fun...
@ottofrank3445
@ottofrank3445 Ай бұрын
by the way we love your shameless introductions :) best teach ever!
@peterdegraff8032
@peterdegraff8032 11 ай бұрын
i finished the lesson with success
@oracid
@oracid 11 ай бұрын
Thank you for your videos. Unfortunately, the link to the kit does not work in France. Too bad.
@kenburnette1121
@kenburnette1121 3 ай бұрын
Great teaching!
@310765
@310765 11 ай бұрын
Paul, you are legend! 🤩
@garyl6031
@garyl6031 4 ай бұрын
Did lesson 2 using 4 functions, I love functions they are just so functional. My void loop is nothing but function calls! Got it down to 7 calls... Wish I could use my Microsoft IDE. The length of a dot is 1 time unit. A dash is 3 time units. The space between symbols (dots and dashes) of the same letter is 1 time unit. the space between letters is 3 time units The space at the end of a word is 7 time units
@scottwait3585
@scottwait3585 11 ай бұрын
Thank you Paul!
@bernardo6119
@bernardo6119 29 күн бұрын
Hi Paul. I'm really enjoying your tutorial. A question about this lesson: Is there a difference between putting the resistor before or after the LED?
@paulmcwhorter
@paulmcwhorter 28 күн бұрын
It works exactly the same. As long as it is in series with the LED, it will limit the current.
@sv4rin
@sv4rin Ай бұрын
We are in the middle of planning our first RFID project, on this platform. Can you please let us know if the project can be operational after programming without the use of a computer ? Can we simply connect the unit to a power supply and let it perform ? Thank you for your advice
@J-WafflezZ
@J-WafflezZ 8 ай бұрын
Question, is it 8ma per arduino or 8ma per pin? If per arduino, is there an integrated function within the arduino that live reads the total amperage its sensing or is a multimeter needed for this?
@larrycahoon8465
@larrycahoon8465 11 ай бұрын
I like your stuff but as an old ham radio operator I have to tell you your code sends VTTS. Your first dah is part of the first letter due to the spacing. Extra space between the two dahs makes them each a T.
@genepierson1728
@genepierson1728 11 ай бұрын
Thanks for your all your lessons. I had a thought for one...would you be willing to do a more advanced series inlcuding coding something like the game tic tac toe?
@Volker-Dirr
@Volker-Dirr 11 ай бұрын
Showing how to solve bugs is perfect. Sadly many teachers don't do it. But you should show beginners better how to structure the code better. (I mean the missing tab/space in line 3. You tried to fix it one time in the loop source, but there are still a few left. I know, it sounds overdone for a beginner, but if a beginner doesn't learn it from the beginning, then his code will pretty fast very ugly and it will difficult to read and find bugs. For example if you see your video at time stamp 11:14. The missing ; in line 10. A few of my students paste it before the } in line 10 instead of at the end of line 8, because that is written in the error. And they done it, even I explained it more detailed than you. I bet some of your students might make the same mistake. We (teachers) must care about that. So we need to explain much more detailed and/or better check the source of the students.
@Adrian427
@Adrian427 11 ай бұрын
Another project completed. Thanks once again Paul for your help in learning about the Arduino R4 Wifi. Link to Video: kzbin.info/www/bejne/g3aXpH2XZcudaKc
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Excellent video, and a really neat, clean build. Well done.
@Fubar12341
@Fubar12341 11 ай бұрын
Thanks for another lesson Paul , I managed the homework with SOS fine, Still trying to perfect making videos with links back to the lesson. Paul Arduino IDE is asking me to upgrade to 2.3.0 I will resist till you say upgrade. See you next week.
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
I am going to stay on the existing IDE until I see a compelling reason to upgrade.
@konstantinrebrov675
@konstantinrebrov675 3 ай бұрын
Dear professor, what are the prerequisite knowledge for this course "All New Arduino R4 WiFi LESSONS for Absolute Beginners"?
@paulmcwhorter
@paulmcwhorter 3 ай бұрын
Only requirement is you need to be an absolute beginner.
@konstantinrebrov675
@konstantinrebrov675 3 ай бұрын
@@paulmcwhorter Thanks
@ex1stenz
@ex1stenz 9 ай бұрын
kit not available in eu\italy :(
@msg1956
@msg1956 9 ай бұрын
I am eagerly waiting for your tutorial which shows how to connect the R4 via Bluetooth to the Laptop and then send the sketch via Bluetooth to R4 ( assume R4 powered just by a simple power adapter/ mobile charger) and then make it blink.
@glennvonk
@glennvonk 11 ай бұрын
Yup....Legend
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@waynefitkin1104
@waynefitkin1104 11 ай бұрын
Hi Paul, Have you tested the RTC on the R4? I have 2 of them. It is so inaccurate that it is unusable. one is gaining 10 minutes in 4 hours and the other gained 6 minutes in 3 hours. How can Arduino release this Uno R4 with such a flaw? a DS3231 keeps very accurate time like 1 Minute over an entire year.
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Have not played with RTC. Sounds like a bug.
@drthik1
@drthik1 11 ай бұрын
Was able to get it to work but I'm going to need another breadboard the slots in this one are too loose. Parts just drop into them without a tight connection kzbin.info/www/bejne/hpLHhYKKYreinM0si=lR5cJ14n7kL9SfOe
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND! Nice neat build, well done.
@pralaymajumdar1206
@pralaymajumdar1206 11 ай бұрын
How many lessons can we expect in this new tutorial series?
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Lots and lots. I already have the first 32 done, and release one lesson a week on Thursdays. Expect more than a year of lessons.
@robertschuldenfrei2402
@robertschuldenfrei2402 11 ай бұрын
That is fabulous news. On Tuesday I will be 81 years old, so that may be a lifetime of lessons :). Keep up the good work@@paulmcwhorter
@pralaymajumdar1206
@pralaymajumdar1206 11 ай бұрын
@@paulmcwhorter Great news sir... 🙏
@charlotteswift
@charlotteswift 11 ай бұрын
Here is my video: kzbin.info/www/bejne/o6qQmIeHrLWcrtU Unfortunately the second program only works on an Arduino R3 and not an R4. Work in progress!!
@robertbock5898
@robertbock5898 11 ай бұрын
Great video. I used a for loop to count the number of flashes for each letter. for(int i=0; I
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Nice work!
@martindasilva4358
@martindasilva4358 11 ай бұрын
Why would we need to use 4 digital pins ? (unless we want to control them independently ;-) ) ? One pin can do the trick as well. Great content and nice teaching approach, helps me explaining tech to my kids :-))
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
I want you to go back and think about lesson 2. How much current can an arduino pin provide? When we chose a current limiting resistor we designed it to draw how much current? If we connected 4 LED to one pin, how much current would we draw? Poof! Dont fry your arduino!
@martindasilva4358
@martindasilva4358 11 ай бұрын
Isn’t the risk of frying the Arduino only matérialised if the resistors are in parallel ?if there’s only one resistor right after the 5 v pin , before setting up the led in parallel wouldn’t the current be limited ?
@keyboardlearning7552
@keyboardlearning7552 11 ай бұрын
But the LEDs won't be as bright. The 1k resistor will be limiting the current from the pin to 8mA, but the LEDs will be sharing that 8mA, so they will be passing about 2mA each. (There is some tolerance in components, so they are unlikely to the 8mA share perfectly.)
@DrDave327
@DrDave327 11 ай бұрын
@@martindasilva4358 Paul is trying to keep it simple and straightforward to teach basic concepts. Yes, there are variations to circuit design that may be successful with a particular strategy in mind, but those details are not in the scope of teaching the basics.
@martindasilva4358
@martindasilva4358 11 ай бұрын
absolutely true. @@DrDave327
@daviddirac5942
@daviddirac5942 2 ай бұрын
I am legend😊
@paulmcwhorter
@paulmcwhorter 2 ай бұрын
LEGEND!
@almuense4327
@almuense4327 4 ай бұрын
I got it! Take back the cheap Walmart lawn chair!
@ronwilliams7611
@ronwilliams7611 11 ай бұрын
I am legend!
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@johnbarrios4531
@johnbarrios4531 11 ай бұрын
Waiting for mybandrino
@ctbram0627
@ctbram0627 2 ай бұрын
use a for loop
@drew-david
@drew-david 10 ай бұрын
I most certainly did not fold up like a Walmart lawn chair; I AM LEGEND! *chest pump* ; *chest pump*
@rufustoad1
@rufustoad1 11 ай бұрын
I am a legand but I cheated a little as I did this 4yrs ago in your other class:) Why does digitalwrite or others turn red if its not spelled correctly??
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Yes, that bothers me too. Really I hate IDE 2.X
@jslyto
@jslyto 11 ай бұрын
Debugging is half the fun as long as it's not half the time it took you to program it
@johnsullivan3237
@johnsullivan3237 11 ай бұрын
I am legend
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@richardsstark9825
@richardsstark9825 11 ай бұрын
My solution. kzbin.info7sQmzckePI8?si=L_qiq_Ed_27Z-wtt, I figured while awaiting more complicated circuits, i would play around with the coding. I didn't know HIGH/LOW could be handled as a boolean variable or the pin number as an integer.
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Excellent!
@robertschuldenfrei2402
@robertschuldenfrei2402 11 ай бұрын
I was successful in posting comments to the 4 year old Arduino thread and the new supplemental R4 thread posted last night. Will this comment stick? If it does, what changed?
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Robert, your comments are getting posted. As I have said several times before, if you post a link with no other text, or post a link to an external, non-youtube site, or if you are running an ad blocker, your comments will be blocked by the system.
@alfredvink
@alfredvink Ай бұрын
Still waiting on my kit, but it works with a Mega 2560 with 3 led’s which is fine for now ;-) There must be an easier way to address multiple pins, but I’ll guess that’s for another lesson. kzbin.infobKugAwdcDJc?si=xRU94e3D9FX1aAIj
@Tron_Starfighter
@Tron_Starfighter 8 ай бұрын
Completed - kzbin.info/www/bejne/b4GXlZWJd76eY7ssi=SHiQpuHUQhxpTBEy
@paulmcwhorter
@paulmcwhorter 8 ай бұрын
LEGEND!
@infernaldragon-z7q
@infernaldragon-z7q 9 ай бұрын
i am legend. double chest pump
@paulmcwhorter
@paulmcwhorter 9 ай бұрын
LEGEND!
@daveslack2755
@daveslack2755 11 ай бұрын
Homework for this lesson - kzbin.info/www/bejne/n52zn4ico7Clp5o
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@freddyveza
@freddyveza 11 ай бұрын
And my homework for this lesson kzbin.info/www/bejne/eoPanqqHZsx-kMk
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Excellent!
@robertschuldenfrei2402
@robertschuldenfrei2402 11 ай бұрын
I was successful, but the video never appeared.
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Not sure, sounds like a problem with youtube. If you are running an ad blocker on your browser, I have heard that can impact ability to post comments.
@drdentin3215
@drdentin3215 11 ай бұрын
Late HW 2 and 3 Paul's LiveStream Built In display as a bonus. kzbin.info/www/bejne/bafVe2x_jsZ-iLc
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@alistaircook1997
@alistaircook1997 11 ай бұрын
Great lesson as usual, here is my lesson 3 homework :- kzbin.info/www/bejne/qH6yiYV-iLGbg9k
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@drew-david
@drew-david 10 ай бұрын
Homework #3 fresh off the griddle and it is piping hot! kzbin.info/www/bejne/aHW9k6J_jc98gacsi=s8wBsjhl4OMM3VSS
@paulmcwhorter
@paulmcwhorter 10 ай бұрын
LEGEND!
@keyboardlearning7552
@keyboardlearning7552 11 ай бұрын
I am Legend !!! Double Chest Thump!!! My homework video is here: kzbin.info/www/bejne/kIqVpZKapt6Hm5Y
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
LEGEND!
@LorisHW
@LorisHW 11 ай бұрын
Got my HW done just before the Super Bowl Party will start! kzbin.info/www/bejne/mnOmhZlugt5lY9k
@paulmcwhorter
@paulmcwhorter 11 ай бұрын
Nice work!
@gregp74
@gregp74 10 күн бұрын
Homework complete! (It's been years since I've done any programming -- or electronics. Can you tell I'm a stickler for tidiness?) kzbin.infoVehCjijeeoQ?feature=share
@paulmcwhorter
@paulmcwhorter 10 күн бұрын
Nice! Hey try to upload your videos as normal youtube videos, and not as 'shorts' as it makes it much easier to view them. Thanks!
@joshrittich1843
@joshrittich1843 6 ай бұрын
I am legend
@FRlDDY
@FRlDDY 22 күн бұрын
i am legend
@paulmcwhorter
@paulmcwhorter 21 күн бұрын
LEGEND!
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
Arduino Uno R4 Wifi LESSON 1: Getting Started for Absolute Beginners
28:07
Pico W Episode 1: Setting Up the Raspberry Pi Pico W
12:48
Lori Pfahler
Рет қаралды 17 М.
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН