The problem was the current drain when in deep sleep. I measured 3.7 ma when in deep sleep and 75 ma for 9 sec when taking readings. I was expecting ua when in deep sleep not ma. The batteries would last about a month. I added a 2N7000 MOSFET switch on the negative lead leading to the sensors with the gate turned on by GPIO12 coming out of deep sleep and turning off just before deep sleep. The problem is after I added the MOSFET switch it was not switching on and providing voltage to the sensors even though GPIO12 was high (3.2 v). GPIO12 remained high and the ESP07 did not appear to be going into deep sleep. I attached a jumper across the MOSFET and started to get readings and GPIO12 began to cycle on and off and the esp07 was going into deep sleep. I was hoping someone could make some suggestions regarding the wiring or any other issues that might be causing his. Thanks.
The problem was the current drain when in deep sleep. I measured 3.7 ma when in deep sleep and 75 ma for 9 sec when taking readings. I was expecting ua when in deep sleep not ma. The batteries would last about a month. I added a 2N7000 MOSFET switch on the negative lead leading to the sensors with the gate turned on by GPIO12 coming out of deep sleep and turning off just before deep sleep. The problem is after I added the MOSFET switch it was not switching on and providing voltage to the sensors even though GPIO12 was high (3.2 v). GPIO12 remained high and the ESP07 did not appear to be going into deep sleep. I attached a jumper across the MOSFET and started to get readings and GPIO12 began to cycle on and off and the esp07 was going into deep sleep. I was hoping someone could make some suggestions regarding the wiring or any other issues that might be causing his. Thanks.