Skip to content

Repo for python interface to the Waveshare 800x600 EInk Display Module. Tune for FriendlyARM NanoPi Neo

License

Notifications You must be signed in to change notification settings

vad-babushkin/waveshare-epaper-uart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project provides python libraries for talking to the Waveshare E-Ink Display from a Raspberry PI3.

For more information about this display, see the waveshare site. There is also a product wiki page.

It requires the GPIO library that is typically available on the Raspberry PI.

![hello world image](https://steemitimages.com/DQmZno6hiNcAAgiVx3mCZbhEbnEt3cakxC5mW6V3p9k1qWg/eink-2.png)

Wiring

This diagram is for the Pi3, other Pi may work, but the pinout could be different. Be sure to check before trying it if you're not using a Pi3.

PI3 Pin E-Ink Pin
3.3 v 1 6 3.3v
GND 6 5 GND
GPIO15 10 4 DOUT
GPIO14 8 3 DIN
GPIO04 7 2 WAKE_UP
GPIO02 3 1 RESET

Required Software

The libpython-dev and RPIO libraries are needed.

sudo apt-get install libpython-dev
pip install --user RPIO

Tests

There are a set of unit tests (which are executed by the Makefile) which basically just make sure the code produces what was listed in the wiki as being valid commands.

Using it

Assuming everything is wired up according to the above diagram, you may still need to disable the bluetooth serial connection (or use a different file path) and enable the uart.

To disable the bluetooth serial connection, edit /boot/cmdline.txt and delete console=serial0,115200. Then edit /boot/config.txt and add dtoverlay=pi3-disable-bt and eanble_urar=1 and reboot.

Examples

There are some examples, see examples.py and ip.py.

  • examples.py - Displays various greetings at random locations around the screen
  • ip.py - Displays ip addresses for the Pi

About

Repo for python interface to the Waveshare 800x600 EInk Display Module. Tune for FriendlyARM NanoPi Neo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Makefile 0.9%