msulum78
Posts: 34
Joined: Sun Jul 28, 2019 7:29 am

Is it okay if output pin receive current?

Tue Dec 10, 2019 6:46 am

Hello everyone, I am new to raspberry pi and have a bad english, I am sorry.
I just want to know is it okay if output pin receive current?
If it is not okay, what will happened to raspberry pi?

Thanks You

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

Re: Is it okay if output pin receive current?

Tue Dec 10, 2019 8:46 am

msulum78 wrote:
Tue Dec 10, 2019 6:46 am
Hello everyone, I am new to raspberry pi and have a bad english, I am sorry.
I just want to know is it okay if output pin receive current?
If it is not okay, what will happened to raspberry pi?

Thanks You
Your question is not clear.

When a GPIO pin is set as output and low it will sink current. That means current can flow into the RPi.

pcmanbob
Posts: 9298
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Is it okay if output pin receive current?

Tue Dec 10, 2019 9:46 am

If you explained in more detail what exactly you intend to connect to a gpio output that would be supplying current to the the gpio pin we could provide a helpful answer.

but in general you should only connect 3.3v to a gpio pin and you should limit the current to 16mA as either source or sink.

is this related to your post about connecting a relay board to the pi causing the screen to blank ?
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Is it okay if output pin receive current?

Tue Dec 10, 2019 3:14 pm

This might help you to understand how when
A GPIO O/P can be set to sink or source current
(A) GPIO 3.3v O/P—(R)----(aLEDc)--(B) GPIO-O/P-

Operation
GPIO (A) output( active) 1 high
GPIO (B) output (active) 0 low
LED ON

GPIO( A) output( active) 1 high
GPIO (B) output ( In active) 1 high
LED OFF

Remember the LED is a Diode

Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

Return to “Beginners”