# Deep Sleep with RTC Alarm Wake-Up RTC alarm wake-up with deep sleep on Inkplate 5. ## Overview Demonstrates how to use the onboard RTC alarm interrupt to wake the board from deep sleep. On each wake cycle the display is refreshed with the current date and time, then the board returns to deep sleep until the next RTC alarm fires (every 10 seconds). ## Hardware Required - Soldered Inkplate 5 - USB cable ## Setup Run `idf.py menuconfig` and navigate to: **Inkplate Boards → Inkplate5** ## Build and Flash ``` idf.py build idf.py -p PORT flash monitor ``` ## Expected Output - On first boot: RTC time and date are initialized if not already set. - Display shows current weekday, date, and time. - Display refreshes automatically on every RTC alarm wake-up (every 10 seconds). ## Notes - RTC alarm interrupt is connected to GPIO39 on Inkplate 5. - Deep sleep resets the ESP32; RTC values persist because the RTC runs on its own power domain. - All application logic must be placed in `app_main()` when using deep sleep. ## Resources - Docs: https://docs.soldered.com/inkplate - Support: https://forum.soldered.com/ - Image tool: https://tools.soldered.com/tools/image-converter/
To create a project from this example, run:
idf.py create-project-from-example "solderedelectronics/inkplate=1.1.0:inkplate5/advanced/deepsleep/rtc_alarm"