What I want to do is mount a Unicorn HAT Mini at the top :
And an Inky WHAT e-ink screen at the bottom:
The Hat Hacker has a handy drawing showing the sizes, but I cant quite figure out if things will fit. Because the screen and unicorn overlap the GPIO pins a little, its hard to get a read on if this will fit.
Anyone done something like this before?
Oh crap. You are right. They do have some of the same pins. I am new to all this, so I’m not sure if they can be shared?
Or do they have different addresses? I’m not sure what that means, but I remember people talking about that somewhere. 😬
The shared SPI-bus is not the problem. The problem is that the Uncorn HAT Mini has two internal devices and the HAT uses both chip-select lines of the Pi named CE0 and CE1. The “CE” stands for “chip-enable” and is a synonym for chip-select. The Inky only uses CE0 so you could combine the Inky with a display that uses (only) CE1.
So is there a way to switch between them perhaps? The inky screen could be updated every couple of hours, and then I could run the unicorn while the inky isn’t being updated?
Since the inky will just continue showing what was last updated anyway.
This is not how SPI works. All devices on the bus share the clock (SCK) and the data-line (host->device, traditionally called MOSI: master-out slave-in). A device knows that the data is for itself when the chip-select is pulled low.
So when you try to update the Inky, you would pull the CS low to tell the Inky that you are sending data. But the Unicorn will also have the shared CS low and will also think the data is for itself. And vice-versa.
I have Pi setups with dual and triple SPI LCD displays in use. Like @bablokb said, as long as each display uses a different chip select pin, its doable. One issue for you is The Unicorn Hat Mini uses CE0 and CE1. I think that’s going to conflict with the use of CE0 by the Inky What? They are both using SPI0.