Dependancies
Pre-requisites
Buy the components
Wire up the hardware according to the schematic. Compile and upload the firmware.
Press the push button to wake up and see the LED Blinking 10 times before going back to sleep again.
Use function esp_deep_sleep_enable_gpio_wakeup
instead of esp_sleep_enable_ext0_wakeup
or esp_sleep_enable_ext1_wakeup
. [5] [6]