12864 help

i've got this LCD with no datasheet or even controller name or anything else
just "12864A" written on its back

any idea to start work with it

thx

janosandi:
i’ve got this LCD with no datasheet or even controller name or anything else
just “12864A” written on its back

any idea to start work with it

thx

Hi, maybe you can give us some extra clues, like how the lcd looks like and/or a link to a vendor that sells lcds with the same appearence to the one you own.

Anyway, based on mi experience with 128x64 lcds, most of them are something like this https://goo.gl/images/vPjE2A and they usually mount a ST7920 controller.
You can start by trying your display with U8g2lib assuming the above mentioned controller for the selection of the display.

Your example code should look similar to this one (if you use SPI to interact with the lcd)

#include <U8g2lib.h>
#include <SPI.h>
#include <Wire.h>

U8G2_ST7920_128X64_1_SW_SPI u8g2(U8G2_R0, 13, 11, 10);

void setup(void) {
 u8g2.begin();
}
 
void loop(void) {
  u8g2.firstPage();
  do {
     u8g2.setFont(u8g2_font_5x7_mr);
     u8g2.drawStr(2, 2, "Hello World");

  } while( u8g2.nextPage() );
}

Hope to be helpfull!