Skip to content

Alle1307/ST7565-Display-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphic ST7565 LCD Display with Python (on Raspberry Pi)

This guide shows you how to connect the Graphic ST7565 Positive LCD (128x64) from Adafruit to the Raspberry Pi (1 or 2) and control it with Python. The provided script is very simple and works as a proof of concept.

I created this guide because I could not find a complete guide how to use the ST7565 with python.

image of the running display

Connecting the wires

  1. Solder wires to the LCD
  2. Connect the wires with the Raspberry Pi:
LCD Pin Raspberry Pi Pin Name (GPIO.BCM) Raspberry Pi Pin Number
CS BCM 2 3
RST BCM 3 5
A0 BCM 4 7
CLK BCM 27 13
SI BCM 17 11
VDD 3.3V 1
GND GND 6
R- (not tested)
A+ 3.3V 1
G- (not tested)
B- (not tested)

See the position of the Pins at http://pinout.xyz/.

image of the pins on raspberry pi image of the pins on raspberry pi

Installing requirements

The Raspbian operating system provides the required python binary and the [Rpi.GPIO Module] (https://sourceforge.net/projects/raspberry-gpio-python/).

Python software

Copy the python file display.py to the Raspberry Pi and run it. Extend the script. It is very simple and just a proof of work. The script is based on the Forum discussion at https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=25029

You might want to try as well:

Specification

If you want to develop it further, you should look at the specification: https://cdn-shop.adafruit.com/product-files/250/TG12864H3-04MA0_A00.pdf

Further reading

About

Simple guide how to use ST7565 LCD with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%