Hi Guys,
I'd like to start by telling I have gone through a lot of similar threads from allabout circuits but I have concluded my problem is little different from all of those. I have a battery charger circuit that will be powered by USB, which will charge a 3.7V Li-Po battery.
My Requirement:
What have I implemented:
Attempt 1- I have used a P-Channel MOSFET as below to switch between USB and BAT. However I have made a mistake of not isolating the USB and battery power with a diode there by it's bypassing the charging circuit.

Attempt 2 - To correct this I have added a diode at the BATT header as below and made sure the charging circuit will work properly. However it looks like my board is still not working (What I mean by not working is, I have a LCD display connected which is going blank and not recovering as soon as I connect the battery)

My Ask - Why is this circuit wrong? If it's wrong what's the correct way to implement such circuit with less components. Any cheaper IC alternatives are also fine as long as they're widely available in hobby market but my preference is analog circuits. I have attached full schematics
I'd like to start by telling I have gone through a lot of similar threads from allabout circuits but I have concluded my problem is little different from all of those. I have a battery charger circuit that will be powered by USB, which will charge a 3.7V Li-Po battery.
My Requirement:
- When USB connected -> Charges battery and powers the entire board.
- When USB removed -> Battery charging stops and battery takes over the powering of board.
What have I implemented:
Attempt 1- I have used a P-Channel MOSFET as below to switch between USB and BAT. However I have made a mistake of not isolating the USB and battery power with a diode there by it's bypassing the charging circuit.

Attempt 2 - To correct this I have added a diode at the BATT header as below and made sure the charging circuit will work properly. However it looks like my board is still not working (What I mean by not working is, I have a LCD display connected which is going blank and not recovering as soon as I connect the battery)

My Ask - Why is this circuit wrong? If it's wrong what's the correct way to implement such circuit with less components. Any cheaper IC alternatives are also fine as long as they're widely available in hobby market but my preference is analog circuits. I have attached full schematics
Attachments
-
196.2 KB Views: 6
Last edited:
