MKS MINI 12864
Release status: Working
Description | MKS MINI 12864 LCD controller
|
License | |
Author | |
Contributors | |
Based-on | |
Categories | |
CAD Models | |
External Link |
Contents
Overview
MKS MINI 12864 LCD controller was created by Makebase.
It provides the functionality of a RepRapDiscount Full Graphic Smart Controller.
Features
1. 128 x 64 dot matrix LCD display
2. 1.6" x 1.0" active display area
3. SD card slot - available as either side load or front load
4. Rotary Encoder with push button
5. General purpose push button
6. Beeper
Physical Interface
1.The physical interface uses the same dual 10 pin connectors as on a RepRapDiscount Full Graphic Smart Controller. They are also labelled EXP1 and EXP2.
2.The pinout is a subset of the RepRapDiscount Full Graphic Smart Controller with some changes to the pin definitions.
3.On early units the EXP1 and EXP2 connector housings are rotated 180 degrees from those on a RepRapDiscount Full Graphic Smart Controller. Almost all photos show the rotated housings. If the LCD does NOT light up when EXP1 is plugged in then you have a unit with rotated housings. To use the rotated units, custom cables can be made or the key can be shaved off one of the connectors on each cable.
Logical Interface
Note that the housings are rotated 180 degrees in this graphic.
1.A single SPI port is used to run both the SD card interface and the LCD. SDSS enables the SD card and DOGLCD_CS enables the LCD.
Marlin Configuration
The following assumes:
a) A mega2560 CPU b) RAMPS 1.4 shield c) The MKS MINI 12864 LCD controller is plugged into the Smart Adapter (the card used to interface to the RepRapDiscount Full Graphic Smart Controller).
1.In Configuration.h enable MINIPANEL.
2.In pins_RAMPS.h use these defines.
#elif ENABLED(MINIPANEL) #define MISO_PIN 50 // system defined - only needed if using onboard SD card #define MOSI_PIN 51 // system defined #define SCK_PIN 52 // system defined #define SDSS 53 // only needed if using onboard SD card #define BEEPER_PIN 37 #define BTN_EN1 31 #define BTN_EN2 33 #define BTN_ENC 35 #define KILL_PIN 41 // optional #define SD_DETECT_PIN 49 // only needed if using onboard SD card #define DOGLCD_CS 25 #define DOGLCD_A0 27
3.In Marlin 1.1.x and earlier, only one SD card interface can be active. If there is an SD card slot on the controller then either the SD card slot on the MKS MINI 12864 LCD controller is active or the SD card slot on the controller is active but not both.
4.If the SD card slot on the MKS MINI 12864 LCD controller is not used then the following functions should NOT be defined/used:
MISO_PIN SDSS SD_DETECT_PIN