DaPizzaMan
Posts: 8
Joined: Fri May 22, 2015 7:42 pm

GPIO Pins Not Working

Fri May 22, 2015 7:52 pm

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

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: GPIO Pins Not Working

Sat May 23, 2015 2:38 am

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

Code: Select all

 button.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

DaPizzaMan
Posts: 8
Joined: Fri May 22, 2015 7:42 pm

Re: GPIO Pins Not Working

Sat May 23, 2015 10:54 am

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.

User avatar
joan
Posts: 14936
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: GPIO Pins Not Working

Sat May 23, 2015 11:14 am

Which model Pi do you have?

wiringPi has a pin test utility which will check your gpios.

DaPizzaMan
Posts: 8
Joined: Fri May 22, 2015 7:42 pm

Re: GPIO Pins Not Working

Sat May 23, 2015 5:42 pm

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?

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: GPIO Pins Not Working

Sat May 23, 2015 10:03 pm

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/

DaPizzaMan
Posts: 8
Joined: Fri May 22, 2015 7:42 pm

Re: GPIO Pins Not Working

Sat May 23, 2015 11:55 pm

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.

User avatar
joan
Posts: 14936
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: GPIO Pins Not Working

Sun May 24, 2015 6:45 am

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.

DaPizzaMan
Posts: 8
Joined: Fri May 22, 2015 7:42 pm

Re: GPIO Pins Not Working

Sun May 24, 2015 11:11 am

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%.

Return to “Troubleshooting”