-20C to 70C
-20C to 70C
-40C to 85C
5V DC (recommended), 3.3V to 5.5V DC (tolerance)
< 500mA (average), < 1A (peak)
95mm x 55mm x 15mm (L x W x H)
Ordering Information
The ELECROW 3.5" SPI TFT Touch Display with ESP32 Terminal & OV2640 Camera is available for purchase through authorized distributors and online marketplaces. Please contact the manufacturer or authorized distributors for pricing and availability information.
Component OverviewThe ELECROW 3.5" SPI TFT Touch Display with ESP32 Terminal & OV2640 Camera is a versatile IoT component that integrates a vibrant 3.5" SPI TFT display, an ESP32 microcontroller Terminal, and an OV2640 camera module. This compact component is ideal for developing interactive and visually appealing IoT projects, such as smart home devices, industrial control panels, and robotics applications.Technical SpecificationsDisplay:
+ 3.5" SPI TFT LCD with 320x480 resolution
+ 16-bit color depth, 65K colors
+ Supports SPI communication
ESP32 Terminal:
+ Dual-core 32-bit LX6 microprocessor
+ Wi-Fi and Bluetooth 4.2 capabilities
+ 520KB SRAM, 4MB Flash memory
OV2640 Camera:
+ 2-megapixel CMOS image sensor
+ Supports VGA, CIF, and QVGA resolutions
+ Built-in JPEG compression
Power and Interfaces:
+ Operating voltage: 3.3V
+ Supports SPI, I2C, UART, and GPIO interfaces
+ Micro-USB programming interfaceCode Examples### Example 1: Displaying an Image on the TFT Display using ESP32In this example, we'll demonstrate how to display a bitmap image on the TFT display using the ESP32 microcontroller.Hardware Connections:Connect the TFT display to the ESP32 as follows:
+ TFT_CS (Chip Select) to ESP32's GPIO 22
+ TFT_CLK (Clock) to ESP32's GPIO 18
+ TFT_MOSI (Master Out Slave In) to ESP32's GPIO 23
+ TFT_RST (Reset) to ESP32's GPIO 21
Connect the OV2640 camera module to the ESP32 as follows:
+ Camera PWDN (Power Down) to ESP32's GPIO 32
+ Camera RESET to ESP32's GPIO 33
+ Camera SCL (Clock) to ESP32's GPIO 14
+ Camera SDA (Data) to ESP32's GPIO 15Software:Install the TFT_eSPI library for the ESP32 using the Arduino IDE.
Create a new Arduino project and add the following code:
```c
#include <TFT_eSPI.h>
#include <SPI.h>TFT_eSPI tft = TFT_eSPI(); // Create a TFT_eSPI objectvoid setup() {
Serial.begin(115200);
tft.begin(); // Initialize the TFT display
}void loop() {
tft.fillScreen(TFT_BLACK); // Clear the screen with black color
tft.setRotation(1); // Set the rotation to 90 degrees// Load a bitmap image from the SD card (not included in this example)
tft.drawImage(0, 0, 320, 480, image_data);delay(1000);
}
```
Note: Replace `image_data` with the actual bitmap image data stored in a character array or loaded from an SD card.### Example 2: Capturing and Displaying a Camera Image using ESP32In this example, we'll demonstrate how to capture an image using the OV2640 camera module and display it on the TFT display using the ESP32 microcontroller.Hardware Connections:Connect the OV2640 camera module to the ESP32 as follows:
+ Camera PWDN (Power Down) to ESP32's GPIO 32
+ Camera RESET to ESP32's GPIO 33
+ Camera SCL (Clock) to ESP32's GPIO 14
+ Camera SDA (Data) to ESP32's GPIO 15
Connect the TFT display to the ESP32 as follows:
+ TFT_CS (Chip Select) to ESP32's GPIO 22
+ TFT_CLK (Clock) to ESP32's GPIO 18
+ TFT_MOSI (Master Out Slave In) to ESP32's GPIO 23
+ TFT_RST (Reset) to ESP32's GPIO 21Software:Install the OV2640 camera library for the ESP32 using the Arduino IDE.
Create a new Arduino project and add the following code:
```c
#include <OV2640.h>
#include <TFT_eSPI.h>OV2640 cam; // Create an OV2640 camera object
TFT_eSPI tft = TFT_eSPI(); // Create a TFT_eSPI objectvoid setup() {
Serial.begin(115200);
cam.init(); // Initialize the camera module
tft.begin(); // Initialize the TFT display
}void loop() {
cam.capture(); // Capture an image using the camera module
uint16_t image_data = cam.getImageData(); // Get the captured image datatft.fillScreen(TFT_BLACK); // Clear the screen with black color
tft.setRotation(1); // Set the rotation to 90 degrees// Display the captured image on the TFT display
tft.pushImage(0, 0, 320, 240, image_data);delay(1000);
}
```
Note: The `getImageData()` function returns a pointer to the captured image data, which is then displayed on the TFT display using the `pushImage()` function.These examples demonstrate the basic functionality of the ELECROW 3.5" SPI TFT Touch Display with ESP32 Terminal & OV2640 Camera component. You can expand on these examples to develop more complex IoT projects that leverage the capabilities of this versatile component.