wide OLED

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

wide OLED

#1 Post by manjh » 16 Dec 2017, 17:23

I found this little display on Banggood:
https://www.banggood.com/search/1140506.html
It looked interesting because of the slim size, which can be useful for some casings.

The current OLED plugin does not complain about the unit, but the text is very compressed. Looks like the font height should be about double from what it is now.
Would it be possible to add this type to the support of the current plugin? I have the display, so testing would be no problem. :)

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

Re: wide OLED

#2 Post by TD-er » 16 Dec 2017, 18:09

I have those displays too.
They display only the even (or odd?) lines so they are "compatible" with the 128x64 pixel displays.

Adding support should not be too complicated, but there are 2 OLED plugins. OLED and OLED-framed.
The second one uses the library maintained here: https://github.com/squix78/esp8266-oled-ssd1306
However this library is not seeing much activity.
It looks like the maintainer is creating a new library with support for de SDD1306, SH1106, which are already supported now, and also those new e-ink displays and perhaps some more.

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: wide OLED

#3 Post by manjh » 16 Dec 2017, 19:03

So if you have those displays, how do you drive them? I tried writing to a single line, and it is still very compressed. I can barely recognize the characters.
It would be nice to have them supported, since the format is sometimes preferable to the usual square OLED.

Other question: what is a "framed OLED"?

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

Re: wide OLED

#4 Post by TD-er » 16 Dec 2017, 21:28

The "OLED framed" is a plugin in ESPeasy.
I use that one, since it is more flexible in fontsize.
Use 1 or 2 lines output in that plugin and you have some very readable text on those small displays.
You can even change the font if you know how to recompile ESPeasy.
In the ESPeasy v2.0 branch it is still the older plugin, in the mega branch it is based on the latest version of the OLED library.

linker3000
Normal user
Posts: 12
Joined: 08 May 2017, 09:51

Re: wide OLED

#5 Post by linker3000 » 30 Dec 2017, 19:10

This is the same OLED panel you get on the "TTGO ESP8266 0.91 Inch OLED", which is an ESP8266-based board with integrated display.

https://www.banggood.com/Wemos-TTGO-ESP ... rehouse=CN

Code example:

http://simplestuffmatters.com/?p=69

EDIT:

>>> IGNORE >>>This works with the OLED SSD1306 plugin but, as above, the display is compressed as it's only 128x32. It would be great to have this supported as standard.

>>>> The latest (as of 2nd Jan 2018) ESP Easy code in the repo compiles to include an OLED driver with a 128x32 option. This seems to work OK although my display does not always show anything and I am still working out whether this is the code or my board! Edit: Board may have had a faulty reset switch with a semi-permanent short, causing spurious resets

Edit #2: Found out that with current firmware, the x,y origin for 128x32 displays at least is 1,1 and not 0,0. If you use the latter, your text is written after the last position used. See also viewtopic.php?f=5&t=3449

Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests