Dual power input to boost circuit?

I know what I want to do, but am not quite sure how to accomplish it. I'm hoping someone may be able to help me.

I'm trying to get a reliable 5v power supply for assorted sensors (less than 200mA) when running off both USB (5v) or LiPo battery (3.2-4.2v). If it matters, the board I'm using has a built-in lipo charge circuit.

My thought was to get a boost circuit and somehow power it from USB & battery.
The higher USB voltage would take 'priority' over the lower lipo right?. Can I just connect diodes between the two power sources and the boost so power doesn't go the wrong way? ie usb - diode - boost; lipo - diode - boost - sensors

Does this make sense? Is there a better way to accomplish what I want?

You might find this useful:

Hi, @mforrest
Welcome to the forum.

Yes it does, can you please post links to your board?

Thanks.. Tom.. :grinning: :+1: :coffee: :australia:

That 18650 'ups' module looks interesting, thanks! I'm going to have to read that thread in more detail. Maybe re-think where I'm getting my power / doing the charging.

My board is an ESP32 Feather from Adafruit

I was trying to use USB when available rather than just draw from the battery because there's only ~200mA available on the charge circuit.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.