Go Down

Topic: ST7565R and proper library (Read 3101 times) previous topic - next topic

Fajkowsky

Hello i bought this GLCD - http://artronic.pl/o_produkcie.php?id=1143? and is on ST7565R drive but i check some librares and dosen't work. Someone know library for this GLCD :)

Thanks

olikraus

It looks very very similar to the DOGM128
http://www.lcd-module.de/deu/pdf/grafik/dogm128.pdf

I am very sure, that the library
http://code.google.com/p/dogm128/
configured as DOGM128_HW will work.

if not, post reply or send me a PM

Oliver

Fajkowsky

Doesn't work :( I try even ST7565P and this dosen't work either.

olikraus

What does not work? What exactly do you see?
Did you use the dogm128 library? Did you enable DOGM128_HW?
Did you use a correct setup? Ceramic Caps? You must measure something higher than
3.3 V at the Caps.
How did you connect the display with the Arduino?  Are all pins connected correctly.

Oliver

Fajkowsky

Nothing was working so I try another library st7565lcd -> http://www.ladyada.net/learn/lcd/st7565.html  .
And now it display something but wrong...
Picture is begining in the middle of display.

I'm sorry for quality of video - http://www.youtube.com/watch?v=codt0pyh2Hk

Any idea what is wrong ?

olikraus

The adafruit lib uses the reset line, which is usually not supported by default by the dogm128 lib.
Also there seems to be a contrast issue. Every display has its own setup. Usually correct setup is supplied with your display.

Oliver

Fajkowsky

I use adafruit lib and it work as you see. When I try DOGM128 nothing was working.
I set contrast in code :
Code: [Select]
  // initialize and set the contrast to 0x18
  glcd.begin(0x18);

And now it is better.

Go Up