I have both screens working at the same time now, and I got the Sharp to be inverted (black-on-white) which I think is easier to see on that reflective display. Right now, I'm basically just using the Waveshare python epaper library directly to test the screen out, but I plan to write up a nice little CLI utility (or modify one that exists) in order to display any arbitrary thing on it, including piping std out. That might be the first thing I actually write on the device itself once it's all done.
I tried using the same SPI interface for both, but I couldn't get it working, so I enabled the second SPI interface on the Pi and am using that for the epaper.
This is the wiring I came up with use both these screens at once:
Sharp | |||
label | gpio | pin | note |
vin | 5v | 2 | |
3v3 | not connected | ||
gnd | gnd | 39 | |
slck | 11 | 23 | SPI0 SCLK |
di | 10 | 19 | SPI0 POCI |
cs | 8 | 24 | SPI0 CE0 |
emd | 3v3 | 17 | |
disp | 24 | 18 | |
ein | 25 | 22 | |
Waveshare | |||
label | gpio | pin | note |
vcc | 3v3 | 1 | |
gnd | gnd | 6 | |
din | 20 | 38 | SPI1 POCI |
clk | 21 | 40 | SPI1 SCLK |
cs | 18 | 12 | SPI1 CE0 |
dc | 5 | 29 | |
rst | 27 | 13 | |
busy | 22 | 15 |
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.