Comments (12)
This may not work, because the pin is different
Does that mean that "it WON'T work" or that "it MAY work"?
If it "MAY" work, what do I have to do to compile the right version for a stock Q5?
I've tried several versions so far and some work, but invert the screen, and others just scramble the whole TFT.
If it "WON'T", does that mean the only way to run custom Marlin is to change the board and screen altogether?
from mks-robin-nano-marlin2.0-firmware.
works fine for me with latest Marlin bugfix-2.0.x.
#define TFT_320x240
#define TFT_DRIVER AUTO
from mks-robin-nano-marlin2.0-firmware.
@danielr1996
Sure, here it is. I think, the config works for bugfix 2.0.6.1 a52afd2ae
Marlin_2.0.x-bugfx_Q5_TMC220x_Standalone.zip
I also have a more recent config for bugfix e8177735a that includes TMC-UART, dual y-split extruder setup and what else I can not remember but did not touch the display setting, I think.
But maybe, it is easier to rollback these modifications to your setup than using the outdated one above?
Config_bugfix-0e8177735a.zip
from mks-robin-nano-marlin2.0-firmware.
This may not work, because the pin is different
from mks-robin-nano-marlin2.0-firmware.
works fine for me with latest Marlin bugfix-2.0.x.
#define TFT_320x240
#define TFT_DRIVER AUTO
Ok so I finally got it working with the latest bugfix, BUT... the touchscreen functionality is inverted.
Tried #GRAPHICAL_TFT_ROTATE_180 and adjusting the touchscreen calibration values, but nothing happens.
Any ideas?
from mks-robin-nano-marlin2.0-firmware.
in /src/inc/Conditional_LCS.h it is stated:
// FSMC/SPI TFT Panels
#if EITHER(FSMC_GRAPHICAL_TFT, SPI_GRAPHICAL_TFT)
#define TFT_SCALED_DOGLCD 1
#endif
Maybe, you just remove the #if TFT_SCALED_DOGLCD the rotation is enabled (or you get a bunch of compile errors...).
and with this section it might be possible to invert the touch operation as well:
#define TOUCH_SCREEN
#if ENABLED(TOUCH_SCREEN)
#define BUTTON_DELAY_EDIT 75 // (ms) Button repeat delay for edit screens
#define BUTTON_DELAY_MENU 100 // (ms) Button repeat delay for menus
#define XPT2046_X_CALIBRATION 12316
#define XPT2046_Y_CALIBRATION -8981*
#define XPT2046_X_OFFSET -43
#define XPT2046_Y_OFFSET 257
#endif
There is also a pull request for an older Marlin-fork that is related but outdated for current bugfix releases, I think: AndersSahlman/Marlin#2
from mks-robin-nano-marlin2.0-firmware.
works fine for me with latest Marlin bugfix-2.0.x.
#define TFT_320x240
#define TFT_DRIVER AUTO
Can you share the configuration you used? I think you're referring to the bugfix branch from the official Marlin repo, however the configuration file from this repository doesn't compile with the error #error "You are using an old Configuration.h file, update it before building Marlin."
from mks-robin-nano-marlin2.0-firmware.
@danielr1996
Sure, here it is. I think, the config works for bugfix 2.0.6.1 a52afd2aeMarlin_2.0.x-bugfx_Q5_TMC220x_Standalone.zip
I also have a more recent config for bugfix e8177735a that includes TMC-UART, dual y-split extruder setup and what else I can not remember but did not touch the display setting, I think.
But maybe, it is easier to rollback these modifications to your setup than using the outdated one above?
Config_bugfix-0e8177735a.zip
Thanks for you're help. I finally got it working. The key was to comment the following lines:
//#define XPT2046_Y_CALIBRATION -8981
//#define XPT2046_X_OFFSET -43
//#define XPT2046_Y_OFFSET 257
Otherwise the offsets were scrambled and presses on the thouchscreen were noticed roughly 2cm lower than where I pressed.
from mks-robin-nano-marlin2.0-firmware.
Hi, I', trying to install Marlin 2.0 in the Flsun Q5 but I am not able to fix the screen resolution neither rotate it.
As you know, Flsun Q5 has got the Robin Nano v1.2 board.
Is there any guide or configuration for downloading that I can try?
Thanks!
from mks-robin-nano-marlin2.0-firmware.
@eduwinner-1 you tried to look into config settings from above already?
It looks like the Q5 has different TFTs depending on production batches so a look and photo from the backside of your TFT is likely needed.
from mks-robin-nano-marlin2.0-firmware.
Hi @Quas7, I was able to install last Marlin 2.0 but I don't like very much the interface. I also tried with your Configuration.h and Marlin 2.0.6.1, it was successful but same interface.
I am now trying to install MKS Robin Nano v1.x interface with Marlin 2.0 but I can't fix the screen resolution neither orientation
from mks-robin-nano-marlin2.0-firmware.
@eduwinner-1 the icons are in seperate folders and need to be uploaded to the SD as well - google for marlin tft icons and grafics folder. Orientation and screen offset needs some tweaking depending on the actual TFT model.
from mks-robin-nano-marlin2.0-firmware.
Related Issues (20)
- No USB flash menu item when compiled with TFT_COLOR_UI HOT 1
- [BUG] HAL_SD_IRQHandler HOT 1
- White screen - FW: MKS update on 11. April HOT 8
- Enabling Thermal Runaway Protection causes complier error HOT 2
- Extruder stops after a few minutes but x,y,z continue normally HOT 5
- [BUG] LCD has no display but touch sensor is still usable
- Marlin 2.1.1 error: #error "SERIAL_PORT must be from 1 to 6."
- Zoffset not work!!![BUG] (bug summary)
- not compiling with MKS_Robin_nano35 for MKS Robin Nano v1.2 HOT 2
- [BUG] Can't compile v3.1
- Cant Compile for Nano v1 HOT 1
- Latest version does not work. In the previous version, there is no double z motor and driver.
- icons are missing on robin nano v2 HOT 1
- DO NOT FLASH IT IN TT SP-5
- [BUG] Robin Nano v3.1 datatransfer by wifi => No temp-crontrol during transfer
- Marlin 2.0.9 impossible to compile for MKS Robin Nano V3.1 [SOLVED] HOT 1
- Please someone help with my MKS Robin Nano v3.1
- [BUG] Icons/Font will not update Robin Nano v1.2 HOT 1
- [BUG] When using TFT_LVGL_UI E0 won't move
- MKS WiFi module does not work with MKS Eagle and H43 display
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mks-robin-nano-marlin2.0-firmware.