ESP32-S3–7.0inch Screen

Welcome to the QSZNTEC Workshop!

一、Introduction

二、Installing using Arduino IDE

三、sample program usage

TheobjectiveofthispostistoexplainhowtouploadanArduinoprogramtotheESP32-S3 module,fromQSZNTEC.

TheESP32WiFiandBluetoothchipisthelatestgenerationofEspressifproducts. Ithasadual-core 32-bitMCU,whichintegratesWiFiHT40andBluetooth/BLE4.2technologyinside.

ESP32-S3-wroom-1hasasignificantperformanceimprovement.Itisequippedwitha high-performancedual-coreTensilicaLX7MCU.

Onecorehandleshighspeedconnectionandthe otherforstandaloneapplicationdevelopment.Thedual-coreMCUhasa240MHzfrequencyanda computingpowerof600DMIPS.

Inaddition,itsupportsWi-FiHT40,ClassicBluetooth/BLE4.2,andmoreGPIOresources.

Programming the ESP32

An easy way to get started is by using the familiar Arduino IDE. While this is not necessarily the best

environment for working with the ESP32, it has the advantage of being a familiar application, so the

learning curve is flattened. We will be using the Arduino IDE for our experiments.

we first need to install version 1.8.19 of the Arduino IDE (or greater),for example, the Arduino

installation was in “C/Programs(x86)/Arduino”. download release link:

https://downloads.arduino.cc/arduino-1.8.19-windows.exe

2,This is the way to install Arduino-ESP32 directly from the Arduino IDE.

Add Boards Manager Entry

Here is what you need to do to install the ESP32 boards into the Arduino IDE:

(1) Open the Arduino IDE.

(2)Click on the File menu on the top menu bar.

(3)Click on the Preferences menu item. This will open a Preferences dialog box.

(4)You should be on the Settings tab in the Preferences dialog box by default.

(5)Look for the textbox labeled “Additional Boards Manager URLs”.

(6)If there is already text in this box add a coma at the end of it, then follow the next step.

(8)Click the OK button to save the setting.

The textbox with the JSON link in it is illustrated here:

(9) In the Arduino IDE click on the Tools menu on the top menu bar.

(10) Scroll down to the Board: entry

(11) A submenu will open when you highlight the Board: entry.

(12) At the top of the submenu is Boards Manager. Click on it to open the Boards Manager dialog box.

(13)I n the search box in the Boards Manager enter “esp32”.

:developmentboard:4.png

(14) You should see an entry for “esp32 by Espressif Systems”. Highlight this entry and click on the

Install button. This will install the ESP32 boards into your Arduino IDE

Once the installation completes, we need to select the correct board options for the “ESP32 Arduino” board.

In the board type, in the tools tab, we choose “ESP32S3 Dev Module”.

Set and In the programmer entry of the same tab, we choose “esptool”.

It’s important to note that after the code is uploaded, the device will start to run it. So, if we

want to upload a new program, wee need to reset the power of the device, in order to

guarantee that it enters flashing mode again. First program

Since this platform is based on Arduino, we can use many of the usual functions. As an example for the

first program, the code bellow starts the Serial port and prints “hello from ESP32” every second. void setup() { Serial.begin(115200); } void loop() { Serial.println(“hello from ESP32”); delay(1000); }

If everything is working fine, we will see the output in the serial console shown.

Again thank you for so much concern.. Hopefully, it's the beginning of a wonderful relationship!

At present, only a preliminary explanation and introductory use are given to the samples displayed on

the screen, and the corresponding examples in the data center are found, as shown in the figure:

The examples in the red circle are all based on the Arduino_GFX library as the basic application. This

library supports various commonly used driver chips, such as ST7735, ST7789, ILI9341, etc., and has

good compatibility. Arduino_GFX library file installation:

Open the library manager in Arduino, search for Arduino_GFX, and click instal .

Although the Arduino_GFX library has many advantages, it may also have a troublesome place for

ordinary users, that is, after the installation

Find the data center 3_3-4_TFT-LVGL-Widgets

As shown:

Download two library files .

One -Arduino_GFX library

Copy the lv_conf.h of the data center .

As shown:

Put this file under the arduino library file, it must be in the same root directory as the library TFT_eSPI .

As shown:

Three-Lvgl demos The file is copied to the SRC folder

As shown:

After compiling, you can run LVGL and touch normally.

请输入您的评论. 可以使用维基语法:
 
  • developmentboard/esp32-s3-7.0inch_screen.txt
  • 最后更改: 2024/04/11 11:42
  • admin12