ErickIR
Posts: 8
Joined: Sat Jul 20, 2013 3:29 am

Using 5v Pin and Ground Pin

Tue Oct 01, 2013 3:09 am

I'm a new user of the epic raspberry pi and I had been playing around with the GPIO for a while now.

So I've been wondering, would it be safe to use a 5v pin and a ground pin?

I was searching for this and on one of the responses in a post mentioned that the 5v pin and the ground pin are not GPIOs so it would be perfectly safe but I wasn't so sure.

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: Using 5v Pin and Ground Pin

Tue Oct 01, 2013 8:00 am

The +5v on the connector block isn't really GPIO there is no input or output capability on this pin it's just your +5v input power supply rail without polyfuse protection which also provides power to the USB ports.

You can use +5v and ground to attached external devices as well as powering the Pi directly providing you do not exceed the required running voltage.

Richard S.

ErickIR
Posts: 8
Joined: Sat Jul 20, 2013 3:29 am

Re: Using 5v Pin and Ground Pin

Tue Oct 01, 2013 7:15 pm

redhawk wrote:The +5v on the connector block isn't really GPIO there is no input or output capability on this pin it's just your +5v input power supply rail without polyfuse protection which also provides power to the USB ports.

You can use +5v and ground to attached external devices as well as powering the Pi directly providing you do not exceed the required running voltage.

Richard S.
Ah okay awesome!
Thank you very much! :D

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

Re: Using 5v Pin and Ground Pin

Thu Oct 03, 2013 1:44 pm

redhawk wrote:The +5v on the connector block isn't really GPIO there is no input or output capability on this pin it's just your +5v input power supply rail without polyfuse protection which also provides power to the USB ports.

You can use +5v and ground to attached external devices as well as powering the Pi directly providing you do not exceed the required running voltage.

Richard S.
The 5V (GPIO) pin and the USB ports are protected by the main fuse F3 when the RPi is powered by the micro USB connection. The fuse F3 gets bypassed only when you connect a power supply directly to the 5V GPIO or 'back-fed' through the USB ports.

Also there are 3.3V pins available in the GPIO header which must not exceed a total of 50mA.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Xavwre
Posts: 1
Joined: Sun Apr 27, 2014 8:19 pm

Re: Using 5v Pin and Ground Pin

Sun Apr 27, 2014 8:22 pm

Would it be safe to ground more then 5 volts? Say 9 volts?

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Using 5v Pin and Ground Pin

Sun Apr 27, 2014 10:20 pm

Xavwre wrote:Would it be safe to ground more then 5 volts? Say 9 volts?
Electricity flows in a circuit. It has to go back to wherever it came from, whether that's a 9v battery or another power supply. You can (and usually should) connect all the grounds in your circuit together, but the 9v from another supply won't return through the Pi's ground, per se, since it wasn't sourced from the Pi's power supply.

What are you trying to do?

fc_key
Posts: 22
Joined: Thu Apr 07, 2016 8:32 pm
Location: Switzerland

Re: Using 5v Pin and Ground Pin

Thu Apr 07, 2016 8:57 pm

I got a question on this :)

Hi I'm new in the forum and new on programming with GPIO Pins but i learnd all this stuff at school some years ago :D :lol:

So i want to run a motor using the 5v pin.

My Idea is to use HBridge for that but not using external batteries, instead using the 5v pin:

This should work like this I will connect the 5v pin with the Hbrige then from the HBrige the minus (0V) to close the sircuit. With two GPIO pins which bring 3.3V I will close the switches on the hbrige to make the two motors left and right forward or backwards? Will this work?

I got this kit, which normaly use a battery pack of 4 AA 1.5V Batteries to power up the motors: http://camjam.me/?page_id=1035 CamJam EduKit 3 – Robotics

Any help on this? In my opinion connecting 5V to the Hbrige and then connecting the Hbrige to a GND should be all to do...

Thank you for any help on this

Friendly greetings fc_key

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Using 5v Pin and Ground Pin

Fri Apr 08, 2016 9:49 pm

You really do NOT want to do that.

The RPi power supply isn't designed to run a motor. Motors are exceedingly bad news when they stop and the big EMF is generated. Use a completely separate supply for them.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Advanced users”