LCD 12864 [ST7565] 13 pin

Can somebody please help me as to which pin is which and what library should I use.

It only has 13 pins and do not even see a GND.

I bought it because it is 3.3V and the plan was to run it using my ESP32. All my other displays are 5V. Unfortunately never paid attention to the pins. thought I could use one of my I2C piggy packs to convert it to I2C, but for now it seems I am stuck with SPI.

I searched the net but all the SP7565 controlled displays have 20 pins and the SP7920 has also a different pin configuration.

Thanks for the JPG but a link is always preferable.
It looks as if this display is what you have bought.

The link shows the pin descriptions. You only need the Font chip pins if you are using the those fonts.

Both LCD and Font chip can sit on the same SPI bus. SPI is much faster than I2C. Your ESP32 (or ESP8266) has sufficient GPIO pins.

Whereas an I2C backpack is "good enough" for a Character LCD like HD44780 it would be atrocious for a graphic display unless you buffer in SRAM.
For example, the SSD1306 is 128x64 monochrome OLED. Adafruit_SSD1306 library steals 1024 bytes of precious SRAM for a buffer. You get reasonable performance from its native I2C. An I2C backpack would be appalling.

SRAM is no problem for an ESP32 but it is critical on a Uno.

David.

That is the correct display you have in your link.I loaded a pic as well in the attachment and other options, and it shows my file is loaded and it is a .JPG and it is less than 2Meg, but still not appearing in the preview??

I tried again, but like I said it is the correct display.

Can you help with the pins and the library.

I have a ESP32 and it has more SRAM than an Arduino....Correct ??

As you can see I am no expert. i rely on copying this and adding a bit of that, but now I do not even know where to start.

Thanks for the advice on the I2C convertion.

Pins are:-
#1 CS
#2 RSE
#3 RS
#4 SCL
#5 SI
#6 VDD
#7 VSS
#8 A
#9 K
#10 IC_SC
#11 IC_CS
#12 IC_SO
#13 IC_SI

So I know the SCL but where is the SDA to go with it?
Not sure if RSE or RS is the Reset
And the A and the K I found on the net to be the anode and cathode for the backlight.
Like I said I do not even see the GRD.

MOSI, SI, DI, SDI, SDA, ... all refer to Serial Data In
MISO, SO, DO, ... refer to Serial Data Out
SCK, SCLK, CLK, SCL, ... all refer to Serial Clock
RS, DC, A0, ... all refer to Register Select e.g. Data/Command

I have no idea what RSE means. RESet is likely
IC_SC is probably CLK

VDD means MOS Drain supply pin.
VSS means MOS Source supply pin. e.g. -ve supply (GND)

VCC is commonly used for "+ve supply" pin
VEE is commonly used for "-ve supply" pin even though MOS integrated circuits do not have junction transistor Collector or Emitter pins. And PNP transistors would have a -ve VCC and +ve VEE

Likewise, PMOS and NMOS have different polarities for Drain and Source.

Quite honestly it is worth looking for a specific display datasheet. But I would just read the ST7565 datasheet. Use U8g2 library SPI constructor.

Your existing purchase is sitting on your desk. Any replacement will take a long time to arrive.

David.