Toggle switches not always working properly

Hello,

Why Toggle switches like this(below image) not always working properly?


lcsc.com

I mean the sequence that makes it work and power on the board is like this:
Two times switch it on and off, then maybe the third time the board will power on.

(the board is pro mini and working outside of this hookup)

I know it’s so weird, but it is not my first time to face this issue.

Schematic:

What is the reason?

Thanks


EDIT:
I Meant slide switch…Thanks to Grumpy_Mike

switch.png

Why Toggle switches like this(below image) not always working properly?

Because they are cheap, nasty and badly made

Also that is not a toggle, switch it is a slide switch. To be precise a single pole change over slide switch.

Further investigation is needed. Do you have wire soldered to the switch pins and are you using a breadboard to make any of the connections?

Paul

How long are you waiting after turning it on (ONCE, NOT TWICE) ?

I have some of these switches and they tend not to be that reliable

did you try putting a jumper across the switch ?

I mean the sequence that makes it work and power on the board is like this:
Two times switch it on and off, then maybe the third time the board will power on.

(the board is pro mini and working outside of this hookup)

The switch has nothing to do with the board powering it on.
The input is the USB .

Where you have the ProMini connected is the OUTPUT of the charger board.
The SWITCH is in series with the battery and is connected to the OUTPUT of
the charger board. The switch is not an on switch for the ProMini.
It’s a CHARGE switch for the battery.
If you want the ProMini to come on immediately disconnect the switch from the
charger output and connect it DIRECTLY to the ProMini.

Paul_KD7HB:
Further investigation is needed. Do you have wire soldered to the switch pins and are you using a breadboard to make any of the connections?

Paul

I soldered them.

raschemmel:
How long are you waiting after turning it on (ONCE, NOT TWICE) ?

I have to switch it on and off just to have one time working.There is no

waiting time (please tell me if this is not what you asked)

raschemmel:
did you try putting a jumper across the switch ?

The switch has nothing to do with the board powering it on.
The input is the USB .

Where you have the ProMini connected is the OUTPUT of the charger board.
The SWITCH is in series with the battery and is connected to the OUTPUT of
the charger board. The switch is not an on switch for the ProMini.
It's a CHARGE switch for the battery.
If you want the ProMini to come on immediately disconnect the switch from the
charger output and connect it DIRECTLY to the ProMini.

  1. Yes, with jumper it works

  2. I connected the Positive/Negative of the charger to the VCC/GND of the ProMini

  3. I supposed the capacity would not be wasted if I put the switch on the battey side, (because no input will be provided for the charger)

Thanks

  1. I supposed the capacity would not be wasted if I put the switch on the battey side, (because no input will be provided for the charger)

Your image shows the switch already on the battery side:

I don't have that charger circuit but if I had to take a guess I would say that if you have to turn the switch ON and then OFF for the ProMini to work then you have things wired wrong. Anyone can tell you a ProMini
powers up as soon as you apply power if it is switch controlled it goes OFF when the switch is OFF. PERIOD.