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

[BUG] stuttering Print with BIGTREETECH TFT35-E3 V3.0 #1278

Closed
Bastlwastl84 opened this issue Nov 21, 2020 · 51 comments · Fixed by #1284
Closed

[BUG] stuttering Print with BIGTREETECH TFT35-E3 V3.0 #1278

Bastlwastl84 opened this issue Nov 21, 2020 · 51 comments · Fixed by #1284
Labels
bug Something isn't working

Comments

@Bastlwastl84
Copy link

Bastlwastl84 commented Nov 21, 2020

If printing from TFT a cylinder for testing spiralize mode and the ttf is at start-screen its stuttering. if i'm in a submenu, only about all 3-10 seconds a short stuttering. If the same file at marlin-mode no stuttering. tried
higher Baud and the fast mode for gcode, but not made it better.
the High-value at z-axis is flickering, too.

Used the BTT TF Cloud (copied on it before directly at the MicroSD with cardreader, cause Wifi not working to transfer with Win10)

A lot of Blobs and Zits at Surface

Same file from same SD Card at Marlinmode plugged in at Mainboard are working without any Problems.

Marlin and TFT Firmware downloaded today evening.
Btt.zip

@Bastlwastl84 Bastlwastl84 added the bug Something isn't working label Nov 21, 2020
@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

If you have problems start with a lower communication speed.
500000 is a lot and interference may occur.
Try 250000 or better yet 115200

@Bastlwastl84
Copy link
Author

If you have problems start with a lower communication speed.
500000 is a lot and interference may occur.
Try 250000 or better yet 115200

with 115200 i started and gone step by step upwards, but was not better

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

How old are your FW in TFT?

@Bastlwastl84
Copy link
Author

How old are your FW in TFT?

TFT FW downloaded today from the BTT Github and Marlin Bugfix today from the Marlin Github

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

Did you download the precompiled BIN, or did you compile your own bin file?

@oldman4U
Copy link
Contributor

Hi radek.

I believe it is enough, so I made this ticket: #1282

@Bastlwastl84
Copy link
Author

Did you download the precompiled BIN, or did you compile your own bin file?

Compiled with vs code. The config files incl STL and Video and pictures are at zip-file

@Bastlwastl84
Copy link
Author

With Baud 115200 if i want to connect from Touchscreen Mode to the onboard SD the TFT35 E3 v3 says: Error and reboots. This was not happening with Baud 250000 and 500000.

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

Strange behavior.
Can you try to change some parameters?

image

@Bastlwastl84
Copy link
Author

Strange behavior.
Can you try to change some parameters?

image

All into 8, 16 or should i use 32?

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

uncomment
#define AUTO_REPORT_SD_STATUS
#define SERIAL_FLOAT_PRECISION 4
#define M114_DETAIL
#define REPORT_FAN_CHANGE
#define HOST_ACTION_COMMANDS
#define HOST_PROMPT_SUPPORT

do you need a permit? I would comment on that.
#define CNC_COORDINATE_SYSTEMS

@Bastlwastl84
Copy link
Author

uncomment
#define AUTO_REPORT_SD_STATUS
#define SERIAL_FLOAT_PRECISION 4
#define M114_DETAIL
#define REPORT_FAN_CHANGE
#define HOST_ACTION_COMMANDS
#define HOST_PROMPT_SUPPORT

do you need a permit? I would comment on that.
#define CNC_COORDINATE_SYSTEMS

Ok. Let's have a try. Firmware flashed, 115200 Baud, resetted to factory defaults.

@Bastlwastl84
Copy link
Author

Bastlwastl84 commented Nov 22, 2020

Disabled CNC... Same Problem with higher Buffer (also tested 32) at 115200 Baud. Also downloaded newest Bugfix.

@Bastlwastl84
Copy link
Author

Bastlwastl84 commented Nov 22, 2020

Next Try with rx Buffer 1024 and Xon Xoff did none effect

@Bastlwastl84
Copy link
Author

20201122_205421
20201122_205432

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

I can confirm the same behavior when printing your file that you attached.
You press a cylinder that is cut like a continuous spiral. Therefore, the height of the Z axis is constantly changing and the display constantly updates the height of the layer.
Unfortunately, it uses the TFT processor 100%. as a result, the display does not manage to send data to Marlin.
If you click the More icon, printing will become continuous.
You will need to extend the time interval for updating the layer height value on the display.

@kisslorand
Copy link
Contributor

kisslorand commented Nov 22, 2020

the height of the Z axis is constantly changing and the display constantly updates the height of the layer.
Unfortunately, it uses the TFT processor 100%. as a result, the display does not manage to send data to Marlin.

The layer is queried only every 2 seconds and it's updated only if actual differs from the old one. Hence the update also happens only every 2 seconds.

