MikeGawi / ePiframe

ePiframe is an e-Paper (or HDMI, Composite display) Raspberry Pi Photo Frame with Google Photos and more
GNU General Public License v3.0
62 stars 10 forks source link

Waveshare 13.3 inch ePaper - how setup? #105

Open SandrRu opened 2 months ago

SandrRu commented 2 months ago

i have Waveshare 13.3 inch ePaper with RPI Hat i try Test example and it work But i cant get working ePiframe in config i set: display=epd13in3k

in log lokks like all good: 2024-04-23 01:52:52 : Getting next photo... 2024-04-23 01:52:53 : Success! 2024-04-23 01:52:53 : Processing the photo... 2024-04-23 01:52:57 : Success! 2024-04-23 01:52:57 : Sending to display... 2024-04-23 01:52:59 : Done in 00:00:11

But on display nothing changes

In Example from Waveshare i need set VCOM value on the FPC in my case it -2.27 sudo ./epd -2.27 0 in console:

sudo ./epd -2.27 0 // bcm2835 init success !!! // VCOM value:2270 Display mode:0 Panel(W,H) = (1600,1200) Memory Address = 119F00 FW Version = SWv_0.1. LUT Version = M641 VCOM = -2.27V A2 Mode:4 Start to demostrate 4bpp palette example Write and Show 4bp occupy 10.705268 second Set image Rotate 0 mirror image x:none, y:none Set image Rotate 0 mirror image x:none, y:none

maybe there is problem ?

SandrRu commented 2 months ago

I check - Correct display class for my Display is epd13in3b But with this module i get error: Error sending photo to display: display() missing 1 required positional argument: 'ryimage'

SandrRu commented 2 months ago

Any news? Can I help? Maybe give you ssh access to my RPi?

MikeGawi commented 2 months ago

Sorry for the late response but I ordered this display but unfortunately my retailer won't deliver it any time soon.

I definitely need your help with this. AFAIK this screen is red-black-white, right? So can you try setting this in your ePiframe config to BW+Red, then restart with sudo systemctl restart ePiframe.service and let me know if it worked?

SandrRu commented 2 months ago

Thank you for fast answer... But my display is Black / White, 16 Grey Scales this

MikeGawi commented 2 months ago

Strange, as the Waveshare code for this display here expects red image ryimage what is the cause of this error.

Can you try setting this BW+Red flag anyway and let me know? Maybe a different Waveshare class is needed here?

SandrRu commented 2 months ago

Can you try setting this BW+Red flag

mimeType                                               image/jpeg
filename                                               lena02.jpg
creationTime                                 2024-04-22T21:16:58Z
width                                                        1200
height                                                       1600
source                                              Google Photos
Name: 1, dtype: object
2024-05-03 21:08:57 : Getting next photo...
2024-05-03 21:08:58 : Success!
2024-05-03 21:08:58 : Processing the photo...
2024-05-03 21:09:00 : Success!
2024-05-03 21:09:00 : Sending to display...
2024-05-03 21:09:03 : Done in 00:00:13

But nothing changes on the screen....

MikeGawi commented 1 month ago

I think this is an issue with the correct class for your display. Let's wait for Waveshare to respond here: https://github.com/waveshareteam/e-Paper/issues/338