RAMPS 1.4 full graphic display for other projects (help)

Hi all,

I have a RAMPS 1.4 full graphic display (128x64) with a built in SD card reader, jog wheel and buzzer left over from a 3D printer which I no longer own and was hoping to put it to use with another project.

Although I haven't yet done so I imagine the buzzer and jog wheel will be quite simple to get working.

At the moment I am just trying to get the 128x64 LCD to work with an Arduino (Uno or Mega2560) but to little joy, all I've managed to get out of it is the back-light which comes on as soon as power is added to the Arduino.

I've been working with two different pinouts with no luck:

This image

and the information here:

The unit I have is mounted on the red PCB, so I am guessing that the latter would be the more useful one for me.

Can anybody offer any advice with wiring and/or a simple sketch to get me started?

Hi There

Did you ever get some accurate information on this? I plan on using this type of display on a robot I am building and was hoping you could shed some light!

Thanks for your time

Hi imwhoim54,

I did get everything working in the end, although never actually used it.

If you are having problems with the pinout provided above try switching the pinouts of exp1 and exp2, the plugs on my board were labelled incorrectly!

Hope that helps.

I got it to work. The important part was to guess the pinout on the LCD, and i managed to guess correctly.
My display is dim using USB, i think backlight will improve if i use VIN..

SCK = 2
MOSI = 3
CS = 4

ENCODER CS [~] [~] 5V

#include <U8glib.h>

U8GLIB_ST7920_128X64_1X u8g(2, 3, 4);

void setup() {  
  u8g.setColorIndex(1); // Instructs the display to draw with a pixel on. 

void loop() {
  do {  
  } while( u8g.nextPage() );

  void draw(){
  u8g.drawStr( 0, 20, "Hello World");

Maybe this video also helps: u8glib MOD for G LCD JHD12864F screen + RAMPS 1 4 + Arduino Mega 2560 R3 for LCD screen and kit test - YouTube