I am having issues with my Electrons waking up un-commanded from what I believe is ambient RF noise. If placed by an electric fence charger or by my refrigerator, while in sleep mode, they will wake up when the fence pulses or the refrigerator kicks on. I’ve tried adding an external pull-down resistor, 20k and a 10k, but still see the issue. I can put the Electron to sleep and wake it as expected otherwise. Is there a way to debounce, or require high pulse of a longer duration, before the wake interrupt is generated?
I am using the following lines of code to put the Electrons in sleep mode:
const int wakePin = D0;
For my circuit I am pulling power off of the 3V3 pin, go thru a 1k resistor, go thru a normally open push button, and then to the D0 pin.