Finally after trying different tutorials for hours and actually yours worked!! Thank you for the video. I already had python 3 installed in my Pi so I didn't have to use sudo.
i'm very happy to be your fan! i looked at other videos and only two of them worked and one of them is you. but can you make a video of how to make two leds flash with a time limit?
Good job, but since you're using "toggle", you could just make your while-loop contain 2 instructions instead of 4, and it would work exactly the same, eh wot? ;')
Great Explanation. Would like to suggest an advanced board for Raspberry pi. I am familiar with "Sania Box" and by using this board you can get hands-on experience on LED, 7-Segment, Buzzer, Sensors etc.
Thank you for telling me I can use resistors that are over 100 ohms. I some how couldn’t find any info. This other RUclips channel was telling me to use 270 ohm and I’m like... but it’s a small light? 🤷🏻♀️
Led resistor design is simple Supply voltage-Led voltage ÷ Iled Supply voltage (Vs) is 5volts from rasberry pi board and led voltage is 3v and led current is 10milli ampere. (Vs-Vled) ÷ Iled 5-3 ÷ 10 x 10^-3 2 ÷ 10^-2 200 ohms. It not a standard value use standard value 220 ohms this is the correct design.
Also, you may get a warning when you run your program. If you put GPIO.cleanup() at the end of your program the "Use GPIO.setwarnings(False)" warning will go away.
1.What software/hardware is needed in this project? 2.what hardware/electronics is needed in this project? 3.what other equipments will neend in this project?
if anyone got "TypeError: an integer is required (got type str)" Just substitute the line "K = input("Sleep for: ")" for "K = float(input("Sleep for: "))" and problem solve hope it helps
Nice , but i hope there are more in explaination like why LED(18) , what is toggle , on .. maybe u should put more information in description (or just link the phyton documentation )
@@haluklacin4190 Sure, you could do that too. I was just explaining that with K = input("Sleep for: "), K is a str type, while time.sleep(K) requires K to be a numerical value, int/float.
I hope your command was- "sudo apt-get install python-gpiozero" also the gpiozero library is preinstalled in official raspbian OS. If your command was exactly same as mentioned above then more information is required.
The Ethernet cable(mine is CAT5) is inserted in the Ethernet port on the Raspberry pi and the other end is inserted into my laptop(can also work with a desktop pc)
@@confidingrpi7174 so bro pls help me out that ,u didn't connected any HDMI cable to monitor instead you connected the ETHERNET cable. Does RPI OS can work on the laptop with simply the ethernet cable connected? Does it affects our current laptop OS? I am using MacBook Air, it didn't contain any HDMI cable connection and I didn't know how to connect the ethernet cable to laptop! if possible pls pls make a tutorial on it............ pls sir it would be a great help
Hi I am a design student and have never used programmable LED , but for my senior design project I have to build an interactive LED (RGB) wall, the interactivity can be based on touch or motion . so when users touch or move the LED's colour tracks the user or a new colour is added to visualize the interactivity. some examples : ruclips.net/video/ZItqHJF-l98/видео.html ruclips.net/video/D_f0rzwi_LI/видео.html So I need to know what sort of products I need to order to build this prototype. Thank you
but having it twice inspired me to try different values say “K” and “L”… can run them really short, play with duty cycle… effectively brightness control
I don't know if you figured this out yet, but I can help. Pause the video at 4:50. you'll see the red wire line goes to the row of pins that is to "GP18" on the board. (it's a drawing.) I had to watch this twice and pause to study the diagram.
You can use a resistor that is at least 470 ohms (in my experience I have not seen an led blow up with 470 ohms), you can use a higher value resistor but the led will be dimmer! Side-note: In the video I used a 1000 ohms resistor!
Jesus is King! If you do not know Jesus as Savior please pray, “ Jesus save me. At this moment I choose to have faith that You gave Your life for me and rose from the dead. Doing this You defeated death, even though it meant You had to die. You surrendered Your life for me, so I chose to surrender my life to You. Forgive me Jesus, my God. Amen.” Jesus loves you so much. Please accept His love. I encourage you to read the Bible and pray. “For God so loved the world that he gave his one and only begotten Son into this world, that whoever believes that in him shall not perish but have eternal life.” John 3:16 🙏❤️🙏 Jesus is enough! Again I tell you, Jesus loves you!
Did this,,, I feel like a rocket scientist now :D
Finally after trying different tutorials for hours and actually yours worked!!
Thank you for the video. I already had python 3 installed in my Pi so I didn't have to use sudo.
Great!
...
This tutorial doesn't work tf are you talking about?
Finally, the first tutorial video I can understand.
I am glad it could help you! :D
Very good job clearly explaining a bit of coding. I will be back for more.
i saw just 2 min of your video u explained everything in your video led , breadboard and each thing beginner and pro both can understand. nice and tx
Thanks for simplifying a great way to get started!
i'm very happy to be your fan! i looked at other videos and only two of them worked and one of them is you. but can you make a video of how to make two leds flash with a time limit?
Good job, but since you're using "toggle", you could just make your while-loop contain 2 instructions instead of 4, and it would work exactly the same, eh wot? ;')
Loved the explanation! Thanks for the video.
this guy sounds like a mad scientist
I was watching this on my pi and i forgot i didn't have speakers/headphones connected
i realize I'm pretty randomly asking but does anyone know a good website to stream newly released movies online?
@Rogelio Alonso lately I have been using flixzone. You can find it by googling =)
Thank you. Its now working for me.
Cool, worked first time . Thanks
Great Explanation. Would like to suggest an advanced board for Raspberry pi. I am familiar with "Sania Box" and by using this board you can get hands-on experience on LED, 7-Segment, Buzzer, Sensors etc.
This is the best tutorial ever, btw!
Excellent explanation ...
Bro, please make more videos like this ...😅👍
Thank you for telling me I can use resistors that are over 100 ohms. I some how couldn’t find any info. This other RUclips channel was telling me to use 270 ohm and I’m like... but it’s a small light? 🤷🏻♀️
Led resistor design is simple
Supply voltage-Led voltage ÷ Iled
Supply voltage (Vs) is 5volts from rasberry pi board and led voltage is 3v and led current is 10milli ampere.
(Vs-Vled) ÷ Iled
5-3 ÷ 10 x 10^-3
2 ÷ 10^-2
200 ohms.
It not a standard value use standard value 220 ohms this is the correct design.
So simple and yet so fun...
that's cool!
Also, you may get a warning when you run your program. If you put GPIO.cleanup() at the end of your program the "Use GPIO.setwarnings(False)" warning will go away.
That happens only with the RPi.GPIO library I am (in this video) using the library gpiozero.
gpiozero does not require cleanup
Thank you this was v helpful
Can I do it using pc without Raspberry-pi/microcontroller/Arduino.?
At 5.10 @Confiding_RPi goes into documents but when I try it says 'No such file or Directory'. Can someone help please?
3:19 my man died here
lol i thought the same thing
Can we do this using windows 10 and python compiler
1.What software/hardware is needed in this project?
2.what hardware/electronics is needed in this project?
3.what other equipments will neend in this project?
Good explanation!! thanks for sharing
Why is the PIN number 18 of your led?
can i do this also with 30 pins bread board plzZ reply fast
Yes!
if anyone got "TypeError: an integer is required (got type str)"
Just substitute the line "K = input("Sleep for: ")" for "K = float(input("Sleep for: "))" and problem solve
hope it helps
great instruction
Nice , but i hope there are more in explaination like why LED(18) , what is toggle , on .. maybe u should put more information in description (or just link the phyton documentation )
Thanks for the feedback, I will sure work on it!
resistor size how many ohm ?
Nice
what color is the resistor ?
the second code does not work in python3, but it works in python2 why?
TypeError: an integer is required (got type str)
try K=int(input("Sleep for: "))
@@GarlitoMcs code that he typed means the time for blinking
this is the code for the led turning on
from gpiozero import LED
import time
led=LED(18)
led.on()
time.sleep(5)
led.off()
I would use float instead of int @@GarlitoMc
@@haluklacin4190 Sure, you could do that too. I was just explaining that with K = input("Sleep for: "), K is a str type, while time.sleep(K) requires K to be a numerical value, int/float.
tryed it nice job
Thank you for this video, I didn't understand why the LED is assigned to the 18th pin (in the picture) ?
becouse that was the pin 18
it is that the jumper cable is connected to pin 18 so it could get power for the led
and yes the pin is on the picture
It can be any pin that is gpio
I think so..
@@rishabmudliar1058 not really depends if the jumper cable if it is connected to a GND GPIO pin and a normal gpio pin
4:36 shouldn't you remove the power source before plugging anything in?
no need
Yes, you should ... No need if you not sure or it will blow your raspi.
it is alittle safer so you wont get a shock
while you are plugging in the led
very nice
Iam like for your pro
Python 2 - sudo apt-get install python-gpiozero , after applying this im getting invalid operation. how i sort out this problm
I hope your command was- "sudo apt-get install python-gpiozero"
also the gpiozero library is preinstalled in official raspbian OS.
If your command was exactly same as mentioned above then more information is required.
Can you please please please tell me who you connected raspi 3 directly to the laptop?
The Ethernet cable(mine is CAT5) is inserted in the Ethernet port on the Raspberry pi and the other end is inserted into my laptop(can also work with a desktop pc)
@@confidingrpi7174 so bro pls help me out that ,u didn't connected any HDMI cable to monitor instead you connected the ETHERNET cable.
Does RPI OS can work on the laptop with simply the ethernet cable connected?
Does it affects our current laptop OS?
I am using MacBook Air, it didn't contain any HDMI cable connection
and
I didn't know how to connect the ethernet cable to laptop!
if possible pls pls make a tutorial on it............ pls sir it would be a great help
Excellent video
nice explanation
WHEN I TYPE leafpad Led.py it says command not found
Try "sudo apt install leafpad"
The try entering "leafpad led.py"
Muy bien
Bro can u make some video on and off the relay.
Nice👍👍👍
good work
Very helpful video.😀
Hi I am a design student and have never used programmable LED , but for my senior design project I have to build an interactive LED (RGB) wall, the interactivity can be based on touch or motion . so when users touch or move the LED's colour tracks the user or a new colour is added to visualize the interactivity.
some examples : ruclips.net/video/ZItqHJF-l98/видео.html
ruclips.net/video/D_f0rzwi_LI/видео.html
So I need to know what sort of products I need to order to build this prototype.
Thank you
hello.ik he de script van de led nodig.kan opsturen,of download. thanks for top review
I named my file Led.py and when I type that into Terminal it says no such file exists
did you typ leafpad +Gvidas?!1?
leafpad Led.py?
@@TonyLee-cs1bu I figured out a way to do it, I just typed python the Documents/(Folder Name)/(File Name) and it opened
@@user-el1gx2ve8c ok
that works too but you can use thonny python IDE
it just shows leafpad
666th subscriber, HAiL yaaaah. Thanks for posting this video man!
hats off for your accent lol 😂😂😂
This video is very useful for beginners and I'm also trying to make such videos. Till now I had uploaded only one video, hope u watch that. :-)
Sure!
you don't need led.toggle() and time.sleep(k) twice.
but having it twice inspired me to try different values say “K” and “L”… can run them really short, play with duty cycle… effectively brightness control
Great guide!
thank you bro
Yes,
This is great
How to connect IP camera
And loop decter
Just wanted to comment so it was a odd number. :)
Sir , can you tell me the cost of this rasberry pi
$35
@@dominic_game_vlogs7859ok thanku sir
...
what if i want to use c ++
if you want to use it then.... USE IT!!!! :)
what is the white thing called
The board on which the LEDs are plugged -> Breadboard
You are awesome man
Why is the PIN number 18???
I don't know if you figured this out yet, but I can help. Pause the video at 4:50. you'll see the red wire line goes to the row of pins that is to "GP18" on the board. (it's a drawing.) I had to watch this twice and pause to study the diagram.
@@jynclr tnx!
The resister is how many omh
You can use a resistor that is at least 470 ohms (in my experience I have not seen an led blow up with 470 ohms), you can use a higher value resistor but the led will be dimmer!
Side-note: In the video I used a 1000 ohms resistor!
Great vid!
Jesus is King! If you do not know Jesus as Savior please pray, “ Jesus save me. At this moment I choose to have faith that You gave Your life for me and rose from the dead. Doing this You defeated death, even though it meant You had to die. You surrendered Your life for me, so I chose to surrender my life to You. Forgive me Jesus, my God. Amen.”
Jesus loves you so much. Please accept His love. I encourage you to read the Bible and pray.
“For God so loved the world that he gave his one and only begotten Son into this world, that whoever believes that in him shall not perish but have eternal life.”
John 3:16
🙏❤️🙏
Jesus is enough!
Again I tell you, Jesus loves you!
Yessssss
I hope you can sheee
Please send me connection and coading
Huththige putha
Pakaya
Can i take your email?
L E D !
:P