Installing the e-ink screen Here we use an ink screen from Waveshare with a driver board. Plug the driver board into the GPIO of the Raspberry Pi to complete the connection between the screen and the Raspberry Pi. Driving this screen requires enabling the Raspberry Pi's SPI interface. Run sudo raspi-config to enter the configuration tool to enable SPI
Run python routine
- Install function library
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
Expand
- Install function library (python2)
- Download the program (you can skip this step if you have already downloaded it)
sudo apt-get install p7zip-full wget https://www.waveshare.net/w/upload/3/39/E-Paper_code.7z 7z x E-Paper_code.7z -O./e-Paper cd e-Paper/RaspberryPi_JetsonNano/
- Run program
# Make sure you are in e-Paper/RaspberryPi_JetsonNano/ location cd python/examples/ python3 epd_4in37g_test.py
To test the above, refer to the 4.37inch e-Paper Module (G) Manual - Waveshare Wiki
Next, download and install the driver software and test program on the Raspberry Pi.
git clone https://github.com/TomWhitwell/SlowMovie/
cd SlowMovie/e-paper/RaspberryPi&JetsonNano/python
sudo python setup.py install
Enter the SlowMovie directory.
cd ~/SlowMovie
The super slow movie player I use uses ffmpeg-python and PIL libraries.
First, you need to install FFmpeg on the Raspberry Pi. Please refer to the official website https://ffmpeg.org/
Then install the Python library.
sudo apt-get install ffmpeg-python
sudo apt-get install python-pil python3-pil
run helloworld to see the effect.
python helloworld.py