Adding MKS touchscreen (TS35-R v2.0) to TwoTrees TTS-55 diode laser rig — Major issues (2) & minor issues (2)

As you may know, I recently posted on “how to add end stop switches to TwoTrees TTS-55 laser engraver

That aspect of this is working great.

However, I also worked to add an MKS touchscreen (model TS35-R v2.0) to the same TwoTrees TTS-55 diode laser rig. I got it installed, including designing a 3D-printed holder that mounts both the existing metal control board box (at the bottom) and the new touchscreen, onto the aluminum extrusion at the front of the rig:

The wiring is right, and the stock firmware of the touchscreen “works” (right out of the box!) in a “laser mode” that controls the GRBL based rig. The touchscreen and mainboard are both MKS items.

Major issues (2) & minor issues (2)

1. The laser rig has “lost” USB control via Lightburn on laptop. Without the touchscreen, laptop control worked. With it, laptop control does not work. Any ideas?

2. Framing of job and cutting of job are in wildly different locations!!! Framing location seems correct. Actual cutting is way off in wrong location. This is cutting from a GCode file outputted by Lightburn, and transferred to SD card which is placed in TTS-55 main board, and run from there via the MKS touchscreen. Any thoughts?

3. The stock firmware on MKS touchscreen “works” with the MKS control board, but it is in portrait mode instead of landscape mode, and my need is for landscape, so user interface is sideways. “Settings” page has no option to switch orientation. Anyone have MKS touchscreen firmware that is compatible with laser burning and that is in landscape mode?

4. The stock firmware on MKS touchscreen “works” with the MKS control board, but it is a “black and white” theme, whereas I have seen nice colorful themes. (Plus it is in portrait mode instead of landscape mode.) Anyone have firmware compatible with laser burning that colorful (and is in landscape mode)?

Thanks for any tips or help! :slight_smile:

The TS range of screens from MKS are specifically designed for their DLC32 main board. You say the TwoTrees laser machine has a MKS mainboard fitted but can you confirm the model number of it?

The TS range of displays is, AFAIK, just a dumb screen with all the programming done by the system board electronics, if the twotrees has a different system board the fact that it works at all is a miracle!

The TS display does indeed have a colour display when used with the DLC32 system board.

It sounds like the screen is ‘taking over’ the serial port of the system board when it is connected, are you sure the USB does not work at all?. This might indicate the twotrees system board has only one serial port defined in its firmware.

It sounds like you have two different origin locations between lightburn and the touchscreen…not sure on that one!

Landscape mode is the default when driven from a DLC32 and the firmware for the system board comes pre-compiled so there is no way to see if there is a ‘rotate screen’ option. There is also a config.txt but there is no options in there for the screen orientation either.

Perhaps your best solution might be to get a DLC32 board (assuming the twotrees board isn’t one already!) €16.24 shipped!

The DLC firmware is on MKS’s github site here

1 Like

The TwoTrees board is listed as “Makerbase MKS LTS v1.1” and it’s apparently very similar to (apparently a slightly cheaper to make version of) the Makerbase DLC32.

I found a Github support discussion, MKS LTS V1.1 · Issue #373 · makerbase-mks/MKS-DLC32 · GitHub
…in which someone was pleading for firmware for my same board, the Makerbase MKS LTS v1.1,
…and a couple of helpful folks had answered that

  • (1) a certain latest 1.0 version of the DLC firmware (for screen also) could be used, with a link, and
  • (2) that TwoTrees support had finally sent a correct firmware. Here’s a copy and paste of the gist of it:

I tried the latter one first, posted by “eastwooddotai” (commented on May 4, 2023), offering “LKS_TT_2022092004.zip” from here:
https://github.com/makerbase-mks/MKS-DLC32/files/11395250/LKS_TT_2022092004.zip

That got me essentially the same portrait mode, mostly B&W interface I had before, but I must have some GRBL PWM / frequency settings wrong, because laser power is dimenished.

