Ivan Grokhotkov 3c583a7655 sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default 8 سال پیش
..
main 6353bc40d7 Add support for 32k XTAL as RTC_SLOW_CLK source 8 سال پیش
Makefile 4af5f572f4 add deep sleep wake up example 9 سال پیش
README.md 4af5f572f4 add deep sleep wake up example 9 سال پیش
sdkconfig.defaults 3c583a7655 sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default 8 سال پیش

README.md

Example: deep sleep

This example illustrates usage of deep sleep mode and various wakeup sources.

The following wake up sources are configured:

  • Timer: wake up the chip in 20 seconds
  • EXT1: wake up the chip if any of the two buttons are pressed (GPIO25, GPIO26)
  • Touch: wake up the chip if any of the touch pads are pressed (GPIO32, GPIO33)
  • ULP: wake up when the chip temperature changes by more than ~5 degrees Celsius (this value hasn't been characterized exactly yet).