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

[FEATURE REQUEST]TFT support #528

Closed
luc-github opened this issue Nov 17, 2020 · 2 comments
Closed

[FEATURE REQUEST]TFT support #528

luc-github opened this issue Nov 17, 2020 · 2 comments

Comments

@luc-github
Copy link
Owner

It was in my todo list and even did a prototype but now it exists so I will use it as reference :
https://www.rotrics.com/collections/add-ons-accessories/products/3-5-inch-touchscreen
Current TFT support is too basic in ESP3D and need a full rewrite

@MichaelDu9226 did a great first porting https://github.com/MichaelDu9226/ESP3D

But due to my poor current implementation of UI manangement in ESP3D - performances are not enough to give smooth result

so defintly need a rewrite :

  • GCODE host oriented
  • TFT UI oriented|
  • Touch oriented

I need to study how BTT TFT / MKS TFT / Marlin MKS extUI are implemented and may be do some kind of porting

Using LVGL for TFT is definitly the base

One issue I see is the images in UI these can use a lot of flash space so ESP32 with 8M flash is a must (4MB for image storage for TFT UI)

Current UI of rotrics is B&W but hope can introduce color UI even with the limited space

Why not use the SD for storage ? I think it is not safe but one alternative would be to load fall back UI in flash
so if any custom icons are in sd it could take over - but need to see the performance impact

From another point of view there are 8M PSRAM but on arduino only 4M are available, moving to IDF is not really an options as too many arduino lib would need to be ported to idf - so let's stick to arduino

This will be a big project once ESP3D 3.0 is done (including all dependent projects) as it will be a base for it also

Any suggestion is welcome

@luc-github
Copy link
Owner Author

luc-github commented Jan 8, 2021

To clarify : this topic is esp32 as main mcu for tft
not using stm32 based tft

@luc-github
Copy link
Owner Author

closing as now there is https://github.com/luc-github/ESP3D-TFT

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

No branches or pull requests

1 participant