Code Monkey home page Code Monkey logo

xglcd-lvgl's Introduction

XGLCD-LVGL Library for RA8875

This library is designed to use a RA8875 LCD module with LittleVGL , especially using an ESP32 as MCU (but it will also works with MKR family - Pycom family - Particle family - Adafruit Feather - plain old Arduino).

It's not a full RA8875 library but a light weight version dedicated to LittleVGL (You need to install LittleVGL to use this library).

XGLCD-LVGL can drive 5.0", 7.0" and 9.0" 800x480 TFT LCD with capacitive touchscreen controlled by FT5206 (The code for resistive touchscreen directly managed by the RA8875 is commented but available), so you need the FT5206 library from Sumotoy.

XGLCD-LVGL is based on XGLCD from XGraph witch is based on RA8875 from Sumotoy.

Power supply consideration : RA8875 usually control large displays witch needs lot of current, USB will not provide enough energy to feed an ESP32, the LCD and the touch panel, please use an external power supply to avoid weird behaviors.

Wiring consideration : The code provided for esp32 works with DOIT ESP32 DEVKIT V1, if you want to use another board edit XGLCD.h and modify the defines to use the right pins for the SPI port you want to use.

Licence GNU GPL v3.0.

xglcd-lvgl's People

Contributors

patrickpollet1966 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xglcd-lvgl's Issues

Work with Resitive Touch

Hey there I am a newbie out here can you please guide me to use the resistive touch of RA8875 with this library?

ESP32 / RA8875 connection problem

Hi
Fist this is unbelievable, Thank you for this library.
Please, i need help to make this work.
2 problems.

  1. I have to put "lv_xg.h" i same folder with lv_test_label_1 and then it compiles.
  2. I have RA8875 and couple different ESP32 boards,
    WEMOS LOLIN32 and Adafruit ESP32 Feather, i'm having hard time to connect RA8875 with any of this boards, lv_test_label_1 compiles fine, uploads fine, but noting is happening. I thing this the pins are
    #define XG_PIN_DC 16
    #define XG_PIN_LCD_RESET 17 //34
    #define XG_PIN_SD_CS 4
    #define XG_PIN_TP_CS 33
    #define XG_PIN_TP_IRQ 27
    #define XG_PIN_LCD_CS 5
    #define XG_PIN_MOSI 23
    #define XG_PIN_MISO 19
    #define XG_PIN_SCK 18

but when i'm checking the pins with oscilloscope, noting comes out of my ESP32 boards, so i don't know what to do.
Please help me.
Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.