So then I tried the former. I installed the v2.2 firmware (that’s made for DLC32 board_v1.0), and it gets me the landscape mode with nicer, more colorful interface. However, the laser won’t come on, neither when connecting LightBurn on the laptop, or when running GCode from the SD card. :confused: — And again, that may related to me having some GRBL PWM / frequency settings wrong.

Below is a copy of my GRBL settings, as exported by LaserGRBL in Windows:

$0=10 (Step pulse time)
$1=25 (Step idle delay)
$2=0 (Step pulse invert)
$3=2 (Step direction invert)
$4=0 (Invert step enable pin)
$5=0 (Invert limit pins)
$6=0 (Invert probe pin)
$10=1 (Status report options)
$11=0.010 (Junction deviation)
$12=0.002 (Arc tolerance)
$13=0 (Report in inches)
$20=1 (Soft limits enable)
$21=1 (Hard limits enable)
$22=1 (Homing cycle enable)
$23=3 (Homing direction invert)
$24=300.000 (Homing locate feed rate)
$25=3000.000 (Homing search seek rate)
$26=250.000 (Homing switch debounce delay)
$27=3.000 (Homing switch pull-off distance)
$28=10 (Spindle frequency)
$30=1000.000 (Maximum spindle speed)
$31=0.000 (Minimum spindle speed)
$100=80.000 (X-axis travel resolution)
$101=80.000 (Y-axis travel resolution)
$102=80.000 (Z-axis travel resolution)
$110=10000.000 (X-axis maximum rate)
$111=10000.000 (Y-axis maximum rate)
$112=8000.000 (Z-axis maximum rate)
$120=500.000 (X-axis acceleration)
$121=500.000 (Y-axis acceleration)
$122=500.000 (Z-axis acceleration)
$130=620.000 (X-axis maximum travel)
$131=600.000 (Y-axis maximum travel)
$132=50.000 (Z-axis maximum travel)

An added bonus to having the DLC32 is it can be fitted with a flame detector which is a useful appliance for a laser machine!! It works really quite well.

https://github.com/makerbase-mks/MKS-DLC32/issues/226

Hmm. Neat. the MKS board I have has a probe socket.

After doing some various flashing and reflashing, I did see that I could get USB and touchscreen at the same time, if I was careful on the USB port being right and not confused.

It may have been a difference between “absolute” coordinates and “user origin” coordinates. I still have some strange strange differences between job “placement” from the SD card when compared to USB…

Will check that out! :slight_smile:

Update: I’m about to order that board. I’m assuming I need the one that comes with what looks like 3 little “stepper driver” type boards. It is listed as costing $15.12 (USD) before tax, and with free shipping.

Here are photos of the “cheaper” MKS board that shipped stock in the TTS-55 laser rig I got:

You appear to be missing the $32 laser mode in your command list. Maybe that has something to do with your laser not working!. It will certainly affect the quality of engraving you will get because laser mode enables M4 operations.
Here is a screenshot of my DLC32 GRBL config (not actually set up for a machine as it is just a spare board for me)

with $28 and $32 being the most obvious differences.

You could continue to mess around with user modified firmwares… or just buy a DLC32 and go with the official firmwares!

I see you have made a decision!

That board will need three stepstick type driver modules, I assumed your existing dlc board used the same, if not you will need to add the three driver modules, either A4988,drv8825, tmc2208, tmc2209 standalone. Any will do. I use TMC2208 because they are very quiet in operation.

I will double check. There seems to be a significant difference between what gets exported from LaserGRBL, versus what gets exported from Lightburn. Here’s the “more complete” list that came from a LB export.

CORRECTION: the difference was perhaps between a “suggested” set of values I downloaded, versus what came from … LaserGRBL? Makerbase utility? I am now confused as to what I first posted above, and what’s below!

UPDATE: The values below are not from LaserGRBL, they are from a Makerbase flashing and configuring utility:

