ESP32-C3 fails at IO wakeup from light/deelpsleep. #15744
Unanswered
Kevinlee-512
asked this question in
ESP32
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
now, I have battery powered sensor project, everything including blue&wifi run well, in order to get long battery life, need to put device
into deepsleep with timeout. However, immediate wakeup shall be expected by sensor trigger or button clicking. Here is my key codes-
...
key1=Pin(4,Pin.IN)
key2=Pin(2,Pin.IN)
...
esp32.wake_on_ext1(pins = (key1,key2), level = esp32.WAKEUP_ANY_HIGH) #initializing wake up
...
machine.deepsleep(hours)
I note that this codes work on ESP32. Seems all the official ESP32-C3 firmware don't support, I have searched for some similar question, still confused, I wonder if any existing firmware to already resolve it ? or any idea to get working? Highly appeciated at your help ...
Beta Was this translation helpful? Give feedback.
All reactions