Hello,
I need to build a soil moisture sensor for the garden esp32 + micropython, wifi communication - mqtt, >> homeassistant .
Currently working on the power supply, some problems have arisen.
I already have the components, while I don't know how to deal with the effect of the variable power supply from the LiFePo4 (2.5 to 3.65v) on the readings from the adc.
I need to read the voltage of the battery and the soil moisture sensor with the adc.
With variable voltage from the battery, how do I get stable readings from the adc?
The esp32 is directly connected to the LiFePo4!
I need to build a soil moisture sensor for the garden esp32 + micropython, wifi communication - mqtt, >> homeassistant .
Currently working on the power supply, some problems have arisen.
I already have the components, while I don't know how to deal with the effect of the variable power supply from the LiFePo4 (2.5 to 3.65v) on the readings from the adc.
I need to read the voltage of the battery and the soil moisture sensor with the adc.
With variable voltage from the battery, how do I get stable readings from the adc?
The esp32 is directly connected to the LiFePo4!