File:12864 OLED1.jpg

From RepRap
Jump to: navigation, search
Original file(1,000 × 1,000 pixels, file size: 133 KB, MIME type: image/jpeg)

Template:MKS 12864OLED

Infobox info icon.svg.png Not Open Source

As stated in the RepRap Wiki Policy, a wiki page that describes a product offered for sale must provide source files for that product.

This page is missing at least these item(s)

  • Schematics and board layout.

There might be more items missing.

If you want to help improve this design, please find source files for these missing items and upload them to this wiki, or link to the repository containing them.

In accordance with the Deletion policy, an admin will review this page in about three weeks to determine if it should be removed or not.

If source files are not uploaded by the proposed delete date, this page will be removed from the wiki.

Proposed delete date: {{{deletedate}}}

Questions about this tag can be addressed on this page's discussion page or on the Administration, Announcements, Policy forum.


Infobox info icon.svg.png This page is flagged as Advertising.

This page is found to exist for the sole purpose of Advertising, This page will eventually be removed.

Reason: no sources, does not comply with lowest common denominator of opensource

Proposed removal date: 12/03/2015

Please use the discussion page for any questions or comments regarding this notice

Crystal Clear action run.png
MKS MINI.jpg

Release status: Working

MKS-MINI.jpg
Description
Single board solution, Remix of Arduino mega2560 and RAMPS1.4
License
Author
Contributors
Based-on
Categories
CAD Models
External Link

MKS MINI is a feature all-in-one electronics solution for Reprap and other CNC devices.

MKS-12864OLED

Overview

MKS-12864OLED adopts OLED display and created by Makebase.

It is suitable for the printer which carries with small display , installed size and good display effect .

Features

1. Default 1.3 inch OLED display; 2. If you have other sizes display, you can ask not to weld 1.3 inch OLED either , but the interface will be retained for users. 3. The interface of MKS-12864OLED is as the same as 2004/12864LCD.

Notice

1.The Marlin must be modified before use, the modification method refers to the below instructions. 2.Repetier may not work unless you self-develop one. 3.We will provide an example of firmware for testing, but does not provide technical support. 4.Each piece will be tested.


MKS 12864OLED Photo

MKS-12864 OLED1.jpg

Size

12864 OLED2.png

Connection

12864 OLED3.jpg

EXP1 connects to EXP1 of mainboard

EXP2 connects to EXP2 of mainboard

You must follow the connection sequence, especially 3v3 and GND, wrong connection will burn OLED. GND: connects to GND of OLED power ground 3V3: VCC of OLED power anode CLK: CLK of OLED clock MOSI: MOSI of OLED data RES: RES of OLED reset DC: DC of OLED data order option CS: CS of OLED chip selection

Instruction on Usage

1.If use Arduino IDE, We suggest updated version 1.5.4 . And unzip U8glib.rar into libraries directory. As follow:

MKS-12864 OLED4.png

2.Modify file Configuration.h, add the following sections, refers to the example firmware.
/*---------------MKS OLED patch_1-----------------------*/
// MKS  OLED 1.3''  128x64 FULL GRAPHICS CONTROLLER
// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder

#define MKS_OLED13_128x64_FULL_GRAPHICS_CONTROLLER

#if defined (MKS_OLED13_128x64_FULL_GRAPHICS_CONTROLLER)
	#define DOGLCD
	#define U8GLIB_SH1106
	#define REPRAP_DISCOUNT_SMART_CONTROLLER
	#define NEWPANEL
#endif

/*---------------MKS OLED patch_1-----------------------*/

3.Modify file dogm_lcd_implementation.h, add the following sections , refers to the example firmware. 

/*---------------MKS OLED patch_2-----------------------*/
#elif defined(U8GLIB_SH1106) 
U8GLIB_SH1106_128X64 u8g(23, 17, 16, 25);	// SW SPI Com: SCK = 23, MOSI = 17, CS = 16, A0 = 25
/*---------------MKS OLED patch_2-----------------------*/

4.Modify file Marlin_main.cpp, add the following sections ,refers to the example firmware. 
/*---------------MKS OLED patch_3-----------------------*/
#if defined (MKS_OLED13_128x64_FULL_GRAPHICS_CONTROLLER)
  pinMode(LCD_PINS_DC, OUTPUT);		  
  pinMode(LCD_PINS_RST, OUTPUT);		
  digitalWrite(LCD_PINS_RST  , LOW);
  delay(1000);
  digitalWrite(LCD_PINS_RST  , HIGH);
#endif  
/*---------------MKS OLED patch_3-----------------------*/  

5.Modify file pins.h, add the following sections ,refers to the example firmware. 
/*---------------MKS OLED patch_4-----------------------*/
#if defined (MKS_OLED13_128x64_FULL_GRAPHICS_CONTROLLER)

#ifdef LCD_PINS_D5
#undef LCD_PINS_D5
#define LCD_PINS_D5 -1
#endif
#ifdef LCD_PINS_D6
#undef LCD_PINS_D6
#define LCD_PINS_D6 -1
#endif
#define LCD_PINS_RST  27
#define LCD_PINS_DC   25
#endif

/*---------------MKS OLED patch_4-----------------------*/

Data Download

More data resource:

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current03:10, 25 July 2015Thumbnail for version as of 03:10, 25 July 20151,000 × 1,000 (133 KB)Leiochen (talk | contribs)
  • You cannot overwrite this file.

There are no pages that link to this file.