Open deguilardi opened 4 years ago
I have a working display now. The problem for me was a damaged Pi board. I opened a ticket with Waveshare and they confirmed that V3 does exist and its functionally the same as V2. The V2 demo code works on V3. I wired mine up using the 8 pins and the 'Board' column of the documentation.
For me the process to get the Python code to run was:
- Fresh install of Raspberry Pi OS Lite
- Enable SPI
- Install Python3 libraries 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 sudo apt-get install git
- Download demo code sudo git clone https://github.com/waveshare/e-Paper
- Run the demo sudo python3 epd_7in5b_V2_test.py
Hope this helps someone.
So I have the same unit (numbers on the back exactly the same and with V3 sticker) and also had the same issue, no working display. But followed @jimmy-malarkey instructions above and worked fine. This is as of 12th Sept 2022 and was using bullseye 32bit release. Also I noted that python3, python3-pil, python3-numpy, RPi.GPIO and git were already installed and at the latest version. Also I didnt need to run setup.py either.
My switches are set to display config 'B' and interface coding to '0' on the interface board and also connected it via jumper cables to the PI zero W. Also worked fine on a PI Zero 2 W and also plugging it as a HAT on the PI zero.
Hope that helps anyone still struggling with this great display (when it works of course!) 👍
I had a V2 and a pi zero and the C demo worked fine but the python code did not following the instructions, turns out all I needed to do was reboot the pi and it worked just fine.
I have a pi zero 2w and I followed the pin-out diagram as per https://www.youtube.com/watch?v=QU4LxcYIbuE (unsure if its same for pi zero and pi-zero 2w)
Display continues to stay blank.
Any one has a pin-out for connecting to pi zero 2w? Wasn't able to find anything from the official website (already emailed support, no reply)
I've been following the instructions from https://github.com/waveshare/e-Paper/issues/81#issuecomment-1065696119, installation of the python modules and everything went clean without any errors. However, when I try to run the example code, I get
Traceback (most recent call last): File "/home/pi/e-Paper/RaspberryPi_JetsonNano/python/examples/epd_7in5_V2_test.py", line 11, in <module> from waveshare_epd import epd7in5_V2 File "/usr/local/lib/python3.9/dist-packages/waveshare_epd-0.0.0-py3.9.egg/waveshare_epd/epd7in5_V2.py", line 32, in <module> from . import epdconfig File "/usr/local/lib/python3.9/dist-packages/waveshare_epd-0.0.0-py3.9.egg/waveshare_epd/epdconfig.py", line 222, in <module> implementation = JetsonNano() File "/usr/local/lib/python3.9/dist-packages/waveshare_epd-0.0.0-py3.9.egg/waveshare_epd/epdconfig.py", line 113, in __init__ raise RuntimeError('Cannot find sysfs_software_spi.so') RuntimeError: Cannot find sysfs_software_spi.so
Screen stays empty, of course.
@dwehrmann Did you copy over the sysfs_software_spi.so
file from the lib/waveshare_epd
folder?
After about 5 hours of debugging, I solved the issue of no display in Python. I needed an older OS.
I downloaded 2020-05-28 version of the OS and went through the docs from waveshare. It then worked instantly in python.
Ras pi 3 7.5 inch V2 dispay
After about 5 hours of debugging, I solved the issue of no display in Python. I needed an older OS.
I downloaded 2020-05-28 version of the OS and went through the docs from waveshare. It then worked instantly in python.
Ras pi 3 7.5 inch V2 dispay
I was having the same issue. The new error was wrong ELF class: ELFCLASS64
after copying sysfs_software_spi.so
. I reinstalled an older OS, specifically Raspberry Pi OS (Legacy) Full released on May 3rd 2023, using the Raspberry Pi Imager, and it worked.
For what's it's worth, here was my solution for my Waveshare 7.5 B&W e-paper: I was using a Lexar 16GB micro "B" HC card, which is about eight years old. With this card I never achieved a test screen. Always the dreaded "busy" response. (I'm using a Raspberry Pi Zero 2 W with the HAT that came with the screen.)
Now I'm using a SanDisk 32GB "10" A1 card, newly purchased. Screen now works using the epd_7in5_V2_test_old.py and the epd_7in5_V2_test.py.
I'm guessing the older SD card was too slow? (It handled the Raspberry Pi OS and setup with no trouble.) Hope this helps!
I'm just trying to run any test to see if the screen draws anything. By simply running
pi@raspberrypi:~/Workspace/e-Paper/RaspberryPi&JetsonNano/python/examples $ python3 epd_7in5_test.py
I get all logs as it's all good, but there is absolutely nothing drawn on the screen.The screen is all white.
logs: INFO:root:epd7in5 Demo INFO:root:init and Clear DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release INFO:root:1.Drawing on the Horizontal image... DEBUG:root:1234 DEBUG:root:imwidth = 640 imheight = 384 DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release INFO:root:2.Drawing on the Vertical image... DEBUG:root:1234 DEBUG:root:imwidth = 384 imheight = 640 DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release INFO:root:3.read bmp file DEBUG:root:1234 DEBUG:root:imwidth = 640 imheight = 384 DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release INFO:root:4.read bmp file on window DEBUG:root:1234 DEBUG:root:imwidth = 384 imheight = 640 DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release INFO:root:Clear... DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release INFO:root:Goto Sleep... DEBUG:root:e-Paper busy DEBUG:root:e-Paper busy release DEBUG:root:spi end DEBUG:root:close 5V, Module enters 0 power consumption ...