Hi,
I'm making a portable Rpi 3 project that will be battery operated but switch over to external supply and charge battery when connected.
I'm planning on using a USB power bank thing which has a 5V charging input and 5V USB power output, with in-built battery charging circuit etc.
I just need a circuit which effectively switches Rpi and external power source from battery output to charge input when external plug is connected.
I've got this P-channel MOSFET/diode circuit which would work great, except for the diode voltage drop, since USB power/battery output is 5V and Rpi needs 5V (sorry for horrific sketches):
I can also use a DC jack which has a switch to disconnect battery output when plug connected, however the battery ends up being connected to itself normally and would just drain to death...
I would like to avoid multiple input power ports/manual switches etc. It would also need to supply at least 2A. Surely there's a way to make this work without diode voltage drops?
Thanks for any help
I'm making a portable Rpi 3 project that will be battery operated but switch over to external supply and charge battery when connected.
I'm planning on using a USB power bank thing which has a 5V charging input and 5V USB power output, with in-built battery charging circuit etc.
I just need a circuit which effectively switches Rpi and external power source from battery output to charge input when external plug is connected.
I've got this P-channel MOSFET/diode circuit which would work great, except for the diode voltage drop, since USB power/battery output is 5V and Rpi needs 5V (sorry for horrific sketches):
I can also use a DC jack which has a switch to disconnect battery output when plug connected, however the battery ends up being connected to itself normally and would just drain to death...
I would like to avoid multiple input power ports/manual switches etc. It would also need to supply at least 2A. Surely there's a way to make this work without diode voltage drops?
Thanks for any help