https://github.com/sndnvaps/pcd8544
Nokia5110 LCD screen Driver write by golang.
https://github.com/sndnvaps/pcd8544
nokia5110lcd pcd8544 raspberry-pi rpi-gpio
Last synced: 3 months ago
JSON representation
Nokia5110 LCD screen Driver write by golang.
- Host: GitHub
- URL: https://github.com/sndnvaps/pcd8544
- Owner: sndnvaps
- License: mit
- Created: 2021-10-30T15:01:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-23T13:24:42.000Z (over 4 years ago)
- Last Synced: 2025-01-08T17:53:05.964Z (over 1 year ago)
- Topics: nokia5110lcd, pcd8544, raspberry-pi, rpi-gpio
- Language: Go
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# rpi_cpu_infoscreen
A small program to drive the pcd8544 cpu info screen on a raspberry pi
## Introduction
This is a simple small program to drive a product called the RPi 1.6" CPUInfo Screen
This product basically contains a Nokia 5110 screen with a pcd8544 controller.
## The hardware
The pinout of this circuit is as follows
| Function | PIN | GPIO |
|----------|----------|----------|
|CLK | 11| 17|
|DIN | 12| 18|
|DC | 13| 27|
|CE/CS | 15| 22|
|Vcc | 1| |
|Gnd | 6| |
|Rst | 16| 23|
|BackLgt | 7| 4|
## Prerequisites
Install go compiler
because the program write with golang
git clone this code
```
git clone https://github.com/sndnvaps/pcd8544.git
```
## How to build
enter the directory where you installed this source
Enter the src directory and type
```
go build -o rpi_cpuinfo_screen
```
After a little while you should have a program called
rpi_cpuinfo_screen
## How to use
Now you can enter
```
rpi_cpuinfo_screen
```
on the command line
There is also a little script called update that fetches some more or less usefull stuff to put on your shiny new display.
Enjoy!