Xinyuan-LilyGO / LilyGo-T-Call-SIM800

https://www.aliexpress.com/item/33045221960.html
482 stars 239 forks source link

Does the board support switching from USB power to battery without reset? #47

Closed mpflanzer closed 3 years ago

mpflanzer commented 4 years ago

I have a fully charged battery connected to the board and the boost output of the IP5306 is enabled (SYS_CTL0=0x37). Still, whenever I disconnect the USB-C cable the board resets. After the reset it is running fine on battery power though. Is that the normal behavior? I expected that I could just unplug the USB cable and it would seamlessly transition to being powered from battery. Maybe I'm missing a setting for the IP5306?

lewisxhe commented 4 years ago

Currently, IP5306 cannot seamlessly switch from USB to battery power. This issue is expected to be resolved in the next version.

delta010 commented 4 years ago

Can I use any battery with 3.7v . because when I connected a 12v battery with a voltage regulator to the ttgo t - call it don't even power on

maromme commented 4 years ago

that's a nice one: https://www.pololu.com/category/192/d24v22fx-step-down-voltage-regulators low quiescence consumption. brings my setting down to about 1 mA at 12v in deep sleep

abesis commented 3 years ago

I have a fully charged battery connected to the board and the boost output of the IP5306 is enabled (SYS_CTL0=0x37). Still, whenever I disconnect the USB-C cable the board resets. After the reset it is running fine on battery power though. Is that the normal behavior? I expected that I could just unplug the USB cable and it would seamlessly transition to being powered from battery. Maybe I'm missing a setting for the IP5306?

I have managed a seamless transition from USB to battery, by adding a 4700μF capacitor between GND and 3.3V of the board. Probably a smaller capacitor will also be ok, but I havent tried.

bhupiister commented 3 years ago

I have a fully charged battery connected to the board and the boost output of the IP5306 is enabled (SYS_CTL0=0x37). Still, whenever I disconnect the USB-C cable the board resets. After the reset it is running fine on battery power though. Is that the normal behavior? I expected that I could just unplug the USB cable and it would seamlessly transition to being powered from battery. Maybe I'm missing a setting for the IP5306?

I have managed a seamless transition from USB to battery, by adding a 4700μF capacitor between GND and 3.3V of the board. Probably a smaller capacitor will also be ok, but I havent tried.

I am planning on doing the same. I need to power device from usb and once charged, need to remove the usb. Just like mobile phones. Is it a full proof solution? Or some other solution you found as well.

lewisxhe commented 3 years ago

Issues have not been active for a long time and will be closed. If there is a problem, please reopen it.