Posts

Showing posts from November, 2022

Drive 320x240 ILI9341 SPI TFT using ESP32-S3 (NodeMCU ESP-S3-12K-Kit) using TFT_eSPI library, in Arduino Framework.

Image
Drive 2.4 inch 320x240 ILI9341 SPI TFT on Ai-Thinker NodeMCU ESP-S3-12K-Kit using TFT_eSPI library, in Arduino Framework. The steps same as in my former post " Drive ILI9341 (8-bit parallel) using ESP32-S3 (ESP32-S3-DevKitC-1) ", with custom user setup for SPI ILI9341 driver. The custom user setup I modify from is Setup70b_ESP32_S3_ILI9341.h (inside your local installed library folder or here ), copy it to the new created "TFT_eSPI_Setups" folder, rename as mySetup70b_ESP32_S3_ILI9341.h. For SPI connection, I follow the original assignment. For DC and RST pins, the original assigned pins (GPIO 7 and 6) are connected to LEDs in NodeMCU ESP-S3-12K-Kit (ref:  ESP-S3-12K-Kit Schematic ), so I re-assign to GPIO 16 and 15). mySetup70b_ESP32_S3_ILI9341.h // Setup for the ESP32 S3 with ILI9341 display // Note SPI DMA with ESP32 S3 is not currently supported #define USER_SETUP_ID 70 // See SetupX_Template.h for all options available #def

Get ESP32S3 Dev Module chip info and predefined pins (arduino-esp32), tested on NodeMCU ESP-S3-12K-Kit

Image
Exercise to get ESP32S3 Dev Module chip info and predefined pins (arduino-esp32), tested on NodeMCU ESP-S3-12K-Kit . ESP32S3_info_pins.ino #include <Esp.h> void setup() { delay(500); Serial.begin(115200); delay(500); Serial.println("\n\n=================================="); Serial.println("Get info and pre-defined pins in ESP32S3 Dev Module"); Serial.println("Tested on AI Thinker NodeMCU ESP-S3-12K-Kit:"); Serial.println("=================================="); Serial.printf("Chip Model: %s\n", ESP.getChipModel()); Serial.printf("Chip Revision: %d\n", ESP.getChipRevision()); Serial.printf("with %d core\n", ESP.getChipCores()); Serial.printf("Flash Chip Size : %d \n", ESP.getFlashChipSize()); Serial.printf("Flash Chip Speed : %d \n", ESP.getFlashChipSpeed()); esp_chip_info_t chip_info; esp_chip_info(&chip_info); Serial.printf("\nFeatures includ

my dev.board - NodeMCU ESP-S3-12K-Kit

Image
my dev.board - NodeMCU ESP-S3-12K-Kit ESP-S3-12K-Kit development board is a core development board designed byAi-Thinker for ESP-S3-12K module.This development board continues the classic design of the NodeMCU development board, leading all I/O to the sides of the pin, developers can connect peripherals according to their own needs.When using breadboard for development and debugging, the 2.54mm spacing pin header on both sides can make the operation more simple and convenient... ~ ref:  ESP-S3-12K-Kit specification (PDF) useful links: ~  ESP-S3-12K-Kit Schematic (PDF) ~  ESP-S3-12K module Specification (PDF)  Pin definition on bottom view: Exercise: ~  Get ESP32S3 Dev Module chip info and predefined pins (arduino-esp32), tested on NodeMCU ESP-S3-12K-Kit ~  Drive 320x240 ILI9341 SPI TFT using ESP32-S3 (NodeMCU ESP-S3-12K-Kit) using TFT_eSPI library, in Arduino Framework . ~ CameraWebServe: ESP32-S3 (arduino-esp32) + OV5640 camera module

Drive ILI9341 (8-bit parallel) using ESP32-S3 (ESP32-S3-DevKitC-1) in Arduino Framework

Image
This post show how to driver 2.8" 320x240 ILI9341 TFT with 8-bit parallel interface using Espressif ESP32-S3-DevKitC-1 , in Arduino framework, using TFT_eSPI library. Connection:  For my  2.8 inch 320x240 ili9341 TFT with 8/16BIT parallel interface , it's set in 16-bit data bus mode by default. To make it in 8-bit mode: Solder R4 with 0Ω resistor or short circuit directly, and disconnect R5. In 8-bit data bus mode, use DB8~DB15 data pin. Connection between Espressif ESP32-S3-DevKitC-1 and 2.8" 320x240 ili9341 TFT in 8-bit parallel interface: ESP32-S3 GPIO |      | V           V +------------+ | CLK T_CS | | F_CS PEN | | MOSI MISO | | NC GND | GND GND | GND VDD | 3V3 3V3 | VDD BL | 3V3 | SDCS DB15 | 3 14 | DB14 DB13 | 8 13 | DB12 DB11 | 18 12 | DB10 DB9 | 17 11 | DB8 DB7 | | DB6 DB5 | | DB4 DB3 | | DB2 DB1 | | DB0 RST    | 46 10 | RD WR | 16 9 | RS CS |