the only video or tutorial that I could find anywhere to get me started programming the GPIO connectors. Bought a breadboard with tons of accessories and this was an incredibly simple video to teach me the basics. would love other videos with more complex functions that also included buttons/more LED's. Thanks so much
Awesome! The first time I tried to run it, I didn't realize I was connecting my dupoint wires to the left side, instead of the right side of the GPIO pins, so I was really sad when it didn't work! But then I realized, and now I have a happy little green LED blinking away, thank you!
This is a really informative video, My Raspberry Pi should arrive tomorrow and I can't wait to get programming, but my question is, you said in the other video that there is a possibility of rendering the Pi useless by plugging into the wrong GPIO pin, it this possible? Or would it just brick it and you would have to reimage the sd card?
Hey bit of a noob question. How do you quit the python program once you run it in LXTerminal? I had to just it down to get it to stop blinking the LED :P.
than you very much for this great tutorial,but i am having a problem when running the program a warning message appears which is : RuntimeWarning: This channel is already in use ,containing as yway. Use GPIO.setwarning(False) to disable warnings. gpio.setup(14,gpio.OUT) i tried different pins but the same warning keep appearing
Capacitors and inductors must follow a certain path of voltage (polarity). For example, if you attach the positive end of a 2 volt battery to a capacitor, the positive lead of the capacitor (the longer lead of the capacitor) must connect to the positive end of the 2 volt battery. You must do the same thing for an inductor too. However, a resistor does not follow a certain path of voltage (polarity). Therefore you can simply attach the resistor anyway you would like.
Hi, I have a problem with the GPIOs, I have installed the GPIO library like you did. But when I try my blink-led code I get a error message which says "ImportError: No module named RPI.GPIO".
when i enter the change directory command i am given an error message stating there is no such file or directory. Any ideas on what file or directory i should have!!!
once im at the "sudo python gpiotest.py" i put that in and i get this message: gpiotest.py:6: Runtimewarning: This channel is already in use, continuing anyway. Use gpio.setwarnings(False) to disable warnings. gpio.setup(14, gpio.OUT) what do i do?
Kept getting the error channel is in use. For some reason Foreign to me the only way I could get the python script to work was by adding {I used pin 11 instead of 14} GPIO.setup (11, GPIO.OUT, initial=GPIO.HIGH) I don't know why this enabled the script to work but typing it just as you coded it it would not work for me. attempting GPIO.cleanup() in the python shell kept returning an error message to the effect that paraphrasing it could not be completed.
really good tutorial PiGuy - just got mine through the post today but the Mrs won't let me have it while Chrimo :-(( ... got to get a keyboard and breadboard ready though
Typing this on my new toy ;-) - got a wireless logitech k260 kb & mouse - according to the pi hardware compatiability list. Yeah if you have any links for breadboards etc I was also reading about a breakout board as well that was fairly cheap. Everything seems to be working ok using debian wheezy - browsing is a little slow but to be expected :-)
When i type: sudo python LED.py i get: traceback LED.py line 1, in module import RPI.GPIO as gpio ImportError: No module named RPI.GPIO and when i update it en install python-rpi.gpio again could someone help me whit this problem?
If you use import RPi.GPIO as gpio gpio.setmode(gpio.BOARD) you can then address the pins by their physical numbers as you counted them out on the screen.
the only video or tutorial that I could find anywhere to get me started programming the GPIO connectors. Bought a breadboard with tons of accessories and this was an incredibly simple video to teach me the basics. would love other videos with more complex functions that also included buttons/more LED's. Thanks so much
I am an Arduino guy and really struggled with the pin number assignment and the 'official name'. Thanks a lot, I think you saved me destroying my Pi.
Awesome! The first time I tried to run it, I didn't realize I was connecting my dupoint wires to the left side, instead of the right side of the GPIO pins, so I was really sad when it didn't work! But then I realized, and now I have a happy little green LED blinking away, thank you!
I have two questions:
1. Does3V3 mean 3.3V?
2. Does each GPIO connector has a certain use (for example "ground") or can I change them?
A Tutorial that works. Never saw the Dev files mentioned on any of the other sites. Thanks.
Great archive of videos you have created. They make understanding the basics to the raspberry pi very simple for first time users.
This is a really informative video, My Raspberry Pi should arrive tomorrow and I can't wait to get programming, but my question is, you said in the other video that there is a possibility of rendering the Pi useless by plugging into the wrong GPIO pin, it this possible? Or would it just brick it and you would have to reimage the sd card?
i did the sudo python (project name).py and pressed enter an rhen is says that :no module named RPI..GPIO
Hey bit of a noob question. How do you quit the python program once you run it in LXTerminal? I had to just it down to get it to stop blinking the LED :P.
than you very much for this great tutorial,but i am having a problem when running the program a warning message appears which is :
RuntimeWarning: This channel is already in use ,containing as yway. Use GPIO.setwarning(False) to disable warnings.
gpio.setup(14,gpio.OUT)
i tried different pins but the same warning keep appearing
Can you explain why is it saying "this channel is already in use continuing anyway" ?? Did everything as shown here
Great tutorial, thanks! :-) Would like to see more in the future about Python and the GPIO library for a bit more complex operations.
I don't understand why you attached the resister to the negative side of the current.
Capacitors and inductors must follow a certain path of voltage (polarity). For example, if you attach the positive end of a 2 volt battery to a capacitor, the positive lead of the capacitor (the longer lead of the capacitor) must connect to the positive end of the 2 volt battery. You must do the same thing for an inductor too. However, a resistor does not follow a certain path of voltage (polarity). Therefore you can simply attach the resistor anyway you would like.
Thank you!
These videos are brilliant! Thank you very much please keep it up
Hi, I have a problem with the GPIOs, I have installed the GPIO library like you did. But when I try my blink-led code I get a error message which says "ImportError: No module named RPI.GPIO".
Good videos RPiGuy, keep it up
Does anyone know the make and modle on the bread board he is using? It looks really inexpensive but useful.
Very intuitive video, thanks. But how I increase the blinking frequency of the led?
Thank you
Just change the amount of time specified in the "sleep" command. A lower number will cause it to blink faster and vice versa.
Could u make a tutorial on how to install openelec OS.
Also, I checked and GPIO14 does appear to be HIGH by default.
when i enter the change directory command i am given an error message stating there is no such file or directory. Any ideas on what file or directory i should have!!!
once im at the "sudo python gpiotest.py" i put that in and i get this message:
gpiotest.py:6: Runtimewarning: This channel is already in use, continuing anyway. Use gpio.setwarnings(False) to disable warnings.
gpio.setup(14, gpio.OUT)
what do i do?
You are AWESOME.....
You helped me a lot thank you man!!!
Keep on your hard work
i have got the same problem but updating and instal again does not work. What do i need to do
where do i need to do this command
ps thanx for helping
I think I have it working now, all I need is a .py file to run - Do you know a code I can use to turn a simple relay on and off (GPIO17, pin 11)
Suscribed! awesome videos dude ;)
Hey I posted a question on part 1 I would love if you could help thanks
Kept getting the error channel is in use. For some reason Foreign to me the only way I could get the python script to work was by adding {I used pin 11 instead of 14}
GPIO.setup (11, GPIO.OUT, initial=GPIO.HIGH)
I don't know why this enabled the script to work but typing it just as you coded it it would not work for me.
attempting GPIO.cleanup() in the python shell kept returning an error message to the effect that paraphrasing it could not be completed.
why did you use python 2.7 not 3.0? Does it not work?
Some code isn't written properly.
u can try this:
GPIO.setwarning(False) to disable warnings.
really good tutorial PiGuy - just got mine through the post today but the Mrs won't let me have it while Chrimo :-(( ... got to get a keyboard and breadboard ready though
Typing this on my new toy ;-) - got a wireless logitech k260 kb & mouse - according to the pi hardware compatiability list. Yeah if you have any links for breadboards etc I was also reading about a breakout board as well that was fairly cheap. Everything seems to be working ok using debian wheezy - browsing is a little slow but to be expected :-)
When i type: sudo python LED.py i get: traceback LED.py line 1, in module import RPI.GPIO as gpio ImportError: No module named RPI.GPIO
and when i update it en install python-rpi.gpio again could someone help me whit this problem?
where do i need to type this command???
If you use
import RPi.GPIO as gpio
gpio.setmode(gpio.BOARD)
you can then address the pins by their physical numbers as you counted them out on the screen.
Mine keeps getting a traceback error (gpio not defined)
Just one comment, the dark bar along the bottom that says "check out my other videos!" was a little distracting.
great stuff for a newbie like me !
Nevermind, I saw what you posted on the first video for your breadboard.
What's mcb
RPi.GPIO as GPIO. Use small lower letter i, not upper letter I
awesome it finaly worked thanks for helping guys
The Easy way is to store your files in a folder you can find. I dump mine in the python_games folder.
all i get is a runtimewarning
HOOORAAAAAAAAAY!
U'r welcome.
No problem, but apology accepted all the same ;)
Never mind. Cntrl C :P. Didn't watch 'till the end :P.
thanks..