Hello guys,
Since my question is essentially the same of OP, and is basically a continuation of this very discussion, I think its better to post this question here than creating a new topic which necessarily would refer to this post.
So, the last post from Grumpy_Mike recommended reading a tutorial about Power Supplies, which in the end had this schematic as the "standard" recommendation to projects such as the ones OP was asking about:
I do recognize the reasons why the shared ground is important, the tutorial explained them very well.
But still, one doubt remains. ConsiderArduino Playground, from where we can see that the max current rating for Arduino Uno GND pins is 200 mA. Also, consider I want to control a 12V/2.5A solenoid just as OP was initially asking, with a schematic identical to the one from the tutorial.
When I share the UNO's ground with my external power supply, will it potentially damage the Arduino? This question arises from the following reasoning: the 2.5 A current the solenoid will need, from what I understand, will get out from the 12 V power supply, pass through the solenoid, than from transistor collector to emitter, than will sink into ground, which is where my doubt lies.
Wouldn't this 2.5 A potentially damage the Arduino, since its GND pins can only sink up to 200 mA?
Basing on many tutorials and projects online, I think this does not seem to be an issue, since a GND current restriction is never commented. Why is that so?
Thanks for the help!
PS.: I think I am making mistakes with this maximum GND pin current concept... Or with the theory of how grounding works (I cant see why all current would sink into the source GND and not to Arduino GND).