richonguzman / LoRa_APRS_Tracker

LoRa APRS Tracker with Tx and Rx capabilities, Messages, Wx, Winlink and more...
MIT License
244 stars 70 forks source link

Adding backup battery charging #55

Closed tk5ep closed 6 months ago

tk5ep commented 11 months ago

Hi Ricardo, I've loaded your latest version (31.12) and it works. But you should add the backup battery charging, otherwise this battery quickly goes flat and then, the GPS fix can be VERY looong.

I've added in setup() in power_utils.cpp the following lines for the AXP2101 modules : // Enable Button Battery charge PMU.enableButtonBatteryCharge();

// Set Button Battery charge voltage
PMU.setButtonBatteryChargeVoltage(3300);

Now, the battery is charging.

I hope this helps. 73, Patrick.

richonguzman commented 11 months ago

mod is added for all boards with AXP2101 power management chip on "adding_Heltec_V3_GPS" branch for testing