I am trying to get a cheap SH1106 1.3" OLED from eBay working with my Raspberry Pi 2. Frm the eBay description, it says that it supports "I2C/IIC Interface, need only 2 IO". I am however not able to have it detected by i2cdetect (only gives me --).

The module has 7 pins: GND, VCC, CLK, MOSI, RES, DC, CS. I have tried different wirings. Is this module SPI only? (wrong description).

Which pin is supposed to be connected as SDA/Data if using I2C?

EDIT: http://www.ebay.com/itm/221517696686

  • Please edit your question and add a link to the specific ebay part you bought, there are several varieties of this part. I would try mosi and clk. – Steve Robillard Jul 31 '15 at 0:19
  • The title only mentions SPI, you may be out of luck with regards to I2C. But you may want to check this first it mentions that I2C also needs the RST pin learn.adafruit.com/monochrome-oled-breakouts/… This may help as well learn.adafruit.com/adafruit-oled-displays-for-raspberry-pi – Steve Robillard Jul 31 '15 at 0:27
  • I am trying to get this going: github.com/rm-hull/ssd1306 (I have a RPi 2 B) – slekvak Jul 31 '15 at 0:31
  • On the back of the display: 2 pads for SPI (connected), 2 pads for ICC (not connected).. Is ICC related to I2C somehow? – slekvak Jul 31 '15 at 0:35
  • 1
    This is only my assumption based off of the pics on the eBay listing and the adafruit site. But it would appear that to get I2c to work would require modifying the jumpers on the back of the board. I suggest you follow the instructions from the adafruit links to get it working via SPI – Steve Robillard Jul 31 '15 at 1:02

Desolder the resistor R3, solder it on the vacant R1 slot and add up a 4.7k at the vacant R8 slot. enter image description hereFor the IIC communication 4pins should connected between the module and the arduino; SCK, SCL, RES and DC.

More info is here: 1.3" Serial OLED Display Module

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.