Posts

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 modul...

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  ...

2.8 inch 320x240 ili9341 TFT with 8/16BIT parallel interface

Image
2.8" 320x240 ili9341 TFT with 8/16BIT parallel interface: - 2.8-inch color screen, support 16BIT RGB 65K color display - 240x320 resolution for clear display - Support 8-bit/16-bit parallel bus selectable using resistor (the default is 16-bit) - Support for touch function - Support SD card function expansion product page ~ LCDWiKi:2.8inch 16BIT Module ILI9341 SKU:MRB2801 It's set 16 bit 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. Exercise: ~  Drive ILI9341 (8-bit parallel) using ESP32-S3 (ESP32-S3-DevKitC-1) in Arduino Framework ~  ILI9341 (8bit parallel bus) display on RP2040/CircuitPython ~  RP2040/CircuitPython 8.1.0 Beta 1, play animated GIF on 8 bit parallel bus ILI9341 .

BLE Remote Control between ESP32-S3/C3 using ArduinoBLE Library

Image
It's examples modified from ArduinoBLE example to show how to implement BLE Remote Control between  Espressif ESP32-S3-DevKitC-1 an AI Thinker NodeMCU ESP-C3-32S-Kit . In order to make it work on my dev.boards, we have to re-config the pin accordingly. Modified LED.ino, run on NodeMCU ESP-C3-32S-Kit. /* LED This example creates a Bluetooth® Low Energy peripheral with service that contains a characteristic to control an LED. The circuit: - Arduino MKR WiFi 1010, Arduino Uno WiFi Rev2 board, Arduino Nano 33 IoT, Arduino Nano 33 BLE, or Arduino Nano 33 BLE Sense board. You can use a generic Bluetooth® Low Energy central app, like LightBlue (iOS and Android) or nRF Connect (Android), to interact with the services and characteristics created in this sketch. This example code is in the public domain. */ #include <ArduinoBLE.h> BLEService ledService("19B10000-E8F2-537E-4F6C-D104768A1214"); // Bluetooth® Low Energy LED Servi...

BLE UART Communication between ESP32-C3 (Xiao ESP32C3 and NodeMCU ESP-C3-32S-Kit)

Image
The previous post show a exercise of " BLE UART Communication between XIAO ESP32C3 (client/central) and nRF52840 (server/peripheral), in Arduino Framework ". This exercise implement the server/peripheral side on NodeMCU ESP-C3-32S-Kit with SSD1331 SPI Color OLED . The client/central side, XESP32C3_BLE_client_OLED_Terminal.ino, run on XIAO ESP32C3 with SSD1306 OLED, refer to the previous exercise . ESP32C3_BLE_uart_server_SSD1331.ino, server/peripheral side on NodeMCU ESP-C3-32S-Kit with SSD1331 SPI Color OLED. /* * Modify Examples for ESP32C3 Dev Module * > ESP32 BLE Arduino * > BLE_uart * Run on NodeMCU ESP-C3-32S-Kit. * With UUID of Nordic UART Service (NUS), to work with * XESP32C3_BLE_client_OLED_Terminal run on Xiao ESP32C3. */ #include <BLEDevice.h> #include <BLEServer.h> #include <BLEUtils.h> #include <BLE2902.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1331.h> #inc...