MKS-Robin icon indicating copy to clipboard operation
MKS-Robin copied to clipboard

TFT35 MKS-Robin Nano white Display

Open Princore opened this issue 5 years ago • 112 comments

IMG_0034 I flashed Marlin 2.0 and on the Robin Nano 1.1 and also the MKS Robin TFT35 V1.0 Firmware for the Display. After Booting the display keeps white and nothing happens. Connecting to the MKS Robin Nano with pronterface works. Do I have to set something else in Marlin?

Princore avatar Aug 28 '19 15:08 Princore

You dont need fw for the screen, its build into Marlin. You do need to enable it and the touch buttons in Marlin. Look for the FMSC stuff down toward the bottom of config.h.

zillarob avatar Aug 28 '19 23:08 zillarob

Hey, Thanks for you help. I was searching in Marlin in configuration.h but I can not find anything with FMSC. Maybe you can send me a screenshot of the part you mean.

Thanks! <Philipp

Am 29.08.2019 um 01:32 schrieb zillarob <[email protected]mailto:[email protected]>:

You dont need fw for the screen, its build into Marlin. You do need to enable it and the touch buttons in Marlin. Look for the FMSC stuff down toward the bottom of config.h.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AITK2ACUSIS6TQB4H5JDRCLQG4DIPA5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5MYUMQ#issuecomment-525961778, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AITK2AGK2FB7EH74BZRRYXLQG4DIPANCNFSM4IRKEDJA.

Princore avatar Aug 29 '19 04:08 Princore

Start by in the config.h file search for TFT.

DaVincIan avatar Aug 29 '19 04:08 DaVincIan

Bildschirmfoto 2019-08-29 um 06 04 28

Princore avatar Aug 29 '19 04:08 Princore

I forgot they have an odd version here. It used to say that, but the newer version is slightly different now. Id grab a fresh version from the main branch. Only use the ones here as a template for some of the stuff like serial settings etc.

zillarob avatar Aug 29 '19 04:08 zillarob

Using the fresh version with the nano board selected and the TFT aktivated = display stays completely off

Princore avatar Aug 29 '19 04:08 Princore

There is no tft option in the main marlin branch.

nan

zillarob avatar Aug 29 '19 04:08 zillarob

That’s the line changed like in your screenshot. What is also missing in my firmware?

LG Philipp

Am 29.08.2019 um 06:22 schrieb zillarob <[email protected]mailto:[email protected]>:

There is no tft option in the main marlin branch.

[nan]https://user-images.githubusercontent.com/42916376/63910010-0636c780-c9f3-11e9-8930-6ef6eee01ecb.JPG

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AITK2ADRDIPD7BWDESJIDUDQG5FHRA5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5NFYYY#issuecomment-526015587, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AITK2AF6XUGBBNACMA6UGR3QG5FHRANCNFSM4IRKEDJA.

Princore avatar Aug 29 '19 04:08 Princore

Hard to say. Ive been playing with it on my Tevo Nereus and the toughest thing I remember was getting the buttons to work. It does seem a lil buggy though. I cant say if its the fw, the board, or me doing something goofy in the fw though. It does seem like if I dl and setup a new it will be fine, but as time goes by and I turn stuff on or off it just gets worse and worse.

zillarob avatar Aug 29 '19 04:08 zillarob

You could try adding this if not there. (current main marlin, not the one here)

nanpin

zillarob avatar Aug 29 '19 04:08 zillarob

Wow thanks for your help. I’ll try that when I am back home. Just add that to the end of configuration.h right? Just to make sure: I changed the Board and the Ports + uncommented the TFT line like in your screenshot. Anything else I have to take care of?

LG Philipp

Am 29.08.2019 um 06:33 schrieb zillarob <[email protected]mailto:[email protected]>:

You could try adding this if not there [nanpin]https://user-images.githubusercontent.com/42916376/63910408-945f7d80-c9f4-11e9-8fef-5b0abb696a4d.JPG

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AITK2ABV2TDKVJT6VT5D2JTQG5GQ3A5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5NGJKI#issuecomment-526017705, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AITK2AGAMBQSBVRUNZQVCYLQG5GQ3ANCNFSM4IRKEDJA.

Princore avatar Aug 29 '19 04:08 Princore

You need to see what is already in there, and then add the stuff that isnt. Dont just paste that at the bottom.

I dont know what you will have to change for your printer, but that is what I use and the screen and touch buttons work.

zillarob avatar Aug 29 '19 04:08 zillarob

Yes sure I’ll change all the stuff for my printer but first I wanted to make the display to work.

LG Philipp

Am 29.08.2019 um 06:50 schrieb zillarob <[email protected]mailto:[email protected]>:

You need to see what is already in there, and then add the stuff that isnt. Dont just paste that at the bottom.

I dont know what you will have to change for your printer, but that is what I use and the screen and touch buttons work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AITK2AF3NW7VZIX6A5GEYZ3QG5IRPA5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5NHDLA#issuecomment-526021036, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AITK2AEDESQISJRGWB26WTLQG5IRPANCNFSM4IRKEDJA.

Princore avatar Aug 29 '19 04:08 Princore

You just need to uncomment this in PINS_MKS_ROBN_NANO.h so that that 3.5“ display gets properly initialized:

//#define MKS_ROBIN_TFT35 //Uncomment when using the robin tft35 display

alfrankgit avatar Aug 29 '19 16:08 alfrankgit

Is that in the configuration.h that line?

LG Philipp

Am 29.08.2019 um 18:18 schrieb alfrankgit <[email protected]mailto:[email protected]>:

You need to uncomment this in PINS_MKS_ROBN_NANO.h so that that 3.5“ display gets properly initialized:

