In compliance with high industry standards

Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteria

How to test 7.5" e-Paper Display with Raspberry Pi

Display Applications using Raspberry Pi for industrial automation


1. Introduction

2. Related Links

3. Requirements

4. Connections

5. Tutorial

    · Enable SPI interface

    · Install BCM2835 Libraries

    · Install Wiring Pi Libraries

    · Install Python Libraries

    · Install Git

    · Download demo examples

    · C examples

    · Python examples


Electronic ink, electronic paper or e-Paper is a technology that allows you to create flat screens, as thin as a paper, and with a flexibility that allows them to be rolled up. These screens represent information, usually in black and white and have recently been used to display moving images. 

In this blog, we will learn how to use it using a Raspberry Pi!

Introduction of How to test 7.5" E-Paper Display with Raspberry Pi

Related links

How to connect 
Raspberry PLC to Wi-Fi

Read >>


Basics about Raspberry Pi PLC
Analog outputs

Read >>

How to find your
perfect industrial PLC

Read >>

How to program Raspberry PLC 
Interrupt inputs with Python

Read >>

Raspberry PLC
Family products

See >>

TouchBerry Pi
Family products

 See >>


                                                • 7.5inch e-Paper Display

                                                • Waveshare e-Paper Adapter

                                                • E-Paper Driver HAT

                                                • Raspberry Pi 4 Model B

                                                • USB-C type cable as power supply

                                                • Either Ethernet cable or micro HDMI cable to connect to a monitor


                                                First of all, connect your 7.5inch e-Paper Display to your Raspberry Pi, as shown in the picture below.

                                                Connections between 7.5inch e-Paper Display and Raspberry Pi


                                                Enable SPI interface

                                                The 5.83inch e-Paper HAT works with SPI bus, so the first step we are going to do is to enable the SPI.

                                                1. Power up your Raspberry Pi and connect though SSH or HDMI to your Raspberry Pi. Then, go to raspi-config, which is a configuration tool in Raspbian that enables you to configure various settings of your Raspbian installation, such as the keyboard layout, the timezone, the password for the pi user, the SSH access, etc.

                                                sudo raspi-config

                                                2. Enable SPI interface by going to:

                                                Interfacing Options > SPI > Yes

                                                3. Make sure your SPI is not being used by other devices, and reboot your Raspberry Pi to apply changes.

                                                sudo reboot

                                                Install BCM2835 Libraries

                                                4. Get the sources from the server.


                                                5. Extract the files.

                                                 tar zxvf bcm2835-1.60.tar.gz

                                                6. Move to the BCM2585 directory.

                                                cd bcm2835-1.60/

                                                7. Run the configured script.

                                                sudo ./configure

                                                8. Compile and install.

                                                sudo make
                                                sudo make check
                                                sudo make install

                                                For more details, please refer to

                                                Install Wiring Pi Libraries

                                                9. Install Wiring pi Libraries

                                                sudo apt-get install wiringpi

                                                10. Go to the /tmp directory

                                                cd /tmp

                                                11. Get the sources


                                                12. Unpack the sources

                                                sudo dpkg -i wiringpi-latest.deb

                                                13. Print the version of GPIO to know if you installed correctly

                                                gpio -v

                                                Install Python Libraries


                                                • In case of Python 2

                                                sudo apt-get update
                                                sudo apt-get install python-pip
                                                sudo apt-get install python-pil
                                                sudo apt-get install python-numpy
                                                sudo pip install RPi.GPIO
                                                sudo pip install spidev
                                                • In case of Python 3

                                                sudo apt-get update
                                                sudo apt-get install python3-pip
                                                sudo apt-get install python3-pil
                                                sudo apt-get install python3-numpy
                                                sudo pip3 install RPi.GPIO
                                                sudo pip3 install spidev

                                                Install Git

                                                15. To clone a repository, you will need the git installed. Install it running the following command:

                                                sudo apt-get install git -y

                                                Download demo examples

                                                16. Clone demo codes by the following command:

                                                sudo git clone

                                                17. Go to the folder of C examples.

                                                cd e-Paper/RaspberryPi_&JetsonNano
                                                cd c

                                                C examples

                                                18. Go to the main.c file and modify it.

                                                sudo nano examples/main.c

                                                19. Uncomment the line related to your screen, in our case: 

                                                C examples - EPD_7in5_test(); - How to test 7.5" E-Paper Display with Raspberry Pi

                                                20. Compile codes from the /home/pi/e-Paper/RaspberryPi_JetsonNano/c directory by running these commands:

                                                sudo make clean
                                                sudo make

                                                21. Run your example by executing the epd file just created after compiling.

                                                sudo ./epd

                                                Python examples

                                                22. Go to the Python directory where you will find the examples, and list the files to find yours:

                                                cd /home/pi/e-Paper/RaspberryPi_JetsonNano/python

                                                23. Find your screen version and run the example!

                                                sudo python

                                                If you got to here, that means that you managed to print the demo pictures in your screen!

                                                Learn More

                                                Looking for your ideal PLC?

                                                Take a look at this product comparison with other industrial controllers Arduino.

                                                We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.

                                                Industrial PLC controller comparison >>

                                                Do you want more information?

                                                Just fill the form!

                                                Tell me more!