How could I test a I2C OLED SSD1306 display?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
bastler11
Normal user
Posts: 110
Joined: 11 Jan 2021, 21:58
Location: Luebeck

How could I test a I2C OLED SSD1306 display?

#1 Post by bastler11 » 13 Nov 2022, 21:28

Hello, I tried to connect a SSD1306 display to a ESP8266. I found the display after scanning the bus. The display is new but it shows nothing. Do I make any mistake? I connected the display 5V -> Vin ESP, GND -> GND ESP, SCL -> D1, SDA -> D2. Here are also two screenshots from ESPEasy.

Does anybody has an idea what I could to? How could I test des Display?

Thanks and best regards!

Ingo
Attachments
Screenshot-13-18-2022_09.18.14.jpg
Screenshot-13-18-2022_09.18.14.jpg (384.25 KiB) Viewed 1623 times
Screenshot-13-21-2022_09.21.14.jpg
Screenshot-13-21-2022_09.21.14.jpg (88.19 KiB) Viewed 1623 times

User avatar
Ath
Normal user
Posts: 3950
Joined: 10 Jun 2018, 12:06
Location: NL

Re: How could I test a I2C OLED SSD1306 display?

#2 Post by Ath » 13 Nov 2022, 21:43

Not sure if connecting it to 5V is the best plan, it should work just fine with 3.3V, but if the board indicates it can work with 5V, then it could be OK.

Did you set the correct type (SSD1306/SH1106) and resolution for the display? As that does make some difference for the initialization, AFAICS (don't have one close at hand to test, atm).

Edit:
Because of the nature of the display, it should not be set to Slow I2C speed, updates will then be quite slow.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 9266
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: How could I test a I2C OLED SSD1306 display?

#3 Post by TD-er » 13 Nov 2022, 22:35

I'm not sure the SSD1306 will work at 5V.
I always use them at 3V3 and I don't think there are voltage regulators on board of those displays.

bastler11
Normal user
Posts: 110
Joined: 11 Jan 2021, 21:58
Location: Luebeck

Re: How could I test a I2C OLED SSD1306 display?

#4 Post by bastler11 » 13 Nov 2022, 22:41

Very good idea! It works with 3,3V :-)

Thanks

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests