Page 1 of 1
GPIO Pins Not Working
Posted: Fri May 22, 2015 7:52 pm
by DaPizzaMan
For some reason, whenever I try to use the GPIO pins on my Raspberry Pi B+, nothing happens. I can get voltage off of the 5 volt and 3.3 volt pins, but none of the programmable pins work. The code has no errors, and I even tried using wiringPi, but nothing worked. Please help!

Re: GPIO Pins Not Working
Posted: Sat May 23, 2015 2:38 am
by klricks
DaPizzaMan wrote:For some reason, whenever I try to use the GPIO pins on my Raspberry Pi B+, nothing happens. I can get voltage off of the 5 volt and 3.3 volt pins, but none of the programmable pins work. The code has no errors, and I even tried using wiringPi, but nothing worked. Please help!

What are you connecting to the GPIO? Be very specific and describe exactly what you are have done and what you expect to happen.
Just because code compiles without errors, doesn't mean it is correctly coded to do what you are wanting to do.
Copy and paste your code here and maybe someone can help. Be sure to select your code and then press the
Re: GPIO Pins Not Working
Posted: Sat May 23, 2015 10:54 am
by DaPizzaMan
I was trying to use a relay. Sorry, but I don't have the script anymore because my Pi got corrupted. Now I am just using wiringPi and the commands were taken directly from a tutorial by Tinkernut. Could not using a resistor be a problem? Anyways, no matter what I try, the GPIO pins do nothing. Do you think it would just be easier to just get a new Pi? I think it is a hardware issue.
Re: GPIO Pins Not Working
Posted: Sat May 23, 2015 11:14 am
by joan
Which model Pi do you have?
wiringPi has a pin test utility which will check your gpios.
Re: GPIO Pins Not Working
Posted: Sat May 23, 2015 5:42 pm
by DaPizzaMan
joan wrote:Which model Pi do you have?
I am using a Raspberry PI 1 model B+.
joan wrote:wiringPi has a pin test utility which will check your gpios.
What is the command for the GPIO test utility?
Re: GPIO Pins Not Working
Posted: Sat May 23, 2015 10:03 pm
by B.Goode
DaPizzaMan wrote:
What is the command for the GPIO test utility?
I suppose the author didn't document the name of the utility that so you would have to guess?
Oh no - look - here it is:
http://wiringpi.com/the-gpio-utility/pin-test/
Re: GPIO Pins Not Working
Posted: Sat May 23, 2015 11:55 pm
by DaPizzaMan
The pin test said that everything was OK, but the GPIO pins still don't work. UGH!
At this point I think it would be easier to get a new Pi.
Re: GPIO Pins Not Working
Posted: Sun May 24, 2015 6:45 am
by joan
DaPizzaMan wrote:The pin test said that everything was OK, but the GPIO pins still don't work. UGH!
At this point I think it would be easier to get a new Pi.
In some senses that would be a waste of money, you'd end up with two working Pis.
Try my
gpio test.
Re: GPIO Pins Not Working
Posted: Sun May 24, 2015 11:11 am
by DaPizzaMan
joan wrote:DaPizzaMan wrote:The pin test said that everything was OK, but the GPIO pins still don't work. UGH!
At this point I think it would be easier to get a new Pi.
In some senses that would be a waste of money, you'd end up with two working Pis.
Try my
gpio test.
Your GPIO test doesn't work. When I try to install PIGPIO, it does nothing and my CPU goes up to 100%.