richonguzman / LoRa_APRS_Tracker

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

Adding backup battery charging #55

Closed tk5ep closed 1 month ago

tk5ep commented 6 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 6 months ago

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