Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By dayzman
#17218 Hi

I'm hoping to use 2x 18650 3.7V (in parallel) and enable load share, i.e. if USB is plugged in, draw from USB - otherwise draw from battery. Does anyone know how load sharing in this setup could be accomplished?

Thanks
User avatar
By villTech
#17229
dayzman wrote:Hi

I'm hoping to use 2x 18650 3.7V (in parallel) and enable load share, i.e. if USB is plugged in, draw from USB - otherwise draw from battery. Does anyone know how load sharing in this setup could be accomplished?

Thanks
simplest way to do it is to add a small relay, energized when usb is plugged. relay contact will do the power selection switch. you can also add the 18650 charger from the link above, to charge your batt when
when usb is plugged.

but instead of relay, it be better if you use a mosfet to switch power from the batt. and transistor is cut offed when usb power is applied