How to position my LEDs in a circuit? Answered
I'm currently doing some soldering, at this moment I got the following:
2 batteries (that both got 1 connector for the output and 1 connector to charge) connected to a 4PDT switch. Half of the switch connects the batteries to the charger the other half (the output) goes to a DPDT switch. It's wired so that the battery that's not being charged is used for the output.
The DPDT switch is used to switch between the selected battery and the optional 230V AC -> 12V DC adapter.
Now I'd like to add some LEDs, for the following purposes:
LEDs to show which battery is being charged - should be on if a battery is actually being charged.
LEDs to show which battery is being used - should not be on if the 12V DC adapter is being used.
LEDs to show if a battery or the wall adapter is being used.
I thought I'd put one pole of each LED before the switch and the other one behind the switch, is this the right solution?
If this is the correct way, would it be recommended (when working with the switch for the batteries) to put the + side of one LED before the switch and the + side of the other LED behind the switch?