Here's my stuff but it's probably a bit over the top. It dates back to a previous configuration that needed a 5v supply, both the Bn880 and openlog work down to 3.3V. And I was using a battery without protection.
I think the flat pack type batteries have over discharge and over volt protection built in.
So all you should need is a simple charger.
But things may stop working properly if the battery gets down to 3v
I've got a battery charger and a battery protection board,
The charger is a DD05CVSA
The details are here.
www.canton-electronics.com/power-converter-modules-c-4/battery-charger-and-discharger-module-c-4_9/other-voltage-c-4_9_35/2-in-1-charger-discharger-board-dc-dc-converter-stepup-module-charge-in-458v-boost-out-5v-for-ups-mobile-power-diy-p-977.htmlA very long url. make sure you get all of it.
This keeps a constant 5v to the openlog as long as the overdischarge doesn't turn thing soff
here's the protection board details
DD04CPMA battery protect module
Functions:
Over Charge Protection
Over Discharge Protection
Short Circuit Protection
Overcurrent Protection
Parameters:
Over Charge Detection Voltage: 4.28?0.05V
Over Charge Release Voltage: 4.26?0.05V
Over Discharge Detection Voltage: 2.5?0.1V
(hmm I've just read battery voltage shouldn't go below 3v)Over current Detection Current: 1-3A
Overcurrent protection : 3.2?0.2A
Size : 12.6x10.2x2.1mm
Weight : 0.34g
Note: Please charge the first time, activate the protection board. Otherwise there is no voltage output
Wiring:
B- connected to battery negative
B+ connected to battery positive
P+ Connect the charger/load positive
P- Connect the charger/load negative
Applications
3.7V lithium battery 18650
TP4056 Charging module