-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
waveshare 7.5inches v2 won't draw #81
Comments
Hi, I own 7.5" v1. It has native resolution 640x384. You've got v2. As far as I know it comes with 800x480. There is also HD version with 880x528. Try epd_7in5_V2_test.py It has: Display resolutionEPD_WIDTH = 800 |
Had the same issue. Worked by selecting 7in5_V2 for my 800x480 display (one colour). |
You have the colour version but neither V2 nor HD so it should be epd7in5bc. The files in the lib folder define the resolution. |
Interesting. When you say the code runs do you get the full console output? When I run my example (via sudo python epd_7in5_V2_test.py for my version) I get: INFO:root:epd7in5_V2 Demo If yes, maybe the error is not software related. Since you are using the HAT there is little chance the GPIO connections are connected wrongly (maybe a loose soldering patch) but you could check if all the molex display connections on the HAT cables are inserted correctly. |
Hi, This is the output I get from the test script:
|
just confirmed the c example also doesn't output anything to the screen.
|
I also have problems to draw anything at all on the 7in5_V2, but in my case the example file is more explicit about the errror:
I get two flashes of black and white and then the program ends due to the error. |
I'm having the same issue with the 7.5 color + hat and the included examples. Going to email email support and see if they have anything helpful to say 🤷 |
So I solved the issue I had by installing the libraries using the setup.py file, which is missing in the docs. Before doing so I had to manually set the library on the same folder as the examples but it didn't work properly as I explained before. I would advise the dev to include the following instructions in the readme_rpi_XX.txt files, the same files for the jetson and in the wiki:
|
Unfortunately that didn't work for me, but I do feel a bit dumb that I didn't use |
I'm getting this error too, was anyone able to fix? |
Same display, some problems. I think that the v2 version just doesn't work with the current examples. |
Is there any indicator or file I could use to verify that this is a code issue instead of a hardware issue? |
@mchen0037 I would recommend running the C program because it's just easier to follow the steps but in any case I was able to draw correctly with the python demo as well by using the setup.py commands I commented on before. I also updated a small library for micropython in case you have an esp32 or similar and want to try it (check the dev branch): https://github.com/tanahy/micropython-waveshare-epaper/tree/dev |
@tanahy Thanks for trying to help! But I think, I probably have a completely different version. It's clearly marked as "V2" and it's 7.5" in size. That's all I know for sure. I bought it as "WaveShare 7.5inch E-Ink Display HAT for Raspberry Pi 880×528 Red / Black / White (WS17960)" from https://eckstein-shop.de/WaveShare-75inch-E-Ink-Display-HAT-for-Raspberry-Pi-880528-Red-Black-White As you can see, it should have a resolution of 880×528 pixel, red / black / white and is version 2. None of the example matches this specification. Also none of the datasheets provided by waveshare... |
@jfreax that’s the exact model I ordered (direct from waveshare), and they said I really ordered the “HD” model and should use that code. It still didn’t work for me, but could be worth trying. |
@markolson I tried all 7in5* example codes. No luck yet. I also wrote an email to waveshare's support team. Let's see if they can help. |
Same issue here! Interested to hear support's reply... |
Last communication I got back from them said to try using wires instead header pins as a connection. so I'm pretty close to giving up. :-\ |
I got an answer from the support. They told me, that my device is in fact a "HD" version, but that there is no "V2" variant of the HD devices. Otherwise, they just send me a link to their wiki. Not that helpful. My screen is clearly labeled as "V2" on the backside. So, I'm not sure who is right here. But regardless of which version it is, I tested all 7in5 examples. On different devices, C and Python... It just doesn't work. @markolson I'm also pretty close to giving up :( |
@jfreax interesting, mine has a sticker saying "SKU: 14144. 7.5inch e-Paper (C)". What I ordered is the kit with a HAT (SKU 14229), listed as Output from the C demo:
Python examples (i.e. epd_7in5bc_test.py) are showing more or less the same: the 'busy' line apparently is going up and down (indicating valid communication between the Pi and the controller on the HAT), but nothing ever shows up on the screen. |
Hi, Did you try connecting using wire pins? Details of my setup: Connected not directly as Hat to the gpio headers, I use the supplied wires, connected to the hat: Reference for the pinout of the wires:
Don't know why this works, and not when directly connected. But it seems to work as expected. |
I did actually use the wires, with an ancient Raspberry Pi original model B. The old Pi might be the culprit (will try with a Pi Zero as soon as I can find the header to solder to the board). |
I used wires on my Pi Zero W, but will try with a Pi B+ this weekend |
I just tried wires again, no luck. I'm using a Rasp Pi 4 Model B. |
Hello everyone, I want to say sorry first because we do not check the GitHub all the time and it is hard for us to reply to issues. If you have any question want to confirm with us directly, please send an email to service@waveshare.com. |
As you know, we have three kinds of 7.5inch e-Paper. The oldest one is the V1 version with 640x384 resolution and it stops producing. Please confirm the type of e-Paper you bought and use the correct codes. |
Do you have a multimeter to test if there are shorted pins in the black connector of the driver board? |
I have connected my Pi Zero directly to the HAT (using the header). The display is a V1, 640x384, 7.5 inch one (SKU 14229). I followed the instructions from the wiki linked above exactly, on a fresh install of Raspbian Buster. Still does not work. Note that I have already tried connecting using wires to another Raspberry Pi (a Model B in that case) - also no dice. I am suspecting a production issue with the screen... @waveshare how do I arrange an RMA? |
Yes, I have a multimeter. What do you want me to test? Which combination of pins should I check?
… Op 9 sep. 2020 om 13:10 heeft waveshare ***@***.***> het volgende geschreven:
Last communication I got back from them said to try using wires instead header pins as a connection. so I'm pretty close to giving up. :-\
Hi,
Did you try connecting using wire pins?
I did, and now the examples work!
Details of my setup:
rpi4b
SKU: 14144. 7.5inch e-Paper (C)
HAT rev2.1
Connected not directly as Hat to the gpio headers, I use the supplied wires, connected to the hat:
Reference for the pinout of the wires:
https://pinout.xyz/pinout/spi
https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B) (Hard- software tab)
Don't know why this works, and not when directly connected. But it seems to work as expected.
Do you have a multimeter to test if there are shorted pins in the black connector of the driver board?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I have a 7.5 3 colors 880x528, Raspberry and e-paper Driver Hat. It WORKS with EPD_7in5b_HD_test(); ! |
I quickly checked it here - it does seem to make some difference (i.e. the code for EPD_7in5b_HD does not hang like it did before) but still nothing on the screen. This would also be pretty strange given my display should be a V1, not an HD. Note of the other 7in5-test functions appear to work either (they do hang). Will try using a Zero W later. |
I am still discovering how this device works ... But still no way with Python ( I tested several other projects with E-Paper and python, still withe screen ). If anyone has a simple python script for 7 "5 3 colors (880x528) a simple" Hello world displayed "will light up my night ... |
My device is 4b,unlike @pixelspark ,several days ago,I could do like this article. But when I got up,running the helloworld or slowmovie,it failed ,the picture remains the same,when I tried to connect up or down. 2 errors are below. So I debug the epd_7in5_V2_test.py ,found after it log “1.xxx “ ,the program can’t go well,in 31 row (Maybe this row, tomorrow I will check again),maybe this casue the “debug root..”? Also the e-paper adapter has one pin called “BUSY”,so I check the 7.5 specifications: Maybe the previous picture dominate the e-paper some state ,so it can’t start code? @technimad And also I use voltmeter to test 2 pins, if I run the .py program ,it is 0,but if it stops ,I can get 2V approximately. |
So, progress on my side! I recently ordered a 7in5b V2 display (b/w, no colors) with HAT. Much to my surprise, this worked out of the box! Turns out that the 7in5bc (v1) display now works as well using the newly received HAT (and the appropriate demo code). Still a bit glitchy (and the colors are less pronounced than I would expect) but at least something I can work with. @waveshare looks like the first HAT was DOA, would you be able to send me a replacement? |
Hi, where you ever able to resolve this? I bought the same recently ... did not do the math before I bought it. Anyway did you get the display working? |
I still have issues on this, like described in thread Thread with a 7in5b HD with 880x528. I tried before with a custom made SPI-interface in an Arduino-style environment when I percieved this kind of issue before. Debugging send me down this road. Testing with Raspberry Pi 400, connected via Wires to e-Paper HAT. Triple checked everything. Also tried different displays / HATs, cables etc. It just hangs at at epd_7in5b_HD_test.py at INFO:root:init and Clear Than nothing. The V2 examples run through, but no display. It would be cool to hear any news on this. We are using them for an art project with deadline approaching and let's say... We spent some money on the hardware, so it would be cool to make them run. The e-Inks I tried before were an out of the box experience, and this here is very frustating, since I already spent 3 days of debuggin... |
Is there maybe something like a firmware-update we could try? |
Did you try my fork of the library? It's made for micropython but it
should work with little to no modification on the raspberry PI, take a
look at my repo in case it's of any help, it worked properly on my V2
screen.
El 20/3/21 a las 0:14, Martin Wisniowski escribió:
…
Is there maybe something like a firmware-update we could try?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJKXOG5IX746IXB37VA3F3TEPLFBANCNFSM4OFFVTKQ>.
|
Hey, thankt @tanahy for your answer. Didn't make it work so far, because I am not familiar with MicroPython and looks like a lot of fiddle to get something to work quickly. Anyway. I found something new, that I find some sort of confusing. On the webpage of the 7.5inch_e-Paper_HAT_(B) you find the following notice: (https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)) And then a just link to a shop page.
But again no specific infos about a HD version... I ordered my HAT a the bundle withthe eInk at a supplier in Germany, maybe there are newer versions of the HAT available, but you can't tell the difference between them from the outside? And why can't they link the page of the HD version in the notice above I screenshotted... Can anyone bring some more light into this issue? Is there a firmware-update available for the HAT or not? If not, are there 2 different versions of the HAT available (no HD and HD)? If yes, how can we tell the difference between both versions? |
Today I made a setup, that worked. So it is not an issue related to the hardware itself. The current setup was:
The most significant difference to the previous setups is, that I used this time the HAT directly on the Raspberry-Pi pins and not the SPI-Cable. So it seems, that the issues are somehow related to SPI. That would be more or less to opposite of this comment from Waveshare, suggesting using SPI instead of Header-Pins (#81 (comment)). |
And another update. Made this work via SPI-cable. I used this pinouts on the raspberry pi (the pins on the right side of the table). It was a little bit confusing in the end, because the epdconfig defined the BCM2835 pins: (https://github.com/waveshare/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py) ` Pin definition
` This maps to the Table in the middle. With this setup I got the thing working via SPI. So confirmed again, that this is not an hardware-issue. Maybe you need to not only activate SPI on the pi, but also install BCM2835-libary on pi. Like so:
Great! Now I just need to make this work on my Lilygo T-Call 1.3 and I am happy... =) |
I had the same symptoms as described. In my case the c program works as intended, but the Python example did not. The script just executed, no warnings but nothing was drawn. I use a Raspberry 3B on Bullseye I did a test to reduce the frequency for the SPI communication (in epdconfig.py) by
... self.SPI.max_speed_hz = 4000000
Now the Python script works as intended and draws on the screen. |
Had the same issue on my B/W model. In my case the transfer rate of the SPI was too high.Test the Python example provided by WaveShare for your display to ensure that it works with Python programsThere might be an issue where the Python program runs but nothing is draw to the display. If so, try modify in epdconfig.py (in lib folder) to the following SPI_FRQ = 2000000 (this reduces the data rate over SPI)Does the C-program work? The issue above relates to the Pyhon code only.There is also software that shows the activity on the pins too see if there is any communication. The HAT is not reliable and I only use wires to the relevant pins. /Jan
Från: jimmy-malarkey ***@***.***>Skickat: måndag, februari 28, 2022 17:04Till: waveshare/e-PaperKopia: Jan Wellergård; CommentÄmne: Re: [waveshare/e-Paper] waveshare 7.5inches v2 won't draw (#81)
I am not able to get my 7.5 inch 3 color display to do anything. Im using a Raspberry Pi Zero and the display that I bought from Amazon. It is supposed to be a White / Black / Red at 800×480. I have tried running all of the 7in5 examples, but nothing is drawn on the screen. I am trying to figure out for sure which version I have, but mine has a V3 sticker on the back. I cant find any documentation that such a thing even exists?
I tried it with the HAT and I tried with the wires. I reinstalled Raspberry Pi Lite multiple times. I stepped through the Python instructions on the wiki over and over. Most of the test scripts act like they are running (Drawing on the Horizontal image...) but nothing is on the screen.
Can anyone help me out or point me in the right direction? This is very frustrating.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
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:
Hope this helps someone. |
My issue was that after running the C example first, the python example did not display anything without doing a reboot. Otherwise fine, just follow the instructions from the wiki and add the setup.py build steps from @tanahy (see above). My setup: RaspberryPi 2b+, Latest Raspberry Pi OS 2022-04-04, 7.5inch V2 display with HAT. |
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. 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 #81 (comment), installation of the python modules and everything went clean without any errors.
Screen stays empty, of course. |
@dwehrmann Did you copy over the |
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 |
I was having the same issue. The new error was |
For what's it's worth, here was my solution for my Waveshare 7.5 B&W e-paper: 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 ...
The text was updated successfully, but these errors were encountered: