Skip to content

ESP32 Watch Display 2.01 IDF 15 Lesson Course Guide

# CrowPanel 2.01-inch HMI ESP32 Watch Display ### 15-Lesson ESP-IDF Course Guide **240 × 296 IPS Touchscreen · ESP32-S3 · ESP-IDF**

Product: CrowPanel 2.01-inch HMI ESP32 Watch Display with a 240 × 296 IPS touchscreen
Lessons: 15
Development Platform: ESP-IDF v5.5.4 + ESP32-S3
Learning Path: Environment Setup → Hardware Interaction → Wireless Communication → Sensors and Audio → Power Management

1. Course Overview

This course is designed for the CrowPanel 2.01-inch HMI ESP32 Watch Display and uses native ESP-IDF APIs throughout. The lessons progress from development-environment setup to GPIO input, graphics and touch, wireless communication, onboard sensors, audio, and low-power operation.

The course begins by validating the ESP-IDF v5.5.4 toolchain and ESP32-S3 memory configuration. Later lessons cover the BOOT button, GC9309 display, AXS5106L touch controller, LVGL 9.1, rotary encoder, PCF8563 RTC, Wi-Fi, BLE, SC7A20HTR accelerometer, vibration motor, battery monitoring, I2S speaker, PDM microphone, audio recording, and Light Sleep.

2. Before You Begin

  • Hardware: CrowPanel 2.01-inch HMI ESP32 Watch Display
  • USB Cable: A USB cable that supports data transfer
  • Development Software: Visual Studio Code with the ESP-IDF extension
  • ESP-IDF Version: v5.5.4
  • Target: ESP32-S3
  • Flash: 16 MB, QIO mode
  • PSRAM: Octal-mode PSRAM
  • Test Device: A phone or computer with 2.4 GHz Wi-Fi and BLE support

3. Course Code

Complete Course Source: Open the ESP-IDF course repository

4. Course Catalog

Lesson Title Main Topic
01 ESP-IDF Setup and Serial Verification Configure ESP-IDF v5.5.4 and verify the ESP32-S3, flash, PSRAM, and serial console
02 BOOT Button Event Detection Detect press, release, click, double-click, and long-press events
03 Display, Touchscreen, and LVGL Drive the GC9309 display, AXS5106L touch controller, and LVGL 9.1 UI
04 Rotary Encoder and Push Button Detect clockwise and counterclockwise rotation and button events
05 PCF8563 RTC Basics Read the date, time, weekday, and low-voltage flag over I2C
06 Wi-Fi Scanning and Connection Scan wireless networks and connect in Station mode
07 Wi-Fi and RTC Time Synchronization Retrieve NTP time and write it to the PCF8563 RTC
08 BLE Service and Characteristic Create a BLE peripheral with read, write, and notification support
09 Accelerometer and Motion Detection Read SC7A20HTR three-axis data and detect significant movement
10 Vibration Motor Control Control vibration patterns with GPIO and non-blocking timing
11 Battery Voltage and Charging Status Measure battery voltage with the ADC and read charging status
12 I2S Speaker Playback Generate and play a 440 Hz sine-wave test tone
13 PDM Microphone Input Capture audio and calculate peak and RMS levels
14 Audio Recording and Playback Record microphone audio and play it through the speaker
15 Light Sleep and Touch Wake-Up Enter Light Sleep and wake through the touch interrupt or safety timer

Lesson 01|Set Up ESP-IDF and Verify the Serial Console

Lesson Link: View Lesson 01


Lesson 02|Read the BOOT Button and Report Events

Lesson Link: View Lesson 02


Lesson 03|Drive the Display, Touchscreen, and LVGL UI

Lesson Link: View Lesson 03


Lesson 04|Read the Rotary Encoder and Push Button

Lesson Link: View Lesson 04


Lesson 05|Read the PCF8563 Real-Time Clock

Lesson Link: View Lesson 05


Lesson 06|Scan for Wi-Fi and Connect in Station Mode

Lesson Link: View Lesson 06


Lesson 07|Synchronize the PCF8563 RTC with NTP

Lesson Link: View Lesson 07


Lesson 08|Build a BLE Service and Characteristic

Lesson Link: View Lesson 08


Lesson 09|Read the Accelerometer and Detect Motion

Lesson Link: View Lesson 09


Lesson 10|Control the Vibration Motor

Lesson Link: View Lesson 10


Lesson 11|Measure Battery Voltage and Charging Status

Lesson Link: View Lesson 11


Lesson 12|Play a 440 Hz Tone through the I2S Speaker

Lesson Link: View Lesson 12


Lesson 13|Capture PDM Microphone Input and Measure Volume

Lesson Link: View Lesson 13


Lesson 14|Record Audio and Play It Back

Lesson Link: View Lesson 14


Lesson 15|Enter Light Sleep and Wake on Touch

Lesson Link: View Lesson 15

Follow Lessons 01 through 15 in sequence:

  1. Development Foundation: Lesson 01 validates the ESP-IDF toolchain and memory configuration.
  2. Hardware Interaction: Lessons 02–05 cover buttons, display, touch, rotary input, and the RTC.
  3. Wireless Communication: Lessons 06–08 cover Wi-Fi, NTP synchronization, and BLE.
  4. Sensing and Feedback: Lessons 09–11 cover motion detection, vibration feedback, and battery monitoring.
  5. Audio Features: Lessons 12–14 cover speaker output, microphone input, and audio recording.
  6. Low-Power Development: Lesson 15 introduces Light Sleep and touch-based wake-up.