# Dual SSD1306 OLED on I2C

**URL:** <https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930>\
**Category:** Displays\
**Created:** [December 19, 2016, 9:56pm UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930 "2016-12-19T21:56:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![neongreen](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@neongreen](https://forum.arduino.cc/u/neongreen)\
**Post date:** [December 19, 2016, 9:56pm UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/1 "2016-12-19T21:56:20Z")

</div>

Hi guys, new user trying to learn Arduino and electronics in general.

I'd like to run 2 OLED displays on the I2c bus. I understand that the I2C bus can handle a large number of devices, but that each one must have it's own address. I bought a cheap display off ebay (SSD1306, 128x32) and I guess it's address is 0x3c. This appears to be a very common address for this display.

I'd like to run another basically identical device also on the I2c bus, but it needs to have a different address. How is this address set? Is it a hardware or software thing, and is it possible to change it? If not, how do I buy two displays with different addresses?

---

<div class="post-metadata">

**Author:** ![bodmer](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@bodmer](https://forum.arduino.cc/u/bodmer)\
**Post date:** [December 19, 2016, 10:50pm UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/2 "2016-12-19T22:50:58Z")

</div>

Sometimes there are positions for links on the back of the PCB to select different I2C addresses. Post a picture of the back of your display.

If the address cannot be changed then you could use a cheap I2C multiplexer, [such as this one](http://www.ebay.co.uk/itm/TCA9548A-I2C-IIC-Multiplexer-Breakout-Board-8-Channel-Expansion-Board-Arduino-/302147297546?hash=item465961e10a:g:nogAAOSwImRYNqzA).

Adafruit also sell these and have a [good tutorial here](https://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout/overview).

---

<div class="post-metadata">

**Author:** ![neongreen](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@neongreen](https://forum.arduino.cc/u/neongreen)\
**Post date:** [December 20, 2016, 2:52am UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/3 "2016-12-20T02:52:43Z")

</div>

So would putting a solder blob between the two pads at r5 change the address?

---

<div class="post-metadata">

**Author:** ![neongreen](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@neongreen](https://forum.arduino.cc/u/neongreen)\
**Post date:** [December 20, 2016, 5:38am UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/4 "2016-12-20T05:38:35Z")

</div>

Yeah I don't see a datasheet being available for my eBay display. But even the documentation for the adafruit version doesn't say anything about addresses. I suppose I could just bridge the gap with solder, change the address and see if it works... There is a way to check addresses in the Arduino IDE, right?

---

<div class="post-metadata">

**Author:** ![bodmer](https://avatars.discourse-cdn.com/v4/letter/b/65b543/32.png) [@bodmer](https://forum.arduino.cc/u/bodmer)\
**Post date:** [December 20, 2016, 9:51am UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/5 "2016-12-20T09:51:00Z")

</div>

The R pads look like they bypass the 5V regulator so that won't change the I2C address.

It looks like your display does not have any options to choose a different I2C address.

There are I2C scanner sketches available via a Google search that will find what addresses are being used.

---

<div class="post-metadata">

**Author:** ![carlosdiazme](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@carlosdiazme](https://forum.arduino.cc/u/carlosdiazme)\
**Post date:** [December 20, 2016, 11:13am UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/6 "2016-12-20T11:13:14Z")

</div>

> neongreen:  
> There is a way to check addresses in the Arduino IDE, right?

This works just great: [playground-archive.arduino.cc/Main/I2cScanner](http://playground-archive.arduino.cc/Main/I2cScanner)

---

<div class="post-metadata">

**Author:** ![neongreen](https://avatars.discourse-cdn.com/v4/letter/n/8dc957/32.png) [@neongreen](https://forum.arduino.cc/u/neongreen)\
**Post date:** [December 20, 2016, 5:00pm UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/7 "2016-12-20T17:00:49Z")

</div>

OK I used the I2C scanner, it works great.

I also tried bridging the R5 pads and as bodmer said, it does not change the address. So now I've got to find a display that allows me to change the address.

Thanks for all your help so far.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 3:47am UTC](https://forum.arduino.cc/t/dual-ssd1306-oled-on-i2c/425930/8 "2021-05-06T03:47:26Z")

</div>

Closed on May 6, 2021, 3:47am UTC


