We will be turning the boost on/off via the ENABLE pin, so the switch does not have to carry any power, it is only signalling to the boost converter what to do. This means the switch can be small. Use any switch you like, if it is 0.1" spacing thats ideal. If your switch only has two pins instead of three, tie one pin to GND and the other pin to EN - when the switch is closed, the power will turn off
The switch will go into the breakout header, and attach to VBAT EN and GND For mechanical strength, we soldered in all three pins. However, this only works for "break-before-make" type swtches! If you are not sure that your switch is "break-before-make" or if your switch has only two pins, solder in ONLY the EN and GND pin, skipping the VBAT pin! |
|
Clip either one of the outside pins with diagonal cutters |
|
Use kapton tape to keep it in place while you solder |
|
Before soldering, check that you have the right three pins! |
|
Solder in all three pins with any kind of solder making sure you have a good connection |
|
Yay! Check your work... |
|
Clip off the long pins with diagonal cutters |
|
When the switch is to the left, the 5V power will be on, you can tell because the blue LED is lit |
|
Slide to the right to turn it off. |