talmadage
Posts: 1
Joined: Fri Jul 19, 2019 4:17 am

GPIO pins having trouble

Fri Jul 19, 2019 4:25 am

So yesterday I accidentally connected the pi's neutral pin to a 12V power supply. In a few seconds I understood the mistake as switched it off. Now the pi is booting and working properly but the GPIO pins are not giving proper output. I know this as I am doing a door lock using face recognition project and the lock is opening randomly.
So is there any way to fix this??

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23366
Joined: Sat Jul 30, 2011 7:41 pm

Re: GPIO pins having trouble

Fri Jul 19, 2019 8:54 am

I believe you have destroyed the GPIO circuitry in the SoC. This is unfixable.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

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

Re: GPIO pins having trouble

Fri Jul 19, 2019 9:39 am

wiringPi has a pintest utility. pigpio has a similar gpiotest utility.

http://abyz.me.uk/rpi/pigpio/examples.h ... l_gpiotest

LTolledo
Posts: 1777
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: GPIO pins having trouble

Fri Jul 19, 2019 11:08 am

If it is still bootable as you claimed, then it may be used for other projects that does not require GPIO functionality

and as jamesh mentioned, its unfix-able.

learn your lesson and move on....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

drgeoff
Posts: 9744
Joined: Wed Jan 25, 2012 6:39 pm

Re: GPIO pins having trouble

Fri Jul 19, 2019 4:27 pm

Damage to GPIOs can lead to an effect which propagates within the SoC and sooner or later causes it to fail completely. Hope for the best but be prepared.

Return to “Troubleshooting”