@Bastlwastl84
Are you slicing with Cura? If yes, with Cura 4.7.x? Cura 4.7.x has a bug of making extremely many small segments.
If you use newest Cura, try raising Maximum Resolution, Maximum Travel Resolution, Maximum Deviation to 0.5, 0.5, 0.05.

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

That's what I thought, too.
Watch the video made by Bastlwastl84
See at what intervals the layer height is updated.
I have the same behavior of printing the same file.

@Bastlwastl84
Copy link
Author

the small edges came from freecad (setted there a high resolution). sometimes i print with 0,2mm Nozzle. than i need a high speed and high resolution. can try new solutions again next weekend. i hope some one had a good solution, cause at marlinmode its printing without any problems.

@oldman4U
Copy link
Contributor

The solution would then to print in Marlin mode using such a setting...

@Bastlwastl84
Copy link
Author

The solution would then to print in Marlin mode using such a setting...

same Problem is with a high detailed Fur from Dogfigure with 0,2 nozzle with tft35 E3 V3

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

No, the solution is to adjust the refresh interval of the layer height icon.
Currently, this does not happen once every 2 seconds as intended, but after each change in height

@Bastlwastl84
Copy link
Author

No, the solution is to adjust the refresh interval of the layer height icon.
Currently, this does not happen once every 2 seconds as intended, but after each change in height

where to find?

@kisslorand
Copy link
Contributor

kisslorand commented Nov 22, 2020

Yup, in fact those 6 icons are redrawn every loop. What interval do you guys think it would be appropriate? I can make a PR in a few minutes just cannot decide to delay all of those 6 icons refresh or only Layer.

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

1 second would be optimal?

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

if it is for all icons, the CPU load will be reduced.

or 500ms so that there is no long delay

@kisslorand
Copy link
Contributor

If I include the time, it will skip once in a while.
Just let me know guys what should it be. I was thinking about 500ms...

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

500ms will be enough. Can you create a PR?
Thank you

@kisslorand
Copy link
Contributor

Let's try with only the Layer, I don't see how anything else would change so rapidly. PR done in a few minutes.

@Bastlwastl84
Copy link
Author

500ms will be enough. Can you create a PR?
Thank you
What is a PR?
Where i could change the setting with the Time?
i could do next WE after Hospital.

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

PR is Pull Requests
https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/pulls

it is a proposal to modify the program.
If bigtreetech approves it, the modification will become part of the new compilation

@kisslorand
Copy link
Contributor

kisslorand commented Nov 22, 2020

Try this PR: #1284

@Bastlwastl84
Copy link
Author

capture_20201122_224527_005
is it there at Move.c ?

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

Try this PR: #1284

Aren't you wrong?
I don't see the repair there.
it's just a previous PR

@kisslorand
Copy link
Contributor

kisslorand commented Nov 22, 2020

I messed up a little, commited to the wrong repository, check again.

A few moments later... Of course I messed up again, a new commit is on the way.

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

That's not it yet :-(
reDrawLayer (Z_ICON_POS);
has not changed

image

@kisslorand
Copy link
Contributor

kisslorand commented Nov 22, 2020

Wait for it... :)
...and... done!

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

Bastlwastl84 Can you test it?

@Bastlwastl84
Copy link
Author

Bastlwastl84 Can you test it?
BIGTREE_TFT35_V3.0_E3.26.x.zip

i could test it after Hospital (friday/saturday)

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

Tested.
Repair failed.
The layer height icon is constantly redrawn. (more often than 500ms)

@kisslorand
Copy link
Contributor

kisslorand commented Nov 22, 2020

My bad, new commit uploaded. Now it won't refresh under 500ms in any circumstances.

@radek8
Copy link
Contributor

radek8 commented Nov 22, 2020

I'll try it tomorrow, I have to sleep

@kisslorand
Copy link
Contributor

I just tested it. Without the delay the cylinder stutters badly, with the 500ms delay prints nicely, without any hiccup. The layer is displayed with enough precision, I do not think anyone would need a higher refresh rate.

@Bastlwastl84
Copy link
Author

What did you changed? Can you Upload the file here?

@radek8
Copy link
Contributor

radek8 commented Nov 23, 2020

@kisslorand
Copy link
Contributor

What did you changed? Can you Upload the file here?

This: #1284

@Bastlwastl84
Copy link
Author

BIGTREE_TFT35_V3.0_E3.26.x.zip

Thank you. Will try it at Friday.

@radek8
Copy link
Contributor

radek8 commented Nov 23, 2020

It works great. Updating the Z axis is ideal.

The file to print has many segments, but at a communication speed of 250,000 and a set speed in the slicer, it prints well.
During acceleration to 115% - 120% are already being felt jerking. but it will already be caused by the great burden of something else.
https://youtu.be/UIMzwTqPtLE

Copy link

github-actions bot commented Apr 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants