Skip to content

San279/camera-tft-esp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

camera-tft-esp32

ภาษาไทย

This project was indended to provide an insight for displaying Esp32 camera feed to ST7789 driver or any TFT screens using the Arduino IDE. The Hardware that was used were provided by Wireless Solution Asia Follow few steps below and you're good to go. For more information please visit Bodmer / TFT_eSPI

alt_text

What you'll need

  • Arduino IDE, preferably the latest ones, but older versions will still do the job.
  • AIoT board Esp32-S3 or Esp32 with PSRAM.
  • ST7789 or any TFT screens

    Here's the Pinout of the AIoT Board with ESP32 Camera and ST7789 (TFT) used for this project.

    alt_text

Project files descriptions

  • camera-to-tft - Contain Arduino codes to display camera feed to tft screen continously.
  • User_Setup.h - Contain driver types, pinout, resolution, and etc. This needs to be placed inside the TFT_eSPI library.

Run the project

1. Download the project and unzip it to Arduino Directory.

alt_text



2. Download TFT_eSPI library from Arduino's download manager or github Bodmer / TFT_eSPI. If you're using github to download you will need to add custom library using zip file.

alt_text



3. Replace User_Setup.h inside TFT_eSPI library with this User_Setup.h. From Arduino's directory, go to libraries -> TFT_eSPI and replaced the file. If you're using different Esp32 pinout, driver types, and resolutions please change it in User_Setup.h line 221, 88, and 55.

alt_text



4. Match the Esp32 settings to your board, here's my setting for AIOT board. Don't forget to enable OPI PSRAM.

alt_text



5. Upload the code to Esp32 and you're done.

alt_text



Credits

Thanks to Wireless Solution Asia for providing essentials tools and Bodmer / TFT_eSPI for TFT libraries.