The configuration of the digital outputs on the boards are mostly designed so that the digital outputs are sourcing current. In terms of hardware design, outputs must rather be designed to sink current. Does all Arduino boards sourcing current on their dig outputs?
You should refer to the processor datasheet - most (all?) Arduino boards have unbuffered input/outputs, so they should tell you what you need to know.
AFAIK, the AVR output drivers are symmetrical - they can sink as much as they source - I don't know about other processor families, but symmetry is usually important in microcontrollers, so I would expect them to be so.
You may be thinking this purely because you see a lot of the available examples work this way, but the outputs of Nano, Uno, and Mega are actually symmetrical - drive/sink the same amount of current, typically 20 mA(ABSOLUTE MAX rating is 40 mA, typical usage should limit to 20 mA or less), though it differs from processor to processor. Check the datasheet for your particular Arduino's processor before going further.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.