Wemos OLED Shield

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Wemos OLED Shield

#1 Post by Deennoo » 26 Apr 2016, 12:08

Hi all.

First i want to thx all dev community about their great works, ESP8266 become more and more easy.

I just get a Oled Shield for a Wemos : http://www.wemos.cc/Products/oled_shield.html

Image


This a tiny sweety screen, really easy to plug on Wemos.

Main problemes are :

This a small screen : 64x48 px

Using native oled 1306 plugin :

I loose the 4 first characters : if i set 1234567891011 i only can see : 56789101

this can be solve by adding 4 spaces before "print" something.

On Normal Orientation : i also loss the last 2 lines

On Rotate Orientation : it's make me loose the first 2 lines

Probleme is partiality solve using Display - SSD OLED1306 Framed who center text on screen (i realise that is a smal screen and can't get a lot of informatin on it ok ?)

Using wemos d1 Oled exemple, they use sparkfun Lib : https://github.com/sparkfun/SparkFun_Mi ... ree/master, who looks like to ask screen size, maybe it can be usefull to add this "feature" to ESPEasy ?

Or did some one can give me some advice about what to change on scketch to adapt it to this tiny screen ?

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Wemos OLED Shield

#2 Post by costo » 26 Apr 2016, 13:10

Deennoo this topic might be helpfull for you if you want to modify the OLED plugin to your own needs.
http://www.esp8266.nu/forum/viewtopic.p ... fset#p2176
Most likely that value 'offset' must be 32 (4*8 // 4 times char_width) so the first character on the 64*48 display starts from the first column of the OLED screenmap.

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: Wemos OLED Shield

#3 Post by Deennoo » 26 Apr 2016, 13:24

OK lets go ! Thx !

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Wemos OLED Shield

#4 Post by costo » 26 Apr 2016, 14:02

You go smaller from the regular 128*64 @0.96 inch to this tiny 64*48 at 0.66 inch
I go bigger to this 164*64 at 2.42 inch :P

I bought this display: http://www.ebay.com/itm/2-42-SPI-Serial ... SwgyxWWCq9

Will be easy to connect it to ESPEasy, maybe one or two bytes in the oled_plugin needs to be modified.

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: Wemos OLED Shield

#5 Post by Deennoo » 26 Apr 2016, 17:17

i purchase another one :

http://fr.aliexpress.com/item/Free-ship ... 83358.html

a real 128x64 one.

Final goal with this is to made a room thermostat who give actual temp, and with some slider get :

on/off/auto
AC or Electric heater
IR sender to driver AC
a rotary button to choose temp
and with Some rules + domoticz with inside and out side temp decide if if it's better to have AC (heating-cooling) or electric heater.

something like this but connected :

Image

Got some sample who sleep

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Wemos OLED Shield

#6 Post by costo » 26 Apr 2016, 21:04

That one from your link is the most used one but it is only 0.96 inch diameter. So it is hard to read with 8 lines of 16 characters.
I prefer the 1.3 inch display with SH1106 controller above the 0.96 inch one. It will work on ESPeasy too.

romix
Normal user
Posts: 16
Joined: 30 Dec 2015, 17:52

Re: Wemos OLED Shield

#7 Post by romix » 06 May 2016, 11:02

I have created a small pcb for the Wemos d1 mini to interface it to (Dutch) smart meters. I have included an I2C port for standard 0.96" 128x64 displays. The shields are supported by ESPEasy

See http://romix.macuser.nl

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests