Chat freely about anything...

User avatar
By Marcus Wahren
#72774 Hi,
I building my own iot button using a esp-12.
Found loads of examples online using deep sleep and reset to trigger.
My one thoughts now are how to build it, still using only one button except now I want to be able to press the button multiple times to get a different value to be sent to my server (MQTT).
I thought about using a relay to switch the button from RESET pin to GPIO 2 (or any other GPIO) and use interrupt to count.

Now my problem is that a relay is not really that small.. (that I know of) is there any other way of waking an esp from deep sleep that might work or a different relay that might work?