Two Nokia 5110 screens with mirrored images

Hello everyone,

I am working on a school project. I want to use two Nokia 5110 LCD screens to use as interactive eyes for a robot.

I am using an arduino DUE as microcontroller, just so that the screens run smoothly on 3.3V. I am able to send the same bitmap-data to both of the screens over the chip-select dataline. But I can't figure out how to send seperate data-sets to both screens at the same time.

I am reading in about SPI, note: I am a novice when it comes to electronics. But it seems to me that you can only send data to one slave at the time. I don't know what the speed is that I can write to the LCD screens is while using the SPI-bus, as the refresh-rate has to be similair in both eyes.

Does anybody have a good tutorial about sending different data to multiple slaves with an arduino DUE, as I read that SPI on a DUE works differently than on AVR-based boards. I do have an UNO and a Mega and some level shifting chips, if it is too difficult to work out with an Arduino DUE.

Thanks in advance! :)

skielpad: I do have an UNO and a Mega and some level shifting chips, if it is too difficult to work out with an Arduino DUE.

I imagine what you want is no harder on a Due but, if you do need to use the Mega, the 5110 runs just fine off the 3.3v pin and no level shifting ships are warranted.

When you work with SPI and you have several systems connected, the way to communicate with them is to use the same pins, MOSI MISO and SCLK, on all the devices, but each one must have a different CS pin.

|500x237

Info: https://www.luisllamas.es/arduino-spi/