Welcome! Log In Create A New Profile

Advanced

Full Graphic Smart Controller, how to rotate the screen 180deg

Posted by Salaskin 
Full Graphic Smart Controller, how to rotate the screen 180deg
September 16, 2017 11:51AM
Hello all reprappers!

I am having an issue, I designed a 3d printer like the prusa i3...
It has a Full Graphic Smart Controller on the front.
I have some design limitations that forced me to mount it upside down.
So the nob/encoder sits on the top left, and the screen is down.
Basically I need to rotate it 180deg (things look upside down).
The encoder rotation is another issue, but that I know how to solve.

I'm using a Ramps 1.4 board with Marlin Version 1.1.5 – August 2017 (newest)
The Full Graphic Smart Controller works fine. I only need to rotate the screen.

Please some help.



Edited 1 time(s). Last edit at 09/18/2017 12:02AM by Salaskin.
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 03:37AM
haven't tried it, but in theory all you have to do is set

#define LCD_SCREEN_ROT_180

in the correct section of pins_RAMPS.h for your LCD

Edited 2 time(s). Last edit at 09/17/2017 03:39AM by Dust.
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 08:53AM
Hello:
Tried this could not help myself.

//#define LCD_SCREEN_ROT_0
//#define LCD_SCREEN_ROT_90
//#define LCD_SCREEN_ROT_180
//#define LCD_SCREEN_ROT_270

Did not function on my REPRAP_DISCOUNT_SMART_CONTROLLER, was hoping.

Thank you for the post Dust
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 07:12PM
in pins.RAMPS.h

find

  #if ENABLED(NEWPANEL)

    #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)

      #define BEEPER_PIN        37

      #define BTN_EN1           31
      #define BTN_EN2           33
      #define BTN_ENC           35

      #define SD_DETECT_PIN     49
      #define KILL_PIN 41

change to
  #if ENABLED(NEWPANEL)

    #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)

      #define LCD_SCREEN_ROT_180
      #define BEEPER_PIN        37

      #define BTN_EN1           31
      #define BTN_EN2           33
      #define BTN_ENC           35

      #define SD_DETECT_PIN     49
      #define KILL_PIN 41

Sadly still cant test it, no ramps boards/repraps at work! sad smiley
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 08:02PM
I tried on both Hictops using LCD_SCREEN_ROT_180 on RepRapDiscount Smart Controller

tried on both types of controllers I have
stock Hictop display - "MLCD2004.2" - 90 degree angle connector

Reprap replacement display "www.bigtree-tech.com" - Straight connectors - used with inverted cables, as the stock cables don't work on Hictop 180 degrees off on pinout.
If you look at the pictures the Key is on the opposite sides of connectors.


Still no Invert on this display, Believe you need the Square Full Graphic Smart Controller to use LCD_SCREEN_ROT_180.

Edited 2 time(s). Last edit at 09/17/2017 08:10PM by Roberts_Clif.
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 08:14PM
nul

Edited 2 time(s). Last edit at 09/17/2017 08:32PM by Salaskin.
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 08:31PM
OOOOH good sir! thank you! (DUST)

It worked like a charm smiling smiley

Quote
Dust
in pins.RAMPS.h

find

  #if ENABLED(NEWPANEL)

    #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)

      #define BEEPER_PIN        37

      #define BTN_EN1           31
      #define BTN_EN2           33
      #define BTN_ENC           35

      #define SD_DETECT_PIN     49
      #define KILL_PIN 41

change to
  #if ENABLED(NEWPANEL)

    #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)

      #define LCD_SCREEN_ROT_180
      #define BEEPER_PIN        37

      #define BTN_EN1           31
      #define BTN_EN2           33
      #define BTN_ENC           35

      #define SD_DETECT_PIN     49
      #define KILL_PIN 41

Sadly still cant test it, no ramps boards/repraps at work! sad smiley

Edited 1 time(s). Last edit at 09/18/2017 12:06AM by Salaskin.
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 08:40PM
@roberts

Yes you needs GLCD not a character based display, Which the original asker has.
Re: Full Graphic Smart Controller, how to rotate the screen 180deg
September 17, 2017 08:45PM
I was hoping even though I did not have a graphics display that It would Still invert the ABC's and 123's!!!

Edited 5 time(s). Last edit at 09/17/2017 08:53PM by Roberts_Clif.
Sorry, only registered users may post in this forum.

Click here to login