Page 1 of 1

Display - OLED SSD1306 - no display at all

Posted: 08 Feb 2020, 17:05
by hvdwolf
This is really a newbie question in this case. I just purchased an OLED SSD1306 for my thermostat project.
However, I do not get any display.

If I check the wiki OLEDDisplay, it mentions for the connection:

Code: Select all

LCD 	 	ESP-01
 GND 	 	GND
 VCC    	VCC
 SDA		GPIO 0
 SCL		GPIO 2
If I use the plugin inside the 20191208 and the new 20200204 build, even without connecting anything, it shows me.
OLEDSSD1306-plugin.png
OLEDSSD1306-plugin.png (10.53 KiB) Viewed 14763 times
And in the Device Config page I have:
SSD1306_DevicePage.png
SSD1306_DevicePage.png (56.18 KiB) Viewed 14763 times
No matter what I try or which pins I use like GPIO0/GPIO2 or GPIO4/GPIO5, I get nothing on my display.
From tools I use the "oledcmd,on" and "oldedcmd,off" commands, but also the "oled,1,1,"try out" commands (and variants with variables)
Nothing works. The oled stays black.

I also connected a pushbutton to activate the oled, but still nothing.

Am I doing something stupid?

Re: Display - OLED SSD1306 - no display at all

Posted: 08 Feb 2020, 17:18
by dampa
have you tried using the 'Display - OLED SSD1306' instead of the 'Display - OLED SSD1306/SH1106 Framed' as the device?

Re: Display - OLED SSD1306 - no display at all

Posted: 08 Feb 2020, 18:44
by hvdwolf
Life can be so simple.
It worked immediately.

Thanks a lot.

Re: Display - OLED SSD1306 - no display at all

Posted: 08 Feb 2020, 18:48
by hvdwolf
And now I switched back to "Display - OLED SSD1306/SH1106 Framed" without having pins changed and the like, and it still works.

Great, but why???

Re: Display - OLED SSD1306 - no display at all

Posted: 09 Feb 2020, 11:54
by dampa
As to why, beats me I was just offering an idea to test :D

Re: Display - OLED SSD1306 - no display at all

Posted: 02 Apr 2020, 14:05
by rkgarg20
My SSD1306 screen is also blank. I am using ESP12E. Can you please tell what all pins you connected with. I have 4 pins on display (VCC, GND,SDA,SLC).

Re: Display - OLED SSD1306 - no display at all

Posted: 03 Apr 2020, 10:15
by TD-er
In the "Hardware" tab you can see the pins for I2C.
Please check you have those pin used.
It shows the GPIO pin numbers as well as the (rather strange) pin names used on the NodeMCU boards.
VCC of the display should be connected to 3V3.
Please double check the pin order on the silkscreen of the display, as there are 2 versions. Vcc and GND are swapped on some.

Re: Display - OLED SSD1306 - no display at all

Posted: 04 Apr 2020, 00:30
by Domosapiens
screen is also blank
Make sure u try the potentiometer full, in both directions.
The adjustable area is almost at the end.

Re: Display - OLED SSD1306 - no display at all

Posted: 04 Apr 2020, 11:03
by TD-er
You can also try to use the OLED Framed plugin and try different brightness settings.
Some displays have issues with the internal brightness modes.
Just like you need 2 step-up converters to use all brightness levels.

Re: Display - OLED SSD1306 - no display at all

Posted: 04 Apr 2020, 16:57
by rkgarg20
Thank you TD-er. I did not check the Hardware pins. I realized that after wasting 2 days. I had different pins in I2C under hardware and i was using different pins for connection. I accidentally found the hardware tab and realized the issue. I saw your reply now and yes, that was the issue. I hope espeasy tutorial is updated for oled tutorial.