Hello all
I have a couple of issues with my current project. I'm using an LM2577 to boost 5V to 25V in a micro-controlled TENS machine like circuit that I want to be battery powered/rechargeable via USB.
Firstly, using my benchtop supply, the 25V is stable and can handle a load, but when I use my Li-Ion Battery power pack, the output of the LM2577 gets up to about 15V and then the pack turns off after a few seconds. I haven't used one of these packs before so I'm not sure if there is too much current drain (even with no load on the pack) or something else. Here is a link to the power pack: https://www.jaycar.com.au/power-pack-for-raspberry-pi-with-li-ion-battery/p/XC9060
The pack still powers the micro-controller etc. fine, it is only when the LM2577 Circuit is connected that it plays up. Below is my schematic:

Secondly, I'd like to monitor the battery levels and display a percentage. Is it a simple matter of running a line from the battery through an ADC? What would the cutoff voltage be (a level of 0%) using this pack's 3.7V 3800mAh Li-ion Battery?
Thank you all in advance for your help
I have a couple of issues with my current project. I'm using an LM2577 to boost 5V to 25V in a micro-controlled TENS machine like circuit that I want to be battery powered/rechargeable via USB.
Firstly, using my benchtop supply, the 25V is stable and can handle a load, but when I use my Li-Ion Battery power pack, the output of the LM2577 gets up to about 15V and then the pack turns off after a few seconds. I haven't used one of these packs before so I'm not sure if there is too much current drain (even with no load on the pack) or something else. Here is a link to the power pack: https://www.jaycar.com.au/power-pack-for-raspberry-pi-with-li-ion-battery/p/XC9060
The pack still powers the micro-controller etc. fine, it is only when the LM2577 Circuit is connected that it plays up. Below is my schematic:

Secondly, I'd like to monitor the battery levels and display a percentage. Is it a simple matter of running a line from the battery through an ADC? What would the cutoff voltage be (a level of 0%) using this pack's 3.7V 3800mAh Li-ion Battery?
Thank you all in advance for your help


