I am trying to build a (capacitive) moisture sensor with ESP-01S, my goal is to measure the soil moisture level, send it via wifi to a server (estimating 10-15sec execution time) and finish it off with deep sleep (for maximum time so around an hour). I tried drawing schematics of the circuit with two versions, with and without a voltage regulator. However, I have some questions.
I was thinking about choosing this battery Lifepo4 3.2V 1800mAh, which has a nominal voltage of 3.2V, end-of-charge voltage 3.65V (0.05 above the recommended rated V for ESP-01S), end-of-discharge voltage 2.0V. OR about this one XTAR 18650 2200mAh (slightly higher capacity) but it has a nominal voltage of 3.6-3.7V and I am afraid it therefore could go higher when fully charged.
Q1: Which is a better choice? The Lifepo4 where I would theoretically not need a regulator or the XTAR where I would probably need one?
Q2.1: When using a voltage regulator, what is the point of capacitors? Would it be possible to just use the voltage regulator without the capacitors?
I found this online:
The regulator doesn’t need an output capacitor; it is stable without one. The only reason you might want an output capacitor is to improve its transient response.
Seems like it should make the output more stable.
Q2.2: Does adding the voltage regulator decrease the efficiency in terms of how long it can power the whole thing? I will be putting the ESP-01S into deep-sleep and I know I will have to do a little "hack" for it to wake up from it.
Version without voltage regulator:
Version with voltage regulator: