ESP32 TFT LCD with Camera(3.5'')

From MakerFabsWiki
Revision as of 06:53, 15 September 2020 by Hefang (talk | contribs)

Jump to: navigation, search

The product isn't on the shelves yet!
Wiki not complete!


The ESP32 Touch Camera use ILI9488 screen, which comes with resistive or capacitive screens. Hava an OV2640 camera and SD card slot. It can be used as a webcam, an electronic album, or a digital camera. Support for Arduino and MicroPython.

Model: MAKT32

Error creating thumbnail: File with dimensions greater than 12.5 MP


  • Integrated ESP32 Wrover 2.4G WiFi and Bluetooth
  • Wi-Fi Protocols: 802.11b/g/n(802.11n up to 150Mbps),A-MPDU and A-MSDU aggregation and 0.4us guard interval support
  • Wi-Fi Frequency range: 2.402GHz - 2.483Ghz
  • Bluetooth Protocols: Bluetooth v4.2 BR/EDR and BLE specification
  • Bluetooth Radio: NZIF receiver with-97 dBm sensitivity, Class-1/class-2 and class-3 transmitter, AFH
  • Bluetooth Audio: CVSD and SBC
  • Arduino Compatible: You can play it with Arduino IDE
  • OV2640: A 1/4inch CMOS UXGA (1632*1232) image sensor manufactured by OmniVision
  • OV2640 supports output images up to 2 million pixels
  • LCD 3.5 inch Amorphous-TFT-LCD (Thin Film Transistor Liquid Crystal Display) for mobile-phone or handy electrical equipment
  • LCD Driver: ILI9488
  • LCD Resolution: 320*480
  • NS2009: A 4-wire resistive touch screen control circuit with I2C interface, which contains A 12-bit resolution A/D converter
  • FT6X36 Series ICs are single-chip capacitive touch panel controller IC with a built-in 16 bit enhanced Micro-controller unit (MCU)
  • Power supply: 5V, Type-C USB
  • Micro SD card slot on the board

Pin Definitions

MakePython ESP32 1.JPG
①IO34, IO35, IO36, IO39 input only.
②GPIO12 is internally pulled high in the module and is not recommended for use as a touch pin.


Warning: Don't operate when in power supply on

Software setup

1.Install the ESP32 boards supporting

  • Note After Arduino IDE installed, there is no package to support ESP32, we need to install the ESP32 package in Arduino IDE to continue.
  • Select “File>Preferences>settings>Additional Boards Manager URLs” to fill the link: [1]

MakePython ESP32 2.JPG

  • Click “Tools>Board>Boards Manager” to search for and install the ESP32 library:

MakePython ESP32 2.JPG
2.Select and setting the parameter in the Tools menu, as the picture
MakePython ESP32 2.JPG
3.Install Adafruit GFX library
Click “Tools> Manager Libraries” to search for and install Adafruit GFX library.
MakePython ESP32 2.JPG

Draw on LCD

1. You can get the code from here: Core
2. Open the file “\Project_Touch-Screen-Camera-master\touch_draw_v2\touch_draw_v2.ino”. Select the screen type used and comment out the ones that are not used.

Connect MakePython ESP32 to your computer through an USB cable, follow the steps:

  • Tools > Board and select the esp32:

MakePython ESP32 2.JPG

  • Go to Tools > Serial and select the com port your ESP is connected to(download the USB driver at: CP210x USB)
  • Press the Connect button to establish a serial communication with your board.

MakePython ESP32 3.JPG

MakePython ESP32 Projects

Project_1: Ultrasonic Ranging

We use the HC-SR04 Module at:
MakePython ESP32 4.JPG

  • Sensor Connection
  • Connect the simple sensor to ESP32 boards as following:
HC-SR04 Pins MakePython ESP32 Pins
Trig IO13
Echo IO12

Connect MakePython ESP32 to your computer through an USB cable.

  • Download the and driver library from here:Code
  • File > open and select the and

MakePython ESP32 5.JPG

  • Click on the right to DownloadAndRun MakePython ESP32 6.JPG
  • Download the sample code:
  • File > open and select the, then click DownloadAndRun

MakePython ESP32 7.JPG

Project_2: Web Server Control LED

1.Connect LED

Connect the long LED pin to the end of the 330R resistor, the other end of the resistance is connected to 3.3v,the short pin of the LED lamp is connected to the IO5 of ESP32. As follows:
MakePython ESP32 8.JPG

2.Connect WiFi

Click to download the file.
open the file and modify the 'SSID' and 'PASSWORD' to local WIF and password:

SSID = "Makerfabs"     #Modify here with SSID
PASSWORD = "20160704"  #Modify here with PWD

MakePython ESP32 9.JPG

After saving and clicking run, you can see network config, followed by the IP/netmask/gw/DNS address of the interface:

MakePython ESP32 10.JPG

3.control LED

Enter the IP address printed from the serial port in any browser, with any computer in the same WIFI, to control the LED on/off:

MakePython ESP32 11.JPG

When you click 'ON' with the mouse, the LED will turn on, and when you click off, the LED will turn off:

MakePython ESP32 12.JPG


You can list your questions here or contact with for technology support.