What is current sourcing and sinking?

What is current sourcing and sinking?

Two terminals are associated with every I/O point. Source current is the ability of the digital output/input port to supply current. Sink current is the ability of the port to receive current. A sourcing digital I/O provides the voltage, a sinking I/O the ground, and the digital input provides the load.

How does a current sink circuit work?

A constant current sink circuit actually sinks current irrespective of the load resistance as long as the input voltage is not changed. For a circuit with 1-ohm resistance, powered using 1V input, the constant current is 1A according to Ohms Law.

How are sink and source used in a circuit?

Sink and Source are terms used to define the flow of direct current in an electric circuit. A sinking input or output circuit provides a path to ground for the electric load. A sourcing input or output provides the voltage source for the electric load.

Can a logic gate sink or source DC current?

The input terminal of a logic gate can either sink or source DC current, and the output terminal can sink or source DC current as well. Usually a sourcing output connects to a sinking input. This is the easiest action for beginners and students to visualise and understand. However, it is also possible to have a sinking output and a sourcing input.

When to use sinking current in a microcontroller?

Sinking current can be very useful when the load requires a higher operating voltage than the microcontroller’s internal operating voltage. Special attention needs to paid to ensure that the current is limited so as not to exceed the maximum current handling capacity of the GPIO pin.

Where does sink current and sourcing take place?

Sourcing occurs through a PNP transistor, which provides a path to the positive potential. Sink current refers to the maximum amount of current that a pin can absorb through a load connected to an external supply. Sinking occurs through an NPN transistor, which provides a path to zero potential or ground.