1.3" i2c display error

Hello,

I have an i2c 128x64 oled display with the ssd1306 chip on it.

I scanned with the i2c_scanner and it says:
"Scanning...
I2C device found at address 0x3C !
done"

But I can`t get the display to work, I tried with an another arduino and another display too, but none of them seems to work.

Maybe both display is faulty?

Please see my attachment:

Thank you.

Maybe both display is faulty?

Or maybe the code you didn't post is incorrect.

Please see my attachment:

Spend one and a quarter megabytes of my mobile data?
No thanks.

Or maybe the code you didn't post is incorrect.

Sorry, I indeed forget to post, but the code is from the Adafruit SSD1306 by Adafruit Version 1.1.2 library, ssd1306_128x64_i2c sketch, and I cant post it, because the post max 9000 characters limit, and I dont think it is necessary to post. It is available on github too:

And yes I modified the "Adafruit_SSD1306.h" file according to comments in the code, to match my display, like so:

/*=========================================================================
    SSD1306 Displays
    -----------------------------------------------------------------------
    The driver is used in multiple displays (128x64, 128x32, etc.).
    Select the appropriate display below to create an appropriately
    sized framebuffer, etc.
    SSD1306_128_64  128x64 pixel display
    SSD1306_128_32  128x32 pixel display
    SSD1306_96_16
    -----------------------------------------------------------------------*/
   #define SSD1306_128_64
//   #define SSD1306_128_32
//   #define SSD1306_96_16
/*=========================================================================*/

Spend one and a quarter megabytes of my mobile data?
No thanks.

No need to spend that much of data, because the imgur version is just 69.6KB. And I made it as an attachment.

It may be a wiring problem, such as an intermittent defect (open) on the data link. Verify the quality of your connections and wires. I've had this kind of problem but it disappeared magically...

Your JPEG "looks" like a SH1106 controller module. Please post a link to your actual Ebay purchase.

I suggest that you use U8g2 with a SH1106 constructor.

No, I do not own any SH1106. Nor have I studied the differences between SSD1306 and SH1106. I would expect it to "work" but have wrong screen geometry.

David.

1 Like

Your JPEG "looks" like a SH1106 controller module.

You are right, it is an SH1106, You just solved the mystery, thank you.

Please post a link to your actual Ebay purchase.

The seller site says it is SSD1306: D13-12864-I2C / 1.3in 128x64 OLED, I2C interface - HESTORE - Elektronikai alkatrész kis- és nagykereskedelem
and the datasheet: https://www.hestore.hu/prod_getfile.php?id=8150
I make a contact with the store to correct this.

I suggest that you use U8g2 with a SH1106 constructor.

Yeah i tried, and it works!

You will deserve a medal if you get any response from the vendor.

And a BIG prize if they make any effort to change the website.

It is always wise to post a link to your actual device when you ask a question.

Even if the website contains lies, we can see that the photo has round mounting holes with round copper footprint.
The common 1.3 inch SSD1306 modules have octagonal footprint.

David.