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

Stuck in loading #88

Open
js22gz opened this issue Feb 18, 2022 · 3 comments
Open

Stuck in loading #88

js22gz opened this issue Feb 18, 2022 · 3 comments
Labels
hardware support Support for additional hardware

Comments

@js22gz
Copy link

js22gz commented Feb 18, 2022

Hello and thank you for creating PaperTTY!
This might not be a Issue with the code but an issue with my lack of skill in this area, but here's the problem:

I followed the new instructions by installing Poetry.
From the terminal I do this:

  1. cd PaperTTY
  2. poetry shell
  3. papertty --driver EPD7in5b terminal

The program starts and gets stuck after printing this line (and nothing shows on the screen):
"Loading PIL font /home/pi/PaperTTY/papertty/resources/tom-thumb.pil. Font size is ignored."
(I've tried all the 7.5 drivers with same result)

I have a Raspberry Pi 3 A+ with a 7.5" Waveshare Red, White, Black ePaper-screen V2.
Connecting the two through a ePaper Driver HAT Rev2.2
I got the examples in Waveshare git-repo to work.

I don't really know where to start troubleshooting and would really appreciate being pointed in the right direction.

@joukos
Copy link
Owner

joukos commented Feb 20, 2022

If the Waveshare examples work, first thing that comes to mind here is that likely there's currently no working support for 7.5" tricolor V2 and I don't know if anyone's actually tested the non-V2 versions of these more exotic models either.

The way to troubleshoot this would basically be to get the Python examples from Waveshare, then see how similar they are to the existing PaperTTY drivers (ie. here and here) and if it's possible to just add some minor tweaks to get it to work or if it's quite different, in which case it's likely easiest to just adapt the code from the Waveshare examples as a starting point.

It's basically just about writing the right bytes to the display so the code shouldn't be super complex, but I don't have this particular model myself so I can't really test it unfortunately. Some displays have a reversed "ready" bit so when nothing seems to happen, it could even be that the code expects a 0 when it should be expecting a 1, and debugger could be helpful there.

@js22gz
Copy link
Author

js22gz commented Feb 25, 2022

Thank you for your answers!
After tinkering with the screen a few hours using the examples from waveshare I cant get the screen to work on PaperTTY and even just using the waveshare examples I cant get the refreshrate to go under 20s... So I think the screen is out of PaperTTYs reach to be honest...

The problem (I believe) is with the lack of partial refresh and the fact that I cant find where to change the LUT tables to maybe tweak the refreshrate a little further... I should have researched more before hitting the buy-button :-)

@joukos
Copy link
Owner

joukos commented Feb 25, 2022

It can be made to work with PaperTTY surely, but in these tricolor models the refresh rate indeed is very slow due to the way it works physically. In some years we might have some better displays but for the time being those are mostly suitable for fairly static information.

@joukos joukos added the hardware support Support for additional hardware label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware support Support for additional hardware
Projects
None yet
Development

No branches or pull requests

2 participants