Hi Bob,
Sure but its very simple - I bought some cheap TP4056 modules on Ebay - they can supply 1amp so that should leave at least 800mA for charging the battery while the sketch is still running. Thats about 7 hours to recharge - I would like a higher charge rate but at least it can charge and still run overnight.
Its not ideal to have a parasitic load on the charge circuit but it seems to work ok. The module is for a "service call" button and it will be mounted in a small wooden box to sit on a table so I didnt really want to run the risk of Lipo´s.
I need to drop the status LED brightness down and there is probably some more power saving to be done. 48 hours is acceptable for the moment.
The JST connectors I bought online were wired reverse polarity to the MKR1000 board ![]()

