Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
ESP32-S3-LCD-1.69 is a low-cost, high-performance MCU board designed by Waveshare, embedded with 240MHz dual-core processor, tiny size, with onboard 1.69inch 262K LCD display, Lithium battery recharge manager, 6-axis sensor (3-axis accelerometer and 3-axis gyroscope), WiFi/Bluetooth antenna, RTC, and so on, which makes it easy for you to develop and integrate it into products quickly.
When using the GPIO header reserved on the ESP32-S3-LCD-1.69 board, please pay attention to the wiring colors and corresponding functions.
Please avoid wrong wiring as it may cause the burning of the board.
esp-idf: configure esp-idf extension
esp-idf:show examples projects
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Note: This product uses USB to connect Type-C, if there is a situation where the chip information cannot be output, please modify the Serial.print function in the code to "printf" function to output directly to the USB.
Note: The difference from the traditional SPI protocol is that the data line sent from the slave to the host is hidden because it only needs to be displayed. Please refer to Datasheet Page 66 for the table.
RESX is reset, it is pulled low when the module is powered on, usually set to 1;
CSX is the slave chip select, and the chip will be enabled only when CS is low.
D/CX is the data/command control pin of the chip, when DC = 0, write command, when DC = 1, write data.
SDA is the transmitted data, that is, RGB data;
SCL is the SPI communication clock.
For SPI communication, data is transmitted with timing, that is, the combination of clock phase (CPHA) and clock polarity (CPOL):
The level of CPHA determines whether the serial synchronization clock is collected on the first clock transition edge or the second clock transition edge. When CPHA = 0, data acquisition is performed on the first transition edge;
The level of CPOL determines the idle state level of the serial synchronous clock. CPOL = 0, which is a low level.
As can be seen from the figure, when the first falling edge of SCLK starts to transmit data, 8-bit data is transmitted in one clock cycle, using SPI0, bit-by-bit transmission, high-order first, and low-order last.
When using the LVGL library, you need to modify the configuration of the corresponding screen, it is recommended to directly use the "lib" library in the sample demo. Copy the library folder to the C:\Users\xxxxx\Documents\Arduino\libraries directory, and note that xxxx represents the user name of your computer.
The provided lib is in "lib\TFT_eSPI_Setups\Setup208_ST7789.h", and you can set the parameters.
Open Arduino IDE, and click on File -> Examples -> TFT_eSPI (in the customization library at the bottom) -> Test and diagnostics -> Colour_Test demo, then compile and upload.
Provides esp-idf-st7789 example of ESP-IDF driver ST7789V2.
Required ESP-IDF version is ESP-IDF V5.x.
LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library designed for embedded systems and is ideal for use on resource-limited devices such as the ESP32-S3. In the sample demo, you can use LVGL_Arduino to quickly verify the screen effect.
When developing with the LVGL framework, you can call the components according to the component descriptions provided by LVGL8.3 Documents.
The following is LVGL example in the Arduino IDE.
This function button is designed to solve the problem of peripheral buttons with fewer functions, the working principle is as follows:
After pressing the PWR can make the battery power supply, at this time the system starts, the system should be defined GPIO35 continuous output high level to maintain the effect of the power-up, at this time to release the PWR will not power-off. PWR at this time the function that can be pulled down GPIO36, the system detects the GPIO36 pressed, continuous press and long press, you can customize the shutdown control operation, such as long press mode the system to set the GPIO35 low level Disconnect the battery power supply, you can complete the multi-function button use.
The board is reserved for voltage divider, use GPIO1 to read the analog value and learn the battery voltage through the voltage divider formula.
PCF85063 RTC clock provides functions such as timed tasks, accurate time tracking, and low-power wake-up and so on.
The RTC function can be easily enabled with the sample demo.
QMI8658 provides applications such as posture detection, gait analysis, fall detection, and so on. Also, you can integrate it into your smart wearable devices.
You can verify multi-axis acceleration change through the sample demo, and the data can be observed directly through the view meter.
Timed tasks, timed alarms and other applications can be realized by combining RTC.
Please check whether the version of esp32 hardware library is 2.0.11, after confirming the version, select the corresponding development board to compile and burn in, please note that after selecting the corresponding development board through Tools, the option of Zigbee will not appear, or else the environment of esp32 hardware library is not effective.
1. When you find the board is hot, please make sure to pull down the GPIO33 first, and pull down the buzzer pin, otherwise the passive buzzer is like a resistor that consumes power all the time, which leads to the LDO current pressure is very hot.
2. If you also use WiFi/Bluetooth function, hot is unavoidable, ESP32-S3 open wireless function related to power consumption will increase, resulting in heat.
3. It is not recommended to turn on the PSRAM function, if it is turned on, in the ESP-IDF and other scenarios may not pull down the GPIO33 or affect the display, at this time, we recommend removing the buzzer resistor to disconnect its function.
4. In the Arduino IDE environment, turn on the PSRAM, use external Flash, pull down the GPIO33, it will still cause a lot of heat, it is recommended to use a low-power program to play!
The LCD screen display chip used in this product is ST7789V2, and the touch chip is CST816T, there are drivers for the two chips in the libs we provided, for the display driver, please refer to TFT_eSPI enable, and for the touch driver, please refer to the Arduino_LVGL sample demo.
This product is a development board and is not an end product. The product ecology is ESP32 core, and the ecology is very mature, the development environment is also very friendly, we do not assist in modifying the code, so creators, and geeks can play with their own DIY ability, if you have any questions you can ask the development engineers to answer for you.
If you think our products are good, and hope to batch customized hardware, customized shell, customized software, etc., welcome to contact the development engineers!
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Mobile: +86 13434470212
Email: services01@spotpear.com