Git Product home page Git Product logo

Comments (12)

Whiskaya avatar Whiskaya commented on July 19, 2024 1

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.

Quas7 avatar Quas7 commented on July 19, 2024 1

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.

Quas7 avatar Quas7 commented on July 19, 2024 1

@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.

makerbase-mks avatar makerbase-mks commented on July 19, 2024

This may not work, because the pin is different

from mks-robin-nano-marlin2.0-firmware.

Whiskaya avatar Whiskaya commented on July 19, 2024

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.

MarlinFirmware/Marlin#19544

Any ideas?

from mks-robin-nano-marlin2.0-firmware.

Quas7 avatar Quas7 commented on July 19, 2024

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.

danielr1996 avatar danielr1996 commented on July 19, 2024

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 avatar danielr1996 commented on July 19, 2024

@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

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.

eduwinner-1 avatar eduwinner-1 commented on July 19, 2024

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.

Quas7 avatar Quas7 commented on July 19, 2024

@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.

eduwinner-1 avatar eduwinner-1 commented on July 19, 2024

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

20201115_002346

from mks-robin-nano-marlin2.0-firmware.

Quas7 avatar Quas7 commented on July 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.