SSD1306 can't get it to work

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

SSD1306 can't get it to work

#1 Post by karl222 » 24 Sep 2017, 22:33

hi there,

I have done several things with esp and espeasy so far and I am very happy with results. Today I have tried to get a SSD 1306 OLED up and running but I was not successfull.

In general it is easy to connect SDA and SCL and + / -

Then I did a i2c scan but nothing happens.. also tried to change SDA and SCL but still no luck. I have tried the same with a SSC 1309 but same problem.

I am on espeasy 2.0_Rev.11 (normal) - also tried (test), but no luck either...

does any one have an idea, why oled does not work at all?

regards
Karl

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: SSD1306 can't get it to work

#2 Post by Drum » 25 Sep 2017, 11:23

Make sure the display is configured for I2c, many of these are not by default.
Also check the datasheet for the module to verify the voltage required.

If those do not resolve it, send screenshots of how you have it configured in EspEasy as well as a link to what you purchased, and schematic.

It really is not possible to troubleshoot without more information.

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: SSD1306 can't get it to work

#3 Post by karl222 » 25 Sep 2017, 20:51

I have tried a ssd1309 now with ssd1306 settings and surprise, surprise 1309 is identified and works very well!

I will try to figure out why the ssd1306 doesn´t work

the 1306 display shows VDD and the 1309 shows VCC. VCC works well with 5V, maybe I've killed the 1306 by applying 5V. The datasheet for the 1306 says, 3.3V only ;-)

any experience out there with 5V on a 1306?

regards
Karl

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: SSD1306 can't get it to work

#4 Post by vader » 25 Sep 2017, 23:50

Looks like a successful killing....

From 1306 data sheet:
Power supply
o VDD = 1.65V to 3.3V for IC logic
o VCC = 7V to 15V for Panel driving

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: SSD1306 can't get it to work

#5 Post by papperone » 26 Sep 2017, 07:17

Well all SD1306 module I've been using have a 3.3/5v regulator onboard (662K) in fact I'm happily running all of them 5v or 3.3v without any difference.
I doubt module in subject has differences thus I don't believe it's been fried by wrong voltage, maybe DOA...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: SSD1306 can't get it to work

#6 Post by Drum » 26 Sep 2017, 08:05

I have at least 3 different versions of the ssd1306 module, 4 pin, 7 pin, 8 pin and adafruit feather shield. All are supposed to work on 3.3v. No problem with the 4 pin models I have or the adafruit shield. I could only get 1 of the others to work.
Unfortunately there are a lot of people making these modules. Quality is not always good.

I would try to find another. It could just be a bad module.

karl222
Normal user
Posts: 90
Joined: 23 Aug 2017, 17:18
Location: Vienna

Re: SSD1306 can't get it to work

#7 Post by karl222 » 15 Oct 2017, 21:36

as it is quite cheap, i will go for a new one. i also have a 2.4" one and this one works fine...

many thanks
karl

DirkTas67
New user
Posts: 8
Joined: 18 Oct 2017, 18:35

Re: SSD1306 can't get it to work

#8 Post by DirkTas67 » 18 Oct 2017, 18:48

I also have a SSD1306 with 7 pins, it should be full color according to the chinese webshop where I bought it.

https://photos.app.goo.gl/cU1maYoLaheKxdVc2 (front and back picture)

is there a possibility to get this working in ESPEasy ?

Regards,
Dirk

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: SSD1306 can't get it to work

#9 Post by vader » 18 Oct 2017, 21:59

DirkTas67 wrote: 18 Oct 2017, 18:48 I also have a SSD1306 with 7 pins, it should be full color according to the chinese webshop where I bought it.

https://photos.app.goo.gl/cU1maYoLaheKxdVc2 (front and back picture)

is there a possibility to get this working in ESPEasy ?

Regards,
Dirk
The 7 pins mean SPI + I²C interface. You must look at the back for the configuration (some Rs must be replaced to change mode). Normally this displays are blue or white or 2 color (yellow & blue). You better published the URL of the shop, where you bought it. Many of us have this display in use and is supported by ESPeasy. ;) But I see now, yours is 0.95". This is the 64k color version. But then it is named SSD1331!

DirkTas67
New user
Posts: 8
Joined: 18 Oct 2017, 18:35

Re: SSD1306 can't get it to work

#10 Post by DirkTas67 » 23 Oct 2017, 19:37

This is the exact webpage where i bought it.
https://nl.aliexpress.com/item/0-95-Inc ... 85282.html

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: SSD1306 can't get it to work

#11 Post by Shardan » 23 Oct 2017, 20:22

That display seems to be SPI only.
Besides that it has 96 x 64 pixel so i assume it would run into problems with ESPEasy.

I'D recommend to stay with the 128x64 oleds with 4 pins like this:
https://nl.aliexpress.com/item/20Pcs-SN ... 1431cd53b4
Regards
Shardan

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: SSD1306 can't get it to work

#12 Post by vader » 23 Oct 2017, 21:14

Yep, it's only SPI. There is no interface selector on the back. And the resolution is in fact poor. Looks more like a LEGO graphics display.... :roll:

DirkTas67
New user
Posts: 8
Joined: 18 Oct 2017, 18:35

Re: SSD1306 can't get it to work

#13 Post by DirkTas67 » 24 Dec 2017, 15:34

https://github.com/sumotoy/SSD_13XX

used this to test the display and it works.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests