villTech wrote:dayzman wrote:Hisimplest 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
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
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
Like this?