I am working on a door sensor using ESP8266 which is installed on NoceMCU development board. I want to use 9V battery connected to VIN which works fine. Curious to know what will be it's life?
I am having a LED and a Door magnetic sensor connected. LED will work once door is open.
So how to find if it will be good and long running power source?
How much this board consume?