I have a simple question regarding a SPDT switch switching +5V from a DC jack to the VIN on my Arduino. I wasn't sure whether to connect pin 1 of SW1 to GND or leave it floating, unconnected. It is connected to GND in the image below, but I am not sure if what the proper conventions are for this, and if would change the function of the circuit. Thanks.
What you have drawn will short out DC2....not good!
Reading your post it was not clear what your goal is.
switching +5V from a DC jack to the VIN on my Arduino
Please clarify:
-
what are the two sources of power and what are your voltages?
i.e. DC1 seems to be a power plug of some sort. Is it on your Arduino. -
what are you trying to power?
capacitors don’t like to be shorted. Are you trying to use all pins on the switch? because you don’t have to and breaking the circuit should be enough
Thanks for the response. DC1 is +5V coming from a power supply, and DC2 is a terminal connected to an led strip and the VIN of my arduino. ie, DC1 is the power source in this circuit, and DC2 is the destination. I gather that I need to leave pin 1 of SW1 floating, correct? Could you explain how this is different than making the voltage input (positive terminal of DC2) of the circuit 0V, as in, connecting pin 1 of SW1 to GND?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.