{"id":18367095,"url":"https://github.com/synox/st7565-display-python","last_synced_at":"2025-04-06T16:32:28.150Z","repository":{"id":148347908,"uuid":"55439035","full_name":"synox/ST7565-Display-Python","owner":"synox","description":"Simple guide how to use ST7565 LCD with python","archived":false,"fork":false,"pushed_at":"2017-06-02T05:38:51.000Z","size":2668,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T03:31:45.246Z","etag":null,"topics":["pin","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/synox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-04T19:32:46.000Z","updated_at":"2024-10-09T06:49:04.000Z","dependencies_parsed_at":"2023-05-12T07:30:32.200Z","dependency_job_id":null,"html_url":"https://github.com/synox/ST7565-Display-Python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2FST7565-Display-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2FST7565-Display-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2FST7565-Display-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synox%2FST7565-Display-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synox","download_url":"https://codeload.github.com/synox/ST7565-Display-Python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247512937,"owners_count":20950961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pin","python","raspberry-pi"],"created_at":"2024-11-05T23:19:59.835Z","updated_at":"2025-04-06T16:32:28.144Z","avatar_url":"https://github.com/synox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphic ST7565 LCD Display with Python (on Raspberry Pi)\n\nThis guide shows you how to connect the [Graphic ST7565 Positive LCD (128x64) from Adafruit](https://www.adafruit.com/products/250) 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.\n\nI created this guide because I could not find a complete guide how to use the ST7565 with python.\n\n![image of the running display](images/display.jpg)\n\n## Connecting the wires\n\n1. Solder wires to the LCD\n2. Connect the wires with the Raspberry Pi:\n\n\n| LCD Pin | Raspberry Pi Pin Name (GPIO.BCM) | Raspberry Pi Pin Number |\n|------------------| ------ | ----------|\n| CS| BCM 2 | 3 |\n| RST| BCM 3 | 5 |\n| A0| BCM 4 | 7 |\n| CLK| BCM 27 | 13 |\n| SI| BCM 17 | 11 |\n| VDD| 3.3V | 1 |\n| GND| GND | 6 |\n| R- | (not tested) |  |\n| A+ | 3.3V  | 1 |\n| G- | (not tested) |  |\n| B- | (not tested) |  |\n\n\nSee the position of the Pins at http://pinout.xyz/.\n\n![image of the pins on raspberry pi](images/pins-rasp1.jpg)\n![image of the pins on raspberry pi](images/pins-rasp2.jpg)\n\n## Installing requirements\nThe Raspbian operating system provides the required python binary and the [Rpi.GPIO Module] (https://sourceforge.net/projects/raspberry-gpio-python/).\n\n\n## Python software\nCopy the python file [display.py](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\u0026t=25029\n\nYou might want to try as well:\n- https://github.com/rdagger/Pi-ST7565\n- https://github.com/MaliceWitch/ST7565-Pi-Python\n- https://github.com/larsks/py-st7565\n\n### Specification\nIf you want to develop it further, you should look at the specification: https://cdn-shop.adafruit.com/product-files/250/TG12864H3-04MA0_A00.pdf  \n\n## Further reading\n - http://www.ladyada.net/learn/lcd/st7565.html\n - C Code for Arduino: https://github.com/adafruit/ST7565-LCD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynox%2Fst7565-display-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynox%2Fst7565-display-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynox%2Fst7565-display-python/lists"}