Welcome to the QSZNTEC Workshop!
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:
Stable release link: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Development release link: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
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
Put this file under the arduino library file, it must be in the same root directory as the library TFT_eSPI .