ST7567A Dot Matrix LCD Controller/Driver

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
damada
Posts: 6
Joined: Fri Dec 14, 2018 3:49 pm

ST7567A Dot Matrix LCD Controller/Driver

Post by damada » Fri Dec 14, 2018 4:03 pm

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!

OutoftheBOTS_
Posts: 847
Joined: Mon Nov 20, 2017 10:18 am

Re: ST7567A Dot Matrix LCD Controller/Driver

Post by OutoftheBOTS_ » Fri Dec 14, 2018 8:16 pm

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

damada
Posts: 6
Joined: Fri Dec 14, 2018 3:49 pm

Re: ST7567A Dot Matrix LCD Controller/Driver

Post by damada » Sun Dec 16, 2018 12:29 pm

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!

andersh
Posts: 1
Joined: Thu Jan 23, 2020 6:33 am

Re: ST7567A Dot Matrix LCD Controller/Driver

Post by andersh » Thu Jan 23, 2020 6:36 am

@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.

damada
Posts: 6
Joined: Fri Dec 14, 2018 3:49 pm

Re: ST7567A Dot Matrix LCD Controller/Driver

Post by damada » Thu Jan 23, 2020 3:32 pm

No, I'm sorry, no advances on my side. I'm still interested, though!

Post Reply