MKS MINI 12864 on a RUMBA
I am switching Firmware To Repetier.
MKS MINI and RUMBA worked perfectly with MARLIN, but Marlin doesn't support 3 head Ditto Printing for industrial printing/manufacturing.
Does anyone have the correct settings?
MKS MINI and RUMBA worked perfectly with MARLIN, but Marlin doesn't support 3 head Ditto Printing for industrial printing/manufacturing.
Does anyone have the correct settings?
Comments
I've tried several combinations but no success.
Repetier is laid out differently than Marlin, so I'm struggling with the location for inserting the fix that was done on Marlin.
I have a backlight only, so I'm close. I think it's pin 38 and 41 that are the problem but I don't know how or where to address this.
How can I transfer settings from Marlin to Repetier? I have no idea what goes where. This may be easy for you, but it's not for me. I was able to do the Marlin fix, but I'm lost in Repetier.
someone out there has the settings.
2. Kill pin, SD Card, buzzer, dial selection encoder key with push to select all work.
3. U8lib must be working, because I can blindly rotate and select an underlying menu selection, push encoder and the printer reacts.
I just can't get the LCD to show.
Contrast or refresh setting?
Wrong pins but which ones and where do they need to be set?
https://reprap.org/wiki/MKS_MINI_12864
There they say like RRD Graphic Controller and we already have that with
#elif MOTHERBOARD == 80 // Rumba has different pins as RAMPS!
#undef BEEPER_PIN
#define BEEPER_PIN 44
#define UI_DISPLAY_RS_PIN 19
#define UI_DISPLAY_RW_PIN -1
#define UI_DISPLAY_ENABLE_PIN 42
#define UI_DISPLAY_D0_PIN -1
#define UI_DISPLAY_D1_PIN -1
#define UI_DISPLAY_D2_PIN -1
#define UI_DISPLAY_D3_PIN -1
#define UI_DISPLAY_D4_PIN 18
#define UI_DISPLAY_D5_PIN 38
#define UI_DISPLAY_D6_PIN 41
#define UI_DISPLAY_D7_PIN 40
#define UI_ENCODER_A 12
#define UI_ENCODER_B 11
#define UI_ENCODER_CLICK 43
#define UI_RESET_PIN 46
Please try this as it uses the right pinout. Do not confuse the the reprapdiscount 20x4 display whcih is definitely not compatible.
If it does not work, I need to know the graphic chip the display uses.
the U1 Chip on the back of the MKS MINI 12864 has the markings as follows:
74HC405
CMD67
TnD1624B
NXP
This is the best thread to figure this out IMO.
Makerbase MKS MINI12864 v1.0 with RAMPS_14 Configuration Marlin 1.1 #6847
I have selected:
Uiconfig.h
#define U8GLIB_ST7920
What is:
// UI_DISPLAY_RS _PIN = CS
// UI_DISPLAY_D5_PIN = A0
can someone explain what this is for? I think it's for the MKS MINI
// SCK Pin: UI_DISPLAY_D4_PIN
// Mosi Pin: UI_DISPLAY_ENABLE_PIN
// CD Pin: UI_DISPLAY_RS_PIN
Left is function right is which name gets it. Not very intutive I know, the firmware names come from charater displays and these had the right pin numbers for RRD display so we refunctioned them for u8glib.// ST7920 with software SPI
#define U8GLIB_ST7920
// SSD1306 with software SPI
//#define U8GLIB_SSD1306_SW_SPI
// SH1106 with software SPI
// U8GLIB_SH1106_SW_SPI
// SSD1306 over I2C using hardware I2C pins
// #define U8GLIB_MINI12864_2X_SW_SPI
//#define U8GLIB_SSD1306_I2C
// For the 8 bit ks0108 display you need to set these pins
// UI_DISPLAY_D0_PIN,UI_DISPLAY_D1_PIN,UI_DISPLAY_D2_PIN,UI_DISPLAY_D3_PIN,UI_DISPLAY_D4_PIN,UI_DISPLAY_D5_PIN,UI_DISPLAY_D6_PIN,UI_DISPLAY_D7_PIN
// UI_DISPLAY_ENABLE_PIN,UI_DISPLAY_CS1,UI_DISPLAY_CS2,
// UI_DISPLAY_DI,UI_DISPLAY_RW_PIN,UI_DISPLAY_RESET_PIN
//#define U8GLIB_KS0108
//#define U8GLIB_KS0108_FAST
// UI_DISPLAY_RS_PIN = CS
// UI_DISPLAY_D5_PIN = A0
//#define U8GLIB_ST7565_NHD_C2832_HW_SPI
You may only use one of these defines. It tells u8glib which driver to use and that must match the midi display driver, which is why I asked. But your infos did not help here. U8GLIB_MINI12864_2X_SW_SPI might be the right from the name, but that is often misleading.
GarrethX commented May 25, 2017 • edited
My HW mod is just required for DUE, as the HWSPI in u8glib v1 for that display is not working at 32 bits:)
At rumba I managed to run this display with HWSPI, and I guess any 8bit will work, just you need correct pins..
I even found an old code I used for rumba (not in 3d printer firmware, just one of my projects needed a temporary display:) ), I used there simply:
And SD card:
#if (MINIPANEL)
#define DOGLCD
#define ULTIPANEL
#define DEFAULT_LCD_CONTRAST 17
#ifdef U8GLIB_MINI12864_2X_SW_SPI
u8g_InitSPI(&u8g, &u8g_dev_uc1701_mini12864_2x_sw_spi, UI_DISPLAY_D4_PIN, UI_DISPLAY_ENABLE_PIN, UI_DISPLAY_RS_PIN, UI_DISPLAY_D5_PIN, U8G_PIN_NONE);
#endif
#ifdef U8GLIB_MINI12864_2X_HW_SPI
u8g_InitHWSPI(&u8g, &u8g_dev_uc1701_mini12864_2x_hw_spi, UI_DISPLAY_RS_PIN, UI_DISPLAY_D5_PIN, U8G_PIN_NONE);
#endif
So comparing the parameter you need to define
#define U8GLIB_MINI12864_2X_HW_SPI
#define UI_DISPLAY_RS_PIN 38 // CS pin
#define UI_DISPLAY_D5_PIN 41 // A0 pin
to get that driver. Assuming you use the hardware spi channel. OYu confused me about the due stuff as you always talked about rumba. So pins are taken from your rumba example.
As a test you can add there
#error Im used
and if it stops compiling you know it is at least using the configuration from uiconfig.h and not from DisplayList.h
what I know:
Rumba with MKS MINI 12864LCD ver 1.0 will not work In its current default configuration using any of the provided display definitions.
I need to solve "MY" problem so I am going to order three different screens and hopefully one will work.
l went to Reprap LCD and it works. I don't have the time to figure out the code.