Skip to main content

Lithium Ion Polymer (LiPo) batteries, such as the ones I used from Adafruit, often come pre-attached with a 2-pin JST-PH male connector that slots straight into a JST-PH jack on whatever device requires powering. This is great for permanently on devices, but I often want to turn my devices on and off by connecting and disconnecting the power from the battery.

BatterySwitchandBattery_ef849df57d87fa1a3e534764e310f6a73785f260.jpg


So, I made a switch using a male and female JST-PH connector and jack and a switch. (Hindsight says this would have been slightly easier if I had adapted a JST-PH battery extension cable!) 

BatterySwitch_f03f829f9e49e5ef99372c59ccdb34daa1846433.jpg

One side of the switch was connected directly to the negative terminal on a JST-PH male connector. The other side of the switch connected to the negative terminal of a JST-PH female jack. The positive terminal of the JST-PH male connector was wired directly to the positive terminal on the JST-PH female jack. I have used a dab of red nail varnish to indicate the "on" position.

Related articles

This Battery Switch mini project is provided as an addition to my WineTime project. See the related 'Thingatron' mini project too:

I am an inventor, engineer, writer and presenter. Other stuff: Royal Academy of Engineering Visiting Professor of Engineering: Creativity and Communication at Brunel University London; Fellow of the Institution of Mechanical Engineers and have a PhD in bubbles; Judge on BBC Robot Wars.
DesignSpark Electrical Logolinkedin