Page 2 of 2

Re: External wakeup pin detect issue

Posted: Mon Feb 15, 2021 11:41 am
by ksnboopa
Please have a look at this, It has Arduino library OneButtom with ESP-IDF framework https://youtu.be/vOFBraeLQM0

I was banging my head to design a single button for multi functions, this helped me a lot. I think this would help others too

Re: External wakeup pin detect issue

Posted: Thu Jun 03, 2021 10:05 am
by hongpingguo321
Facing similar issue with pins 14 and 33 for ext1_wakeup.
Tested with PIR-sensors as triggers.
Interrupt on pin 14 works as expected. If pin 33 is triggered esp_sleep_get_ext1_wakeup_status() returns 0;

Re: External wakeup pin detect issue

Posted: Thu Jun 03, 2021 10:41 am
by hongpingguo321
the solution is

Code: Select all

uint64_t GPIO_reason = esp_sleep_get_ext1_wakeup_status();