This workshop covers Wi-Fi 5 connectivity, partition tables, OTA updates, and the Extra ULP coprocessor on the ESP32-C5.
Discover how the ESP32-C5 saves power through its sleep modes and the Ultra Low Power (ULP) LP core coprocessor, including how to program the LP core, enter sleep, and wake the main CPU.
Learn how Over-the-Air (OTA) updates work on Espressif devices, including the ESP-IDF app_update and esp_https_ota components and the partition table layout required to support safe updates.
This lecture introduces the ESP-IDF partition table, its typical elements, and how to select a built-in scheme through menuconfig.
This lecture introduces the ESP32-C5 and its dual-band Wi-Fi 6 radio, then explains how to configure the 2.4 GHz and 5 GHz bands using the ESP-IDF Wi-Fi driver.
Write a program that runs on the LP core while the main CPU is in deep sleep. The LP core wakes periodically on the LP timer, increments a counter, and wakes the main CPU once the counter reaches a threshold.
Write an application that enters deep sleep, wakes up periodically with the RTC timer, and keeps a counter alive across sleep cycles using RTC memory.
Extend the application from Assignment 3.1 so it fetches a remote version string before updating, and only calls esp_https_ota when that remote version is newer than the one currently running.
Extend the OTA application from the previous assignment with rollback support, so that a newly updated firmware must confirm it works before it is trusted, and is otherwise automatically reverted to the previous working image.
Configure the partition table for OTA, then write an application that connects to Wi-Fi and performs a single OTA update by downloading new firmware from a fixed HTTPS URL with esp_https_ota.
Create a custom partition table that adds a spiffs filesystem partition, then flash it and confirm the change by reading it back from flash.
Switch the partition table to a scheme that supports OTA updates, and confirm the change by reading it back from flash.
Change the band mode of the station from Assignment 1.1 so the ESP32-C5 picks the band automatically instead of being locked to 5 GHz.
Write an application that connects the ESP32-C5 to a Wi-Fi network as a station, restricts the radio to the 5 GHz band, and reports the band and channel it joined.