/Multiple-LCD-Demo

Espressif's demo with three LCD displays using LVGL (ESP32-S3)

Primary LanguageCApache License 2.0Apache-2.0

Supported Targets ESP32-S3

Multiple LCD Display Example

This example shows handling multiple LCD displays with touch from one MCU. It shows time synchronized with SNTP server and weather synchronized with https://openweathermap.org/. It allows search WiFi networks and connect to selected. It can change the weather place, weather update interval and time zone. All settings are saved into NVS and loaded after each restart.

There is used LVGL as a graphic library.

This example contains the 2048 Game, which was used from https://github.com/100askTeam/lv_lib_100ask.

Supported graphical controllers

  • GC9A01 (SPI)
  • ST7789 (SPI)
  • NT35510 (SPI)
  • SH1107 (I2C)
  • RA8875 (Parallel Intel 8080)
  • RM68120 (Parallel Intel 8080)

Supported touch controllers

  • FT5x06 (I2C)
  • GT911 (I2C)
  • TT21100 (I2C)

Tested displays with this example

How to use the example

Hardware Required

  • An ESP development board ESP32-S3-DevKitC-1 v1.0
  • An USB cable for power supply and programming
  • One parallel (Intel 8080) display
  • One serial (SPI) display
  • One monochromatic (I2C) display

Recommended hardware Connection

Recommended connection is on schematic or saved in board files here: main/board.

Menuconfig settings

Before compiling and flash the project, you should set up it:

idf.py menuconfig
  • Set timezone: Go to Multiple LCD Example Configuration->Time Configuration and set Time zone TZ string
  • Set API key for openweathermap.org: Go to Multiple LCD Example Configuration->Weather Configuration and set OpenWeatherMap API key 1

Build a flash

idf.py -p COMx flash monitor

Use

  • Connect to Wi-Fi on Wi-Fi tab (saved into NVS)
  • Set weather place on Settings tab (saved into NVS)
  • Look at time on top and on the round display
  • Look at the weather on the Home tab
  • Play the 2048 Game on Game tab

Flash latest binary from browser

Try it with ESP Launchpad

Footnotes

  1. For get the API key, please register at https://openweathermap.org/.