- a LiPo battery with a female JST connector
- a JST extension cable with switch - one end each male and female
- a pass-through USB charger for the LiPo battery with two male JST connectors - one for the battery and one for the project electronics (plus a USB socket for the power source)
- a cable with a female JST connector on one end and bare wires on the other (came with the charger)
- a Gemma microcontroller board with a male JST connector
The battery will plug into one JST connector on the charger, and the extension cable will plug into the other. That leaves me with a male JST connector on the free end of the extension cable, which I need to connect somehow to the male JST connector on the Gemma. I also have an extra female connector attached to the cable that came with the charger. Possible solutions:
- Replace the male connector on the free end of the extension cable with the extra female connector
- Plug the extra female connector into the Gemma, remove the male connector from the free end of the extension cable, and join the two cables via their exposed wires
- Acquire another female connector and attach that to the bare end of the extra cable, then use the now female-female cable to bridge the male end of the extension cable to the male connector on the Gemma
They all seem kind of silly for different reasons. What's the best approach here?
This is for an LED hat for a three-year-old, so assume it's not going to be treated gently. The Gemma, battery, and all connections are going to be as well-protected as I can make them, though.
I've never soldered anything before, but I do have soldering equipment. I had planned to sew all the circuits with conductive thread, but that obviously won't work for this situation.
(Given that the battery has a female JST connector, and the charger is a male-male component meant to sit between the battery and whatever it's powering, why on earth doesn't the charger come with a female-female connection cable by default?)
The GOP cares about babies until they're born, soldiers until they're in need of care, and families until they interfere with stockholder dividends.