Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of 96boards-projects:master.
ric96 initial commit
Python Library for running e-ink displays on FPGA Mezzanine

tested on rock960 with 4.4 vendor kernel

Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
Latest commit 6d4987f May 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images initial commit May 18, 2019
includes initial commit May 18, 2019
png-icons/100 initial commit May 18, 2019
LICENSE initial commit May 18, 2019
README.md initial commit May 18, 2019
icons.py initial commit May 18, 2019
main.py initial commit May 18, 2019
qr-disp.py initial commit May 18, 2019
qrgen.py initial commit May 18, 2019

README.md

Based on: https://github.com/oprema/Waveshare-E-Ink

waveshare-e-ink

This is rewrite of Waveshares 2.9 and 1.54 inch e-ink paper display driver for the Raspberry Pi in python (version 2 and 3). The original source code can be found at: https://www.waveshare.com/wiki/2.9inch_e-Paper_Module

Important: Follow this guide to activate the SPI interface

Wiring Plan: E-Ink-Display <-> Raspi Header

Display   Raspi   
3.3V      3.3V - Pin 17   
GND       GND  - Pin 20   
DIN       MOSI - Pin 19   
CLK       SCLK - Pin 23   
CS        CE0  - Pin 24   
DC        GPIO 25 - Pin 22   
RST       GPIO 17 - Pin 11   
BUSY      GPIO 24 - Pin 18   

Software to install:

sudo apt-get install python3-pip libtiff5-dev libopenjp2-7-dev fonts-freefont-ttf libfreetype6-dev
sudo pip3 install spidev qrcode Image python-dotenv
sudo pip3 pip3 install --force-reinstall --ignore-installed --no-binary :all: Pillow

Examples:

python3 main.py -> Same as the original from waveshare
python3 qr-disp.py -> Shows QR-codes
python3 icons.py -> Font awesome icons and icon names

You can’t perform that action at this time.