WiFi LoRa 32 V2 and solar panel management

Hello everyone, this is my first post here so I hope I am doing this correctly.
I’m trying to set up a weather monitoring station using a WiFi LoRa 32 V2 module. I want it to be powered with a 3.7V Lithium ion cell, and this cell would be recharged using a small 5 volt solar panel that would be constantly pluged in. I’ve seen that this board has a tp4054 battery charger regulator, can I connect the solar panel directly to the 5V input in the board? Do I need any additional hardware?

Furthermore, do you think that that leaving the solar panel constantly plugged will shorten the battery life? Maybe I should monitor the battery voltage and start charging when it reaches 3.8V and stop charging when it reaches 4.1V, this would be done using a mosfet transistor.

Any help will be kindly appreciated!

hi,

You can plug in solar energy to charge. But the charging voltage of the solar panel is best to be: 5.5V-7V.

Questions about battery life:
Normal charging cycle:
When the Vcc pin voltage rises above the UVLO threshold level and a setting resistor with an accuracy of 1% is connected between the PROG pin and ground or when a battery is connected to the charger output, a charging cycle starts . If the BAT pin level is lower than 2.9V, the charger enters trickle charge mode. In this mode, the TP4054 provides about 1/10 of the set charging current in order to raise the current and voltage to a safe level to achieve full current charging.

When the BAT pin voltage rises above 2.9V, the charger enters the constant current mode, and at this time provides a constant charging current to the battery. When the BAT pin voltage reaches the final float voltage (4.2V), the TP4054 enters the constant voltage mode, and the charging current begins to decrease. When the charging current drops to 1/10 of the set value, the charging cycle ends.