I understand that power/battery state is wonky on the Lora32 boards, but the v2.1 specifically has a TP4054 charge controller that is programmable. Does the current firmware use it at all? Does it bypass the MCU entirely?
Can anyone explain how charging works on this board currently (no pun intended)? Does USB charging work with the power switch in either position? Any LED indication that charging is working?
So here’s what I managed to figured out after extended testing.
Red LED indicates USB power connected
Blue LED indicates battery charging
Charging only works when Power switch is in ON position, even though USB power will powerup the device with the switch in any position. Apparently the switch simply disconnects the battery from the entire board, including the charging circuit.
Firmware charge_current setting seems to have no effect, and the firmware doesn’t see batt voltage on this board either. I guess the charging circuit isn’t connected to the MCU.
Good point as i face a lot of Lithium battery failures after a few weeks (usually 4) on my testing installation which is on a tree on a solar panel providing USB-5V regulated power source on daytime…
i have the feeling that power management is not operationnal on this board,
hope we will find the solution
on my side i add an extra low cost BMS on the batteries soldered directly on the 18650, and no more exhausted batteries
With your BMS, will the device come back on by itself if low battery threshold is triggered, when the sun comes back up?
I use those little lithium charger-protection circuit boards but I have had trouble in the past because if the battery does go flat, the solar panel can’t supply enough current to boot the device so it stays in a half powered state with the battery offline.
Generally I can fix it by holding the reset button for a few seconds (so the battery can charge just a little bit), but that is annoying for relay nodes that live up the top of a hill.
I kinda get by by having overkill solar and battery so that it hopefully never goes flat. But I don’t like saying “hope” in a situation like this