-3
\$\begingroup\$

I'm just asking... What if I connected +5V from one source and GND from other to Arduino Will it work?

EDIT

schematic

simulate this circuit – Schematic created using CircuitLab

Will it work? or something?

\$\endgroup\$

closed as unclear what you're asking by Bort, clabacchio Nov 28 '18 at 14:49

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Will it work? It won't smoke that's for sure. \$\endgroup\$ – Andy aka Nov 28 '18 at 12:19
  • \$\begingroup\$ Are your sources connected together somehow? \$\endgroup\$ – Finbarr Nov 28 '18 at 12:22
  • 1
    \$\begingroup\$ Don't make us guess what you are thinking. Be explicit and describe all details. Heck, provide a diagram if you actually want a good answer. \$\endgroup\$ – Bort Nov 28 '18 at 13:26
2
\$\begingroup\$

If you connect the grounds of both of your sources it will work with no problem. Otherwise if the two sources aren't connected in anyway (for example you take 5V from USB and GND from a battery) there is no way for the circuit to work, no current will flow. If the two sources are both plugged into the mains and have earth connections (Grounding) than the 2 grounds will connect trough them. But be advised that 5V with respect to one ground may not be 5V with respect to the other ground. This can create an undervoltage or overvoltage scenario. Overall your question is too vague.

\$\endgroup\$
  • \$\begingroup\$ after the edit? \$\endgroup\$ – Harsh Dhiman Dec 1 '18 at 13:31
  • \$\begingroup\$ If both grounds are connected to one another, it will work fine. Otherwise it will not. The phone charger is galvanically isolated from the mains, and the circuit will not be closed. \$\endgroup\$ – drdm Dec 3 '18 at 7:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.