Paul McWhorter
Paul McWhorter
  • 852
  • 34 521 272
Arduino Uno R4 WiFi LESSON 24: Make a Button Switch With a Pullup Resistor
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:
www.patreon.com/PaulMcWhorter
In this video I show you how to create a button switch using a pullup resistor. We then use the switch to control an LED. 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
#pullupresistor
#tutorial
Переглядів: 1 407

Відео

Raspberry Pi Pico W LESSON 76: MicroPython Program to Use an Infrared IR Remote in Projects
Переглядів 1,6 тис.12 годин тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 23: Control a Servo with a Potentiometer
Переглядів 1,8 тис.День тому
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: www.patreon.com/PaulMcWhorter In this video I show you how to control a servo using a potentiometer with ...
Raspberry Pi Pico W LESSON 75: Using an Infrared IR Remote Control in MicroPython
Переглядів 1,7 тис.День тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 22: Control a Servo With Your Arduino
Переглядів 2,4 тис.14 днів тому
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: www.patreon.com/PaulMcWhorter In this video I show you how to control a servo using the arduino. We learn...
Raspberry Pi Pico W LESSON 74: Create a MicroPython Class for Controlling RGB LED
Переглядів 1,9 тис.14 днів тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 21: Understanding While Loops
Переглядів 2,3 тис.21 день тому
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: www.patreon.com/PaulMcWhorter In this video I show you how to create while loops in arduino. These allow ...
Raspberry Pi Pico W LESSON 73: Control a RGB LED Using a Dictionary in MicroPython
Переглядів 1,5 тис.21 день тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 20: For Loops in Arduino
Переглядів 2,3 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this video I show you how to create for loops in arduino. These allow yo...
Raspberry Pi Pico W LESSON 72: Understanding Using Dictionaries in MicroPython
Переглядів 2 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 19: Mixing Colors with an RGB LED
Переглядів 2,3 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this video I show how you can generate any color with an RGB LED by mixi...
Raspberry Pi Pico W LESSON 71: Allow Thread to Complete Task Before Termination
Переглядів 1,7 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 18: Controlling RGB LED with an Arduino
Переглядів 2,4 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this video I show you how use the RGB LED. Enjoy! [Disclosure of Materia...
Raspberry Pi Pico W LESSON 70: Example of Cleanly Exiting Dual Core Program in MicroPython
Переглядів 1,8 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this class we will be using the Sunfounder Raspberry Pi Pico W Keppler Kit. It will make things a lot easier if we are working on identical hardware. the link below is to amazon, and is for the identical hardware I will be using in ...
Arduino Uno R4 WiFi LESSON 17: Control Multiple LED from the Serial Monitor
Переглядів 2,5 тис.Місяць тому
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: www.patreon.com/PaulMcWhorter In this video I show you how use If Statements in Arduino. We will look at ...
Raspberry Pi Pico W LESSON 69: Cleanly Exit MicroPython Threads When Program Terminates
Переглядів 1,8 тис.Місяць тому
Raspberry Pi Pico W LESSON 69: Cleanly Exit MicroPython Threads When Program Terminates
Arduino Uno R4 WiFi LESSON 16: Understanding If Statements and Conditionals
Переглядів 2,9 тис.Місяць тому
Arduino Uno R4 WiFi LESSON 16: Understanding If Statements and Conditionals
Raspberry Pi Pico W LESSON 68: MicroPython Multicore Threading Example with LEDs and Servo
Переглядів 2,2 тис.2 місяці тому
Raspberry Pi Pico W LESSON 68: MicroPython Multicore Threading Example with LEDs and Servo
Arduino Uno R4 WiFi LESSON 15: Controlling LED Based on User Input From Serial Monitor
Переглядів 3,2 тис.2 місяці тому
Arduino Uno R4 WiFi LESSON 15: Controlling LED Based on User Input From Serial Monitor
Raspberry Pi Pico W LESSON 67: Use Both Cores on Your Pi Pico with MicroPython
Переглядів 2,3 тис.2 місяці тому
Raspberry Pi Pico W LESSON 67: Use Both Cores on Your Pi Pico with MicroPython
Arduino Uno R4 WiFi LESSON 14: Read User Input From the Serial Monitor
Переглядів 3,4 тис.2 місяці тому
Arduino Uno R4 WiFi LESSON 14: Read User Input From the Serial Monitor
Raspberry Pi Pico W LESSON 66: Create Your Own Libraries in Micropython
Переглядів 2,5 тис.2 місяці тому
Raspberry Pi Pico W LESSON 66: Create Your Own Libraries in Micropython
Arduino Uno R4 WiFi LESSON 13: Dimmable LED Controlled by a Potentiometer
Переглядів 3,9 тис.2 місяці тому
Arduino Uno R4 WiFi LESSON 13: Dimmable LED Controlled by a Potentiometer
Raspberry Pi Pico W LESSON 65: Create a Servo Class and Method in MicroPython
Переглядів 2,1 тис.2 місяці тому
Raspberry Pi Pico W LESSON 65: Create a Servo Class and Method in MicroPython
Arduino Uno R4 WiFi LESSON 12: Read Analog Voltages on the Arduino
Переглядів 4 тис.2 місяці тому
Arduino Uno R4 WiFi LESSON 12: Read Analog Voltages on the Arduino
Raspberry Pi Pico W LESSON 64: Object Oriented Programming Example in MicroPython with LEDs
Переглядів 2,5 тис.2 місяці тому
Raspberry Pi Pico W LESSON 64: Object Oriented Programming Example in MicroPython with LEDs
Arduino Uno R4 WiFi LESSON 11: Pulse Width Modulation (PWM) Simulation of Analog Voltages
Переглядів 4,1 тис.3 місяці тому
Arduino Uno R4 WiFi LESSON 11: Pulse Width Modulation (PWM) Simulation of Analog Voltages
Raspberry Pi Pico W LESSON 63: Object Oriented Programming in MicroPython with Classes and Methods
Переглядів 2,8 тис.3 місяці тому
Raspberry Pi Pico W LESSON 63: Object Oriented Programming in MicroPython with Classes and Methods
Arduino Uno R4 WiFi LESSON 10: Writing Analog Voltages With the Arduino
Переглядів 4,6 тис.3 місяці тому
Arduino Uno R4 WiFi LESSON 10: Writing Analog Voltages With the Arduino
Raspberry Pi Pico W LESSON 62: Create Functions to Average and Sort Grades in Micropython
Переглядів 2 тис.3 місяці тому
Raspberry Pi Pico W LESSON 62: Create Functions to Average and Sort Grades in Micropython

КОМЕНТАРІ

  • @nightraid6883
    @nightraid6883 8 годин тому

    If we want to read the voltage that's going through the first resistor in the circuit, shouldn't we be putting the wire plugged into A3 in the same column as the 5V and first leg of the resistor? But when I do that it reads 5 volts and not the expected. I think I'm putting the A3 wire in the wrong place since the reading for my second voltage is correct.

  • @steveholt8991
    @steveholt8991 11 годин тому

    I think I'm legend. You are using both power rails as 5V, but the top one on the power supply is 3.3V.

  • @chuckpar2206
    @chuckpar2206 12 годин тому

    Like the slope of a line as Paul noted, however I simply used servoAngle=potVal/5.69 and appeared to get same outcome.

    • @paulmcwhorter
      @paulmcwhorter 8 годин тому

      You really want to do it with math, the way I showed. Using ratios does not work when the y intercept is not zero.

  • @mattryan-mq2yp
    @mattryan-mq2yp 12 годин тому

    rose and ronald, nice yard

  • @mattryan-mq2yp
    @mattryan-mq2yp 13 годин тому

    GABRIELLA

  • @qzorn4440
    @qzorn4440 13 годин тому

    Hi Paul. I would like to do these lessons with the newer updated Raspberry Pi-5. Do you have any plans or suggestions using the Raspberry Pi-5? Thank you.

    • @paulmcwhorter
      @paulmcwhorter 8 годин тому

      These lessons are geared to the pi 4. They changed GPIO commands on the pi 5.

  • @aruwaalyasugbane3485
    @aruwaalyasugbane3485 13 годин тому

    I used the != Comparison to turn it off

  • @TheGamers-sr2tp
    @TheGamers-sr2tp 15 годин тому

    i love this man

  • @GarretsonIndustries
    @GarretsonIndustries 15 годин тому

    Thank you so much

  • @turion57
    @turion57 15 годин тому

    Another great tutorial. I have now also started to follow the Fusion 360 tutorials, which are explained better by you from the basics. Others immediately start with 3D drawings and the learning curve is, at least for me, too steep.

  • @arvindbattar1
    @arvindbattar1 16 годин тому

    well explained sir...I am not CS guy but understanding in first go with Python

  • @pdaip9680
    @pdaip9680 17 годин тому

    That was easy, I thought. Nope. And to add to my misery I cannot find any basket weaving courses in my neighbourhood... so I will have to keep trying.

  • @mk.host.here.
    @mk.host.here. 18 годин тому

    thanks for great lesson

  • @ericvaish8841
    @ericvaish8841 18 годин тому

    Paul, you are a Legend!!!

  • @richardsstark9825
    @richardsstark9825 18 годин тому

    Well, I folded on the homework assignment from lesson 24. Even though, I went through setting up a toggle switch from your prior Arduino Uno tutorials and more recently on your Raspberry Pi tutorials, I have trouble understanding the coding to the point of being able to set it up on my own without copying it. Maybe your upcoming tutorial(25) will explain it in a way to "sink in" so to speak.

  • @javisan6001
    @javisan6001 18 годин тому

    ¡Gracias!

    • @paulmcwhorter
      @paulmcwhorter 8 годин тому

      Thanks, I really appreciate the support!

  • @user-lu1pd1ig7x
    @user-lu1pd1ig7x 19 годин тому

    I am back to Pauls videos after completing the arduino videos 2 years ago, how i miss this!

  • @coddyuno
    @coddyuno 22 години тому

    i have not started working yet maybe i will start working 5 years later and only then will i support your patreon and buy one of the arduino kits for now i am just using simulators which are not convinient

  • @davidbrooks8621
    @davidbrooks8621 22 години тому

    Paul McWhorter, you are a person rich in qualities and amazing

  • @karansardana6611
    @karansardana6611 23 години тому

    Didn't quite understand why set Spin to High when it is an input pin, for the purpose of bringing up the pullup reistor, if someone can explain i'd be much grateful!

  • @DrDave327
    @DrDave327 23 години тому

    Great content, Paul! Here is my solution to our homework assignment: ua-cam.com/video/OG41VwhX_zQ/v-deo.html. Thank you for all your efforts!

  • @MrBpoyraz
    @MrBpoyraz День тому

    I upload a video, after a while both the comments and the video are deleted, I don't understand why.I did it twice and the same thing happened.

    • @paulmcwhorter
      @paulmcwhorter 8 годин тому

      It seems sometimes the youtube algorithm deletes comments with links as spam. I am sorry for the trouble you are having.

  • @wardeneternal1140
    @wardeneternal1140 День тому

    i literally lost all sanity trying to complete the challenge. i was trying to use "!" as not (like in arduino) and didnt realize you simply type "not". i had to cheat and use google to find that out. otherwise my code was correct. i had also tried to do the alternate way via the if statements but it wouldnt work no matter how i modulated the code, i think it might have something to do with the fact that im currently running nano 7.2 or perhaps some other change in python/pi that im not aware of.

  • @abdullahalmamun8264
    @abdullahalmamun8264 День тому

    Man! This is great.

  • @phillip3218
    @phillip3218 День тому

    So glad I found this! Thanks!

  • @justskorkies4684
    @justskorkies4684 День тому

    Why do you need to connect a ground to the power rail next to the powermodule

  • @kampf4019
    @kampf4019 День тому

    I did my homework Mr McWorther, though my math is a little bit different from yours.

  • @jeff_wild
    @jeff_wild День тому

    My homework: ua-cam.com/video/P4VwjfkM2Cg/v-deo.html

  • @showejr
    @showejr День тому

    as usual, your video's are very good. one thing you may want to point out is an issue I had from the get go. My PICO would not show up in "this PC' I tried 3 different cables and even tried another computer. I went to the PI forums and did a search for 'Bootsel' it turns out this is very common to have cables that are for charging only and not for data. One of the posts said he had tried several cables before finding a good DATA cable. I dug around and found more micro-USB cables, and wouldn't you know the 4th one was the charm.

  • @AM-jw1lo
    @AM-jw1lo День тому

    If you going to cust

  • @user-pg7gn8sy9d
    @user-pg7gn8sy9d День тому

    I did it!

  • @tkelliott228
    @tkelliott228 День тому

    Loving this series! Still going through all your videos and re-watching a few of them to make sure I understand everything. Can you post an amazon link or production description for your "pookie" please?

  • @benjaminobeng-apori3949
    @benjaminobeng-apori3949 День тому

    Legend

  • @user-pg7gn8sy9d
    @user-pg7gn8sy9d День тому

    indigo

  • @geee7672
    @geee7672 День тому

    This is a great approach to teaching. Comes with skill and experience compared to the garbage being advertised online lately. All bogus guys can only do foundation, none of their nonsense is enough to horn a skill from. None of them ends up teaching one to complete a practical project after all payments. Thanks Paul, this is great despite being 3 years (3 tears) old.

  • @lydiancube3687
    @lydiancube3687 День тому

    I am a Legend drinking rooibos tea

  • @masman1st
    @masman1st День тому

    Pulled pot and added flex wire to ADC and flex wire to negative rail and tested batteries >= 3 volts.

  • @charlotteswift
    @charlotteswift День тому

    Here's a comment about my homework without a link in case the other one gets deleted. I've found another IR receiver so I've made a video in case anyone is interested.

  • @mattryan-mq2yp
    @mattryan-mq2yp День тому

    Once again, was tougher than I expected lol. I thought my code was going to be pretty good till I saw yours :( Here's my code: #include <Stepper.h> int stepsPerRevolution = 2048; Stepper myStepper(stepsPerRevolution, 2, 4, 3, 5); int motSpeed = 10; int dt = 50; int buttonPin = 8; int buttonVal; int toggle = 0; int oldVal = 1; void setup() { Serial.begin(9600); myStepper.setSpeed(motSpeed); pinMode(buttonPin, INPUT_PULLUP); } void loop() { buttonVal = digitalRead(buttonPin); if (oldVal == 0 && buttonVal == 1) { toggle = !toggle; } if (toggle == 1) { myStepper.step(stepsPerRevolution / 100); } else { myStepper.step(-stepsPerRevolution/ 100); } oldVal = buttonVal; }

  • @charlotteswift
    @charlotteswift День тому

    I've found another IR receiver so I've managed to do my homework. ua-cam.com/video/leKFb0Q6Q8M/v-deo.htmlsi=HOO0GuWj2hYqld7f

  • @dwayneweller2578
    @dwayneweller2578 День тому

    I am a legend

  • @robingloryvideo9064
    @robingloryvideo9064 День тому

    Thanks you Paul. This is the best course intro I have ever seen!

  • @AshrayJK
    @AshrayJK День тому

    Ur a true legend sir

  • @briankelly4095
    @briankelly4095 День тому

    Hi Paul. I followed your 2019 explanation of Low Pass filters (9 axis IMU) so I’ve been using them since we started with the 6050. Here’s the latest instance (Lesson 46 homework) ua-cam.com/video/pw6EfK6vdss/v-deo.html And, since you asked, I am not weary of this sensor yet. We haven't even touched on the gyroscope functions. I imagine that's next. A MEMS gyroscope !! That will be interesting. I wouldn't be surprised if the gyro brought back some of the 'snap' you're looking for. Thanks Paul

  • @georgechang7986
    @georgechang7986 День тому

    I have Python 3.6.9 setup and am getting an error 'Could not find a version that satisfies the requirement Adafruit-Blinka' dring the adafruit-circuitpython-servokit installation. Please can someone help?

  • @MrBpoyraz
    @MrBpoyraz День тому

    I can't see anything less than that flashing from machine import Pin from time import sleep myLED=Pin('LED',Pin.OUT) while True: myLED.toggle() sleep(.017)

  • @IamAwsam
    @IamAwsam 2 дні тому

    Great explanation! I'm just wondering if you could use two 330R resistors to get the same results as only using one 1K?

  • @jabber2824
    @jabber2824 2 дні тому

    Yeah folded up. Didn’t see the wave coming. But I actually discovered that the color vector goes beyond 1. There is no limit to the number but around 2.5-3 it just gets very bright and then doesn’t really gets any brighter. So if you want a really bright object - there you go. Update: I used your technique for getting the brightness right. Very good lesson. Also added the use of the math functions math.sin and math.cos in python (import math) to get a orbiting Orb. placed a small "earth" in the middle for reference. ua-cam.com/video/UOPR9tsbUgA/v-deo.html

  • @steveholt8991
    @steveholt8991 2 дні тому

    Homework done ok. 😀 Funny story. I'm using the Sunfounder Elite Explorer kit for Paul's series on the R4 Wifi. I'm ok with programming but a beginner in electronics. When it came to the LCD the one I have has a piece of electronics on the back that prevented me from plugging the LCD in to the breadboard. Should I pull it off then maybe I can plug the rest in?. Fortunately, I did some research instead and found it was an I2C module. What is I2C? So I did some more research and found how to use it and found some libraries to drive it. It works fine and is a lot better than connecting all those wires to the Arduino. So Paul, not only am I learning from you, I'm learning by doing my own research and trying things for myself. Great lectures and I can't wait for the R4 Wifi series to advance.

  • @svsv9
    @svsv9 2 дні тому

    Hope Ant had had a sip of ice coffee too.. This video helped me a lot. spend a day testing other samples could not make it work till this lesson. Thanks.