Skip to content
This repository was archived by the owner on Jan 4, 2026. It is now read-only.
This repository was archived by the owner on Jan 4, 2026. It is now read-only.

Support for the 9inch7 display #8

Open

Description

@funtogether

@soonuse Do you think it is possible to adapt for example epd7in5.py to support the 9inch7 variant from waveshare? Or in other words which files must be customized to meet the specifications for the 9.7 inch display?

Activity

  1. nickzhe commented on Apr 11, 2019

    @nickzhe

    @funtogether @soonuse the 7.5 and 6.0/9.7 inch hat uses different type of driver board, IT8951, the product website did not provide a python driver for this. I am also thinking of getting a python version for this, it will be alot of help, thanks!

  2. er-minio commented on Oct 26, 2019

    @er-minio

    uses different type of driver board, IT8951

    Same poroblem here. Trying control a 6.0 inch Waveshare e-paper display using python.

  3. danielneumann commented on Jan 11, 2020

    @danielneumann
    Contributor

    @funtogether @nickzhe @er-minio I stumbled across this repo providing IT8951 resources based referncing a 6.0 inch display:
    https://github.com/GregDMeyer/IT8951

    I try to get it working with my 9.7

  4. danielneumann commented on Jan 12, 2020

    @danielneumann
    Contributor

    PR #14

  5. er-minio commented on Jan 12, 2020

    @er-minio

    @danielneumann thanks!
    I got that working! Can confirm 6" display works fine with https://github.com/GregDMeyer/IT8951

  6. cromulus commented on Apr 25, 2020

    @cromulus

    Sorry, I'm relatively new to python.

    Quick question, How do you install the IT8951 library included in this repository?

    It doesn't have a setup.py or a pyproject.toml file.

    Thanks!

  7. JeanB51 commented on Aug 9, 2020

    @JeanB51

    @cromulus Did you get an answer to this ? . I have the same question..

  8. cromulus commented on Aug 18, 2020

    @cromulus

    Nope. I just ended up hacking on the provided C program from waveshare, making it a CLI interface and calling it with a shell exec.

    Suboptimal, but hey, it works.

  9. QA71 commented on Sep 6, 2020

    @QA71

    Hello I'm new to programming and i want to connect 7.8 ws with rPİ. And I know a little python. So can anyone explain me step by step how to setup this.
    Final program will write some data on ePaper as quick as possible using Python code. Also i want to use Partial refresh.
    Thank you

  10. QA71 commented on Sep 8, 2020

    @QA71

    Nope. I just ended up hacking on the provided C program from waveshare, making it a CLI interface and calling it with a shell exec.

    Suboptimal, but hey, it works.

    Can you please upload the the files?
    I'm trying with 7.8 inch ws

  11. JeanB51 commented on Sep 9, 2020

    @JeanB51

    follow the instructions:
    To install, clone the repository, enter the directory and run
    pip install -r requirements.txt
    pip install ./

    Worked for me, for a 7.8" screen on RPi 3 and pi zero w also.

    Watch how you plus the flat cable, upside down it wont work.
    Once yyou get it working, alle the test programs work as advertised.

  12. QA71 commented on Sep 9, 2020

    @QA71

    Thank you all

    what i have done is this

    • install new OS on a rPi Zero (NOOBS_v3_0_0)
    • pi@raspberrypi:~ $ sudo git clone https://github.com/soonuse/epd-library-python.git
    • pi@raspberrypi:~ $ sudo git clone https://github.com/GregDMeyer/IT8951.git
    • pi@raspberrypi:~ $ sudo pip install Pillow
    • pi@raspberrypi:~/IT8951 $ sudo pip install -r requirements.txt
      Requirement already satisfied: RPi.GPIO in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
      Requirement already satisfied: pillow in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 2))
    • pi@raspberrypi:~/IT8951 $ pip install ./
      Processing /home/pi/IT8951
      Complete output from command python setup.py egg_info:
      Traceback (most recent call last):
      File "", line 1, in
      File "/tmp/pip-3yXkvS-build/setup.py", line 8, in
      raise RuntimeError("This module is written for Python 3.")
      RuntimeError: This module is written for Python 3.
      ----------------------------------------
      Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-3yXkvS-build/

    So i used

    • pi@raspberrypi:~/IT8951 $ sudo pip3 install ./
      Successfully installed IT8951-0.1.0
    • python3 test.py
      ImportError: cannot import name 'ImageTk'

    so i tried

    • pi@raspberrypi:~ $ sudo apt-get install python3-pil python3-pil.imagetk
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      python3-pil is already the newest version (4.0.0-4).
      python3-pil set to manually installed.
      Suggested packages:
      python-pil-doc python3-pil.imagetk-dbg
      The following NEW packages will be installed:
      python3-pil.imagetk
      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      Need to get 55.2 kB of archives.
      After this operation, 80.9 kB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python3-pil.imagetk armhf 4.0.0-4
      404 Not Found [IP: 93.93.128.193 80]
      E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pillow/python3-pil.imagetk_4.0.0-4_armhf.deb 404
      Not Found [IP: 93.93.128.193 80]
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    so

    • sudo apt-get update
    • sudo apt-get grade

    AND FINALY WORKED...
    pi@raspberrypi:~/epd-library-python/9.7inch_e-paper/raspberrypi/python $ python3 main.py

  13. ErikBrewster commented on Sep 14, 2020

    @ErikBrewster

    @galev00 Thank you for writing that out. It must have saved me hours. I was able to get my RPi4 with a 9.7" display working by following your procedure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions