ESP32 3.5 inch(RGB)
Contents
Description
This Elecrow terminal is a microcontroller based on the ESP32 master. It adopts Xtensa 32-bit LX7 dual-core processor with a main frequency of up to 240Mhz, supports 2.4GHz Wi-Fi and Bluetooth 5 (LE), and can easily handle common edge terminal device application scenarios, such as industrial control, agricultural production environment detection and processing, intelligent logistics monitoring, smart home scenarios and more. This terminal also has a 3.5-inch parallel RGB interface capacitive touch screen with a resolution of 320*480 to ensure perfect image output at a frame rate (FPS) of 60. On the back of this terminal, we have introduced 4 Crowtail interfaces, which can be used with our Crowtail series sensors, plug and play, and create more interesting projects quickly and conveniently. In addition, it is also equipped with an SD card slot for extended storage (SPI leads) and a buzzer function. It support ESP-IDF and Arduino IDE development, and is compatible with Python/Micropython/Arduino. It also support LVGL, which is the most popular free and open-source embedded graphics library to create beautiful UIs for any MCU, MPU and display type. The onboard charging circuit and lithium battery interface can use the type-c power supply interface to supply power and charge the battery at the same time, providing more outdoor scene expansion possibilities. This terminal uses an acrylic shell, which can not only protects the screen, but also makes it more beautiful. The size is only a pocket size, small and portable; two M3 fixing holes are easy to fix, making it easier for you to set up your project.
In addition, our other screen with SPI interface, while ensuring the basic visual effect, adds more Crowtail interface and Camera/microphone functions to it. For details, please click here
Hardware Overview
- REST button. Press this button to reset the system.
- LiPo port. Lithium battery charging interface (lithium battery not included)
- BOOT button. Hold down the Boot button and press the RESET button to initiate firmware download mode. Users can download firmware through the serial port
- 5V Power/Type C interface. It serves as the power supply for the development board and the communication interface between the PC and ESP-WROOM-32.
- 4 Crowtail interfaces. Users can program the ESP32-S3 to communicate with peripherals connected to the Crowtail interface.
Feature
- Integrated ESP32-S3 module, which is support 2.4 GHz Wi-Fi and Bluetooth 5 (LE)
- LCD 3.5 inches parallel TFT-LCD with 320*480 resolution
- Compatible with Arduino/Python/MircoPython
- Mature software support, support ESP-IDF and Arduino IDE development
- Support open-source Graphics Library-LVGL
- Support 1T1R mode, data rate up to 150 Mbps, Wireless Multimedia (WMM)
- Perfect security mechanism, support AES-128/256, Hash, RSA, HMAC, digital signatures and secure boot
- Onboard charging chip and interface, use Type-c interface to charge
- With 4 Crowtail interfaces (HY2.0-4P connector) , plug and play with various Crowtail sensor
Specification
- ESP32-S3 module with 16MB Flash and 8 MB PSRAM
- Wi-Fi Protocol: 802.11b/g/n (802.11n up to 150Mbps) Wi-Fi Frequency Range: 2.402GHz - 2.483Ghz
- Support Bluetooth 5
- With 4 Crowtail interfaces (HY2.0-4P connector) and onboard Micro TF card slot
- 3.5-inch TFT LCD RGB true color LCD screen with 320*480 resolution
- Driver chip: ILI9488 (16-bit parallel line)
- Capacitive touch panel controller IC FT6236 series
- Operating Voltage: DC 5V-500mA
- Operating temperature: -10°C ~ 65°C
- Active Area: 73.63(L)*49.79mm(W)
- Appearance Dimensions: 106(L)x66mm(W)*13mm(H)
Development environment configuration
- 1. Please go to the official website https://www.arduino.cc/ to download the Arduino IDE development tool and download the corresponding library file, install the tool, click the start icon: open as shown in the figure:
- 2. Click the "File" menu, select "Preferences" in the drop-down menu, and then the picture will appear: Unzip the downloaded library file and put it in the libraries folder.
- Add the ESP32 S3 URL as follows:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- The tool automatically downloads and updates the corresponding model, check the steps as shown in the figure:
Software settings:
- 1. Under the "Tools" menu, see "Development Board ESP32" and select ESP32S3 DEV MODULE as shown in the figure.
- 2. Under the "Tools" menu, see "Flash Mode" and select QIO 80MHz
- 3. Under the "Tools" menu, see "Flash Size" and select 16MB (128Mb)
- 4. Under the "Tools" menu, see "PSRAM OPI PSRAM" and select OPI PSRAM
- 5. View and open the serial port as shown in the figure:
- warn:
If the CH340G driver is not installed on your PC, please install the CH340G driver first, or switch the SWITCH switch to the USB position and connect it with a USB cable.
Download process
- 1. Connect the motherboard and computer through a USB to type-c data cable;
- 2. Click on the tool on the arduino software and select the corresponding serial port number;
- 3.Click to open the serial port assistant, then click the boot button on the motherboard, and then press the reset button until the serial port assistant displays "waiting for download".
- 4. Click "upload" to upload the program to the ESP32 motherboard
- Until the prompt upload is successful, as shown in the figure:
Example
- Example 1 display screen color
- After the B-ScreenColor.ino code is downloaded, the restart screen will display different colors.
- Running result:
- Example 2 Display pictures and read TF card pictures
- After the F-photo.ino code is downloaded, the photo screen will be displayed on the restart screen.
- Running result:
- Example 3 Adjust IO40 to control the flashing time of the external LED light as shown in the figure below.
- After downloading the D-D-PortOut.ino code, restart the screen and the LED will flash alternately.
- Running result:
- Example 4 Control the display of an external OLED screen through I2C
- After downloading the E-IIC.ino code, restart the screen to realize the peripheral OLED display.
- Running result:
- Example 5 reads the external ADC through the A port as shown in the figure below.
- After downloading the A-ADC.ino code, restart the screen to realize the ADC function.
- Running result:
- Example 6, control the buzzer to make a sound.
- After downloading the A-BUZZER.ino code, restart the screen to realize the buzzer function.
- Example 7, set WIFI name and password to connect automatically.
- After downloading the A-WIFI.ino code, restart the screen to realize the WiFi connection.
- Running result:
- Example 8, LVGL, download LVGL routines, and display UI components (LVGL tools are required to generate corresponding codes before use)
- After downloading the LVGL_RGB.ino code, restart the screen to realize the function.
- Running result: