ESP-IDF and ESP32-C5 Workshop
Welcome to the Espressif IoT Development Framework (ESP-IDF) workshop!
About this workshop
By participating in this workshop, you will gain a deeper understanding of how the Espressif IoT Development Framework (ESP-IDF) and ESP32-C5 System on a Chip (SoC) work. Through a number of hands-on assignments covering a range of essential skills, you will learn to create even better and more efficient IoT applications for your projects!
Specifically, in this workshop we will go through the installation of the ESP-IDF framework. Then we will move on to creating our own project, which we will try to build, upload, and monitor using the ESP-IDF terminal. In the following chapters, we will learn how to connect to Wi-Fi using provisioning, perform OTA updates, communicate via ESP-NOW, and finally some tricks for working with the low-power core that is part of the ESP32-C5 SoC.
This workshop will certainly bring a lot of interesting information even to those who use other chips from the ESP32 family. However, keep in mind that not all chips support everything that ESP32-C5 supports (like dual-band Wi-Fi 6 or the ULP RISC-V core)!
Companion reference projects
This workshop has companion ESP-IDF projects following the same assignment numbering. They are
published under examples/C5/: open a project folder to read the files, or
download the .zip linked next to it. See examples/C5/README.md
for how to build them.
Agenda
If you have met the prerequisites, we can start with the individual chapters:
- Introduction: ESP-IDF Presentation: Initial introduction to our ESP-IDF framework, followed by basic information about the ESP32-C5 chip and the devkit on which this tutorial will be demonstrated.
- Assignment 1: Install ESP-IDF: Installing the necessary tools to start development.
- Assignment 2: Basics: Hello World & LED: Verifying hardware connectivity and introducing the ESP-IDF build lifecycle via the terminal.
- Assignment 3: Wi-Fi & Provisioning: Understanding the Wi-Fi peripheral, dual-band capabilities, and connecting using BLE provisioning.
- Assignment 4: OTA Updates: Remote code updates using partition tables and HTTPS.
- Assignment 5: ESP-NOW Chat Room: Connectionless peer-to-peer communication.
- Assignment 6: LP-core: Demonstration of working with the low-power core for applications where energy consumption is an important factor.
Prerequisites
To follow this workshop, you will need both hardware and software equipment.
Required hardware:
- Computer running Linux, Windows or macOS operating system
- ESP32-C5-DevKitC or ESP32-C5-DevKitM
- USB cable (supporting power + data) compatible with the devkit above
Required software:
- Visual Studio Code or other IDE capable of editing C/C++. This workshop will suppose the usage of Visual Studio Code.
- ESP BLE Prov app:
- Android: ESP BLE Prov
- iOS: ESP BLE Prov
- ESP-IDF, which you’ll learn how to install in the Assignment 1: Install ESP-IDF
Time Requirements
Estimated time: 120 min
Feedback
If you have any feedback about the workshop, feel free to e-mail me directly to jan.beran@espressif.com.
Conclusion
We hope that the workshop will bring you knowledge that will serve as a solid foundation for your future projects. Thank you for the time and effort you devoted to the workshop, and we look forward to the projects you will create with our chips in the future!