-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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] Tronxy Chitu_V6 TFT not working right #22131
[BUG] Tronxy Chitu_V6 TFT not working right #22131
Comments
Hi there. For me it's the same with my X5SA, it shows small screen in the top left corner, but touch screen operates in "full-screen mode". If I change to 480x320 -- it looks in full screen mode, but touch screen stops working completely.
#define TOUCH_SCREEN_CALIBRATION
//#define TOUCH_CALIBRATION_X -12316
//#define TOUCH_CALIBRATION_Y 8981
//#define TOUCH_OFFSET_X 340
//#define TOUCH_OFFSET_Y -20
#define TOUCH_ORIENTATION TOUCH_LANDSCAPE
|
I have X5SA V5 (Board ID: CXY-V5-180409) and screen is displayed at correct size but touch calibration seems to be reversed. Was able to send gcode M995 and successfully calibrate on first try. My touch screen config parameters are:
Looks like there are variations between board IDs. Perhaps config examples |
Agreed, I have noticed that the current examples don't make a ton of sense for my v6 board. My X5SA non pro and without the titan extruder comes with the V6 board and has the TMC stand alone drivers. yet the examples make it seem like only the pro version has this with a titan extruder. On top of the issues the the TFT calibration (which I will be testing out tonight to see if either of these solutions work for my case.) it seems like there could be some improvements made to the config file. I will likely create my own fork and split out the configs by board revision. |
TronXY seems to have shipped out a number of different variants of the XS5A that are not the "Pro" version but are differing from the "Basic" spec. When I bought the printer on Amazon (always take a screenshot), the page said "adopts German imported TMC ultra-quiet motor drive chip" and "Materials support: PLA, ABS, HIPS, PETG, WOOD, PC, PVC ". Neither of these were true for the machine I received. It had A4988 chips on TronXY v1.5 board and used the "basic" extruder [read: not Titan clone] that only officially supported PLA and ABS. Thankfully Amazon agreed to a refund, when I said this was "Bait and switch", with pre-paid [PRIME] return shipping, even after the 1 month return interval. AFAIK only TronXY v1.8 boards onward use TMC chips. Inclusion of "Titan clone" extruder that supports [PLA, ABS, HIPS, PETG, WOOD, PC, PVC] still seems random. Would love to hear specs from other users to establish a baseline but it seems like a small customer base using this possibly fine controller board. |
I've got my tronxy X5SA from Canadian Amazon: https://www.amazon.ca/gp/product/B087NB7S9Q/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 |
So after further tinkering with the config file using suggestions from above, I am able to get it all working. I commented out all the preset calibration numbers and uncommented touch_orientation touch_landscape. This seems to have solved the issue with the TFT touch screen after doing a calibration. However, now it crashes the Z when homing. It seems as though the firmware isn't recognizing the endstop trigger even though the inductive sensor is triggering. So for now I had to revert back to the latest Marlin release. I haven't been able to figure out why it won't trigger. The sensor is definitely sending the correct signals, the config file has the correct settings for the z probe. When using the latest release version it works fine. Its only happening with the bugfix version. If anyone has any insight in to that, I'd appreciate it. I want to be able to use all the new features and the new TFT GUI options. The latest stable release doesn't have any of that. |
Well, I don't care about stock feeder, because both stock feeder and stock hotend are crappy( the samy crappy feeder was installed on my Ender 3). Regardless to say that usage of bowden for such large printers is a crime and stupid engineering. I have replaced them with direct drive with BMG feeder and slim motor + Micro Swiss All metal hotend. Works like a charm and I can print any plastic. |
It would seem to me at least that adding a line and comment for either option would be uncomplicated and trivial. That way people looking through the config file can easily find the option for either or. Same goes for the steps per parameters... Since I have the TMC drivers on my ChituV6 board I find myself having to always make sure those are changed when I start a new config file. It should have the standard parameters for both drivers readily available as an option with one of them being commented out as default. |
Has the NOZZLE_TO_PROBE_OFFSET values changed? The third value is Z I set mine as 0 and adjust afterwards using UI Z offset. Otherwise might be a pin setting Z_MIN_PIN or Z_MIN_PROBE_PIN. These values can get renamed between firmware versions so config files need updating too. |
Mine is set to 0 as well which is the default for the config example. Everything in the config file checks out to be correct. I have not checked to see if there is an issue with the pins definition, if that isn't it then I am going to assume its just a bug in Marlin with that bugfix version. I'm going try the most recent bugfix tonight and see if it does it again. EDIT: Its working now using the most recent bugfix available. I am now able to home and level and have the updated UI with working touchscreen. However the config examples are still broken and the calibration settings and resolution are wrong... Doing what @krukhlis suggested has worked and fixed the original issue. Need to figure out how to make this work for all X5SA version available... |
I have the latest 2021 Tronxy X5SA Pro with TMC, Titan Extruder etc. I have managed to compile and ran into similar issues as above. To fix the screen size issue I commented out #define TFT_RES_320x240 and enabled #define TFT_RES_480x320. After this, the touch did not work. I created a file called auto0.g on the sd card which contains M995; Marlin automatically runs this gcode file on startup and allowed me to calibrate the touch. https://marlinfw.org/docs/features/autostart.html The printer and screen are now working perfectly. What I would like to know is how I would go about downloading my saved touch settings so that I can share to help anyone else and write into the firmware? As @gb0101010101 did, but their settings did not work for my screen. Thank you for sharing, this thread has helped a lot. |
I just sent two PR to remove the outdated touch calibration values, and fixed the default TFT in the X5SA config. |
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. |
Bug Description
After flashing to the recent bugfix version of marlin 2.0.x and using the new configuration files example for the X5SA, The TFT screen does not work as expected. Touch screen is off scale.
Configuration Files
Configuration.zip
Steps to Reproduce
I Tried using the "out of the box" configuration files provided in the example folder. But the screen shows up in the top left corner smaller than the rest of the screen. Default resolution of (320x240) seems to be wrong. After changing this to (480x320) it displays correctly, however the touch screen interface is way out of whack. It seem that the top left buttons are in the correct spot but the far bottom right buttons on screen do not work at all. middle of the screen seem slightly to the right and down from where it should be.
Additional Information
I have tried it with the Classic UI option and the Color UI option. Neither worked.
I had a previous version from around a few months ago that worked just fine but the configuration file simply had an option for FSMC TFT. The recent version has a bunch of new options including resolution and UI that wasn't there before. Tried forcing a screen calibration with M995 in auto0.g file on SD card but the calibration always fails.
I can try tomorrow to get video of the issue in action.
The text was updated successfully, but these errors were encountered: