Welcome! Log In Create A New Profile

Advanced

Full Graphic Smart Controller - Button doesn't do anything

Posted by InitialDima 
Full Graphic Smart Controller - Button doesn't do anything
November 16, 2024 06:58AM
I have Marlin 2.1.2.4 on Ramps 1.4. I've uncommented stroke "#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER", I can see informational page on LCD, but can't get into menu, becuase button doesn't do anything. If I rotate encoder, FR percentage changes, but presses aren't seen by Marlin. Tried to connect another Full Graphic Smart Cotroller, but the problem saved. Can anyone help me? What can I do to fix my problem?
P.s.: sorry for my bad english
Attachments:
open | download - plov1.jpg (969.8 KB)
open | download - plov2.jpg (860.2 KB)
open | download - plov3.jpg (243.1 KB)
Re: Full Graphic Smart Controller - Button doesn't do anything
November 16, 2024 09:38PM
You should use Platformio under vscode, its is 100x faster to build and uses correct libraries automatically. [marlinfw.org]
Re: Full Graphic Smart Controller - Button doesn't do anything
November 16, 2024 09:46PM
I cannot replicate this issue using arduino ide or platformio.

Best guess, you have defined something else to use the encoder pin 35 or its a hardware fault.

Test your hardware with [github.com]
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 02:49AM
I installed VScode and Platformio, built Marlin to my Mega, but problem saved. I tested my display with another sketch from github, button worked.
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 03:28AM
Please attach the Configuration.h and Configuration_adv.h you used

Edited 1 time(s). Last edit at 11/17/2024 03:28AM by Dust.
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 03:40AM
Okay
Attachments:
open | download - Configuration.h (126.6 KB)
open | download - Configuration_adv.h (173.3 KB)
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 03:53AM
These lines are wrong
/*#define SWITCHING_TOOLHEAD
/*#define MAGNETIC_SWITCHING_TOOLHEAD

it should be

//#define SWITCHING_TOOLHEAD
//#define MAGNETIC_SWITCHING_TOOLHEAD


this stops the hundreds of "Marlin/src/module/../inc/../../Configuration.h:321:1: warning: "/*" within comment [-Wcomment]"

but doesn't make any difference to your issue.

Using your configs on my hardware. works as expected, not that I can read ru, but it shows the ru menus on encoder push.
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 04:20AM
Try this

In file Marlin/src/pins/ramps/pins_RAMPS.h is

#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
    #define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
  #endif

change it to

#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
    //#define BTN_ENC_EN               LCD_PINS_D7  // Detect the presence of the encoder
  #endif

see if that changes anything for you.

Edited 1 time(s). Last edit at 11/17/2024 04:21AM by Dust.
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 08:00AM
I changed code, but button still doesn't do anything (
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 09:10AM
you are pressing the encoder arnt you? It goes left/right and it clicks down
Re: Full Graphic Smart Controller - Button doesn't do anything
November 17, 2024 09:17AM
Yes, I press encoder. If I rotate it, FR percentage changes, but presses aren't seen by Marlin.
Re: Full Graphic Smart Controller - Button doesn't do anything
November 23, 2024 09:57AM
I have the same controller and it works.
The only dif I can find relative to pins is I have DIRECT_PIN_CONTROL enabled - around line 4250 in _AVD
I have no idea if this is needed for you, but it seems to be only for M42 and M226 code.
Other than that, have you got all the libraries?
If so, and you enable above, then it must be a hw failure.
Sorry, only registered users may post in this forum.

Click here to login