I'm implementing a small IoT project. Basically, I've a small device capable of monitoring the temperature and humidity (DHT22) and if the lights are ON or OFF (basic LDR). The generated data is sent to a local server via WiFi. I'm powering up the NodeMCU with 4 AA batteries, via Vin pin, and both sensors are connected to the 3.3v pin and the output connected to a GPIO pin. The sensor goes to deep sleep and wakes up to do his job. Everything is fine, except the current consumption (around 10 mA in deep sleep), so some decisions must be made and I would love some help.
1- Instead of using the Vin pin, I should use the 3.3v pin by powering up the module with the right voltage, using a LDO MCP1700 voltage regulator, between the batteries and the NodeMCU. Is this the best solution?
2- When the board goes to sleep, it's crucial to have the lowest power consumption as possible. Which is the best MOSFET, that works as a switch, that "cuts" the power from the sensors?
3- I've already cut off the LED in the nodeMCU but I've seen no reduction in the power consumption.
4- Since I'm only using 2 GPIOs, should I switch to the module ESP8266-01 or Wemos D1 mini? My main objective is to get a sensor with a high life cycle (6months to 1 year) so any solution that optimizes my project would be nice .
Thanks for the help.