ESP32 TFT LCD with Camera(3.2'')

From MakerFabsWiki
Jump to: navigation, search


Introduce

This module is the 3.2” version of the ESP32 touchscreen display, based on ESP32-WROVER, with a built-in 2M pixel OV2640 camera. The LCD is 320x240 TFT, with driver is ILI9341, it uses SPI for communication with ESP32, the SPI main clock could be up to 60M~80M, make the display smooth enough for videos; and the camera OV2640 with pixel 2M, with this camera, you can make applications such as remote photography, face recognition….
While the camera not used, you can freely use all these pins with the breakout connectors, to connect the ESP32 display with sensors/ actuators, suitable for IoT applications.
This 3.2 inch ESP32 display is fully compatible with the Adafruit Arduino ILI9341 libraries, which make it easy to use with Arduino.
Model: ESP32 TFT Touch with Camera (3.2")
ESP32 Camera 3.2 101.jpg

Features

  • 3.2 inch display, 320x240, ili9341;
  • Resistive Touch;
  • ESP32-WROVER Controller;
  • 2M pixel OV2640 Camera;
  • WIFI/ BLE Connection.
  • Onboard USB2UART convertor for ESP32 programming;
  • Onboard SD card socket;
  • USB connector Type-C

Diagram

ESP32 Camera 3.2 102.jpg

Usage

Github: Project_Touch-Camera-ILI9341

Software setup

  • After Arduino IDE installed, follow the Installation Instructions to add ESP32 support if you are not yet doing it: https://github.com/Makerfabs/Makerfabs_FAQ.
  • Install library: Adafruit_GFX library.
  • Install library: Adafruit_ILI9341 library.
  • Install library: Adafruit_STMPE610 library.

Draw on the LCD

  • Connect the computer and the board through a Type-C USB cable.
  • Open the file "\Project_Touch-Camera-ILI9341\example\TouchDraw\TouchDraw.ino".
  • Select Tools-> Board-> ESP32 Wrover Module, and Tools-> Port-> COM….

ESP32 Camera 3.2 103.jpg

  • Verify and upload the code.
  • Reset ESP32. You can draw and write on the LCD.

ESP32 Camera 3.2 104.jpg

Display the picture

  • Open the file "\Project_Touch-Camera-ILI9341\example\SDtest\SDtest.ino".
  • Verify and upload the code.
  • Insert the SD card and reset the ESP32. The BMP file in the SD card will be displayed on the LCD.

ESP32 Camera 3.2 105.jpg

Camera test

  • Open the file "\Project_Touch-Camera-ILI9341\camera\camera.ino".
  • Verify and upload the code.
  • Insert the SD card and reset the ESP32. The image obtained by the ov2640 sensor will be displayed on the LCD screen.

ESP32 Camera 3.2 106.jpg


F&Q

You can list your question here or contact support@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.

Resources