//#define MKS_ROBIN_TFT35 //Uncomment when using the robin tft35 display

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AITK2AGED2BHNRPXL4FMRPLQG7ZFZA5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5PBIKY#issuecomment-526259243, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AITK2ACDDSF3UR6HJFP4W5TQG7ZFZANCNFSM4IRKEDJA.

Princore avatar Aug 29 '19 16:08 Princore

It is in the file PINS_MKS_ROBN_NANO.h as I wrote above.

alfrankgit avatar Aug 29 '19 17:08 alfrankgit

Yay it works now. The only thing: the TFT shows the Marlin layout. What do I need to change to get the MKS TFT design? Big big thanks! IMG_0039

Princore avatar Aug 29 '19 19:08 Princore

I dont think you can. You either get an updated version of marlin with the marlin menus, or an old version of marlin with mks menus and who knows wtf else going on because mks never released the source. (if you look at it with a hex editor it was way old, like 1.0)

That version you are using from here is getting pretty old now also (2.0 at least), and the touch buttons arent nearly as responsive as the current main branch iirc.

I guess you could get a normal tft35, not the Robin version, and run it from that if you can find Rx and Tx on the nano.

zillarob avatar Aug 29 '19 20:08 zillarob

Ah ok. I was looking for the define MKS_ROBIN_TFT35 //Uncomment when using the robin tft35 display in the newest 2.0.x Marlin firmware, but I can not see it there. How can I activate the TFT35 in that newer Marlin version? Thanks again for your help and work!

Princore avatar Aug 29 '19 20:08 Princore

No, the MKS style menu is only in the precompiled Release 1.0.2, there’s no source code for that. I think the Marlin 2.0 from MKS is just for alibi.

alfrankgit avatar Aug 29 '19 20:08 alfrankgit

Ok I flashed the newest marlin and the display runs after commenting //#define LCD_RESET_PIN PF6

The touch button are missing and the resolutions seems to be not correct. These two things and i am happy. Do have an idea how to fix those last two things? IMG_0040

Princore avatar Aug 29 '19 20:08 Princore

Never seen that res thing. Enable the touch buttons and maybe the other stuff I mentioned above.

zillarob avatar Aug 29 '19 23:08 zillarob

Chip on nano doesnt have PF6. I think that was supposed to be PC6 for nano.

zillarob avatar Aug 29 '19 23:08 zillarob

Tried the same as Phillip today and got exactly the same result. Display just shown in odd resolution and no touch support.

Technology89 avatar Sep 01 '19 19:09 Technology89

I would compare the pins assignment and how it is configured in mks-Robin and verify the pinout from the schematic. Mks-Robin touch is working.

Check the issue case in mks-robin ( use key word on Google “ mks Robin Marlin”)

A gentlemen posted a small FW to test what LCD controller the board is using.

It seemed to me that for the moment, there is only couple lcd controller that are supported.

Hope this helps.

On Sun, Sep 1, 2019 at 13:18 Technology89 [email protected] wrote:

Tried the same as Phillip today and got exactly the same result. Display just shown in odd resolution and no touch support.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AFYWWXJGXOZX3SXSCOLWE4TQHQIP5A5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5UI4FY#issuecomment-526945815, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYWWXJ5G33JYKSS5RPTWCTQHQIP5ANCNFSM4IRKEDJA .

3Dangel avatar Sep 01 '19 20:09 3Dangel

I dont know if this is what it is using, but I see quite a few changes in the tft upscaler thing in lcd dogm between the older one I am using and the current version. If I get bored this eve, I will do up a freshy and see if I see the same.

zillarob avatar Sep 01 '19 20:09 zillarob

Got the touchbuttons to show up but they don't work. Didn't define TOUCH_BUTTONS in configuration.h. And Touchpin is correct in the PINS for the board (PA7). yTqXn7Lr

Technology89 avatar Sep 02 '19 16:09 Technology89

Yours is the latest version that they just forked to. Mine worked with the green original settings.

Thanks for advise as I am about to upload the newest updated FW as yours. Color is good!!!! Cheers

On Mon, Sep 2, 2019 at 10:36 Technology89 [email protected] wrote:

Got the touchbuttons to show up but they don't work. Didn't define TOUCH_BUTTONS in configuration.h

https://i.imgur.com/yTqXn7Lr.jpg

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AFYWWXNK3ADXEGXVWWSRT3TQHU6JDA5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WHHCI#issuecomment-527201161, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYWWXMBHYCC5YMZ65HUMG3QHU6JDANCNFSM4IRKEDJA .

3Dangel avatar Sep 02 '19 17:09 3Dangel

Hello Technology89,

Would it be possible to get zip file from you? I’m having issue with my just downloaded version of Marlin. The old one that I had for s month or so still compiles correctly ( without your color buttons)

Thanks in advance. Bob

On Mon, Sep 2, 2019 at 10:36 Technology89 [email protected] wrote:

Got the touchbuttons to show up but they don't work. Didn't define TOUCH_BUTTONS in configuration.h

https://i.imgur.com/yTqXn7Lr.jpg

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/124?email_source=notifications&email_token=AFYWWXNK3ADXEGXVWWSRT3TQHU6JDA5CNFSM4IRKEDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WHHCI#issuecomment-527201161, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYWWXMBHYCC5YMZ65HUMG3QHU6JDANCNFSM4IRKEDJA .

3Dangel avatar Sep 02 '19 19:09 3Dangel

Gonna upload tomorrow. But remember that the buttons not working. They are just shown but not touchable.

Technology89 avatar Sep 02 '19 19:09 Technology89