MINI-12864 icon indicating copy to clipboard operation
MINI-12864 copied to clipboard

BGTHREETECH-MINI-12864-V1.0 doesn't work with MKS Gen L V2.1 on Marlin 2

Open romass opened this issue 3 years ago • 4 comments

Good Day,

I have a problem with connecting this LCD to my MKS Gen L V2.1 on Marlin 2.0.9.1. LCD lights up, but no visible text appears. EXP1 wire inverted (if it wasn't nothing would have appeared). Any help would be appreciated.

Board: MKS Gen L V2.1 Firmware: Marlin 2.0.9.1 LCD: BGTHREETECH-MINI-12864-V1.0

configs: https://github.com/romass/3D-Printing/tree/main/MKS_gen_L_V21_Fysetc%20Mini%2012864%20V2.1%20Marlin%202

romass avatar Nov 11 '21 20:11 romass

@romass Good news just did a similar build if you didn't figure it out. The connector body is flipped on the MKS Gen L V2.1 (or on the screen depending on how you want to look at it) I cut notches on my serial connector on the screen so I could plug them in the other way. The red pin should be pin 1 which should be ground. After doing that my screen worked fine after enabling it in the marlin config and setting the board to BOARD_MKS_GEN_L_V21, setting the screen to FYSETC_MINI_12864_2_1 and enabling NEOPIXEL_LED.

For reference board: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V2.1_001/MKS%20GEN_L%20V2.1_001%20PIN.pdf

Screen: https://github.com/bigtreetech/BGTHREETECH-MINI-12864-V1.0/blob/master/Hardware/BIGTREETECH%20MINI12864%20Interface.pdf

Notice the pinout of EXP1 and 2 and where the ground pins are.

MarkPugner79 avatar Feb 12 '22 19:02 MarkPugner79

Nice! Will try, but I've already swapped one of the connectors 180 degree and at that time it just switched on, but still showed nothing.

romass avatar Feb 12 '22 19:02 romass

If the display just lights up and shows nothing, try this: In the file: Marlin\src\lcd\dogm\marlinui_DOGM.cpp change parameter: void MarlinUI::_set_contrast() { u8g.setContrast(contrast); } change to: void MarlinUI::_set_contrast() { u8g.setContrast(255); }

radek8 avatar Jun 06 '22 20:06 radek8

@romass The setting of your NEOPIXEL parameters does not correspond to the recommendation in the display manual.

image

radek8 avatar Jun 06 '22 20:06 radek8