Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for additional dev boards #1

Closed
ammaree opened this issue Sep 14, 2022 · 6 comments
Closed

Support for additional dev boards #1

ammaree opened this issue Sep 14, 2022 · 6 comments

Comments

@ammaree
Copy link

ammaree commented Sep 14, 2022

Can you please consider adding support for the following boards:

ESP-WROVER-KIT with 320x240 SPI without touch
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-wrover-kit.html

Makerfabs ESP32-S3 with 480x320 parallel 3.5"
https://www.makerfabs.com/esp32-s3-parallel-tft-with-touch-ili9488.html

@sukesh-ak
Copy link
Owner

sukesh-ak commented Sep 14, 2022

@ammaree
For WROVER_KIT, create a file called conf_wrover_kit.h in the main folder and with below content. Then reference it in the main.cpp

LovyanGFX should autodetect the board LCD with this.

// filename 'conf_wrover_kit.h'

#define LGFX_ESP_WROVER_KIT        // ESP-WROVER-KIT

// Portrait
#define TFT_WIDTH   320
#define TFT_HEIGHT  240

#define TOUCH_ENABLED
#define SD_ENABLED

#include <LovyanGFX.h>
#include <LGFX_AUTODETECT.hpp>

Please keep in mind, I don't have these boards so its untested.
For SD card using shared SPI bus, you should check the file inside main folder called helper_storage.hpp

@ammaree
Copy link
Author

ammaree commented Sep 14, 2022

@sukesh-ak

Just remember the ESP-WROVER-KIT does not have any touch.

As far as SD is concerned have not used up to now, believe there might be hardware/pins conflict between LCD and SDcard?

@sukesh-ak
Copy link
Owner

@sukesh-ak

Just remember the ESP-WROVER-KIT does not have any touch.

As far as SD is concerned have not used up to now, believe there might be hardware/pins conflict between LCD and SDcard?

SD card works with LCD with shared SPI using a different CS PIN for both.

You can see an example here.
https://github.com/sukesh-ak/ESP32-LVGL8x-SDSPI/blob/master/main/conf_FeatherS3_ILI9341.h

@sukesh-ak
Copy link
Owner

I worked with @lovyan03 to fix a bug related to shared SPI bus earlier. So it works.
lovyan03/LovyanGFX#248

@sukesh-ak
Copy link
Owner

sukesh-ak commented Sep 14, 2022

@ammaree
I have added a request for Makerfabs ESP32-S3.
lovyan03/LovyanGFX#285

If this is done, it will be easy like above without much configuration.
Sorry, I don't have a device to try and test it.

You can manually configure looking at this sample
https://github.com/lovyan03/LovyanGFX/blob/master/examples/HowToUse/2_user_setting/2_user_setting.ino

Datasheet for the device is here
https://github.com/Makerfabs/Makerfabs-ESP32-S3-Parallel-TFT-with-Touch/blob/main/hardware/ESP32-S3%20Parallel%20TFT%20with%20Touch%20v1.0(3.5''%20ili9488).pdf

@sukesh-ak sukesh-ak pinned this issue Sep 14, 2022
@ammaree
Copy link
Author

ammaree commented Sep 14, 2022

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants