tstoegi/MicroWakeupper

Question schematic

Opened this issue · 3 comments

Sorry, a bit of a noob question here, but looking at the schematic I am failing to see what the pins d6 and d7 are used for

D6 (STA) - called "Status PIN" - reading HIGH means, the MicroWakeupper (your connected switch) was triggered (is active) - was closed or opened - depending on your setting (NC/NO)
D7 (DIS) - called "Disable PIN" - setting to HIGH means, preventing the MicroWakeupper going back into standby/sleep - as long as this PIN is set to HIGH, the connected switch is ignored. If you set D7 to LOW, after about 2 seconds the MicroWakeuper is ready for the next switch event.

(Just saw that I have to update schematic to revision 6.5 - there have been some minor changes.)

without any extra code, what happens if the DIS pin is low, the esp is running and I press the button connected to the microwakeupper?

By default the MicroWakeupper will reset (RST PIN goes LOW) your running esp and after about 2 seconds it goes back into "standby" - waiting for the next button press.