Display - OLED SSD1306

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Display - OLED SSD1306

#1 Post by ManS-H » 27 Oct 2017, 13:12

Hello, I see a strange thing with the Display - OLED SSD1306 and Display - OLED SSD1306-Framed.
When i put text in the lines 1-8 it isn't possible to change it. The sequence, text in the line, Submit and Close. Change the text, Submit and Close again.
I work with GIT version: v2.0.0-dev12
Is this a bug, or do i something wrong?
Display.JPG
Display.JPG (64.91 KiB) Viewed 8777 times

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

Re: Display - OLED SSD1306

#2 Post by TD-er » 30 Oct 2017, 16:41

Does this also happen with the Framed version of the plugin? That one is recently updated.
N.B. The Framed version has 12 lines.

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Display - OLED SSD1306

#3 Post by ManS-H » 30 Oct 2017, 17:31

I had the problem with both versions. Ik used ESPEasy_v2.0.0-dev12_normal_4096.bin form the ESPEasy_v2.0.0-dev12.zip file After i disconnect the Wemos mini, and the BME280 and then reconnected the Wemos i was able to change the text. This worked for the normal and framed version.

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

Re: Display - OLED SSD1306

#4 Post by TD-er » 01 Nov 2017, 00:05

Did you also have the BME280 plugin active, but not the chip connected?

If so, try to reproduce.
The BME280 is also updated by me, so perhaps I made it too aggressively try to find the device without proper timeout.
And then the webserver task is no longer responsive.

As you can see, the BME280 does show the found device (BME/BMP) immediately in the webinterface. but maybe the polling is taking too much time?

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

Re: Display - OLED SSD1306

#5 Post by papperone » 01 Nov 2017, 08:53

I experienced similar behaviour and then I realize in my breadboard connections I was powering up the OLED with 5V; I then powered with 3.3V and all those glitches and unresponsiveness disappeared; maybe you can check the VCC!
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

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Display - OLED SSD1306

#6 Post by ManS-H » 01 Nov 2017, 18:54

TD-er wrote: 01 Nov 2017, 00:05 Did you also have the BME280 plugin active, but not the chip connected?

If so, try to reproduce.
The BME280 is also updated by me, so perhaps I made it too aggressively try to find the device without proper timeout.
And then the webserver task is no longer responsive.

As you can see, the BME280 does show the found device (BME/BMP) immediately in the webinterface. but maybe the polling is taking too much time?
The Display is connected on the 3.3 V.
What i did, select Display - OLED SSD 1306, give it the name bme and filled the lines.The result see the picture.
Non Framed-1.jpg
Non Framed-1.jpg (345.55 KiB) Viewed 8642 times
Then i select Display - OLED SSD 1306 Framed, line 1, 3 5, 7, 9, and 11 are automatic filled with the settings of Display - OLED SSD 1306, see picture
Framed-1.jpg
Framed-1.jpg (207.48 KiB) Viewed 8642 times
And then is isn't possible too change the lines.

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Display - OLED SSD1306

#7 Post by ManS-H » 01 Nov 2017, 18:54

papperone wrote: 01 Nov 2017, 08:53 I experienced similar behaviour and then I realize in my breadboard connections I was powering up the OLED with 5V; I then powered with 3.3V and all those glitches and unresponsiveness disappeared; maybe you can check the VCC!
I connected the display to 3.3 V.

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

Re: Display - OLED SSD1306

#8 Post by TD-er » 02 Nov 2017, 22:12

Judging from the photo, that's not with my changes in the 'framed' plugin.
One of the things I changed is the WiFi reception-strength bars.
And also there should be a selector for the display type selection (SSD1306/SH1106). This is the 'old' code for the 'framed' plugin :)
I thought is was merged, but apparently not yet released. My fault.

But that doesn't matter. There is a difference in response of the webpage between them.
I will try it here, to reproduce.

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Display - OLED SSD1306

#9 Post by ManS-H » 02 Nov 2017, 22:23

TD-er wrote: 02 Nov 2017, 22:12 Judging from the photo, that's not with my changes in the 'framed' plugin.
One of the things I changed is the WiFi reception-strength bars.
And also there should be a selector for the display type selection (SSD1306/SH1106). This is the 'old' code for the 'framed' plugin :)
I thought is was merged, but apparently not yet released. My fault.

But that doesn't matter. There is a difference in response of the webpage between them.
I will try it here, to reproduce.
I see on the moment more strange thing what i not can explain. In the framed version i see the text, but the values of the bme280 are not visible. When i also activate the normal version, the framed version showed the values. But i will wait for the updated version.

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

Re: Display - OLED SSD1306

#10 Post by TD-er » 03 Nov 2017, 15:02

In your screenshot, you have the framed version named "BME280" so when you try to address that, it might be [bme280#bla] refers to a non existing variable of the oled framed plugin and not the BME-sensor itself.

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Display - OLED SSD1306

#11 Post by ManS-H » 03 Nov 2017, 16:22

TD-er wrote: 03 Nov 2017, 15:02 In your screenshot, you have the framed version named "BME280" so when you try to address that, it might be [bme280#bla] refers to a non existing variable of the oled framed plugin and not the BME-sensor itself.
So i can never used the name of the sensor, in my case BME280, as name for the Display - OLED SSD1306 Framed?
I use the same name for the sensor BME280, no problem at all.

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

Re: Display - OLED SSD1306

#12 Post by vader » 03 Nov 2017, 21:58

Yep, name the display 'Display' or what ever. 2 devices with the same name is no good idea. That would be the same if 2 people with the same name live in the same house. Nice for the post man... :D

User avatar
ManS-H
Normal user
Posts: 279
Joined: 27 Dec 2015, 11:26
Location: the Netherlands

Re: Display - OLED SSD1306

#13 Post by ManS-H » 03 Nov 2017, 22:22

vader wrote: 03 Nov 2017, 21:58 Yep, name the display 'Display' or what ever. 2 devices with the same name is no good idea. That would be the same if 2 people with the same name live in the same house. Nice for the post man... :D
Yep, your're right. I changed the name in display and that gives a better result. Thanks for the info.

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests