Welcome! Log In Create A New Profile

Advanced

BTT SKR 1.4 Turbo with MKS TS35

Posted by Skhan 
BTT SKR 1.4 Turbo with MKS TS35
August 13, 2023 02:29PM
Hi, I am new in this field, Can I use MKS TS35 LCD display with BTT SKR 1.4 turbo board.
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 12:58AM
It should work, but looks like somewhere along the way Marlin code has been broken, wont even compile.

Also note that skr 1.4 exp1 and exp2 plugs are turned 180 degrees around compared to what the MKS TS35 needs

Edited 1 time(s). Last edit at 08/14/2023 12:59AM by Dust.
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 04:09AM
Update: I've just got the SKR 1.3 working again with this display, now looking at SKR 1.4

Edited 1 time(s). Last edit at 08/14/2023 04:28AM by Dust.
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 05:27AM
SKR 1.4 turbo now also works in most modes...
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 05:43AM
Current status [github.com]
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 07:14AM
Hi thanks a lot for looking the issue.
As I am new still I couldn't understand Which change I need to do, so that TS35 works with BTT SKR 1.4
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 09:32AM
Just download my Marlin fork [github.com] , or wait till this is finished and merged into marlin

Note: these are the only valid Configuration options for this display right now


-----------------------------------------------------------------
|  (with)        |TFT_CLASSIC_UI | TFT_COLOR_UI |  TFT_LVGL_UI  |
-----------------------------------------------------------------
|TOUCH_SCREEN    |   Works       |    Works     | Not Supported*|
-----------------------------------------------------------------
|no TOUCH_SCREEN |  Non Working  |    Works     | Not Supported*|
-----------------------------------------------------------------

* Needs SERIAL_RUNTIME_HOOK but SERIAL_RUNTIME_HOOK is not yet supported for LPC176x.

I would recomend TFT_COLOR_UI with TOUCH_SCREEN

Edited 1 time(s). Last edit at 08/14/2023 09:33AM by Dust.
Re: BTT SKR 1.4 Turbo with MKS TS35
August 14, 2023 09:51AM
I am really thankful for your quick help.
Re: BTT SKR 1.4 Turbo with MKS TS35
August 19, 2023 09:59AM
I have uploaded your above mention marlin branch version with change mentioned on geithub

#define MOTHERBOARD BOARD_BTT_SKR_V1_3
#define CUSTOM_MACHINE_NAME "BTT SKR 1.3"
#define SDSUPPORT
#define MKS_TS35_V2_0
#define NO_CONTROLLER_CUSTOM_WIRING_WARNING
#define TFT_COLOR_UI

Now (Full graphics like) display appearing in colour. But touch is not working on MKS TS35.

Thanks for your help now screen is working
Re: BTT SKR 1.4 Turbo with MKS TS35
August 19, 2023 10:02AM
In addition to above post please see attached pictures of display.
As mentioned above have turn 180 degree to one side of EXP1 and 2 cables
Attachments:
open | download - IMG_20230819_152845.jpg (1.13 MB)
open | download - IMG_20230819_152912.jpg (1.02 MB)
Re: BTT SKR 1.4 Turbo with MKS TS35
August 19, 2023 08:52PM
you need to enable TOUCH_SCREEN for touch
Re: BTT SKR 1.4 Turbo with MKS TS35
August 20, 2023 09:44AM
Sorry as I am new in this field so need more help
I have enabled the Touch screen, but now the screen is stuck on messages a Plus (+) Sign appears on the top left and in the middle of the screen message appears "Top Left".

In "Configuration.h" the following setting (Configuration file is attached with post)

//===================
// Touch Screen Settings
//
#define TOUCH_SCREEN
#if ENABLED(TOUCH_SCREEN)
#define BUTTON_DELAY_EDIT 50 // (ms) Button repeat delay for edit screens
#define BUTTON_DELAY_MENU 250 // (ms) Button repeat delay for menus

//#define DISABLE_ENCODER // Disable the click encoder, if any
//#define TOUCH_IDLE_SLEEP_MINS 5 // (minutes) Display Sleep after a period of inactivity. Set with M255 S.

#define TOUCH_SCREEN_CALIBRATION

//#define TOUCH_CALIBRATION_X 12316
//#define TOUCH_CALIBRATION_Y -8981
//#define TOUCH_OFFSET_X -43
//#define TOUCH_OFFSET_Y 257
//#define TOUCH_ORIENTATION TOUCH_LANDSCAPE

#if ALL(TOUCH_SCREEN_CALIBRATION, EEPROM_SETTINGS)
#define TOUCH_CALIBRATION_AUTO_SAVE // Auto save successful calibration values to EEPROM
#endif

#if ENABLED(TFT_COLOR_UI)
//#define SINGLE_TOUCH_NAVIGATION
#endif
#endif
Attachments:
open | download - Configuration.h (132.5 KB)
Re: BTT SKR 1.4 Turbo with MKS TS35
August 21, 2023 01:40AM
The screen you describe is the touch calibration screen

All touch screens vary slightly in their positions on the display so you have to calibrate it

Get yourself a some form blunt pointy device that works on touch screen and touch as close as you can to the center of the + sign
You have to do all 4 corners

if your to far out from the center of the + it may ask you to do this several times

once done it will say calibrated you touch the screen one more time and the standard screen comes up


If you have a serial monitor hooked up, on completion of the calibration it will show you the values used.

You can copy these values into firmware so you don't need to do it again,

ie enable these settings, replacing the numbers from what the console told you.

#define TOUCH_CALIBRATION_X 12316
#define TOUCH_CALIBRATION_Y -8981
#define TOUCH_OFFSET_X -43
#define TOUCH_OFFSET_Y 257

or the values are saved into eeprom if #define EEPROM_SETTINGS is enabled

If eeprom is disabled and the calibration defines are not set the firmware will ask you to calibrate every time you turn it on or reset

Edited 2 time(s). Last edit at 08/21/2023 01:41AM by Dust.
Re: BTT SKR 1.4 Turbo with MKS TS35
August 24, 2023 04:48AM
Did you get touch working?

I found a line I missed
See [github.com] for details

wasn't needed for 1.3 but is needed for 1.4
Re: BTT SKR 1.4 Turbo with MKS TS35
September 01, 2023 01:52PM
I am very sorry for the late reply.
After merging your above-mentioned changes

#define TOUCH_INT_PIN EXP1_06_PIN

Now Touch is working on MKS TS35. I am using BTT SKR 1.4 (LPC1768)
See in the attached image now arrows are appearing at the bottom

At the moment Touch and Encoder both are working on this display

Edited 2 time(s). Last edit at 09/01/2023 01:57PM by Skhan.
Attachments:
open | download - WhatsApp Image 2023-09-01 at 10.44.58 PM.jpeg (205.6 KB)
Sorry, only registered users may post in this forum.

Click here to login