Question about switch and battery

So i got a 3 pin rocker led switch the pins are: (Positive, load, negative)
When i connect my battery to this switch, the positive and negative has to be connected to the battery, then the load to my device. Now its like if battery were touching pole with a simple wire? Isn't that not safe? Everywhere i read on google it says to not connect a wire between both pole of a battery because its a bad idea, yet, this is exactly what the switch is telling me to do.

image

What am i missing?

Is my battery going to discharge instantly? Explode? Do i need a resistance in between to slow down the current to the max i can to keep my charge?

Is this the same switch as in this post?
https://forum.arduino.cc/t/button-switch-with-led-problem/1065628/1

Yes kinda a continuation of question

The ground is only for the internal lamp. Find the specs or play with it to see what I mean.

You should not double post.

Where did you get the diagram above from? It does not match the one I posted in the other post.

Hello everyone!

Complet newbie to all this and i bought a ton of electronic from amazon without knowing what i'm doing so here i am!

I got this button switch that have a led on it: https://www.amazon.ca/-/fr/gp/product/B01N8U1AV2/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

Im trying to connect a battery and see if the light of the switch turn on or off, it doesnt. What i tryed is connect the + of a 9v battery to the + of that switch, then connected the negative of the switch (which seem to be the darker pin if i look at picture from amazon) to the middle branch of the switch directly (the led) then to the negative of the battery (i did try with resistance before and doing it properly but didnt have light so i wanted a direct contact and a quick switch on off see if the light was on but its not). I'm not sure what could be wrong? Tryed different battery...

Can you share a wiring diagram of your connections?
You should have +pin to the +of the baterry/power supply and pin 2 to the negative. Also you could use a multimeter with the switch on the ON state to check for led resistor resistance.
Also you should try with 12V instead

Ok tryed multimeter and tryed to demistify this thing. I guess i didnt have to connect the middle pin at all. Wonder what it is used for... Just connecting the + and negative back to battery did the job.

The positive pin when set to On will touch both middle and negative pin. I first tryed to ground middle pin with negative and it didnt light, second time i just used the negative pin and it worked, light is on. Middle pin must be for turning the light itself on and off if grounded i guess

image

1 Like

Actually i tryed this way, even looked for the brand number on the web (KCD1, couldnt find it before) and it says you are right. Yet when i connect my battery that way the battery became hot. I didnt use anything as load device but connected the load directly to ground, could be why?

When using it like my first method, connect positive to load and ground to my device (without using middle pin), it work and battery is not hot. I should have bought 2 pin only battery less complicate. lol

That diagram is not great. The thing in the right that looks like a battery I suspect is suppose to be the load circuit.

Yeah in my case the "load device" is just the breadboard with connected wire and nothing in between.

But there is that catch, my buttons dont have any apparent + or ground or A sign on it like all other buttons (even those shown in picture on the amazon page). Also its mentionned that is it SPST (Single pole, single throw) in description, which seems to be used in 2 pin configuration. My guess is that third pin do absolutly nothing and its some kind or re-branded buttons with different configuration and they just left it there for some reason. Some people say its not working too in comment section... i guess its the buy cheap, get cheap rule applying.

Normally.. but that switch also has an LED that illuminates when the switch is on and that is what the 3rd pin is for. You need to connect to GND. In the picture above that is the pin on the left... you need to be careful though... if you connect to the wrong side you effectively short the battery when to turn the switch on (hence hot).

Are the pins coloured as shown above? (2 silver, 1 bronze)

Yep they are same color, if i just connect the positive and the ground of the battery the light show on and off when i effectivly turn it on and off. Middle pin seem to be doing absolutly nothing (it also become on just like the ground side when i activate the switch.. but thats it)

So the completly left pin (silver) is power, middle silver and bronze get activated once the switch is on.

Also i tryed connecting ground from middle pin, since both pin (middle and ground) get activated, and led doesnt light up. It only work if i connect the ground pin and nothing in middle.

This is how it should be connected I believe...

1 Like

If there is no internal resistor and it is a LED light, a 1k resistor can be added to limit LED current flow.

2 Likes