Maybe it's my fault but I kinda dislike the design of the ESP8266 when it comes to wakeup from deep sleep via an interrupt.
AFAIK (without an external circuit) the ESP8266 can not distinct between a WakeUp and a Reset. Especially not if the WakeUp signal is bouncing (alternating in very short periods).
Question 1: Is that true?
To state my problem in more detail:
My WakeUp signal is HIGH in general - so the ESP8266 will not wake up and that is okay. Then suddenly my WakeUp signal will start to bounce, so it will be LOW, HIGH, LOW, HIGH, LOW, [...] (for seconds or even minutes) until it will be high continuously again. I want to use that bouncing as ONE wakeup but since the pin for wakeup is the same as for reset it will reset the board over and over again.
What I read about ESP32 is that I'm able to choose the pin I like to use for my wakeup signal and so I can use one that isn't a Reset pin.
We are in deep sleep on an ESP32 and there is bouncing on my choosen WakeUp pin (!= Reset). Does the following holds true: The first LOW will wake up the board and all following switches from HIGH to LOW will be ignored by the board until it goes to sleep again.
Is there some simple external circuit or even some code to achieve the behavior of Question 2 also on the ESP8266?
Thank you so much!