short circuit with arduino

Hi guys,

i would like a little help from you, if possibile.

in need to know if it's possible to use arduino pin to make shor circuit like this way

open and close a circuit betwenn pin 2 and pin 3 for example and put on them maximum 5 volt

is it possible?

Yes, you can set two pins as OUTPUTs and then set one HIGH and the other LOW, and +5VDC will flow from one into the other. You will want to limit the current in some way (through a resistor or other component) so that the Arduino is not damaged. You should not allow more than 20mA to flow into or out of an Arduino pin.

tylernt:
+5VDC will flow from one into the other.

.... except that volts don't flow 8).

Current does though:

20mA to flow into or out of

Hi,

open and close a circuit betwenn pin 2 and pin 3 for example and put on them maximum 5 volt

If you mean make pin2 and pin3 appear to be the terminals of a switch and pass current between them, NO you can't.

What you would do is make pin2 turn a relay ON and OFF via a transisor, and use the switch contacts on the relay.

Tom.... :slight_smile:

TomGeorge:
Hi,

open and close a circuit betwenn pin 2 and pin 3 for example and put on them maximum 5 volt

If you mean make pin2 and pin3 appear to be the terminals of a switch and pass current between them, NO you can't.

What you would do is make pin2 turn a relay ON and OFF via a transisor, and use the switch contacts on the relay.

Tom.... :slight_smile:

thx Tom it was exactly what i wanted but now i found an other way

thank you for all your support