Involvement:General (knows how to use it) - Ownership:1 day to 1 week
Very nice clear display. Nice blue backlight, and relatively easy to get going with some tips. Ideal for my small project and seems like it is solidly built.
No instructions, so novices would need some help to get going - not quite a plug and play, but fairly close.
Using some google-fu, I tracked down the library and connections that made it work:
the u8GLIB library http://code.google.com/p/u8glib/wiki/thelloworld
a very handy post http://parenthetic.blogspot.co.uk/2011/12/hello-world-in-arduino-with-st7920-lcd.html
and the datasheet http://www.dfrobot.com/image/data/FIT0021/ST7920.pdf
I ended up with the following wiring:
E = ESCLK = SCK = PB5 = D13
R/W = RW = MOSI = PB3 = D11
RST = PB0 = D8
RS = a0 = d1 = Data/Register select = D9
(in the picture I also linked PSB to GND (to select serial input). Don't know if this is required.
BLA = A = 1.2k resistor to 5v
BLK = K = GND
VCC = Vcc = 5v
GND = GND
I then uploaded the 'Hello World' example from the u8glib, and uncommented and changed the header line from the defaults:
U8GLIB_ST7920_128X64 u8g(13, 11, 9, U8G_PIN_NONE);
// SPI Com: SCK = en = 18, MOSI = rw = 16, CS = di = 17
This got me showing the 'Hello World' on the display.
Note:Stock and Availability shown on this site is for your reference only. While
we strive to provide the most accurate and timely stock and availability information,
availability information may become out of date and may change between the time
you added an item to cart and the time your order is received.
Quantities on clearance items are limited. Prices are current at time of posting. DX Reserves the right to change prices at any time without notice.