What is the Difference Between Sinking and Sourcing Digital I/O?
Issue Details
Solution
Sinking and Sourcing are terms used to define the control of direct current flow in a load.
Consider a simple circuit that consists of one digital input connected to a digital output. The circuit needs a voltage source, a ground, and a load.
Figure 1 shows a sinking digital output that is connected to a sourcing digital input. In this circuit, the load is pulled to ground because of the sinking digital input provided.
Figure 2 shows a sourcing digital output that is connected to a sinking digital input. In this circuit, the load is pulled up to receive voltage because the sourcing digital input has been provided.
Additional Information
Because both a voltage source and a ground reference are needed in order to create a complete circuit, you must have a sourcing input or output connected to a sinking output or input. If you wish to connect a sourcing input to a sourcing output or a sinking input to a sinking output, you will need to add an additional resistor.
Enter your email address and password