Background: I have built a 2S 7.4V battery out of two 18650 batteries. I have some TP4056 (5V 1A Micro-USB) charging modules lying around. I would like to use these the TP4056 modules (one per 18650) to charge the batteries but from the information I've found, having any connection between the two batteries is not a good idea while charging.

Therefore, I'm looking for a switch that would only switch on one circuit at a time. Either the serial connection b/w the batteries, or the charging input to the TP4056s.

Something like this: enter image description here

What exactly is such a switch called (if it exists)? Is there a more elegant solution to this?

Excuse my noobness.


With a DPDT switch (thanks @Solar Mike!), does the following circuit make sense? enter image description here

  • 2
    \$\begingroup\$ Double pole double throw switch (dpdt) seems to be what you describe. \$\endgroup\$ – Solar Mike May 13 at 10:25
  • \$\begingroup\$ Thanks! Seems like that's what i need! I've updated my question with a circuit that I think should work. Do you think so too? :) \$\endgroup\$ – PhoenixDev May 13 at 12:36
  • \$\begingroup\$ You can connect eg top of one cell and bottom of other cell permanently to suppy + and - respectively and inly switch the opposite ends. \$\endgroup\$ – Russell McMahon May 14 at 7:27


simulate this circuit – Schematic created using CircuitLab

Figure 1. OP's proposal redrawn.

With SW1 in position shown BAT2+ will be shorted to U1's BAT- which according to the TP4056 datasheet is supposed to be connected to ground so the arrangement is likely to have a very unhappy ending.


simulate this circuit

Figure 2. A circuit with less potential problems. SW1 is a 3-pole switch.

  • SW1b and 1c allows switching of BAT1 in series with BAT2 or in parallel with U1.
  • SW1a prevents BAT2 receiving charge while BAT1 is disconnected.
  • \$\begingroup\$ Thanks! Could you please guide me to a small form factor 3-pole switch that can handle upto 15A? \$\endgroup\$ – PhoenixDev May 14 at 15:41
  • \$\begingroup\$ No, sorry. I would have to look it up for you. \$\endgroup\$ – Transistor May 14 at 16:59
  • \$\begingroup\$ That would be great, thanks a lot! :) \$\endgroup\$ – PhoenixDev May 15 at 7:42
  • \$\begingroup\$ I'm sure it would, but I'm not going to do it for you. That's your job! \$\endgroup\$ – Transistor May 15 at 8:18
  • \$\begingroup\$ Hah! Sorry I misunderstood you. I've tried but haven't really found something small enough. This: for example would be an option. But I can't seem to find the exact dimensions for it. I would greatly appreciate some help if possible :) \$\endgroup\$ – PhoenixDev May 15 at 10:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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