Configuring 12864 LCD on Maestro?



  • @dc42 Yes, no problem.



  • @agniusm That's fine. The only difference ist that LCD_CS (EXP1) and SPIO_CS0 (EXP2) are swapped.
    Strange but my Display is working too ๐Ÿ™‚

    My configuration is original ENDER-3 (no PRO) with display like shown above.



  • Now I'm playing around with the display files (absolute beginner) and found something strange.

    I tested the examples from here https://duet3d.dozuki.com/Wiki/Duet_2_Maestro_12864_display_menu_system
    and the linked files from CraneQuadMenuFiles here https://forum.duet3d.com/post/68888

    With both configuration submenus could not be opened/started. I realized that it must be the "menu" entry in the files. For example:

    button R15 C5 F0 T"Temperature ยป" A"menu" L"x_temp"
    ist NOT working.

    button R15 C5 F0 T"Temperature ยป" A"menu x_temp" L"x_temp"
    is WORKING.

    I edited the whole "menu xx" entries in the CraneQuadMenuFiles in the same way as above and now the menus are working.

    Am I thinking wrong or is it necessary to add the corresponding filename in the "menu" entry?



  • @arnd13 said in Configuring 12864 LCD on Maestro?:

    @agniusm That's fine. The only difference ist that LCD_CS (EXP1) and SPIO_CS0 (EXP2) are swapped.
    Strange but my Display is working too ๐Ÿ™‚

    My configuration is original ENDER-3 (no PRO) with display like shown above.

    I made a short test and can confirm:
    Swapping LCD_CS (EXP1) and SPIO_CS0 (EXP2) makes no difference. Both possibilities are working ๐Ÿ™‚

    But the diagram with photos from @Agniusm looks better ๐Ÿ‘


  • administrators

    Does the Ender with the original electronics have anything connected to the EXP1 and EXP2 connectors? I am wondering whether those connectors might duplicate the pins on EXP3 but in a manner compatible with the RepRapDiscount display. You could use a multimeter to check whether the pins on EXP3 are also connected to EXP1 and EXP2, and if so what the pinout is.



  • The Ender display has 3 connectors EXP 1 to EXP 3. Some of th pins of EXP 1 and EXP 3 are named.

    EXP 1 from the pcb side:
    0_1543857341966_b4d8ad8e-c4db-4c3a-816f-52b404f9983c-image.png

    EXP 3 from the pcb side:
    0_1543857386030_51e65a80-7f35-4d38-add5-885f73057f5f-image.png

    Some pins are have the same signals. EXP 2 has no named pins.

    Maybe it's possible to use 2 standard 10pin cable to connect EXP 1-3 from the Display to Maestro EXP 1 and EXP 2. But until now I didn't have the time to measure and check if it's possible. I'll try to do the next days.



  • I can check pinout. I know that exp2 does not work with duets exp2. It probably shorts as leds go out



  • Maybe 2 cables (10 pin). EXP 1 LCD to EXP 1 Maestro and EXP 3 LCD to EXP 2 Maestro.

    EXP 1 LCD to EXP 1 Maestro is almost perfect. We only have to check wether Beep and ENC_SW is on EXP 1 LCD.



  • Here if if i did not missbeeped something
    0_1543861344509_ender 3 pins.jpg



  • @arnd13 Hi thank you (i am an absolute beginner as well) this has solved my problem you have got my screen working now i just have to refine it
    Thank's again



  • @arnd13
    Looks like vcc, gnd, buzz and enc_sw will work on exp1, you only need to cut slot in lcd connector and flip ribbon cable?! I will try that.
    Another way is just to cut ribbon cable and crimp dupont pins, then use connectors found on pc for power,hdd, reset. They come in multiple sizes and could be salvaged



  • @dc42 @arnd13 I can confirm that display works on EXP1. You need to cut a slot to opposite side of the LCD EXP1 and insert the ribbon cable "the wrong way". Further more if you cut slot on EXP2 on LCD and insert ribbon cable "the wrong way" and connect it to DUET Maestro EXP2, you will have fully functional LCD.
    Only encoder will be reversed.
    Wow, the trouble i went through crimping those cables when i only needed to cut out 2 slots...

    P.S. Probably i was too quick with the post. Weird, but when duet is powered through USB, everything works but when through power terminals the display is blank.
    Never mind, had it disabled in config.
    So you dont have to enable it in config if its powered by USB but you do when it is power through power terminals



  • I tried using menu from @Greg3D , i think and it would not go into menu items so i edited main file and now its working. Attached menu
    0_1543946960070_Maestro_Menu.gcode
    Did not let to attach .zip, rename .gcode extension to .zip



  • I also used those menu files and had to edit them. Menus are only for the base functions but a good base to extend with additional functions.

    A mix between those files and the CraneQuadMenuFiles would be the best solution.



  • Whew, ok.. pretty confusing thread. I'm ready right now to connect the Maestro to my stock Ender 3 Pro display. Do we have consensus on what needs to be done? If the the display is standard off the shelf used by Creality why is flipping the cable necessary? Do we actually need two cables? Is the encoder finally reversed when all is wired, or is there a way to correct that? The info I found is pretty limited on schematics. What connectors should be used on the Maestro end, and the display end?


  • administrators

    The most common connection scheme for 12864 displays is the one used by the RepRapDiscount Smart Graphics Controller. This is an open source design described at https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller. That was in turn based on the connections used by 20x4 text displays. Unfortunately the display on the Ender 3 uses a different scheme.

    A single 10-way connection would in principle be sufficient for a display without a SD card socket, but doesn't provide enough pins for both the LCD and the SD card.



  • @dc42 said in Configuring 12864 LCD on Maestro?:

    The most common connection scheme for 12864 displays is the one used by the RepRapDiscount Smart Graphics Controller. This is an open source design described at https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller. That was in turn based on the connections used by 20x4 text displays. Unfortunately the display on the Ender 3 uses a different scheme.

    A single 10-way connection would in principle be sufficient for a display without a SD card socket, but doesn't provide enough pins for both the LCD and the SD card.

    Figures ๐Ÿ˜ž And apparently Creality inverted the pins. The display has no SD card. They managed to get the display and the encoder over a single 8 pin cable to their CPU board. I guess the Maestro has pins needed for the encoder on one connector and the display on another one.



  • @3dmntbighker, Yes, there is consensus. There are 2 ways you can connect your display.

    1. You use your cable, cut one end on it, get some dupont connectors and wire it according to this diagram:
      0_1544430950328_cbebc945-d9cf-4fb3-b581-b742e8316405-image.png
      If encoder is reversed, you flip 2 bottom wires(as per pic) on Duets EXP2(left connector on pic)
    2. method is to use 2 10pin cables(so you need to buy another one)
      a. on duet, connect it normal way
      b. on ender 3 display, connect it flipped where locator clips face beeper.
      Duet exp1 to LCD exp1 flipped
      Duet exp2 to LCD exp2 flipped
      Dont forget to add M918 P1 E4 to your config.g


  • Some more of the insights. Using two cable method lcd shows some artifacts. When connected to exp3 and using diy'ed single cable artifacts are absent

    0_1544600612925_J4W15IR.jpg

    0_1544600626952_e5Aqxz8.jpg


  • administrators

    If encoder is reversed, you flip 2 bottom wires(as per pic) on Duets EXP2(left connector on pic)

    You can also reverse the encoder direction in the M918 command that configures the display and encoder.


Log in to reply