Power off from code possible? if not, how to from hardware?
Posted: Sun Aug 23, 2015 4:32 am
Hi
I'm building a sensor that needs to be powered off most of the time. Only when a reset is done from switch, it should run some code and power off again. I want to power off because it uses less power. It only needs to run 2 - 3 times a week for 5-10 seconds.
According to http://bbs.espressif.com/viewtopic.php?f=6&t=133 the ESP uses 20 times less power in "power off" state, than in deep sleep. Running on battery, this is important
But how do I turn if off (while not disconnecting the battery off course) ?
Thanks
I'm building a sensor that needs to be powered off most of the time. Only when a reset is done from switch, it should run some code and power off again. I want to power off because it uses less power. It only needs to run 2 - 3 times a week for 5-10 seconds.
According to http://bbs.espressif.com/viewtopic.php?f=6&t=133 the ESP uses 20 times less power in "power off" state, than in deep sleep. Running on battery, this is important
But how do I turn if off (while not disconnecting the battery off course) ?
Thanks