Display - OLED SSD1306 - no display at all

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
hvdwolf
Normal user
Posts: 51
Joined: 09 Jun 2016, 12:37

Display - OLED SSD1306 - no display at all

#1 Post by hvdwolf » 08 Feb 2020, 17:05

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 14318 times
And in the Device Config page I have:
SSD1306_DevicePage.png
SSD1306_DevicePage.png (56.18 KiB) Viewed 14318 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?

dampa
Normal user
Posts: 87
Joined: 19 Jul 2018, 01:48

Re: Display - OLED SSD1306 - no display at all

#2 Post by dampa » 08 Feb 2020, 17:18

have you tried using the 'Display - OLED SSD1306' instead of the 'Display - OLED SSD1306/SH1106 Framed' as the device?

hvdwolf
Normal user
Posts: 51
Joined: 09 Jun 2016, 12:37

Re: Display - OLED SSD1306 - no display at all

#3 Post by hvdwolf » 08 Feb 2020, 18:44

Life can be so simple.
It worked immediately.

Thanks a lot.

hvdwolf
Normal user
Posts: 51
Joined: 09 Jun 2016, 12:37

Re: Display - OLED SSD1306 - no display at all

#4 Post by hvdwolf » 08 Feb 2020, 18:48

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???

dampa
Normal user
Posts: 87
Joined: 19 Jul 2018, 01:48

Re: Display - OLED SSD1306 - no display at all

#5 Post by dampa » 09 Feb 2020, 11:54

As to why, beats me I was just offering an idea to test :D

rkgarg20
Normal user
Posts: 12
Joined: 07 Dec 2016, 04:04

Re: Display - OLED SSD1306 - no display at all

#6 Post by rkgarg20 » 02 Apr 2020, 14:05

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).

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

Re: Display - OLED SSD1306 - no display at all

#7 Post by TD-er » 03 Apr 2020, 10:15

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.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Display - OLED SSD1306 - no display at all

#8 Post by Domosapiens » 04 Apr 2020, 00:30

screen is also blank
Make sure u try the potentiometer full, in both directions.
The adjustable area is almost at the end.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

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

Re: Display - OLED SSD1306 - no display at all

#9 Post by TD-er » 04 Apr 2020, 11:03

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.

rkgarg20
Normal user
Posts: 12
Joined: 07 Dec 2016, 04:04

Re: Display - OLED SSD1306 - no display at all

#10 Post by rkgarg20 » 04 Apr 2020, 16:57

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests