I wish to use two OLED displays in a project however they have the same address.
Is there a way I can implement another SPI interface on separate pins please.
Do the unnamed (hint) displays have CS pins?
They are both a SSD1306 OLED one of them is a feather wing board the other is a stand alone , the feather wing is slightly longer than the other.
CS pins , not sure , does that mean clear screen , will have a look.
No, Chip Select, or sometimes Chip Enable, depending on the specific (hint) device
Sorry its a feather wing sat on a feather M0 data logger , the one with the SD card socket.
Other OLED does not have the ACK pin.
ACK pin , i was thinking about the sensor there.
It would help if you provided links or any information about the displays.
It would help if you posted the code you are working from or with.
SPI devices don't have addresses, are you sure they aren't I2C OLEDs?
As pointed out, multiple SPI devices share data and clock lines and the CS on each device is used to control which device the data should be clocked to and from.
a7
You are correct , they are I2C Devices (my bad), the code I am using is only the given examples like blink etc. Just to confirm I have the wiring right .
I have a working programme on a nano which I am trying to port to a feather with which I have no experience.
I do not know but think that the include libraries for OLED on the Feather and Nano may be different.
Currently working through examples to discover.
Check the display boards to see if they have address select jumpers. Sometimes this is a 0 ohm resister soldered to the board.
Upper left side.....
Thanks you are correct,
Not much chance of me resoldering it though.
You don't have to re-use the zero ohm resistor, a solder blob will do the trick
The 0 ohm resistor is mainly for manufacturing convenience, so a pick and place machine can easily put a jumper on the board.
It’s 4K7, but a solder blob is almost certain to work as well.
I have seen pictures of the back of very similar units with a zero ohm resistor and you’d kinda have to go out of your way to make it necessary to use a 4K7.
a7
I have a similar question. Are there any OLED displays that have more than 2 address choices? I'd lime to have 4 to 6 displays. Hoping they will be faster refresh rate than the 3.5" TFT I'm using.
Eyesight is not the problem but my hands tremble too much these days to do any precision soldering
I don’t think so, hope I am wrong.
But know about this
which might be able to help you.
a7
If your display looks like this (componentsettings) you can take the actual display from the PCB, gently fold it back and cut 15 to GND, fold it back and solder a thin wire from 15 to Vcc..
For more than two displays, either an I2C multiplexer, or remove the address select jumper and wire an I/O pin to the address select line, using is as a chip select to put one display at a time at one address, while all other displays are at the other address.
Brilliant.
I feel a new project coming along already.