Help with LCD ST7567(4-SPI)

Hello everyone:
Can anybody help me with my issue. I have an LCD 128x64 and i using an arduino mega 2560 but i can't make my lcd work. I wonder if somebody help me to connect the lcd to the arduino, this are the pins from my LCD:

Pin Name
1 SCL
2 SDA
3 A0
4 RSTB
5 CSB
6 VDD
7 VSS
8 V0
9 XV0
10 VG
11 A
12 K

I tried to use the ug8lib but I think that i have some bad connections between lcd and arduino.
If somebody have some experience using this lcd i appreciate.

Thanks
Have a nice day.

I think support is there only whith U8g2 (but not with the oder U8glib).

Also consider the last bullet point here.

Oliver

Thank you for the information, im going to check it.

Best Regards.

Hi olikraus, can you help me to identify wich pins from lcd are going to conect to arduino mega. I was reading the post and i just identify some of them.

Best Regards

1 SCL --> SPI Clock of your Board
2 SDA --> SPI MOSI Pin of your Board
3 A0 --> Any GPIO pin
4 RSTB --> Any GPIO pin
5 CSB --> Any GPIO pin
6 VDD --> 3.0V (not sure whether 3.3V will be ok, look at the datasheet of your display)
7 VSS --> GND
8 V0 --> one end of a 0.1F cap
9 XV0 --> other end of the 0.1F cap
10 VG --> another 0.1F cap, other end goes to FND
11 A --> Backlight + (see the datasheet of your display for details, resistor might be required)
12 K --> Backlight GND

For the u8g2 software emulated SPI constructor you need to provide the pin numbers of your Arduino boards, which are connected to the first 5 pins.
For the u8g2 hardware SPI constructor, you must connect pin 1 and 2 to the SPI pins of your board. Then provide the pin numbers of your Board which are connected to the pins 3 to 5 to the u8g2 constructor.

See also here: setup_tutorial · olikraus/u8g2 Wiki · GitHub

Oliver

HELLO GUYZZZ.CAN YOU HELPING WITH HOW TO INTERFACE WITH JHD12864 LCD DISPLAY TO ARDUINO UNO

Please, Could someone help me with a similiar one ? (Attached)

Thank you,
Matheus.

HGO1286427-P-F (Complete).pdf (1.42 MB)

Use SPI mode with U8g2lib.

PSB = GND
D7 = SDA MOSI
D6 = SCL SCK
A0 = D/C any GPIO sometimes called RS, DC, A0
CSB = CS any GPIO

I am sure that Oliver will have a suitable constructor. e.g.

Try SW constructors first:

//U8G2_ST7567_JLX12864_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 7, /* dc=*/ 9, /* reset=*/ 8);  
//U8G2_ST7567_OS12864_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 7, /* dc=*/ 9, /* reset=*/ 8);  
//U8G2_ST7567_ENH_DG128064_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); 
//U8G2_ST7567_ENH_DG128064I_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

Then try HW constructors where you must use 3x2 SPI header on the Due:

//U8G2_ST7567_JLX12864_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 7, /* dc=*/ 9, /* reset=*/ 8);  
//U8G2_ST7567_OS12864_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 7, /* dc=*/ 9, /* reset=*/ 8);  
//U8G2_ST7567_ENH_DG128064_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8); 
//U8G2_ST7567_ENH_DG128064I_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

I suspect that you might need some external electronics e.g. capacitors, ...
I always buy modules that have 2.54mm headers on pcb.

David.