Using an Arduino with Python LESSON 11: Controlling an LED from Python

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 81

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

    I set up a slider in Python to adjust the brightness of a LED. Fairly easy, but I couldn't have done it without the last tutorial. You are truly the "Magic Man" !

  • @ananditachakraborty7439
    @ananditachakraborty7439 2 роки тому +4

    I was stuck in a code, and you saved my patience 😍😍😍😍😍😍😍😍😍thanks a lot for explaining things even a amateur can understand

  • @majahamasuku219
    @majahamasuku219 Рік тому +3

    Keep up good work sir, your tutorials are so understandable and interesting to follow,thumbs up.

  • @cbrombaugh
    @cbrombaugh 2 роки тому +2

    I AM LEGEND! I made a pretty realistic virtual RGB LED. The colors are not identical to the real one, but that is expected. Thanks for another most excellent lesson Paul.

  • @kulkarniapurva
    @kulkarniapurva 2 роки тому

    Hold the breath......Boom! You are the legend! Thank you so much for your awesome work!!

  • @louistoweill4232
    @louistoweill4232 7 місяців тому

    I am very happy with my completed homework. I don't know how to link my homework but I learned a lot and had fun. Thanks for another great lesson. I look forward to seeing your solution.

  • @danstachelski9185
    @danstachelski9185 2 роки тому

    I am legend. Made a visual representation of the RGB LED in Visual Python and was able to send color instructions to the Arduino and back to VP. This is great! Now, if I can figure out how to establish a You Tube channel I can capture and link future successes with your excellent tutorial series. Good work!

  • @vaughntaylor2855
    @vaughntaylor2855 2 роки тому +2

    Thank you Paul for the Eye and mind opening video. I received my rpi4 while I was in Mexico and got it up and running. I got the one you recommended with the case, power supply, fan, etc. Runs great, I only wish there was a different way to power the fan then off of the GPIO power and ground. The only reason is I like to use a GPIO expansion cable that plugs from the GPIOs to a Breadboard. Makes it real convenient when building circuits when the GPIOs are already present on the breadboard. But still love it!
    Thank you Paul and Gold Bless you!

  • @NikoxPL
    @NikoxPL 2 роки тому

    I am legend. I did colors with just red,green,blue but I also added or to ifs: "Red" or "red" or "RED" for all colors to work despite how you write it. I didnt think of 0-255 values so thank you for lesson! Great work Paul

  • @pralaymajumdar1206
    @pralaymajumdar1206 2 роки тому

    It's really a super cool project. Thank u sir from India.

  • @aurelius1229
    @aurelius1229 2 роки тому +4

    love your videos, the effort you put in is very much appreciated ;-)

  • @ricj9594
    @ricj9594 2 роки тому

    Thank you. I study at Univesp in são Paulo. Sorry for my english. Love from Brazil

  • @DanielBlock-k8o
    @DanielBlock-k8o Рік тому +1

    I love your videos, and this one in particular helped me a lot with a project I've been doing, although there is still a problem with it. I'm using contours to isolate red pixel, and send their coordinates to an arduino which controls servos. Basically the two servos are connected to the x and y coordinates of the bounding box. The problem is I can't get the servos to update faster than once per second. Is there a way to use what you did in this video to control a servo?
    I would really appreciate some of you guy's input

  • @davidsouthh
    @davidsouthh 2 роки тому

    "Who's your huckleberry?" 🤣 I felt the same exact way when it worked.

  • @xavierbraive4470
    @xavierbraive4470 2 роки тому

    Hello Paul, thank you for the explanations !

  • @kai1862
    @kai1862 2 роки тому

    Thank you for your time & for sharing knowledge 🙏

    • @paulmcwhorter
      @paulmcwhorter  2 роки тому

      And thank you for watching and your kind comment

  • @Sikuq
    @Sikuq 2 роки тому

    Excellent as always. Thanks.

  • @StephenAkins
    @StephenAkins 2 роки тому

    Thanks very much for the videos.
    I'd find it helpful if you'd include a link in the description to the first video in the series.

    • @paulmcwhorter
      @paulmcwhorter  2 роки тому

      Before the colon of the title is the series name. So you could search youtube on, for example, "Using an Arduino with Python LESSON 1" to get to the first lesson. Titles are all named the same before colon on a given series.

  • @edSabio572
    @edSabio572 2 роки тому

    Thanks Paul!
    Just finished the lesson. I did not take your vpython class but understood your lesson very well and got the example to work. I will try to do the homework...The fishing boat made a late entrance at the end of your lesson. Do you buy your fresh fish from them?

    • @paulmcwhorter
      @paulmcwhorter  2 роки тому

      Yes I can flag them over if I want a wonderful fresh fish

  • @Urmyrx
    @Urmyrx 2 роки тому

    Instead of using the Arduino IDE Serial Monitor try using Termite Terminal from Compuphase. Keep the Arduino Serial Monitor closed! I have found that it does not get in the way of sending programs to the Arduino from Notepad++. Just getting started with your Python videos, so I haven't tried this.

  • @Drxxx
    @Drxxx 2 роки тому

    Great video!!

  • @denislavdochev3783
    @denislavdochev3783 Рік тому

    Jackaranda is the ruler of the planet Notaloca - the birthplace of Slavi The Clasher!

  • @yashwanthl1768
    @yashwanthl1768 2 роки тому

    Hello Paul can you please make video on how dual core interact each other using beagle bone please

  • @arlo4051
    @arlo4051 2 роки тому +1

    Lesson completed, sorry for the screen clutter ,still trying to figure out how to pack everything onto one screen and have it look decent. The camera really washes out the led's color . I tried masking tape on the led to subdue the brightness but with little effect. Thanks again Paul for your time and knowledge. ua-cam.com/video/60Lwqr3u8eg/v-deo.html

  • @floridian080
    @floridian080 2 роки тому +1

    Since some viewers may not have decided between pi4 and pi400 and I just saw Vaughn's comment on his pi4, I thought I'd post a brief video of my pi400 with attachments. Although it won't work with typical pi cameras, I verified that it does work with the camcorder Paul recommended for the recent AI course. I love the ease of use w/o need for case or heat sinks. It is also a bit faster than the pi4. The pi400 is contained in the keyboard, which serves as its case. I like the pi400 keyboard and mouse but also access it from my windows computer with VNC, which makes it unnecessary to attach a mouse or monitor to the pi400.
    ua-cam.com/video/oGGZvB5kBMs/v-deo.html

  • @7dedlysins193
    @7dedlysins193 2 роки тому

    For your Arduino lessons do you use C or C++?

  • @danielsaenz5570
    @danielsaenz5570 2 роки тому

    Hello Paul! just wandering when are you going to do another live shop talk? I know your internet has been spotty so maybe not in a while... Thanks!

  • @TheRealFrankWizza
    @TheRealFrankWizza 2 роки тому

    I have a lot of stuff to get caught up on.

  • @gonepostal63
    @gonepostal63 Рік тому

    I am Legend! I made a random color-shifting mood LED light. Sorry for no video. There was much shooting in the dark to figure out how send a string over to Arduino and then to separate the string into the three numbers that the PWM would take.

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

    i am legend!

  • @anwarzebkhan
    @anwarzebkhan 2 роки тому

    Sorry sir today i missed the whole live stream

  • @PapaKn
    @PapaKn 2 роки тому +2

    Lesson completed. Thanks for your effort on this Paul. My experience with using the serial monitor on the new Arduino IDE 2.0.0-rc5 is that it does not work properly yet to send data to the Arduino. It works erratically. Better to stick with the IDE 1.8.19 which works fine. Here is a link to my Python code ua-cam.com/video/WJ-1ErmJeN4/v-deo.html

  • @PhilipStanway
    @PhilipStanway Рік тому

    I AM LEGEND!

  • @harrison4687
    @harrison4687 2 роки тому +1

    Thanks for the lesson. I admit I struggled with this one and had to wait for your solution. I was using for loops and counters and trying to add CV2 trackbars to give the user added control for customizing colors. Is there a way to add trackbars to the canvas or under it? Anyway here's my simple solution. ua-cam.com/video/5Ua_yF5XisY/v-deo.html
    Also, thanks for your response to MetaVerse clarification. I really had to step back and ponder the abstractness of it all. To me it's not just technological but more inherent in our consciousness or lack of. Ok, rambling again.

  • @timwilliams9100
    @timwilliams9100 2 роки тому

    Yes Paul I am legend and kicked sand in the face of a up cheap ass lawn chair

  • @alonb8827
    @alonb8827 2 роки тому

    I had a little bit of trouble with the 4 legs (making them with a prametric design) but eventually I figured that out.
    Here is the link: ua-cam.com/video/N__NvWJvnnk/v-deo.html

  • @peterkarlsson7801
    @peterkarlsson7801 2 роки тому

    I am legend

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

    I am legend. ua-cam.com/video/lNyz_j2kkWk/v-deo.htmlsi=M2MjpJevzaZg9e_L.
    Biggest obstacle was on the arduino side to split up the data packet i sent from python. I didnt realise the power of the „Serial.readStringUntil()“ command. I had to use the substring() and indexOf() commands to split up the packet. Also the toInt() to convert the string to an int. I don’t think i haver seen you use that.

  • @Octopus-93
    @Octopus-93 Рік тому

    This is my Homework !
    ua-cam.com/video/kluWjte6RPk/v-deo.html

  • @PhilipStanway
    @PhilipStanway Рік тому

    here is my LED done in Vpython. ua-cam.com/users/shorts6AbWe1o8hw4

  • @arnaudmasse7839
    @arnaudmasse7839 Рік тому

    I am legend!