Preface

Important Notes

When you first power on the Freenove ESP32 Display, the screen will display a dynamic demo interface, featuring a modern user profile UI.

Please rest assured! This is not “malicious software” or a “used device.”

This is a classic benchmark/demo program built on LVGL, a popular open-source embedded graphics library. It serves as an industry-standard tool to evaluate and demonstrate the development board’s performance in rendering smooth graphics, handling animations, and supporting responsive touch interactions. You can easily overwrite it by uploading a new sketch. When you follow the tutorial to upload your first program, this demo will be automatically erased and replaced.

../../../_images/NerdMiner57.png

We provide a convenient web-based online flashing tool and a complete flashing tutorial. There’s no need to download any complex software. You can easily complete the flashing process in just a few minutes by selecting the firmware that matches your device model.

../../../_images/NerdMiner58.png

If you have any concerns, please feel free to contact us via support@freenove.com

ESP32-WROOM

The ESP32-WROOM offers two antenna options: the PCB on-board antenna and the IPEX antenna.

  • The PCB on-board antenna is an integrated antenna within the chip module itself, making it compact and convenient for both portability and design.

  • The IPEX antenna is an external metal antenna connected to the module’s integrated antenna, providing enhanced signal performance.

PCB on-board antenna

Preface00

IPEX antenna

Preface01

The ESP32-WROOM of this product is based on the ESP32-WROOM-32E module with built-in PCB on-board antenna.

Top

Preface02

Bottom

Preface03

Freenove ESP32 Display is available in six different models. While they may vary in drivers, resolution, or screen size, this guide applies to all of them. For detailed model specifications, please click here.

For datasheet of the ESP32 module, please visit: https://www.espressif.com.cn/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf

Freenove ESP32 Display

Hardware Interfaces

../../../_images/Preface04.png

Note

The 2.8-inch version does not provide access to the I2C interface or IO39 pin.

Battery (Optional)

Please note that this product does not come with lithium batteries; please purchase them yourself.

This device supports both USB-powered and lithium battery-powered operation. For optimal safety, USB power is recommended. Due to the hazardous nature of lithium batteries, we advise against their use unless absolutely necessary.

This device features an MX1.25mm connector and supports lithium batteries of various capacities. Note: The input voltage must be maintained within 3.7-4.2V range.

Market-available batteries may feature two distinct wiring configurations where the positive (+) and negative (-) terminals are reversed between models. Please verify the battery’s wiring matches the product requirements (refer to the diagram below) to prevent equipment failure or safety risks due to improper connection.

The red cable is the positive terminal while the black one is negative.

../../../_images/Preface05.png

We recommend using a charger specially designed for lithium batteries. Due to various specifications and quality of lithium batteries, using a proper charger helps ensure peak performance, safety, and battery longevity.

While our product also supports USB charging as a backup option, please note that this method does not support fast charging and is limited to standard slow charging.

Speaker

There is a speaker connector (PH1.25mm) on the Freenove ESP32 Display. It is recommended to use an 8Ω 1W speaker.

../../../_images/Preface06.png

Please note that this kit does not include a speaker. Please buy one yourself.

SD Card

The connector circuit uses SPI communication and supports high-speed Micro SD card storage.

Item

Pins

Definition

SD Card

GPIO23

SD_CMD

GPIO18

SD_CLK

GPIO19

SD_D0

GPIO5

SD_CS

../../../_images/Preface07.png

Note

This product does not include SD cards or SD card readers. Please buy them yourself.

TFT Screen

Freenove ESP32 Display is available in six different models with various TFT screen. This guide applies to all of them. For detailed model specifications, please click here.

Item

Pins

Definition

TFT Screen

GPIO13

LCD_MOSI

GPIO12

LCD_MISO

GPIO14

LCD_SCK

GPIO2

LCD_RS

GPIO15

LCD_CS

RGB LED

The Freenove ESP32 Display includes an RGB LED (red, green, blue) that can blend colors to create various lighting effects.

../../../_images/Preface08.png

Item

Pins

R

GPIO22

G

GPIO16

B

GPIO17

../../../_images/Preface09.png

GPIO Pinout Table

To learn what each GPIO corresponds to, please refer to the following table.

The functions of the pins are allocated as follows:

ESP32

Functions

Description

GPIO22

R

RGB

GPIO16

G

GPIO17

B

GPIO13

LCD_MOSI

TFT_LCD

GPIO12

LCD_MISO

GPIO14

LCD_SCK

GPIO2

LCD_RS

GPIO15

LCD_CS

GPIO23

SD_CMD

SD Card

GPIO18

SD_CLK

GPIO19

SD_D0

GPIO5

SD_CS

For more information, refer to the schematic.

If you have any concerns, please feel free to contact us via support@freenove.com

CH340 (Required)

ESP32 uses CH340 to download codes. So before using it, we need to install CH340 driver in our computers.

Windows

Check whether CH340 has been installed

  1. Connect your computer and ESP32-WROOM with a USB cable.

../../../_images/Preface10.png
  1. Turn to the main interface of your computer, select “This PC” and right-click to select “Manage”.

