<p>It probably can be done, but, it requires some splicing of your LCD cables (or using some Dupont male-female cables) and altering of the firmware pins header files.</p>
<p>The MKS GEN L v2.0 lacks the AUX-2 port that is present on the v1.0 controller boards. The reason for this is that they implemented support for more modern stepper drivers like the trinamic drivers that are capable of using UART to set stepper options.</p>
<p>The old v1.0 pin layout is displayed below:
<a href="https://i.sstatic.net/Tw1Mz.png" rel="nofollow noreferrer" title="MKS GEN L v1.0 pin layout"><img src="https://i.sstatic.net/Tw1Mz.png" alt="MKS GEN L v1.0 pin layout" title="MKS GEN L v1.0 pin layout" /></a></p>
<p>The new v2.0 pin layout is dislayed below:
<a href="https://i.sstatic.net/lH6xa.png" rel="nofollow noreferrer" title="MKS GEN L v2.0 pin layout"><img src="https://i.sstatic.net/lH6xa.png" alt="MKS GEN L v2.0 pin layout" title="MKS GEN L v2.0 pin layout" /></a></p>
<p>The Anet A8 2004 graphical display (so-called ZONESTAR_LCD) uses (at least one as the buttons are suited with different resistors) analog pin that is used to detect which buttons are pushed.</p>
<pre><code>#elif ENABLED(ZONESTAR_LCD)
  #define ADC_KEYPAD_PIN 12
</code></pre>
<p>Pins <code>A5</code> and <code>A9-12</code>, <code>D40</code>, <code>D42</code> and <code>D44</code> are used according to the pin layout.</p>
<p>In the <code>pins_RAMPS.h</code> header file the display usage is coded as:</p>
<pre><code>#elif ENABLED(ZONESTAR_LCD)

  #define LCD_PINS_RS                     64
  #define LCD_PINS_ENABLE                 44
  #define LCD_PINS_D4                     63
  #define LCD_PINS_D5                     40
  #define LCD_PINS_D6                     42
  #define LCD_PINS_D7                     65
</code></pre>
<p>In order for this to work on the MKS GEN L v2.0, you need to source for free pins that can mimic these pins and alter the header file and create a spliced LCD cable.</p>
<p>It might be much easier to buy a new reprap discount display controller for about 10 bucks/euros and connect it to the dedicated EXP1/2 headers. Stay away from the Anet A6 graphical display.</p>

CC BY-SA 4.0
2020-10-17T20:16:48.293Z
Thanks Oscar! The dices have chosen to buy one (done). Anyway, your valued answer gave me confidence about modding the board.
Aviator
CC BY-SA 4.0
2020-10-21T20:25:23.770Z
The keypad of the Anet A8 just uses one analog pin. In the pins_RAMPS.h file the is further down the definition #elif ENABLED(ZONESTAR_LCD) #define ADC_KEYPAD_PIN 12. The buttons are suited with different resistors. So using your answer and this hint will help to get it running. Finding some time next week I will try to set it up despite my purchase.
Aviator
CC BY-SA 4.0
2020-10-17T13:09:14.747Z
2020-10-22T06:50:38.537Z
2020-10-22T06:50:38.537Z
0scar
<p>Although it seems this question has been answered before <a href="https://3dprinting.stackexchange.com/questions/6030/connecting-anet-a8-2004-display-to-mks-gen-l">Connecting (Anet A8) 2004 display to MKS GEN L</a> this one differs because the v2.0 board has no obvious AUX-2 connector.</p>
<p>So the question is, how can I connect the Anet A8 LCD Panel (with buttons) to the MKS Gen L V2.0 board? Or where can I find the schematics?</p>

CC BY-SA 4.0
2020-10-17T11:22:59.460Z
Hi and welcome! Thanks for posting a separate question! Note that it probably can be done, but not if you are using the UART, since there is no AUX-2 (and the LCD you want to connect requires analog pins) you need to "harvest" them from elsewhere unused pins. This includes changing your pins_xxx.h file. It is much easier to buy a new LCD that works with the EXP-1/2 ports.
0scar
CC BY-SA 4.0
2020-10-17T11:38:45.937Z
Thanks Oscar for your buying advice. As you might know the challenge of fixing what you have often predominates good sense :-). I will think about harvesting or buying ...
Aviator
<lcd-screen><mks><display>
Connecting (Anet A8) 2004 display to MKS GEN L V2.0
Aviator
# Connecting (Anet A8) 2004 display to MKS GEN L V2.0