$0=10 (Step pulse time)
$1=25 (Step idle delay)
$2=0 (Step pulse invert)
$3=2 (Step direction invert)
$4=0 (Invert step enable pin)
$5=0 (Invert limit pins)
$6=0 (Invert probe pin)
$10=1 (Status report options)
$11=0.010 (Junction deviation)
$12=0.002 (Arc tolerance)
$13=0 (Report in inches)
$20=1 (Soft limits enable)
$21=1 (Hard limits enable)
$22=1 (Homing cycle enable)
$23=3 (Homing direction invert)
$24=300.000 (Homing locate feed rate)
$25=3000.000 (Homing search seek rate)
$26=250.000 (Homing switch debounce delay)
$27=3.000 (Homing switch pull-off distance)
$28=10.000 (Spindle frequency)
$30=1000.000 (Maximum spindle speed)
$31=0.000 (Minimum spindle speed)
$100=80.000 (X-axis travel resolution)
$101=80.000 (Y-axis travel resolution)
$102=80.000 (Z-axis travel resolution)
$110=10000.000 (X-axis maximum rate)
$111=10000.000 (Y-axis maximum rate)
$112=8000.000 (Z-axis maximum rate)
$120=500.000 (X-axis acceleration)
$121=500.000 (Y-axis acceleration)
$122=500.000 (Z-axis acceleration)
$130=620.000 (X-axis maximum travel)
$131=600.000 (Y-axis maximum travel)
$132=50.000 (Z-axis maximum travel)

Also, regarding $28: I tried to write that to the board, but I seemed unable to get it to “take”… yet it shows above as being written. I had no idea what value to write, so I had tried a “10” !!

According to LightBurn, I definitely have Laser Mode Enabled. $32.

OK…but that is using lightburn. Lightburn may be adding that parameter because it isn’t in your LaserGRBL config and it is in my laserGRBL config from every single GRBL board I possess. This will surely degrade your results when using LaserGRBL will it not?

If you are getting a DLC32 all this is mute. Presently your LTS board is using a user-inspired firmware and who knows what is going on. I can confirm the DLC32 laser firmware is in colour when connected to a TS35 display, is in landscape mode and does work a laser connected to the TTL socket.

It would be interesting to hear your comments after all this is sorted out and you have tried both Lightburn and LaserGRBL about each programs functionality. I know lightburn is well regarded and I think LaserGRBL does a fantastic job too and doesn’t get the kudos it deserves as a free software that manipulates bitmap files into excellent engravings.

You will only need two stepstick drivers as you don’t need the Z axis…

Thank you so much. The updated post (above) reflects that the outputted GRBL values are taken from the board by an MKS utility and exported as an .NC file.

I may try one or two other previous firmware versions before pulling the trigger on the other MKS board… see if I can get something functional.

UPDATE

OK, so I backed the firmware version down to 2.0.8_H35, dated Jan 5, 2022, and it gets me a working laser, and a landscape mode with a colorful interface. I may not have to order the replacement board after all!

Here’s the firmware that works (so far):
V2.0.8_H35_20220105_N.bin

Update on the update

Laser works again, but in LightBurn it still does not work unless I switch on “Constant Power Mode“ and I still think it is weaker than it should be. I may order that other board after all.

Seeing as how your LTE board is supposed to be a low cost version of the current DLC32 (by virtue of it only having two channels) perhaps you might like to try the current dlc32 firmware on your board?.. What could possibly go wrong? :slight_smile:

It may be the same firmware because the DLC32/TS35/laser firmware also has a V2.0.8_H35_20220105_N.bin

@dart1280 All the firmware tried so far was for the DLC32. The latest one caused this board to not turn on the laser.

One last thought before pulling trigger on the other board…

Is there any chance the laser’s weakened output is due to a lack of power? The power supply brick that came with the laser was 4 amps (12v). Is it possible the 4 amps is enough, but barely enough, and adding the screen tips it over to not being enough power?

OK, I just switched out the 4 amp 12v power supply for a 6 amp 12v power supply, and it seemed to make no difference. Maybe I’m just imagining that it’s falling short of full power. I guess I need to locate a repeatable test on a trustworthy “repeatable” type of material (with already known results) and see if I can replicate it.