128*64 pixel LCD display wiring and programming

Hi all,
I recently acquired an arduino uno clone board, and 128*64 LCD display constructed by duinotech.

I've been unable to find accurate or appropriate wiring to allow me to link it to the board after numerous searches, or even coding to go with it, and what have found is difficult to understand because of (no offence intended) hard to read comments be it due to language differences or just unfortunate structure.

below is a link to the product from the store it was purchased, located on the page beneath the downloads tab is a data sheet, with it's own wiring suggestion, but among other issues the uno board only has one 5V output pin.

please thank you for any advice, I'm very grateful

and for anyone wondering the cloneboard is a freetronics Eleven board linked below.

The "datasheet" says that it has a ST7920 controller. It looks as if it is wired for Serial.

The U8glib or Ucglib should work with a ST7920.

You can pick up a second 5V from the 3x2 ICSP header.

David.

Thank you for the quick reply, now the only question then, and I'm sure I should already know this, is how do you draw 5V from the ICSP header? again I know I should probably already know this but thank you for responding

From memory, pin#2 on the ICSP header is 5V. pin #6 is 0V.
Just attach female dupont jumper wires from the 3x2 to your LCD.
In fact you also have MOSI and SCK on the 3x2.

So it is very handy for connecting to a SPI display like your ST7920.

David.

Refer to the schematic file
file:///C:/Users/rexchen/Downloads/ElevenR3%20(1).pdf
the power pin pin2 and pin5 are both the 5V power

BTW, David is correct of ICSP 5V and Gnd pins.

Ok, so I've got the U8glib installed, it says inside the graphics test example to change the line in the code from a comment to an actual part of the code, the problem is I now have no idea which one to use

//U8GLIB_ST7920_128X64_1X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16); // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16
//U8GLIB_ST7920_128X64_4X u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 17, 16); // 8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, di=17,rw=16
//U8GLIB_ST7920_128X64_1X u8g(18, 16, 17); // SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17
//U8GLIB_ST7920_128X64_4X u8g(18, 16, 17); // SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17

these are the four which fit the display, I also figure I should either change the wiring or change the code whichever is easier.