-
Notifications
You must be signed in to change notification settings - Fork 25
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
Inaccurate touchscreen #84
Comments
Ah that makes sense, thanks! Only issue I'm having now is it let's me touch bottom left and top right, but when I click bottom right it says "calibration failed" every time |
Marlin calibration process is tricky sometimes, i do not recommends you remove your stylus ( or whatever you use ) imminently.
|
Whenever I press it goes to the next + instantly, even holding for 2 or 3 seconds longer still presents the error at bottom right. It's a very interesting issue |
Hm... i do not have Dremel 3D20 on my hands, but i will try to find solution, maybe need to tweak some sensitive related settings or something like that... Dremel 3D20 good machine, so i think modern Marlin firmware will gives new life to it, but such thing will be annoying |
I have a FF Dreamer - Could not calibrate the touch screen as described in first post. Kept looking at Configuration.h to figure out what is preventing touch screen calibration. Turns out the answer is simple, in hindsight that is!!!! //#define TOUCH_ORIENTATION TOUCH_LANDSCAPE was commented out. I removed // and compiled a new firmware version. Immediately after flashing, the TFT screen went straight to calibration mode. Touched each of the 4 + and the calibration was then stored. Result! :) |
Hi @gordonmoore9 ! Can you provide me calibration constants from calibration output ( you can invoke calibration through serial port via |
FlashForge Dreamer Touch screen calibration completed |
@gordonmoore9 // XPT2046_** Compatibility
#if !(defined(TOUCH_CALIBRATION_X) || defined(TOUCH_CALIBRATION_Y) || defined(TOUCH_OFFSET_X) || defined(TOUCH_OFFSET_Y) || defined(TOUCH_ORIENTATION))
#if defined(XPT2046_X_CALIBRATION) && defined(XPT2046_Y_CALIBRATION) && defined(XPT2046_X_OFFSET) && defined(XPT2046_Y_OFFSET)
#define TOUCH_CALIBRATION_X XPT2046_X_CALIBRATION
#define TOUCH_CALIBRATION_Y XPT2046_Y_CALIBRATION
#define TOUCH_OFFSET_X XPT2046_X_OFFSET
#define TOUCH_OFFSET_Y XPT2046_Y_OFFSET
#define TOUCH_ORIENTATION TOUCH_LANDSCAPE
#endif
#endif So when you set it you use new style configuration ( i will rewrite config to new style ) which will sets #ifndef TOUCH_CALIBRATION_X
#define TOUCH_CALIBRATION_X 0
#endif
#ifndef TOUCH_CALIBRATION_Y
#define TOUCH_CALIBRATION_Y 0
#endif
#ifndef TOUCH_OFFSET_X
#define TOUCH_OFFSET_X 0
#endif
#ifndef TOUCH_OFFSET_Y
#define TOUCH_OFFSET_Y 0
#endif and this thing will invoke touch screen calibration after firmware was started... so you can use my default firmware and invoke yourself touch screen calibration wizard by pushing on free space on main screen ( you need touch and wait ) or invoke G-code command |
I must have had a typo somewhere in my Configuration.h, started with a fresh copy and worked through adding my changes and updates (using Visual Studio Code) which colour codes section in use or not in use. I kept an eye on Conditionals_LCD.h and the // XPT2046_** Compatibility section, which had shown that the second line #if defined(XPT2046_X_CALIBRATION) && was not met. Using the fresh configuration file the whole section coloured as in use. So an oops on my part! Invoking touch screen calibration after firmware is written to printer is a good update. Turning back to starting touch calibration by pressing on the TFT screen which is where this issue lies. Pressing on main screen and waiting does not do as expected. I finally realised that the first + at Top Left was displayed for the briefest of time and then jumped to Bottom Left +. Basically the current setup does not allow enough time for the user to remove their figure in time, so it interprets that Top Left + must have been selected and moves on! My suggestion is forget about pressing the TFT screen but add a menu item for Touch Screen Calibration. I have now added a User Menu item to invoke M995 (with Show a confirmation dialog) which is working great. |
Having the same issue with v0.15.1 on a Dremel 3D20 where trying to touch an empty background area goes into calibration, but also tries to register the upper left corner immediately so there is no way to touch it properly. It does wait for you to lift your finger for the lower left corner. |
Just installed the firmware on my Dremel 3D20, and it works great, other than the touchscreen being inaccurate. In the settings, for example, I have to touch the button above the one I actually want to press. Sometimes it just presses randomly as well. Is there a setting I can't find to re-calibrate it or is it something else? Thanks again
The text was updated successfully, but these errors were encountered: