Lipo battery power switch? IoT Redboard / Thing Plus

Hello,

Looking for guidance on the simplest way to integrate a power switch when using the IoT Redboard and Thing Plus (ESP32 WROOM (USB-C)) boards in conjunction with a lipo battery via the JST connector. Reading the docs, it notes that the connectors are not intended to be connected/disconnected repetitively. Also open to other suggestions for powering the device that are small format and can fit in a box that is no thicker than .5".

For more context, my project is fairly simple, I’m using the mentioned boards to pull data from a device via two GPIO pins. The data is then logged/processed by the ESP32. The device providing data is powered independently and puts out a 5V signal which is down converted to a 3.3V signal prior to hitting the GPIO pins on the SparkFun boards.

I greatly appreciate any help/direction that the community can provide.

The easiest thing would be to cut one of the lipo wires and put a 2-way switch in-line…then flipping the switch would allow/deny power to proceed to the board

You could also use a battery that has an inline switch or a portable usb battery bank that has a switch :smiley:

Finally, if you’re feeling adventurous you might want to look into using the sleep and deepsleep modes to extend the runtime of the battery and/or incorporate alternative power schemes