Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By ssylca
#20832 Hi,
I am using deep sleep mode in monitoring a DHT22 for H2O and temperature and therefore reducing the drain on a LiFe PO4 battery between readings (ESP8266-12) I also monitor the battery voltage through the ADC (TOUT) port (I have a 1/4 voltage divider in order not to exceed 1 V on the analog input) When the battery voltage gets below 2.8 V I want to put the ESP into a very long deep sleep in order not to run the battery to a too low voltage. Any idea about the maximum time the ESP can be put into deep sleep? I am using 15 min between readings with no problem;
e.g. : system_deep_sleep(900000000);

Thanks