../../../_images/Preface11.png
  1. Click “Device Manager”. If your computer has installed CH340, you can see“USB-SERIAL CH340 (COMx)”. And you can click here to move to the next step.

../../../_images/Preface12.png

Installing CH340

  1. First, download CH340 driver, click http://www.wch-ic.com/search?q=CH340&t=downloads to download the appropriate one based on your operating system.

../../../_images/Preface13.png

If you would not like to download the installation package, you can open ““Freenove_ESP32_Display/CH340”, we have prepared the installation package.

../../../_images/Preface14.png
  1. Open the folder “Freenove_ESP32_Display/CH340/Windows/”

../../../_images/Preface15.png
  1. Double click “CH341SER.EXE”.

../../../_images/Preface16.png
  1. Click “INSTALL” and wait for the installation to complete.

../../../_images/Preface17.png
  1. Install successfully. Close all interfaces.

../../../_images/Preface18.png
  1. When ESP32 is connected to computer, select “This PC”, right-click to select “Manage” and click “Device Manager” in the newly pop-up dialog box, and you can see the following interface.

../../../_images/Preface19.png
  1. So far, CH340 has been installed successfully. Close all dialog boxes.

MAC

First, download CH340 driver, click http://www.wch-ic.com/search?q=CH340&t=downloads to download the appropriate one based on your operating system.

../../../_images/Preface20.png

If you would not like to download the installation package, you can open “Freenove_ESP32_Display/CH340”. We have prepared the installation package.

Second, open the folder “Freenove_ESP32_Display/CH340/MAC/”

../../../_images/Preface21.png

Third, click Continue.

../../../_images/Preface22.png

Fourth, click Install.

../../../_images/Preface23.png

Then, waiting Finish.

../../../_images/Preface26.png

Finally, restart your PC.

../../../_images/Preface27.png

If it fails to be installed with the above steps, you can refer to readme.pdf to install it.

../../../_images/Preface28.png

Programming Software

Arduino Software (IDE) is used to write and upload the code for Arduino Board.

First, install Arduino Software (IDE): visit https://www.arduino.cc/en/software/

../../../_images/Preface031.png

Select and download corresponding installer based on your operating system. If you are a Windows user, please select the “Windows” to download and install the driver correctly.

../../../_images/Preface041.png

After the downloading completes, run the installer. For Windows users, there may pop up an installation dialog box of driver during the installation process. When it is popped up, please allow the installation.

After installation is completed, an shortcut will be generated in the desktop.

../../../_images/Preface051.png

Run it. The interface of the software is as follows:

../../../_images/Preface061.png

Programs written with Arduino IDE are called sketches. These sketches are written in a text editor and are saved with the file extension.ino. The editor has features for cutting/pasting and for searching/replacing text. The console displays text output by the Arduino IDE, including complete error messages and other information. The bottom right-hand corner of the window displays the configured board and serial port. The toolbar buttons allow you to verify and upload programs, open the serial monitor, and access the serial plotter.

Arduino07

Verify

Checks your code for errors compiling it.

Arduino08

Upload

Compiles your code and uploads it to the configured board.

Arduino09

Debug

Troubleshoot code errors and monitor program running status.

Arduino10

Serial Plotter

Real-time plotting of serial port data charts.

Arduino11

Serial Monitor

Used for debugging and communication between devices and computers.

Environment Configuration

First, open the software platform Arduino, and then click File in Menus and select Preferences.

../../../_images/Preface46.png

Second, click on the symbol behind “Additional Boards Manager URLs”

../../../_images/Preface47.png

Third, fill in https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json in the new window, click OK, and click OK on the Preferences window again.

../../../_images/Preface48.png

Note

if you copy and paste the URL directly, you may lose the “-”. Please check carefully to make sure the link is correct.

Fourth, click “Boards Manager”. Enter “esp32” in Boards manager, select 3.2.0, and click “INSTALL”.

../../../_images/Preface49.png

Arduino will download these files automatically. Wait for the installation to complete.

../../../_images/Preface50.png

When finishing installation, click Tools in the Menus again and select Board: “ESP32 Dev Module”, and then you can see information of ESP32.

../../../_images/Preface51.png

Library Installation

Before starting the learning process, it is necessary to install some libraries in advance to enable the code to be compiled properly. For convenience, we have already packaged these libraries and placed them in the Freenove_ESP32_Display/Libraries folder. Please refer to the following steps to install these libraries into the Arduino IDE.

  1. Open Arduino IDE.

../../../_images/Preface52.png
  1. Select Sketch->Include Library->Add .ZIP library…

../../../_images/Preface53.png
  1. On the newly pop-up window, select the files from the Freenove_ESP32_Display /Libraries. Click Open to install the library.

../../../_images/Preface54.png
  1. Repeat the above steps until all the six libraries are installed to Arduino. So far, all libraries have been installed.

Note

Some libraries are not the latest version. Please do not update them even if it prompts every time you open the IDE. Just click LATER. Otherwise, it may lead to compilation failure.

../../../_images/Preface55.png