Hi I would like to ask help with wake up from deep sleep my xiao esp32c3.
I use this, it goes to sleep, but I’m not succesful with waking it up.
esp_deep_sleep_enable_gpio_wakeup(WAKEUP_PINS,ESP_GPIO_WAKEUP_GPIO_HIGH);
esp_deep_sleep_start();
for WAKEUP_PINS I tried
const uint64_t WAKEUP_PINS = 0b00100000;
const uint64_t WAKEUP_PINS = 0b11111111111111111111111111111111;
A vibration sensor (to ground) and a R (to 3.3V) is connected to the D5 pin.
The vibration sensor is closed by default, if it sense any moves it opens and D5 goes to 3.3V.
Thanks Szabolcs
PS.: I use the built in BLE too (just as an info).