These are chat archives for esp8266/Arduino

5th
Aug 2015
Harrison Mclean
@h4rm0n1c
Aug 05 2015 01:26

@RussMathis Is this what you are looking for? https://github.com/DeqingSun/ESP8266-Dash-Button

It seems to make use of sleep mode, there's a pdf schematic in the circuit directory.

Russ Mathis
@RussMathis
Aug 05 2015 13:27
@Makuna, @h4rm0n1c , That may be what I'm looking for... it should only supply power to the esp when a button is pushed and upon esp's demand turn power off--but there should be no power drain when the esp is off. I don't know if a switching power supply chip would be able to do this?
Russ Mathis
@RussMathis
Aug 05 2015 18:06
Trying to maximize lifetime of battery
d-anders
@d-anders
Aug 05 2015 21:07
no power drain sounds hard
you can use an lm2596 or something like that (switching regulator with power down)
will waste ~0.1mA when "off"
Ivan Grokhotkov
@igrr
Aug 05 2015 21:18
you can actually build a circuit using a pmos + nmos which will only consume something like the gate leakage current (in pA range) when not in use
d-anders
@d-anders
Aug 05 2015 21:20
i guess you need a regulator anyway though, or are you going to use batteries?
or a 3v adapter?
Ivan Grokhotkov
@igrr
Aug 05 2015 21:25
pmos stays between the battery and the rest of the circuit
which will include whatever regulator you might use
d-anders
@d-anders
Aug 05 2015 21:29
for battery use i would recommend a 3.6v and skip the regulator