Posts

Showing posts with the label display ILI9488 SPI

ILI9488 SPI LCD on Raspberry Pi/Python using Luma.LCD

Image
Luma.LCD  provides a Python3 interface to small LCD displays connected to Raspberry Pi and other Linux-based single-board computers (SBC). It provides a Pillow-compatible drawing canvas, and other functionality. This exercises tested on Raspberry Pi 4/64-bit Raspberry Pi OS (bookworm) using Python3 + Luma.LCD to driver 3.5 inch 480x320 ILI9488 SPI LCD . Connection: Follows the suggested wiring for ILI9488 in Luma.LCD docs . Enable SPI Interface: Make sure SPI is enabled in Raspberry Pi using raspi-config. ( https://luma-lcd.readthedocs.io/en/latest/hardware.html#enabling-the-spi-interface ) sudo raspi-config Create Python virtual environment Install luma.lcd: Create Python virtual environment to include site packages: python -m venv --system-site-packages envPy_luma Activate the virtual environment: source envPy_luma/bin/activate install the latest version of the library in the virtual environment with: pip install --upgrade luma.lcd Ex...

Display on 320x480 ILI9488 SPI TFT with Nano 33 BLE nRF52840 using Arduino_GFX Library (Arduino framework)

Image
This video show steps to display on 3.5" 320x480 ILI9488 SPI TFT with Nologo Nano 33 BLE nRF52840 using Arduino_GFX Library (Arduino framework). Makesure "GFX Library for Arduino" is installed in Arduino IDE Library Manager. Open Examples > GFX Library for Arduino > HelloWorldGfxfont Replace the code of Arduino_GFX setting, /******************************************************************************* * Start of Arduino_GFX setting ******************************************************************************/ #include <Arduino_GFX_Library.h> #define TFT_CS D10 #define TFT_RESET D9 #define TFT_DC D8 #define TFT_MOSI D11 #define TFT_SCK D13 #define TFT_LED D7 #define TFT_MISO -1 // not used for TFT #define GFX_BL TFT_LED // backlight pin /* More data bus class: https://github.com/moononournation/Arduino_GFX/wiki/Data-Bus-Class */ Arduino_DataBus *bus = new Arduino_HWSPI(TFT_DC, TFT_CS); /* More display c...

480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library

Image
Display on 3.5 inch 480x320 TFT with SPI ILI9488 (SKU:MSP3520) with XIAO EP32C3 (arduino-esp32) using Arduino_GFX Library. Install GFX Library for Arduino (Arduino_GFX) in Library Manager. Arduino_GFX is a Arduino graphics library supporting various displays with various data bus interfaces. This library start rewrite from Adafruit_GFX, LovyanGFX, TFT_eSPI, Ucglib, and more... Connection:      Connection between XIAO ESP32C3 and      3.5" 480x320 TFT with SPI ILI9488 (SKU:MSP3520)      XIAO ESP32C3                        +-------------+           +---------|GPIO2    5V      |          | +-----|GPIO3    GND    |-----------+ | +-|-----|GPIO4    3V3    |---------+ | | | | +---|GPIO5    GPIO10|-----...

my display module - 3.5inch 480x320 TFT with SPI ILI9488 (SKU:MSP3520)

Image
3.5inch 480x320 TFT with SPI ILI9488, with touch and SD card slot (SKU:MSP3520) ~ Product Page Exercises: Arduino Framework: ~  480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library ~  Display on 320x480 ILI9488 SPI TFT with Nano 33 BLE nRF52840 using Arduino_GFX Library (Arduino framework) ~  Raspberry Pi Pico/TFT_eSPI display on 3.5" 480 x 320 ILI9488 SPI TFT Raspberry Pi: ~  ILI9488 SPI LCD on Raspberry Pi/Python using Luma.LCD