• sales

    +86-0755-88291180

ESP32-S3-LCD-0.85-SD User Guide

【Resource Overview】

  1. Display screen
  2. Type-C
  3. RST
  4. Micro SD Port
  1. BOOT
  2. Patch ceramic antenna
  3. ESP32S3R8

【Pin Definitions】


[] SPI Interface definition

DC         ==>  GPIO42

 CS          ==>  GPIO41

    SCLK     ==>  GPIO40

MOSI    ==>  GPIO39

BL ==>  GPIO14

    RESET   ==> GPIO38

 

[] SD

  SD_CS  ==> GPIO15

   SD_MOSI  ==> GPIO16

   SD_CLK       ==>     GPIO17

   SD_MISO      ==>     GPIO18

[] RGB

RGB      ==>     GPIO13


【program】

Download link: Demo


Software and library installation

[] Download and install Arduino IDE: https://www.arduino.cc/en/software


[] Import ESP32 series chips and motherboard libraries in Arduino IDE
Please download the Esp32 by espressif systems 3.0.3, other versions may have problems


[] Import ESP32-S3-0.85 library
Open the downloaded Demo, enter the ESP32-S3-0.85-demo\Arduino\libraries folder, and copy all the files under lib to the library storage path
C:\Documents\Arduino\libraries (click to confirm how to view your own path)
Note: If you have installed the LVGL library before, please delete the previous LVGL and copy the files in lib to the libraries folder


Version compatibility notes

There are strong dependencies between versions of LVGL and its driver library. For example, a driver written for LVGL v8 may be incompatible with LVGL v9. To ensure stable reproduction of the examples, it is recommended to use the specific versions listed in the table above. Mixing different versions of the library may cause compilation failures or runtime exceptions.


Arduino Engineering Parameter Settings



Run the demo

Power-on default

[] The screen flashes red, blue, and green, then RGB lighting, before transitioning to a weather clock effect. (Phone settings)

Wi-Fi hotspot name: spotpear Password: spotpear123

The device will then automatically connect to your phone's hotspot and enter the Astronaut Weather Clock interface.

[] Press and hold the boot button. The default GIF will then play in Flash.

[] Press and hold the boot button again. Enter SD motion picture playback. After entering SD mode, press the boot button briefly to switch between different videos. [] It will cycle back to the weather clock.

 

RGB_LCD

Program Description

 This example demonstrates simultaneous RGB and LCD screen refresh display.

 setup() function:

undefined LCD_Init(): Initializes the GC9107 display (configures SPI, screen commands, backlight, etc.);

uundefined WS2812 _Init(): Initializes the GC9107 display (configures SPI, screen commands, backlight, etc.)

 loop() function:

undefined continuously refreshes the LCD and RGB

undefined delay(1000): Delay for 1 second to ensure refresh frequency.

  Running effect



_Video_demo

Program Description

 This example demonstrates SD card detection, video multimedia playback, and image playback.

Code Analysis

 setup() function

undefined Hardware initialization: Complete the Flash test, GC9107 display initialization, backlight settings, and WS2812B LED strip initialization in sequence;

undefined RGB self-test: The screen and light strip synchronously display red, green and blue colors in sequence, each for 1 second, and then the light strip turns off;

undefined SD Card Detection: Identifies the SD card type. If no card is found, an error message is displayed on the screen and the subsequent process is terminated. If a card is found, the video file is checked; if a video is present, the video playback module is initialized.

 loop() function

undefined Minimum play logic: If the SD card is not detected, simply delay the loop and do not perform any playback operation;

undefined Playback streaming: If the video module has been initialized, call Video_Play_Loop() to loop the video playback;

Running effect

If an SD card is present, press the button to switch videos; otherwise, an error message will be displayed on the screen and the process will terminate.


_LVGL_WeatherClock

Program Description

 This example demonstrates a weather clock system and video playback, displaying a weather clock on the GC9107 display and allowing users to switch videos using buttons, while balancing smooth operation with optimized CPU resource usage.

Code Analysis

 setup function

undefined Serial port initialization: The serial port is opened at a baud rate of 115200 for system log printing, which is convenient for debugging;

undefined Hardware/Driver Initialization: Perform Flash test, GC9107 display initialization, LVGL graphics library initialization, and SD card initialization in sequence;

undefined Peripheral configuration: Set the display backlight to 100% and initialize the weather clock business logic;

undefined Log output: Initialization progress is fed back via serial port, which is helpful for troubleshooting startup anomalies.

 loop function

undefined LVGL core processing: Calling Timer_Loop ensures that LVGL timers and animations are updated normally;

undefined Business logic loop: Execute WeatherClock_Loop to handle the real-time data update and display logic of the weather clock;

undefined Loop key detection: Determine if a key is pressed; if pressed, perform the corresponding operation.

undefined Resource optimization: Only 1ms latency is retained, which avoids excessive CPU usage and ensures high-frequency LVGL scheduling, balancing smoothness and resource consumption.


【Resources】

Schematic Diagram

Demo

Size


Datasheets

ESP32-S3

Other Components

Sofwares







TAG: LuckFox Pico Camera Raspberry Pi AI HAT+ Official Original Hailo-8/8L 13/26Tops For Pi5 PCIe M.2 Gen3 ESP32-S3 Industrial 8-CH Relay IOT LAN WiFi /Bluetooth /CAN /RJ45 Ethernet /POE here User Guide Raspberry Pi Pico 2 RP2350 1.8 inch AMOLED Development Board Display 368×448 TouchScreen Programmable Watch QSPI DeepSeek AI Voice Chat ESP32 C6 Development Board 1.69 inch LCD Display 240x280 1.69inch TouchScreen Programmable Watch SpotPear 4.2 inch e-Paper Display G Red/Yellow/Black/White 4.2inch E-link Screen For Arduino /Raspberry Pi /Jetson Nano /STM32 ESP32 1.54inch OLED Autofocus Camera Raspberry Pi 5 Audio Jack DeepSeek AI Voice Chat ESP32 S3 Development Board 1.8 inch AMOLED Display 368×448 1.8inch TouchScreen Programmable Watch QMI8658 /MIC /Audio /Battery AV to LVDS Program ESP32-S3 AI Voice Images Chat Robot Electronic PhotoPainter Frame E-Paper Ink Screen 7.3-inch E6 Full-Color Deepseek Development Board Raspberry Pi 5 IR Camera Python UART Communication Sipeed FPGA Tang Primer 20K Dock/Lite 128M DDR3 Development Board GW2A-LV18PG256C8/I7 Pi5 PCIe Raspberry Pi 5 PD Power