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

preview_player
Показать описание
In this video we show how to pass data from Python to Arduino. We get user input from Python, pass that data to arduino, and then light the LED according to user input. In this class, we will be using an Elegoo Super Starter Kit, available below (affiliate link):

With this kit, we will will both be working on the same hardware which will make your life and my life easier.

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:

#Python
#Tutorial
#Arduino

Рекомендации по теме
Комментарии
Автор

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" !

steveholt
Автор

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

ananditachakraborty
Автор

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

majahamasuku
Автор

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.

louistoweill
Автор

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.

cbrombaugh
Автор

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!

vaughntaylor
Автор

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!

danstachelski
Автор

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

aurelius
Автор

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

kulkarniapurva
Автор

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

NikoxPL
Автор

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

ricj
Автор

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

pralaymajumdar
Автор

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

davidsouthh
Автор

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

wopjjhm
Автор

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.

StephenAkins
Автор

Hello Paul, thank you for the explanations !

xavierbraive
Автор

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

denislavdochev
Автор

Thank you for your time & for sharing knowledge 🙏

kai
Автор

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.

Urmyrx
Автор

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.

gonepostal