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

Touch screen calibration is not working (Tronxy Gemini S, Marlin 2.1.x) #5

Open
TheThomasD opened this issue Mar 28, 2023 · 12 comments

Comments

@TheThomasD
Copy link
Owner

TheThomasD commented Mar 28, 2023

@kkberg

Let's continue the discussion here.

Hello @TheThomasD, sadely it's not possible to calibrate the screen. Maybe there is a different size of screen possible to configure in Marlin. I've no expirience with graphic screens and would like to ask if you have any Idea?
Thank you very much.

see here: https://youtu.be/p1AnE-EDuX8

On the first time I started my printer, I was able to finish the calibration correctly. However, when I try to recalibrate, I hit the same issue as you do. I have seen that there are some recent bugs that are not included in the branch that I use, e.g. MarlinFirmware#21860 (this is actually happening for me right now on recalibrate). Maybe you can take over the config into the bugfix-branch of the Marlin repo and test there? Another option that might work: set #define EEPROM_INIT_NOW once and update the firmware. Then, do the calibration and see if it works. You can then remove that flag to not overwrite your config on every update, if you like.

Thanks!
Thomas

@kkberg
Copy link

kkberg commented Mar 28, 2023

okay, can do later today

Thank you

@kkberg
Copy link

kkberg commented Mar 28, 2023

Hello @TheThomasD ,

I took over all settings into the bugfix version from today but failed to get the right board name and so on. I'm not able to get the right names set up like in platformio.ini with default_envs = tronxy_gemini_s_marlin_ui . Sadely I'm not a specialist in setting the environment. Files are without BLTOUCH. My problem is also that I'm not having enough knowledge with pulls and forks to pull in a new Marlin an make changes automatically.

Sorry, but I'm stuck here

Config files are included in zip-file

Configuration.zip

@TheThomasD
Copy link
Owner Author

TheThomasD commented Mar 28, 2023

@kkberg: Try this one at your own risk: https://github.com/TheThomasD/Marlin/tree/bugfix-2.1.x-tronxy-gemini-s

(this is based on my config, so you might have to adapt it to your needs)

@kkberg
Copy link

kkberg commented Mar 28, 2023

@TheThomasD , thank you for the code. I'll try to compile and send it to my friend. I would like to understand how the dependencies work and how you define the board. But this seems to difficult for me in the moment. :)
I think it depends on your own definitions which I don't understand in the moment, because it is not integrated in Marlin.
I'll try to learn, but for a retiered old guy it is not easy.... :)
Thanks again

@kkberg
Copy link

kkberg commented Mar 28, 2023

@TheThomasD , it looks better. Touch doesn't work in the Moment.

Videolink
https://youtu.be/4AUpl4fDCYg

Thank you very much

@TheThomasD
Copy link
Owner Author

TheThomasD commented Mar 28, 2023

Keep your finger for some time on the touch screen (long press), then eventually, the calibration can be redone. I think, currently some bad calibration data is stored in the eeprom. Or try to issue a https://marlinfw.org/docs/gcode/M995.html via the USB interface.

@kkberg
Copy link

kkberg commented Mar 28, 2023

okay, I already gave order to use M995 over Repetier Server :)

@kkberg
Copy link

kkberg commented Mar 28, 2023

okay, calibration screen appears and he can touch all corners. He has to do this round about 9 times and than it is done.
Menues can be used with a pen, finger is not sensitive enough. Later I send a video.
Really great help from you.
Thank you so much and I'm going to understand the settings :)

kind reards Klaus

@TheThomasD
Copy link
Owner Author

You're welcome, Klaus. As for the boards/pins stuff: I had to learn all this stuff as well, but I reverse-engineered the layout for the Geeetech A30T a while ago. That tought me a lot on how this stuff works :D

In this commit you can basically see what was required to make the printer work:
81de0bd

@kkberg
Copy link

kkberg commented Mar 28, 2023

okay, that will help me to see the changes you made. I'm a real beginner in Github and there I've a lot of gaps. Also language is a barrier for me and I try to improve my english. I think I'll get it one day. I apreciate your help very much.

https://youtu.be/1RmaC63V6-M
the working TFT

@TheThomasD
Copy link
Owner Author

Great, nice that this works out for you. I'll get back to you when I have my own MMU2 (I saw this a while ago and saw that you also got one). While I wanted to keep the comments here in English (and I really think you manage very good in English) we can move to German then ;)

@kkberg
Copy link

kkberg commented Mar 28, 2023

Das hätte ich wissen müssen, ich hatte nicht gesehen das da Germany steht. :). Ja MMU2 ist noch eine Baustelle, aber bald kommt der Test. :)

@TheThomasD TheThomasD changed the title Touch screen calibration is not working Touch screen calibration is not working (Tronxy Gemini S, Marlin 2.1.x) Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants