The ST7565 in another popular controller for graphics displays. We will use the Adafruit ST7565 library and do a quick demo on Explore M3. The library can be used to display text, draw font, shapes etc. The speed and RAM of Explore M3 can be used to do some cool animations, which may look at in another tutorial. So lets get started.

Hookup

We had a custom breakout board for a Character On Glass(COG) display using used the ST7565 controller, you may find a lot of other Liquid Crystal Displays with the same controller, basically you need to hookup the following pins depending on the display that you've.

  • pin 29 - Serial data out (SID)
  • pin 28 - Serial clock out (SCLK)
  • pin 27 - Data/Command select (RS or A0)
  • pin 26 - LCD reset (RST)
  • pin 25 - LCD chip select (CS)

Code

Demo