(Asked by: username_0 on 2020-10-17)

Although it seems this question has been answered before [Connecting (Anet A8) 2004 display to MKS GEN L](https://3dprinting.stackexchange.com/questions/6030/connecting-anet-a8-2004-display-to-mks-gen-l) this one differs because the v2.0 board has no obvious AUX-2 connector.

So the question is, how can I connect the Anet A8 LCD Panel (with buttons) to the MKS Gen L V2.0 board? Or where can I find the schematics?

**Tags:** lcd-screen, mks, display

> **Comments:**
> **username_1**: Hi and welcome! Thanks for posting a separate question! Note that it probably can be done, but not if you are using the UART, since there is no AUX-2 (and the LCD you want to connect requires analog pins) you need to "harvest" them from elsewhere unused pins. This includes changing your pins_xxx.h file. It is much easier to buy a new LCD that works with the EXP-1/2 ports.  
> **username_0**: Thanks Oscar for your buying advice. As you might know the challenge of fixing what you have often predominates good sense :-). I will think about harvesting or buying ...  

---

## 1 answers

### Answer by username_1 on 2020-10-17. Score: 0 | Accepted answer

It probably can be done, but, it requires some splicing of your LCD cables (or using some Dupont male-female cables) and altering of the firmware pins header files.

The MKS GEN L v2.0 lacks the AUX-2 port that is present on the v1.0 controller boards. The reason for this is that they implemented support for more modern stepper drivers like the trinamic drivers that are capable of using UART to set stepper options.

The old v1.0 pin layout is displayed below:
[![MKS GEN L v1.0 pin layout](https://i.sstatic.net/Tw1Mz.png "MKS GEN L v1.0 pin layout")](https://i.sstatic.net/Tw1Mz.png "MKS GEN L v1.0 pin layout")

The new v2.0 pin layout is dislayed below:
[![MKS GEN L v2.0 pin layout](https://i.sstatic.net/lH6xa.png "MKS GEN L v2.0 pin layout")](https://i.sstatic.net/lH6xa.png "MKS GEN L v2.0 pin layout")

The Anet A8 2004 graphical display (so-called ZONESTAR\_LCD) uses (at least one as the buttons are suited with different resistors) analog pin that is used to detect which buttons are pushed.

```
#elif ENABLED(ZONESTAR_LCD)
  #define ADC_KEYPAD_PIN 12

```

Pins `A5` and `A9-12`, `D40`, `D42` and `D44` are used according to the pin layout.

In the `pins_RAMPS.h` header file the display usage is coded as:

```
#elif ENABLED(ZONESTAR_LCD)

  #define LCD_PINS_RS                     64
  #define LCD_PINS_ENABLE                 44
  #define LCD_PINS_D4                     63
  #define LCD_PINS_D5                     40
  #define LCD_PINS_D6                     42
  #define LCD_PINS_D7                     65

```

In order for this to work on the MKS GEN L v2.0, you need to source for free pins that can mimic these pins and alter the header file and create a spliced LCD cable.

It might be much easier to buy a new reprap discount display controller for about 10 bucks/euros and connect it to the dedicated EXP1/2 headers. Stay away from the Anet A6 graphical display.

> **Comments:**
> **username_0**: Thanks Oscar! The dices have chosen to buy one (done). Anyway, your valued answer gave me confidence about modding the board.  
> **username_0**: The keypad of the Anet A8 just uses one analog pin. In the pins_RAMPS.h file the is further down the definition #elif ENABLED(ZONESTAR_LCD) #define ADC_KEYPAD_PIN 12. The buttons are suited with different resistors. So using your answer and this hint will help to get it running. Finding some time next week I will try to set it up despite my purchase.  

---

