mstrens / grbl_controller_esp32

grbl controller for esp32
177 stars 80 forks source link

support for 4 Inch HD 480x320 TFT Display with Touch Screen (for Rapberry Pi) #24

Closed ao41tr closed 3 years ago

ao41tr commented 3 years ago

Hello, thank you for such a good project, I have 4 Inch HD 480x320 TFT Display with Touch Screen for Rapberry Pi and I guess it is possible to use for your controller. This display does not have sd card option, so needed a seperate module. Maybe also some other Raspberry owners will be interested using their LCD hardware for cnc. Could you tell or publish any solution?

Interface: SPI Touch panel control chip: XPT2046 "https://www.elecrow.com/wiki/index.php?title=4_Inch_HD_480x320_TFT_Display_with_Touch_Screen_for_Rapberry_Pi" image image

mstrens commented 3 years ago

I expect it should be possible to use this display. Still I do not expect to modify the code for this model. In the new version of the firmware, it is possible to use a 4" TFT with similar resolution but it is another model. You could try using the last version of the firmware and modify the type of TFT controller according to your model (it requires to activate another line in the tft_espi library (in User_setup.h file)