ภาษาไทย
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
- 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.
- 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.
1. Download the project and unzip it to Arduino Directory.
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.
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.
4. Match the Esp32 settings to your board, here's my setting for AIOT board. Don't forget to enable OPI PSRAM.
5. Upload the code to Esp32 and you're done.
Thanks to Wireless Solution Asia for providing essentials tools and Bodmer / TFT_eSPI for TFT libraries.