Skip to content

Mini12864 Panel

Product Introduction

Mini12864

This is a opensouce, cheap, with RGB indicator, common to marlin's display, supports offline printing, resolution is 12864, display area is 2.4'', SD card holder can be side or vertical, convenient for different installation occasions Ideal for small 3D printers.

There are three versions:

V1.2 with two RGB LEDs around the encoder, the back-light is fixed color.

V2.0 with two RGB LEDs around the encoder,the back-light is RGB and controlled by 3 pwm pins.

V2.1 with two RGB LEDs around the encoder,the back-light is RGB and controlled by 3 WS2811 chips, same as the NEOPIXEL_LED.

Features

  • 2.4" inch high contrast Graphic LCD
  • Black-gray/black-green/white-black/white-blue/green-black, 5 display styles
  • SPI communication to host micro-controller
  • Support Vertical or side SD slot with card detect,with a optional SD module
  • Rotary Encoder with RGB-Aura
  • Configurable RGB LED light
  • Software configurable contrast setting
  • 3D printable case and mount STL file
  • EXP1 & EXP2 RAMPS Compatible socket

Application

3D printer,CNC machines ,Other micro controller projects

Typical Wiring

Firmware config

This screen driver is ST7567 and is compatible with the marlin Mini panel (UC1701,same as ST7567). It has been tested well, and the following configuration is required.

Before you start, please install the latest version of U8glib.

Step1. changes the pins.

On a RAMPS-compatible board, you need to make the following changes in pins_RAMPS.h:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 #elif ENABLED(MINIPANEL)
      #define BEEPER_PIN 37
      // Pins for DOGM SPI LCD Support
      #define DOGLCD_A0  16
      #define DOGLCD_CS  17
      #define LCD_BACKLIGHT_PIN -1 // backlight LED on A11/D65
      #define LCD_RESET_PIN  23
      #define SDSS   53

      #define KILL_PIN -1
      #define LCD_CONTRAST 200
      #define BTN_EN1 31
      #define BTN_EN2 33
      #define BTN_ENC 35  //the click switch

      #define SD_DETECT_PIN 49

On a our F6 board, you need to make the following changes in pins_FYSETC_F6_V13.h:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//////////////////////////
// LCDs and Controllers //
//////////////////////////

    // #define LCD_PINS_RS         16
    // #define LCD_PINS_ENABLE     17
    // #define LCD_PINS_D4         23
    // #define LCD_PINS_D5         25
    // #define LCD_PINS_D6         27
    // #define LCD_PINS_D7         29

    // Pins for DOGM SPI LCD Support
    #define DOGLCD_A0  16
    #define DOGLCD_CS  17
    #define LCD_BACKLIGHT_PIN -1 
    #define LCD_RESET_PIN  23
    #define LCD_CONTRAST 255

    #define SDSS   53
    #define BEEPER_PIN          37
    #define BTN_EN1             31
    #define BTN_EN2             33
    #define BTN_ENC             35
    #define SD_DETECT_PIN       49
    #define KILL_PIN            41
Step2. Config the configuration.h.

In order to control RGB-LED, you also need to turn on the RGB control in marlin.

For V1.2 and V2.0:

You need enable the RGB_LED, and config the R/G/B pins.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
/************ 1.enable this line for mini12864 V1.2 and V2.0 **************/
#define RGB_LED 
//#define RGBW_LED

#if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
/************ 2.change the 3 line for mini12864 V1.2 and V2.0 **************/
  #define RGB_LED_R_PIN 25
  #define RGB_LED_G_PIN 27
  #define RGB_LED_B_PIN 29
  #define RGB_LED_W_PIN -1
#endif

For V2.1:

You only need enable the NEOPIXEL_LED.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
// Support for Adafruit Neopixel LED driver
/********** 1. only need enable the NEOPINEL_LED for mini12864 V2.1 **********/
#define NEOPIXEL_LED
#if ENABLED(NEOPIXEL_LED)
  #define NEOPIXEL_TYPE   NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
  #define NEOPIXEL_PIN    25        // LED driving pin on motherboard 4 => D4 (EXP2-5 on Printrboard) / 30 => PC7 (EXP3-13 on Rumba)
  #define NEOPIXEL_PIXELS 30       // Number of LEDs in the strip
  #define NEOPIXEL_IS_SEQUENTIAL   // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once.
  #define NEOPIXEL_BRIGHTNESS 127  // Initial brightness (0-255)
  //#define NEOPIXEL_STARTUP_TEST  // Cycle through colors at startup
#endif
Step3. Config the configuration_adv.h.

If you need to change the RGB-color manually, then you need to enable the LED_CONTROL_MENU in configuration_adv.h. If you don't need it, you can skip this step.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/**
 * LED Control Menu
 * Enable this feature to add LED Control to the LCD menu
 */
/********** 1. enable the LED_CONTROL_MENU RGB manual control **********/
#define LED_CONTROL_MENU
#if ENABLED(LED_CONTROL_MENU)
  #define LED_COLOR_PRESETS                 // Enable the Preset Color menu option
  #if ENABLED(LED_COLOR_PRESETS)
    #define LED_USER_PRESET_RED        255  // User defined RED value
    #define LED_USER_PRESET_GREEN      128  // User defined GREEN value
    #define LED_USER_PRESET_BLUE         0  // User defined BLUE value
    #define LED_USER_PRESET_WHITE      255  // User defined WHITE value
    #define LED_USER_PRESET_BRIGHTNESS 255  // User defined intensity
    //#define LED_USER_PRESET_STARTUP       // Have the printer display the user preset color on startup
  #endif
#endif // LED_CONTROL_MENU
Step4. add the codes in ultralcd_impl_DOGM.h.

You need to add a shorts codes to ultralcd_impl_DOGM.h, otherwise your screen may not have text displayed, or it may not be clear. Add "u8g.setContrast(255);" in the "static void lcd_implementation_init()" function:

1551170953232

Optional Hardware module:

The SD card of mini12864 can be set on the side or in the front, which requires a module to implement. As shown below:

mini12864_SD1

Attention

-TBD-

FAQ

  1. Q: What drive is used for the screen? A: Sitronix ST7567, You can get the specification in our github.

  2. Q: What is the difference between the three versions?

A: Only the backlight is different, the wiki has a detailed description at the beginning.

Attachments

1. Schematic


You can find the schematics for the three versions on github.

2. Dimensions


For detailed dimensions please check dwg/step file on github.

Shop


Tech Support


Please submit any technical issue into our forum or facebook.

Comments