Difference between revisions of "ESP32 Display 2.8'' Intelligent Touch Screen Wi-Fi&BLE 240*320 HMI Display"

From Elecrow
Jump to navigation Jump to search
 
(33 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
'''Model: [https://www.elecrow.com/esp32-display-2-8-inch-hmi-display-spi-tft-lcd-touch-screen.html DIS04028H]'''<br>
 
'''Model: [https://www.elecrow.com/esp32-display-2-8-inch-hmi-display-spi-tft-lcd-touch-screen.html DIS04028H]'''<br>
[[file:28.jpg|426px|320px]]
+
[[File:28-ecp32dispaly-mainpic.png|400px]]
  
[[Image:Get_one_now.png|300px|link=https://www.elecrow.com/esp32-display-2-8-inch-hmi-display-spi-tft-lcd-touch-screen.html|alt=Alt text|Title text]]
+
::[[Image:Get_one_now.png|300px|link=https://www.elecrow.com/esp32-display-2-8-inch-hmi-display-spi-tft-lcd-touch-screen.html|alt=Alt text|Title text]]
 +
 
 +
== Feature  ==
 +
 
 +
*Integrated ESP32-WROOM-32 module, built-in wireless communication 2.4 GHz Wi-Fi (802.11 b/g/n) and Bluetooth 5.0;<BR>
 +
*Support development environment Arduino IDE, Espressif IDF, Lua RTOS, Micro python and compatible with LVGL graphics library;<BR>
 +
*Built-in LVGL demo interface and Arduino example, plug and play;<BR>
 +
*LCD 240*320 2.8 inches TFT-LCD with driver IC ILI9341V;<BR>
 +
*Rich peripheral interfaces and expansion functions enable it to meet the needs of different fields.<BR>
 +
<BR>
 +
 
 +
==Specification==
 +
*Model: 2.8 inches ESP32 display<BR>
 +
*Main Processor: ESP32-WROOM-32-N4<BR>
 +
*Resolution: 240*320<BR>
 +
*ColorDepth: 262K <BR>
 +
*Touch Type: Resistive Touch Screen<BR>
 +
*Touch Panel: TN Panel<BR>
 +
*Screen: TFT-LCD Screen<BR>
 +
*Display driver: ILI9341V<BR>
 +
*Interface: 1*TF Card Slot, 1* I2C, 1* GPIO, 1*Speak, 1* UART1, 1*UART0<BR>
 +
*Button: BOOT Button and Reset Button<BR>
 +
*Active Area: 85.8mm*54mm(W*H)<BR>
  
 
==PinOut==
 
==PinOut==
  
[[file:image (31).png]]
+
[[File:2.8.png|600px]]
 
{| class=wikitable
 
{| class=wikitable
 
|-
 
|-
Line 26: Line 48:
 
|-
 
|-
 
|BOOT
 
|BOOT
|Download button.Push it and the reset button at the same time to start the Firmware download mode.Through USB interface, users can download the upgraded firmware to modify the underlying software and add new function to the hardware.
+
|
 
|-
 
|-
 
|GPIO_D
 
|GPIO_D
Line 41: Line 63:
 
|-
 
|-
 
|BAT
 
|BAT
|Connect with the lithium battery.
+
|Connect with the lithium battery. Can charge the battery
 
|-
 
|-
 
|UART0
 
|UART0
Line 47: Line 69:
 
|}
 
|}
  
 +
{| class="wikitable"
 +
|-style="background:gray; color:white"
 +
| align="center" width="150" | '''2.8-inch HMI Port'''
 +
| align="center" width="300" | '''Pin Number'''
 +
|-style="background:white; color:black"
 +
| align="center" width="150" |GPIO_D
 +
| align="center" width="300" | IO25; IO32
 +
|-style="background:white; color:black"
 +
| align="center" width="150" | UART
 +
| align="center" width="300" | RX(IO16); TX(IO17)
 +
|-style="background:white; color:black"
 +
| align="center" width="150" | I2C
 +
| align="center" width="300" | SDA(IO22); SCL(IO21)
 +
|}
  
== Feature  ==
+
== Platforms Supported ==
 
+
{| class="wikitable"
*Integrated ESP32-WROOM-32 module, built-in wireless communication 2.4 GHz Wi-Fi (802.11 b/g/n) and Bluetooth 5.0;<BR>
+
|-style="background:gray; color:white"
*Support development environment Arduino IDE, Espressif IDF, Lua RTOS, Micro python and compatible with LVGL graphics library;<BR>
+
| align="center" width="150" | '''Arduino'''
*Built-in LVGL demo interface and Arduino example, plug and play;<BR>
+
| align="center" width="150" | '''SquareLine'''
*LCD 240*320 2.8 inches TFT-LCD with driver IC ILI9341V;<BR>
+
| align="center" width="150" | '''PlatformIO'''
*Rich peripheral interfaces and expansion functions enable it to meet the needs of different fields.<BR>
+
| align="center" width="150" | '''Home Assistant'''
<BR>
+
| align="center" width="150" | '''ESPHome'''
 
+
| align="center" width="150" | '''MicroPython'''
==Specification==
+
| align="center" width="150" | '''ESP-IDF'''
*Model: 2.8 inches ESP32 display<BR>
 
*Main Processor: ESP32-WROOM-32-N4<BR>
 
*Resolution: 240*320<BR>
 
*ColorDepth: 262K <BR>
 
*Touch Type: Resistive Touch Screen<BR>
 
*Touch Panel: TN Panel<BR>
 
*Screen: TFT-LCD Screen<BR>
 
*Display driver: ILI9341V<BR>
 
*Interface: 1*TF Card Slot, 1* I2C, 1* GPIO, 1*Speak, 1* UART1, 1*UART0<BR>
 
*Button: BOOT Button and Reset Button<BR>
 
*Active Area: 85.8mm*54mm(W*H)<BR>
 
 
 
==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:<BR>
 
[[file:image (1).png]]<BR>
 
[[file:image (2).png]]<BR>
 
[[file:image (3).png]]<BR>
 
[[image:esp32rgb_3.png|721px|469px]]
 
  
*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.<BR>
+
|- style="background:white;font-size: 90%"
[[image:esp32rgb_4.png|1289px|762px]]
+
| align="center" |[[File:Arduino.png|150px]]
*Add the ESP32 S3 URL as follows:
+
| align="center" |[[File:2a80b24a-38ae-4639-bbb1-af8b6c26891e.png|150px]]
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json<BR>
+
| align="center" |[[File:PlatformIO logo.svg.png|150px]]
[[image:esp32rgb_5.png|880px|616px]]
+
| align="center" |[[File:Home Assistant Logo.svg.png|150px]]
*The tool automatically downloads and updates the corresponding model, check the steps as shown in the figure:<BR>
+
| align="center" |[[File:Cd827929-5fbc-468f-be2a-5ddba0f92996.png|150px]]
[[file:image (7).png|800px|490px]]<BR>
+
| align="center" |[[File:MicroPython new logo.svg.png|150px]]
[[file:image (8).png|800px|490px]]<BR>
+
| align="center" |[[File:38b1d992-8f73-42bb-a922-318053d9042a.png|150px]]
*warn:
 
please install esp32 version 2.0.3, if you install another version,some modules may go wrong.
 
  
==Software settings:==
+
|}
*1. Under the "Tools" menu, see "Development Board ESP32" and select ESP32S3-WROOM-DA MODULE as shown in the figure.<BR>
 
[[file:image (9).png|800px|490px]]
 
*2. Under the "Tools" menu, see "Partition scheme" and select Huge APP(3MB No OTA/1MB SPIFFS)<BR>
 
[[file:image (10).png|800px|490px]]
 
*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.<BR>
 
  
==Download process==
+
{|
*1. Connect the motherboard and computer through a USB to type-c data cable;<BR>
+
|-
[[file:l28.jpg|426px|320px]]
+
|style="text-align: center;height:5em;width:6em;background:#7595F8;color:white"|'''NOTE'''
 +
|style="text-align: center;background:#B0C4DE;color:black;width:27em"|Please click on the titles to switch to the tutorial page.
 +
|}
  
*2. Click on the tool on the arduino software and select the corresponding serial port number;<BR>
 
[[image:esp32rgb_15.png|420px|559px]]
 
*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".<BR>
 
[[image:esp32rgb_16.png|778px|473px]]
 
*4. Click "upload" to upload the program to the ESP32 motherboard<BR>
 
[[image:esp32rgb_17.png|200px|87px]]
 
*Until the prompt upload is successful, as shown in the figure:<BR>
 
[[image:esp32rgb_18.png|834px|564px]]
 
  
 +
{|
 +
|-
 +
|style="text-align: center;height:5em;width:6em;background:#D83E3E;color:white"|'''For Beginners'''
 +
|style="text-align: center;background:#F57171;color:black;width:27em"|Please first click on 'Play with Arduino' to compile and run the factory demo program.
 +
|}
  
==Example==
+
==[https://www.elecrow.com/wiki/index.php?title=LVGL_ESP32_Display_Tutorial-A_Step-by-Step_Guide_to_LVGL_GUI_Development#Lesson01_Introducing_the_ESP32_Display_series_and_environment_configuration LVGL ESP32 Display Tutorial-A Step-by-Step Guide to LVGL GUI Development]==
===Example 1  Let the LED to turn on or turn off . ===
 
*Plug the LED module to GPIO-D Port.<br>
 
*Upload the [https://www.elecrow.com/wiki/index.php?title=File:A-LED_Blink.zip A-LED_Blink] to ESP display.<br>
 
[[file:image (21).png|800px|490px]]
 
*Running result:<BR>
 
[[file:d24.jpg|690px|518px]]
 
  
===Example 2 Control the display of an external OLED screen through I2C. ===
+
==[https://www.elecrow.com/wiki/index.php?title=ESP32_Display_2.8-inch_HMI_Arduino_Tutorial Play with Arduino (the factory demo code)]==
*Plug the OLED screen to the I2C port.<BR>
 
*Please check if you have installed the library [https://www.elecrow.com/wiki/index.php?title=File:U8g2.zip U8g2]<BR>
 
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:A-IIC-Screen.zip Download A-IIC-Screen] to the ESP display.<BR>
 
[[file:image (22).png|800px|490px]]
 
*Running result:<BR>
 
[[file:i24.jpg|690px|518px]]
 
  
===Example 3 Control the output of speaker.===
+
==[https://www.elecrow.com/wiki/index.php?title=2.4-2.8-3.5_inch_ESP32_Display_PlatformIO_Tutorial Play with PlatformIO]==
*Plug the speaker into SPK port.
 
*Please check if you have installed the library [https://www.elecrow.com/wiki/index.php?title=File:XT_DAC_Audio.zip XT_DAC_Audio]
 
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:SPEAK.zip SPEAK] to the ESP display
 
[[file:image (23).png|800px|490px]]
 
*Running result:<BR>
 
[[file:f24.jpg|690px|518px]]
 
  
===Example 4  Initialize Micro TF Card slot.===
+
==[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/HomeAssistant-esphome_28.zip Play with HomeAssistant]==
*Please check if you have installed the library [https://www.elecrow.com/wiki/index.php?title=File:SD.zip SD]
 
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:A-3.5-TF.zip A-3.5-TF] to the ESP display
 
[[file:image (24).png|800px|490px]]
 
*Running result:<BR>
 
[[file:image (25).png|800px|490px]]
 
  
===Example 5 initialize the touch signal.===
+
==[https://www.elecrow.com/wiki/index.php?title=ESP32_Display_2.8-inch_HMI_HomeAssistant_Tutorial Play with ESPHome]==
*Please check if you have install the library [https://www.elecrow.com/wiki/index.php?title=File:TFT_eSPI.zip TFT_eSPI]
 
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:A-2.8-TOUCH.zip A-2.8-TOUCH] to ESP display
 
[[file:image (26).png|800px|490px]]
 
*Running result:<BR>
 
[[file:image (32).png|800px|490px]]
 
  
===Example 6  initialize the interact communication of UART .===
+
==[https://www.elecrow.com/wiki/index.php?title=ESP32_Display_2.8-inch_HMI_MicroPython_Tutorial Play with MicroPython]==
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:A-3.5-UART.zip A-3.5-UART] to the ESP display
 
[[file:image (27).png|800px|490px]]
 
  
===Example 7  initialize the interact communication of Bluetooth.===
+
==[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/ESP-IDF_2.8.zip Play with ESP-IDF]==
*Please check if you have installed the library [https://www.elecrow.com/wiki/index.php?title=File:BLE.zip BLE]
 
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:A-BLE.zip A-BLE] to the ESP display.
 
[[file:image (28).png|800px|490px]]
 
*Running result:<BR>
 
[[file:b.jpg|540px|560px]]
 
 
 
===Example 8 initialize the interact communication of WIFI.===
 
*Please check if you have installed the bilrary [https://www.elecrow.com/wiki/index.php?title=File:WiFi.zip WiFi]
 
*Upload the code [https://www.elecrow.com/wiki/index.php?title=File:A-WIFI.zip A-WIFI] to the ESP display.
 
[[file:image (29).png|800px|490px]]
 
*Running result:<BR>
 
[[file:image (30).png|800px|490px]]
 
  
 
==FAQS==
 
==FAQS==
*'''For the User_Setup.h file settings in the TFT_eSPI library of this screen, please refer to: [https://drive.google.com/file/d/1WqN-G-MiGnDf9ffMZ2b3S1B9yy-SEgH4/view?usp=sharing User_Setup.h]'''
+
*[https://forum.elecrow.com/discussion/492/esp-terminal-esp32-hmi-display-faqs Click here to see the frequently asked questions of ESP32 display.]
*You can list you question at [https://forum.elecrow.com/ the forum] or contact with techsupport@elecrow.com for technology support.
+
*[https://www.youtube.com/watch?v=EARkhr3ABEY The tutorial video on uploading code for ESP32 displays.]
 +
*[https://forum.elecrow.com/discussion/495/how-to-upload-the-esp32-display-factory-program-by-arduino-ide How to upload the factory program.]
 +
*[https://forum.elecrow.com/discussion/510/how-to-install-the-factory-demo-firmware-with-flash-download-tool/p1?new=1 How to install factory firmware.]
 +
*You can list your question at [https://forum.elecrow.com/ the forum] or contact techsupport@elecrow.com for technology support.
  
 
== Resource  ==
 
== Resource  ==
*[https://www.elecrow.com/wiki/index.php?title=File:WZ2432R028-SCH%2BPCB.zip  2.8-SCH+PCB.zip]
+
*[https://www.elecrow.com/wiki/index.php?title=File:QD28180_Specification.pdf 2.8-Screen-Specification]
 +
*[https://www.elecrow.com/wiki/index.php?title=File:DIS04028H-SCH%2BPCB.zip  2.8-SCH+PCB.zip]
 
*[https://www.elecrow.com/wiki/images/1/15/2.4-2.8-3.5-WIKI%E4%BB%A3%E7%A0%81.zip 2.4-2.8-3.5-WIKI Example CODE.zip]
 
*[https://www.elecrow.com/wiki/images/1/15/2.4-2.8-3.5-WIKI%E4%BB%A3%E7%A0%81.zip 2.4-2.8-3.5-WIKI Example CODE.zip]
*[https://www.elecrow.com/wiki/index.php?title=File:Libraries.zip Libraries.zip]
+
*[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/Arduino_28.zip Arduino Libraries&LVGL Demo]
*[https://www.elecrow.com/wiki/index.php?title=File:LVGL_Arduino2.8RTP-CeShi-Hor.zip 2.8-LVGL_Demo.zip]
+
*[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/PlatformIO_28.zip PlatformIO_28.zip]
*[https://www.elecrow.com/wiki/index.php?title=File:2.8-Factory-Program.zip 2.8-Factory-Program.zip]
+
*[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/HomeAssistant-esphome_28.zip HomeAssistant-esphome_28.zip]
*[https://www.elecrow.com/wiki/index.php?title=File:WZ2432R028factory_firmware.zip 2.8-factory firmware.zip]
+
*[https://www.youtube.com/watch?v=kSZaVD0QaHE HomeAssistant Tutorial Video]
 +
*[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/2.8Micropython.zip 2.8Micropython.zip]
 +
*[https://www.elecrow.com/download/product/ESP32_Display/2.8inch/ESP-IDF_2.8.zip ESP-IDF_2.8.zip]
 +
*[https://youtu.be/Ls0uLyeAgiw SquareLine - 2.4/2.8/3.5-inch]
 +
 
 +
==Certification==
 +
*[https://wiki.elecrow.com/index.php?title=File:Esp32-wroom-32_mic_certificate.pdf ESP32-WROOM-32 MIC Certification]

Latest revision as of 02:33, 23 April 2024

Description

Elecrow ESP32 2.8-inch display is a powerful HMI touch screen with a 240*320 resolution LCD display. It uses the ESP32-WROOM-32 module as the main control processor, with a dual-core 32-bit LX6 microprocessor, integrated WiFi and Bluetooth wireless functions, a main frequency of up to 240MHz, providing powerful performance and versatile applications, suitable for IoT application devices and other scenes.

The module includes a 2.8-inch LCD display and a driver board. The display screen uses resistive touch technology and comes with a resistive touch pen, making the screen usage more flexible. In addition, the board has reserved a TF card slot, multiple peripheral interfaces, USB interface, speaker interface, battery interface, etc., providing more expansion possibilities. It supports development environments such as Arduino IDE, Espressif IDF, Lua RTOS, and Micro Python, and is compatible with the LVGL graphics library. This enables developers to not only customize their own UI interfaces but also to create interesting projects quickly and easily, greatly shortening the development cycle.

The ESP32 2.8-inch display is suitable for a wide range of scenes such as automotive HMI, medical equipment, industrial control, power, civil electronics, automation, GPS, new energy, and IoT application devices. Its various interfaces and expansion functions make it able to meet the needs of different fields, providing users with a more comprehensive solution.

Model: DIS04028H
28-ecp32dispaly-mainpic.png

Alt text

Feature

  • Integrated ESP32-WROOM-32 module, built-in wireless communication 2.4 GHz Wi-Fi (802.11 b/g/n) and Bluetooth 5.0;
  • Support development environment Arduino IDE, Espressif IDF, Lua RTOS, Micro python and compatible with LVGL graphics library;
  • Built-in LVGL demo interface and Arduino example, plug and play;
  • LCD 240*320 2.8 inches TFT-LCD with driver IC ILI9341V;
  • Rich peripheral interfaces and expansion functions enable it to meet the needs of different fields.


Specification

  • Model: 2.8 inches ESP32 display
  • Main Processor: ESP32-WROOM-32-N4
  • Resolution: 240*320
  • ColorDepth: 262K
  • Touch Type: Resistive Touch Screen
  • Touch Panel: TN Panel
  • Screen: TFT-LCD Screen
  • Display driver: ILI9341V
  • Interface: 1*TF Card Slot, 1* I2C, 1* GPIO, 1*Speak, 1* UART1, 1*UART0
  • Button: BOOT Button and Reset Button
  • Active Area: 85.8mm*54mm(W*H)

PinOut

2.8.png

SPK Output audio signal,connected with speakers.The motherboard comes with a power amplifier chip circuit.
PWR Power LED.
RST Reset button.Push it to reset the system.
BOOT
GPIO_D Digital and artificial I/O interface.
I2C Build the communication among micro controller and peripheral devices.
TF Provide off-line save and extra storage space.
UART1 Build the communication among Logic modules, including serial communication module and print module.
BAT Connect with the lithium battery. Can charge the battery
UART0 Provide serial communication, supply voltage(transform USB to UART0) and serial information printing.
2.8-inch HMI Port Pin Number
GPIO_D IO25; IO32
UART RX(IO16); TX(IO17)
I2C SDA(IO22); SCL(IO21)

Platforms Supported

Arduino SquareLine PlatformIO Home Assistant ESPHome MicroPython ESP-IDF
Arduino.png 2a80b24a-38ae-4639-bbb1-af8b6c26891e.png PlatformIO logo.svg.png Home Assistant Logo.svg.png Cd827929-5fbc-468f-be2a-5ddba0f92996.png MicroPython new logo.svg.png 38b1d992-8f73-42bb-a922-318053d9042a.png
NOTE Please click on the titles to switch to the tutorial page.


For Beginners Please first click on 'Play with Arduino' to compile and run the factory demo program.

LVGL ESP32 Display Tutorial-A Step-by-Step Guide to LVGL GUI Development

Play with Arduino (the factory demo code)

Play with PlatformIO

Play with HomeAssistant

Play with ESPHome

Play with MicroPython

Play with ESP-IDF

FAQS

Resource

Certification