How Do I Configure Pinouts For A LCD September 04, 2021 11:38AM |
Registered: 2 years ago Posts: 3 |
if ENABLED(LCD_FOR_MELZI) define LCD_PINS_ENABLE 16 define LCD_PINS_RS 35 define LCD_PINS_D4 25 define BEEPER_PIN 27 define KILL_PIN 29 define BTN_EN1 23 define BTN_EN2 37 define BTN_ENC 17 endif
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(LCD_FOR_MELZI) || ENABLED(SILVER_GATE_GLCD_CONTROLLER) #define DOGLCD #define U8GLIB_ST7920 #define REPRAP_DISCOUNT_SMART_CONTROLLER #endif
Re: How Do I Configure Pinouts For A LCD September 06, 2021 11:17AM |
Registered: 7 years ago Posts: 759 |
Re: How Do I Configure Pinouts For A LCD September 06, 2021 11:44AM |
Registered: 2 years ago Posts: 3 |
Re: How Do I Configure Pinouts For A LCD September 06, 2021 09:25PM |
Admin Registered: 13 years ago Posts: 7,000 |
5v D10 D11 D16 D17 gnd D31 D30 D29 D28
gnd D27 D23 D17 D37 5v D29 D25 D16 D35
Re: How Do I Configure Pinouts For A LCD September 08, 2021 07:45PM |
Registered: 2 years ago Posts: 3 |
Quote
Dust
You cannot just plug this lcd into exp1 of the MKS Gen L v1
Melzi Ardentissimo pins (from your picture)
5v D10 D11 D16 D17 gnd D31 D30 D29 D28
mks gen_l pins from [github.com]
gnd D27 D23 D17 D37 5v D29 D25 D16 D35
Note that the 5v and gnd are switched over, you cannot correct this by flipping the plug 180.
You need to make up a custom cable.
Also note the power end of the cable is without the red stripe.
With it plugged into the MKS GEN_L like you have it, your feeding power into the wrong end of the cable.