Skip to main content

ESP32-S3-Touch-LCD-1.54

ESP32-S3-Touch-LCD-1.54

The ESP32-S3-LCD-1.54 and ESP32-S3-Touch-LCD-1.54 are low-cost, high-performance microcontroller development boards designed by Waveshare. Featuring a compact board design, they integrate large-capacity Flash and PSRAM, support 2.4GHz Wi-Fi and Bluetooth BLE 5, and come with onboard peripherals such as a 1.54inch capacitive LCD screen, a lithium battery charging chip, and a 6-axis sensor (3-axis accelerometer and 3-axis gyroscope), facilitating rapid product prototyping and embedded application development for developers.

tip

The main difference between the ESP32-S3-LCD-1.54 and ESP32-S3-Touch-LCD-1.54 products is whether the screen has touch functionality; all other features are identical.

SKUProduct
33866ESP32-S3-LCD-1.54-EN
33867ESP32-S3-LCD-1.54
33868ESP32-S3-Touch-LCD-1.54-EN
33869ESP32-S3-Touch-LCD-1.54

Features

  • Equipped with the high-performance ESP32-S3R8 featuring an Xtensa® 32-bit LX7 dual-core processor with a clock frequency up to 240 MHz
  • Supports 2.4 GHz Wi-Fi (802.11 b/g/n) and Bluetooth® 5 (LE) with an integrated onboard antenna
  • Built-in 512KB SRAM and 384KB ROM, with stacked 8MB PSRAM and external 16MB Flash storage
  • Features a Type-C interface, eliminating the hassle of plug orientation and enhancing user convenience and device compatibility
  • Onboard 1.54inch capacitive LCD screen, 240 × 240 resolution, 262K colors, capable of displaying color images clearly
  • Onboard ES7210 audio codec chip, supporting dual-microphone audio capture and echo cancellation
  • Onboard ES8311 audio codec chip, NS4150B power amplifier chip, microphone, and speaker
  • Onboard QMI8658 6-axis IMU (3-axis accelerometer and 3-axis gyroscope) for detecting motion and posture in expanded applications
  • Built-in ST7789 driver IC, communicating via SPI interface
  • Built-in CST816 capacitive touch controller, communicating via I2C interface (touch version only)
  • Onboard PLUS and BOOT buttons, both customizable for function development
  • Onboard 3.7V 1.2mm lithium battery charging/discharging interface
  • Exposes 1-ch I2C, 1-ch USB and 1-ch UART pads for external devices connection and debugging, enabling flexible peripheral configuration
  • Onboard TF card slot supporting storage expansion and high-speed data transfer, facilitating functions like data logging and media playback while simplifying circuit design

Onboard Resources

  1. ESP32-S3R8 High-performance Xtensa® 32-bit LX7 dual-core processor, up to 240 MHz
  2. 16MB NOR-Flash
  3. NS4150B Audio power amplifier chip
  4. ES8311 Low-power audio codec chip
  5. ES7210 ADC chip for echo cancellation circuit
  6. Battery charge/discharge management chip
  7. QMI8658 6-axis IMU includes a 3-axis gyroscope and a 3-axis accelerometer
  8. PLUS Button User-defined button
  9. PWR button
  10. BOOT button Used for device startup and functional debugging
  11. Microphone Microphone input and echo cancellation
  12. TF card slot
  13. Onboard Chip Antenna Supports 2.4GHz Wi-Fi (802.11 b/g/n) and Bluetooth 5 (LE)
  14. MX1.25 lithium battery header MX1.25 2PIN connector for connecting a 3.7V lithium battery, supports charging and discharging
  15. Type-C port
  16. MX1.25 Speaker Header Non-polarized
  17. 1.54inch display panel connector

LCD and Its Controller

  • The LCD uses the built-in controller ST7789, a 240 × RGB × 320 pixel LCD controller. Since the LCD itself has a resolution of 240(H) × RGB × 240(V), the internal RAM of the LCD is not fully utilized.
  • The LCD supports 12-bit, 16-bit, and 18-bit per pixel input color formats, i.e., RGB444, RGB565, and RGB666. The examples use the RGB565 color format, which is the most common RGB format.
  • The LCD uses a 4-wire SPI communication interface, significantly saving GPIO pins while maintaining relatively fast communication speeds.

SPI Communication Protocol:

  • Note: Unlike the traditional SPI protocol, because only display functionality is needed, the data line from the slave to the master is omitted

  • RESX is the Reset pin; it is pulled low during module power-up and is normally set to 1.

  • CSX is the slave chip select pin; the chip is enabled only when CS is low

  • D/CX is the data/command control pin of the chip. When DC = 0, commands are written; when DC = 1, data is written.

  • SDA is the data transmission pin, specifically for RGB data.

  • SCL is the SPI communication clock pin.

  • For SPI communication, data transmission follows a specific timing sequence, which are determined by the combination of clock phase (CPHA) and clock polarity (CPOL):

  • The level of CPHA determines whether data is captured on the first or second clock transition edge of the serial synchronous clock. When CPHA = 0, data is captured on the first transition edge;

  • The level of CPOL determines the idle level of the serial synchronous clock. CPOL = 0 means the idle state is low level.

  • As shown in the diagram, data transmission begins on the first falling edge of SCLK, with 8 bits of data transferred per clock cycle using SPI mode 0, transmitting bits from MSB to LSB

Pinout Definition

When using the reserved GPIO terminals on the board, pay attention to the wiring colors and corresponding functions to avoid damaging the development board due to incorrect wiring habits.

Dimensions

Development Methods

The ESP32-S3-LCD-1.54 and ESP32-S3-Touch-LCD-1.54 support two development frameworks: Arduino IDE and ESP-IDF, offering developers flexible choices. You can select the appropriate development tool based on project requirements and personal preferences.

Arduino generally offers a gentler learning curve and may be more approachable for beginners and hobbyists. ESP-IDF provides advanced tooling and finer control over system behavior, making it better suited to complex projects and applications with demanding performance requirements.

  • Arduino IDE is a convenient, flexible, and easy-to-use open-source electronics prototyping platform. It requires minimal foundational knowledge, allowing for rapid development after a short learning period. Arduino has a huge global user community, providing a vast amount of open-source code, project examples, and tutorials, as well as a rich library ecosystem that encapsulates complex functions, enabling developers to implement various features rapidly. You can refer to the Working with Arduino to complete the initial setup, and the tutorial also provides related example programs for reference.

  • ESP-IDF, short for Espressif IoT Development Framework, is a professional development framework launched by Espressif Systems for its ESP series of chips. It is based on C language development and includes compilers, debuggers, flashing tools, etc. It supports development via command line or integrated development environments (such as Visual Studio Code with the Espressif IDF plugin), which provides features like code navigation, project management, and debugging. We recommend using VS Code for development. For the specific configuration process, please refer to the Working with ESP-IDF. The tutorial also provides relevant example programs for reference.