Skip to content
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

Support for Waveshare 7.5 880*528 in HD #35

Closed
KonstantinSchubert opened this issue Mar 7, 2021 · 7 comments · Fixed by #36
Closed

Support for Waveshare 7.5 880*528 in HD #35

KonstantinSchubert opened this issue Mar 7, 2021 · 7 comments · Fixed by #36
Assignees
Labels
New epaper New Epd implementation

Comments

@KonstantinSchubert
Copy link

KonstantinSchubert commented Mar 7, 2021

Hi Martin,

I have used CalEPD, in particular this class, as a reference when implementing my code to drive my Waveshare 7.5 in V2 display.

There is now a new display, the Waveshare 7.5 in HD display, and it seems to have significantly different driver needs (V2 vs HD).

I have been looking in your code to find a class that supports this new HD display, but I only found this class: That's not the right one, right? What display is that one for?

@martinberlin
Copy link
Owner

I never had this Epaper (880×528) so never made this class. If you want you can make a copy of the T7, update the SPI wakeUp commands. Then just send it to me or make a pull request

This can be the only way to do it remotely since I'm not planning to buy one of this soon (unless some client wants it) looks like a nice epaper.
No idea if the buffer fits an ESP32 without PSRam that you need to try yourself.

@KonstantinSchubert
Copy link
Author

KonstantinSchubert commented Mar 8, 2021

I've been trying to do what you suggest, making a copy of the T7 implementation. But the device doesn't ever get "BUSY" after sending the data - and then it doesn't update.

One interesting difference between the V2 and the HD display seems to be that the indicator for BUSY seems to have been changed from LOW to HIGH.

I wonder if that has any impact on the GPIO settings, in particular this line

ESP_ERROR_CHECK(gpio_set_pull_mode((gpio_num_t)CONFIG_EINK_BUSY, GPIO_PULLDOWN_ONLY));

in epdspi.cpp?

@martinberlin
Copy link
Owner

martinberlin commented Mar 8, 2021

Check well the tech specs PDF. Looking at the Waveshare example class busy is high while is busy and LOW when it finished. Double check the wiring and that the wakeUp commands are exactly like the given ones.
C code loops while busy is high (==1) specs say:

BUSY | Busy state output pin (Low for busy)

No idea what is right. Try both just changing the loop from 1 to 0.
Anyways busy pin cannot be the culprit since it has a timeout and it should work even when it’s disconnected (slower but should work)
If it does not do anything usually falls in this categories:

  1. Bad wiring (power ok? Grounded?) are SPI exactly as defined and in GPIOs that support input/output check config-examples
  2. Bad initialization commands

If you cannot get it working just come over one afternoon with the Epaper and we make it work.

That's not the right one, right? What display is that one for? T8

The T8 class is for V1 version with lower resolution

@martinberlin martinberlin added the New epaper New Epd implementation label Mar 8, 2021
@KonstantinSchubert
Copy link
Author

KonstantinSchubert commented Mar 8, 2021

Bad wiring (power ok? Grounded?) are SPI exactly as defined and in GPIOs that support input/output check config-examples

I am using the same driver board both for the V2 display and the HD display. So the GPIOs shouldn't change, right?

@martinberlin
Copy link
Owner

No. Then take a close look at initialization commands, and then try it with Waveshare example, see if it works with their demo.

martinberlin added a commit that referenced this issue Mar 10, 2021
@martinberlin martinberlin linked a pull request Mar 10, 2021 that will close this issue
martinberlin added a commit that referenced this issue Mar 10, 2021
@martinberlin
Copy link
Owner

martinberlin commented Mar 10, 2021

gdew075HD
Added new class it with @KonstantinSchubert
WiKi: https://github.com/martinberlin/cale-idf/wiki/Model-gdew075HD.h

How this buffer looks in this display
E-paper_hardware_work_2

@KonstantinSchubert
Copy link
Author

Awesome 👍

@martinberlin martinberlin changed the title Support for Waveshare 7.5 in HD? Support for Waveshare 7.5 880*528 in HD Mar 11, 2021
@martinberlin martinberlin pinned this issue Mar 11, 2021
martinberlin added a commit that referenced this issue Mar 12, 2021
@martinberlin martinberlin unpinned this issue Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New epaper New Epd implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants