Skip to content

Implementation of a QR Code on an e-ink screen mounted to a RaspberryPi.

License

Notifications You must be signed in to change notification settings

bhive01/rPiEinkQR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rPiEinkQR

Scan a code or input it via command line and a QR Code is generated, resized, and output to the [Embedded Artists 2.7" screen] (http://www.embeddedartists.com/products/displays/lcd_27_epaper.php) from a raspberry pi

Starting from scratch?

Below are the required libraries for getting started. ImageMagick will install a large amount of libraries to pull from for all different types of images.

EPD Tests and Usage

From: https://github.com/repaper/gratis/tree/master/PlatformWithOS

To Test EPD:

sudo modprobe spi-bcm2708
make rpi-epd_test COG_VERSION=V2
sudo ./driver-common/epd_test 2.7

To Install EPD Driver:

sudo service epd-fuse start	# Start epd-fuse
ls -l /dev/epd			# Check installation of epd, folder should contain many things.

sudo make rpi			# make all targets
sudo make rpi-install   	# install to run on boot

Usage:

sudo python rPiEinkQREPD.py

Barcode Scanners

Most barcode readers are seen as keyboards by the OS. The important part is to have it set to add a newline after each read. This newline will cause the program to proceed with the code. If there are issues, see the following help forums: https://www.raspberrypi.org/forums/viewtopic.php?f=45&t=55100

ePyper

ePpyper is a library built in python to write to these displays, but for some reason it no longer works with the display. It doesn't require installation of the EPD driver because it has its own built-in. I believe it might have been built for the previous version of the screen, which might explain why it doesn't write to the screen itself. epyper will pull in Wiring and Pillow as requirements through pip.

Epyper Installation

About

Implementation of a QR Code on an e-ink screen mounted to a RaspberryPi.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages