Posts

Showing posts from May, 2025

Arduino_GFX_Library + LVGL on ESP32S3 + ST7789 SPI IPS with FT6236 cap touch, create button to toggle onboard LED

Image
Last exercise on Xiao ESP32S3 Sense, to display on 240x240 ST7789V2 SPI IPS using Arduino_GFX_Library, and interface FT6236 cap touch using Wire I2C, in Arduino framework . This exercise add function of LVGL. Connection , following in last exercise . Preparation: - Install GFX Library for Arduino in Arduino IDE Library Manager,   follow last exercise , make sure both ST7789 and FT6236 works. - Install LVGL library in Arduino IDE Library Manager.   Using LVGL with Arduino requires some extra steps:   *Be sure to read the docs here: https://docs.lvgl.io/master/get-started/platforms/arduino.html   Copy lv_conf_template.h in lvgl library directory, rename as lv_conf.h and save into the Arduino Libraries directory. To enable the content of the file, change the first #if 0 to #if 1. #if 1 //0 /*Set it to "1" to enable content*/ Exercise code: XIAOS3_ST7789_FT6236_LVGL_Arduino_v9.ino , my exercise to create a ...

240x240 ST7789V2 SPI IPS with FT6236 cap touch on XIAO ESP32S3 using GFX Library for Arduino

Image
My exercise on  Seeed Studio XIAO ESP32S3 Sense (Arduino framework) to display on  1.54 inch 240x240 ST7789V2 SPI IPS with FT6236 cap touch . ST7789 Display part using GFX Library for Arduino FT6236 Cap touch part read via I2C (Wire) Connection: ST7789V2 -------- GND GND VCC 3V3 SCL GPIO7 SDA GPIO9 RES GPIO1 DC GPIO2 CS GPIO3 BLK GPIO4 FT6236 ------ SCL GPIO6 SDA GPIO5 INT GPIO43 (Not used) RST GPIO44 Exercise Code: XS3_ST7789_GFX_color_touch.ino /* XIAO ESP32S3 display on 240x240 ST7789 SPI IPS with FT6236 cap touch using GFX Library for Arduino - Color and Touch Test Arduino_GFX https://github.com/moononournation/Arduino_GFX Connection: ST7789V2 -------- GND GND VCC 3V3 SCL GPIO7 SDA GPIO9 RES GPIO1 DC GPIO2 CS GPIO3 BLK GPIO4 FT6236 ------ SCL GPIO6 SDA GPIO5 INT Not use RST GPIO44 */ #include <Arduino_GFX_Library.h> #include <Wire.h> /...

1.54 inch 240x240 ST7789V2 SPI IPS with FT6236 cap touch

Image
1.54 inch 240x240 ST7789V2 SPI IPS with FT6236 cap touch Exercise: ~  240x240 ST7789V2 SPI IPS with FT6236 cap touch on XIAO ESP32S3 using GFX Library for Arduino ~  Arduino_GFX_Library + LVGL on ESP32S3 + ST7789 SPI IPS with FT6236 cap touch, create button to toggle onboard LED

LVGL on Raspberry Pi Pico 2 (Arduino framework/arduino-pico) with 320x480 TFT SPI ST7796 + FT6336U Capacitive Touch

Image
LVGL (Light and Versatile Graphics Library) is a popular free and open-source embedded graphics library to create beautiful UIs for any MCU, MPU and display type, supports working with the TFT_eSPI library. Following previous exercise " Raspberry Pi Pico 2 drive 4.0" 320x480 TFT SPI ST7796 with FT6336U Capacitive Touch + SD, in Arduino framework ", this exercise show steps to add LVGL on top of TFT_eSPI, on Raspberry Pi Pico 2. Install lvgl library in Arduino IDE's Library Manager. Using LVGL with Arduino requires some extra steps: Be sure to read the docs here: https://docs.lvgl.io/master/integration/framework/arduino.html Follow these configuration steps: - Go to the directory of the installed Arduino libraries - Go to lvgl and copy lv_conf_template.h as lv_conf.h into the Arduino Libraries directory next to the lvgl library folder. - Open lv_conf.h and change:   To enable the content of the file:   change the first #if 0 to #if 1   To use T...