Skip to main content

Working with Arduino

This chapter contains the following sections. Please read as needed:

Arduino Getting Started

New to Arduino ESP32 development and looking for a quick start? We have prepared a comprehensive Getting Started Tutorial for you.

Note: This tutorial uses the ESP32-S3-Zero as a reference example, and all hardware code is based on its pinout. Before you start, we recommend checking the pinout of your development board to ensure the pin configuration is correct.

Setting Up Development Environment

1. Installing and Configuring Arduino IDE

ESP32 Board Package Version RequirementBoard Installation RequirementBoard Name
3.0.6 or higher"Install Offline" / "Install Online"Waveshare ESP32-S3-Touch-LCD-7

2. Installing Libraries

To successfully run programs on the Arduino IDE, you also need to install the required libraries. The library files for the ESP32-S3-Touch-LCD-7 are located in the Arduino\libraries folder of the example program package. Click this link to download the example programs.

Library NameDescriptionVersionLibrary Installation Requirement
ESP32_Display_PanelDisplay panel control library for ESP32 microcontrollersv0.1.4 or higher"Install Online" or "Install Offline"
ESP32_IO_ExpanderI/O expander library for ESP32v0.0.4 or higher"Install Online" or "Install Offline"
lvglLVGL graphics libraryv8.4.0"Install Offline"
lv_conf.hLVGL configuration file"Install Offline"

Installation Steps:

  1. Unzip the downloaded demo package.

  2. Copy all folders (ESP32_Display_Panel, ESP32_IO_Expander, etc.) from its Arduino\libraries directory to your Arduino libraries folder.

    info

    The path to the Arduino libraries folder is typically: c:\Users\<username>\Documents\Arduino\libraries.

    You can also locate it in the Arduino IDE by going to File > Preferences and checking the "Sketchbook location". The libraries folder is the libraries subfolder within this path.

  3. For other installation methods, please refer to: Arduino Library Management Tutorial.

Demo

Want to quickly learn how to drive each interface? We have prepared a series of examples and related tutorials based on the Arduino IDE to help you quickly understand the use of each interface.