Page 1 of 1

ST7567A Dot Matrix LCD Controller/Driver

Posted: Fri Dec 14, 2018 4:03 pm
by damada
Hello! I've very recently dived into MicroPython using the D-duino v2 with built-in 128x64 SSD1306 OLED display.

Now, I'd like to talk to a second external I2C display in order to build a projector clock similar to this project (but a little easier and more DIY ;)): https://github.com/shufps/diy-projector-clock

The used LCD is a "GLS Neu LCD-VATN 64x32 3V ST7567A I2C 15x12x2mm [LCD-AG-064032V-VIW W/KKK-E6]" and is based on a Sitronix ST7567A controller. The pinout is:
1 C2P
2 C2N
3 C1P
4 C1N
5 A (LED+)
6 NC
7 GND
8 +3,0V
9 /RES
10 SCL
11 SDA
12 NC
13 NC
14 NC
Datasheet available here: https://www.mikrocontroller.net/attachm ... _V1.2a.pdf

Is it possible to talk to this display using MicroPython? Is there a basic driver available already? I must admit that I am very new to this level of programming... Thanks in advance!

Re: ST7567A Dot Matrix LCD Controller/Driver

Posted: Fri Dec 14, 2018 8:16 pm
by OutoftheBOTS_
You will certainly be able to drive this display with Micro-Python you will just need a driver.

I googled "ST7567A python" and "ST7567 python" and found a number of hits you should be able to get 1 of them working with Micro-python just by changing the way the I2C is initialized. Most of these python drivers r written for Cpython running on a Linux machine (usually RPi) and they use the SMbus module to use the I2C bus but in MicroPython most ports use machine.I2C

Re: ST7567A Dot Matrix LCD Controller/Driver

Posted: Sun Dec 16, 2018 12:29 pm
by damada
Hi, thanks! The "A" in the search term makes a big difference :)
It seems the luma.lcd module is pretty mature: https://pypi.org/project/luma.lcd/
However, it only mentions SPI interfaces of the chipsets. The ST7567A (now?) also supports I2C. I will have to check.
Any further suggestions are deeply appreciated!

Re: ST7567A Dot Matrix LCD Controller/Driver

Posted: Thu Jan 23, 2020 6:36 am
by andersh
@damada Sorry for reviving an old thread, but did you get any further with this?
The reason I'm asking is that I'm looking into doing exactly the same thing myself.

Re: ST7567A Dot Matrix LCD Controller/Driver

Posted: Thu Jan 23, 2020 3:32 pm
by damada
No, I'm sorry, no advances on my side. I'm still interested, though!