GregDMeyer / IT8951

Driver for the IT8951 e-paper controller on Raspberry Pi
MIT License
155 stars 55 forks source link

Using Driver for a 7.8in waveshare EPD #27

Closed grooverkm closed 3 years ago

grooverkm commented 4 years ago

Sorry up front for beginner questions, I am trying to use the driver with a 7.8in EPD for a Very Slow Movie Player. RaspPi 4 2GB. I believe I have the driver built andinstalled correctly (I can run the test script ok) and I have added it to the correct import in the SlowMovie script. It runs until the first command init.Clear then fails saying command not found. If I comment the init command out, it just fails at the next one. Is there something I am missing or haven't installed correctly? Thanks in advance and apologies if this is the wrong place for such a question.

mweschan commented 3 years ago

@grooverkm I'm actually starting on the exact same project with the 7.8in waveshare. Were you able to get this resolved?

grooverkm commented 3 years ago

@mweschan unfortunately not. Eventually went with the proven 7in5_V2. Watching various projects though as I still have the first screen waiting a fix.

mweschan commented 3 years ago

I managed to get it working! It took a few adjustments, but the SlowMovie script is working on my 7.8in screen. When I have a free moment I'll do a little write up to explain the script changes

GregDMeyer commented 3 years ago

Thanks for the issue! @mweschan , it will be great if you can post anything relevant to this issue when you have it written up, in case other people want to come looking :) Thanks!

HankMcB commented 3 years ago

I managed to get it working! It took a few adjustments, but the SlowMovie script is working on my 7.8in screen. When I have a free moment I'll do a little write up to explain the script changes

@mweschan Would be helpful to me as well.

mweschan commented 3 years ago

Hi @HankMcB. Sorry that I haven't gotten around to doing a full write up yet, but here's the 2 minute overview. The first step is to install this IT8951 program and make sure it works. If you can get this installed and are able to successfully run the test file (IT8951/test/integration/test.py) and display the image on the epaper screen then the rest will be fairly straightforward.

Once I got the test file working and displaying the test image on the e-paper screen, I modified it to point to the screengrab that the slow movie player program was creating rather that then test image. Lastly, I modified the slow movie player program so that after it created the image, it just called the test script to display the image on the screen.

Let me know if you get stuck and I can try to help out