DP4T switch diagram - Page 1
Forum section: electronics / beginners

author: VEGETA
author_rank: Super Contributor
timestamp: March 24, 2024, 11:28:24 pm
content: Hello,I am interested in getting this part:https://www.digikey.com/en/products/detail/cw-industries/G-141S-3011/9610unless i found one cheaper.I cannot find which are the common ones.My intent is to have 4 batteries and switch between them. would need 2 final terminals and 4 choices.for your help.thanks

author: Brumby
author_rank: Unknown
timestamp: March 24, 2024, 11:41:58 pm
content: That's a slide switch ... and they are not as common in the configuration you seek.If you can work with a rotary switch, then it's a different story. You should be able to find a two pole rotary switch with 6 positions without much trouble. This could allow you to go up to 6 battery choices, if you wanted. Some even have an adjustable stop which can turn them into a 5 position or 4 position switch. There are also 3 pole 4 position ones, which will give you the 4 battery selection you want plus an extra set of (completely separate) contacts that you could use for another purpose.Rotary switches are much easier to mount as well.

author: VEGETA
author_rank: Super Contributor
timestamp: March 25, 2024, 12:13:48 am
content: Quote from: Brumby on March 24, 2024, 11:41:58 pmi want it to be very cheap, all rotary switches are expensive as i looked into it. even the slide switch i posted is not cheap but can be tolerated.

author: soldar
author_rank: Super Contributor
timestamp: March 25, 2024, 12:29:52 am
content: Those slide switches are only for very low currents and voltages. What kind of batteries are we talking about?

author: VEGETA
author_rank: Super Contributor
timestamp: March 25, 2024, 12:50:52 am
content: Quote from: soldar on March 25, 2024, 12:29:52 amextremely low current, no worries.it is kinda complicated but i want: 18650, LiR2032, CR2032, ML2032 batteries to be options in order to power a certain circuit.i tried checking again and found that the charging point itself is the output, and thus we need 4 input points or so... therefore SP4T can be used as long as all batteries share one ground which is the case here... only one is installed and active.it is gonna be an upgraded version of this product:https://thundertronics.net/product/dreamcast-advanced-controller-board/the console "charging point" takes 3.3v when it is on, and when off an ML2032 battery takes over... this is original design. my mod board uses li-ion battery which gets charged from 5v rail, then LDO -> shottkey diode -> charging point such that when on it gets charged by 5v rail, when off it delivers required voltage to the point.edit: since lir and 18650 takes same circuit, ... and another SP3T switch to choose between CR2032, ML2032, (18650/LiR) as long as the user does not plug mutliple ones

author: tooki
author_rank: Super Contributor
timestamp: March 25, 2024, 01:02:51 am
content: Surely this is something better solved with jumpers, be they pluggable or solderable?Also, while the 18650 and LiR2023 may use the same voltages and charging method, they'll need very, very different charging parameters.

author: VEGETA
author_rank: Super Contributor
timestamp: March 25, 2024, 01:14:01 am
content: Quote from: tooki on March 25, 2024, 01:02:51 ami could use jumpers if i have to.to my knowledge, 18650 and lir2032 use the same charging and protection circuitry. it is just that charging current is different. 18650 i set it to 111mA but i read lir requires 17mA typical and 35mA max, so 20 mA could be ok. this is easily fixed by a jumper\switch to choose between 2 resistors which sets the current

author: soldar
author_rank: Super Contributor
timestamp: March 25, 2024, 02:08:32 am
content: With a sliding switch you would need a four pole switch:

author: Ian.M
author_rank: Super Contributor
timestamp: March 25, 2024, 02:12:29 am
content: Caution: Multipole slide switches like that are frequently not break before make, so if you want to avoid momentarily shorting two of the contacts together as the switch operates, in the absence of a proper electrical datasheet, you'll need to buy one, tear it apart and closely inspect the contact arrangement to decide whether its break before make, make before break, or so crappy that it could be either if you wiggle it a bit!Jumpers would be a better option, one for 3V vs 3.6V battery and one for charging current, either none or a selection of currents appropriate for rechargeable coin cells, small LiPO pouch cells or 18650. Either don't provide an on-board coin cell battery or arrange it so its impossible to use the external battery connector if a coin cell is fitted!

author: soldar
author_rank: Super Contributor
timestamp: March 25, 2024, 02:29:05 am
content: I agree those cheap slide switches are not the most reliable thing but I have never had the problem that they would make before break when they were not supposed to. The specs will tell you what they do. In my experience the contacts soon become crappy and resistive and dirty.On the other hand I have found there exist this type which is what the op is looking for:https://www.digikey.com/en/products/detail/c-k/SS-24E06-TG-5-P/2747191https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/580/SS-24E06-TG_5_(P).pdf

author: VEGETA
author_rank: Super Contributor
timestamp: March 25, 2024, 03:11:24 am
content: I would not worry about any hazard since the entire circuit is supposed to draw few milliamps or less. Plus, only one battery is to be installed at one point, and when it is to be installed or change, the user MUST power off, take all batteries out, do the switches as he needs, then install the battery.Quotewell, i saw that before but it is out of stock and does not seem to be a good active part... digikey stock update says something like in april will get many quantity. i will see.however, I found a simple solution of just 2 switches: SP3T + SPDTSPDT SW: controls charging speed, connects resistors for either 20mA or 200mA.SP3T SW: connects the following to the final charging point:- CR2032 positive terminal + diode- ML2032 positive terminal- Li-ion battery positive terminal after protection circuit + LDO + diode.now the "Li-ion" is either 18650 or LIR2032, each has its own connector and they are shorted together since only one can be used. ML2032 passes as it is directly to the charging point.So for LIR2032, user must select "Li-ion" option in SP3T and "LIR2032" in SPDT... and so on.I know it is kinda complicated since I am the only one who knows the product since I designed it... but you get the general idea. still not final tho

author: Ian.M
author_rank: Super Contributor
timestamp: March 25, 2024, 03:27:58 am
content: Whether or not they are reliably break before make or visa versa all depends on the fixed contact edge to edge spacing vs the width of the contact fingers on the sliding contact, and whether or not there is an insulating infill between the fixed contacts or other design feature to prevent the moving contacts tilting or cocking slightly in their slots in the actuator once they loose tension due to wear and fatigue, allowing a wider part than the original contact surface to occasionally touch two fixed contacts simultaneously.Your (soldar's) Comax switch datasheet (@digikey) shows an electrical diagram that implies break before make, and it probably does that reliably long after the contacts them selves have become unreliable. However the O.P's cheaper switch doesn't have such a diagram in its datasheet and even if you dig around on its CW Industries product page, it doesn't clarify that, and the so called schematic isn't - its just a list of contact connections vs switch position. It does however indicate that it links adjacent contacts in each position, (i.e. if you number the pins on a side from one end, it connects 1-2, 2-3, 3-4, or 4-5 as you move it), so it cant be used as a four way switch with a single common contact.