I'm trying to figure out how to create a rechargeable battery power supply for a NodeMCU 12-E board. I've done some research and am still a little confused on how to approach this project. I've never done anything like this before and am having trouble understanding how this would be even possible.
Basically, I want to place this board in a case that has an ON / OFF switch. When it turns on its going to perform a task and when it turns OFF I want to put it into deep sleep until it turns on again. I also want to have the option for this to be rechargeable because I will be carrying it around in my pocket.
I've done some research and found some sources. It seems like a good approach would be to use a Pololu 3.3V, 500mA Step-Down Voltage Regulator D24V5F3 connected to a battery? and then have that deliver power via the 3v3 pin to my board.
Has anyone does this before and can offer me a simple set-up / general advice on this.
Please let me know if this is unclear as I am not sure what I even need for this.