<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Oled nothing is displayed]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I'm still quite a beginner and I hope you can help me.</p>
<p dir="auto">I wanted to connect a DHT22, an OLED display to a Nano and transfer the whole thing to a gateway with RS485 wire.<br />
The display doesn't show anything as soon as I include the mysesnsors.h library.<br />
I just made a sample sketch for it.<br />
MySensors version is currently 2.3.1<br />
I've tried everything, but I can't do it.</p>
<pre><code>// Enable debug prints
#define MY_DEBUG

// Enable RS485 transport layer
#define MY_RS485

// Define this to enables DE-pin management on defined pin
#define MY_RS485_DE_PIN 2

// Set RS485 baud rate to use
#define MY_RS485_BAUD_RATE 9600

// Enable this if RS485 is connected to a hardware serial port
//#define MY_RS485_HWSERIAL Serial1

#define MY_NODE_ID 4
#include &lt;SPI.h&gt;
#include &lt;MySensors.h&gt; 
#include &lt;Wire.h&gt;
  
#include &lt;SSD1306_text.h&gt;

#define OLED_RST 4
SSD1306_text oled(OLED_RST);




void setup()
{

  oled.init();
  oled.clear();                 // clear screen

  oled.setTextSize(1, 1);
  oled.setCursor(0);
  oled.print("OK");
}


void loop()      
{  

  
}
</code></pre>
]]></description><link>https://forum.mysensors.org/topic/11370/oled-nothing-is-displayed</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 02:15:56 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/11370.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Sep 2020 19:23:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Oled nothing is displayed on Fri, 18 Sep 2020 14:46:15 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much!</p>
<p dir="auto">After using <code>#define MY_TRANSPORT_WAIT_READY_MS 1</code>, I was able to see something on the display. Then I started looking for why the transmission wasn't working.<br />
The problem was that the rs485 5V connection had a shaky connection.</p>
]]></description><link>https://forum.mysensors.org/post/107588</link><guid isPermaLink="true">https://forum.mysensors.org/post/107588</guid><dc:creator><![CDATA[NONO87]]></dc:creator><pubDate>Fri, 18 Sep 2020 14:46:15 GMT</pubDate></item><item><title><![CDATA[Reply to Oled nothing is displayed on Fri, 18 Sep 2020 10:06:53 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/nono87" aria-label="Profile: NONO87">@<bdi>NONO87</bdi></a>, looks like your node isn't able to establish a connection with the gateway, so it's stuck in the transport initialization sequence and never enters the loop() or even setup() where the OLED is initialized. <a href="https://www.mysensors.org/download/sensor_api_20#node-boot-sequence" rel="nofollow ugc">Here's the boot sequence diagram</a> for reference.</p>
<p dir="auto">You may try to add <code>#define MY_TRANSPORT_WAIT_READY_MS 1</code> (or anything &gt; 0) to timeout transport initialization early and see if the OLED is still working.</p>
<p dir="auto">If it does, you next goal would be to find out why this node doesn't connect to the gateway. The node is either unable to receive messages from the gateway or the messages it sends don't reach the gateway.</p>
<p dir="auto">Is the serial module correctly wired? Configuration is fine on both devices? Is the gateway working and does it receive find parent request from this node?</p>
<p dir="auto">You may want to use the <a href="https://www.mysensors.org/build/parser" rel="nofollow ugc">Log Parser</a> to make the serial output "human readable".</p>
]]></description><link>https://forum.mysensors.org/post/107587</link><guid isPermaLink="true">https://forum.mysensors.org/post/107587</guid><dc:creator><![CDATA[BearWithBeard]]></dc:creator><pubDate>Fri, 18 Sep 2020 10:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to Oled nothing is displayed on Fri, 18 Sep 2020 07:51:26 GMT]]></title><description><![CDATA[<pre><code> 
09:50:01.147 -&gt;  __  __       ____
09:50:01.147 -&gt; |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
09:50:01.147 -&gt; | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
09:50:01.147 -&gt; | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
09:50:01.147 -&gt; |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
09:50:01.181 -&gt;         |___/                      2.3.2
09:50:01.181 -&gt; 
09:50:01.181 -&gt; 16 MCO:BGN:INIT NODE,CP=RSNNA---,FQ=16,REL=255,VER=2.3.2
09:50:01.181 -&gt; 26 TSM:INIT
09:50:01.181 -&gt; 28 TSF:WUR:MS=0
09:50:01.181 -&gt; 29 TSM:INIT:TSP OK
09:50:01.181 -&gt; 31 TSM:INIT:STATID=4
09:50:01.181 -&gt; 32 TSF:SID:OK,ID=4
09:50:01.181 -&gt; 34 TSM:FPAR
53 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2060 !TSM:FPAR:NO REPLY
09:50:03.219 -&gt; 2062 TSM:FPAR
09:50:03.219 -&gt; 2079 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4087 !TSM:FPAR:NO REPLY
09:50:05.223 -&gt; 4089 TSM:FPAR
4107 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
6115 !TSM:FPAR:NO REPLY
09:50:07.260 -&gt; 6117 TSM:FPAR
6134 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
8142 !TSM:FPAR:FAIL
09:50:09.297 -&gt; 8143 TSM:FAIL:CNT=1
09:50:09.297 -&gt; 8145 TSM:FAIL:DIS
09:50:09.297 -&gt; 8147 TSF:TDI:TSL
18149 TSM:FAIL:RE-INIT
09:50:19.282 -&gt; 18151 TSM:INIT
09:50:19.282 -&gt; 18152 TSM:INIT:TSP OK
09:50:19.282 -&gt; 18154 TSM:INIT:STATID=4
09:50:19.282 -&gt; 18156 TSF:SID:OK,ID=4
09:50:19.316 -&gt; 18158 TSM:FPAR
09:50:19.316 -&gt; 18177 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
20185 !TSM:FPAR:NO REPLY
09:50:21.323 -&gt; 20187 TSM:FPAR
20205 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
22212 !TSM:FPAR:NO REPLY
09:50:23.362 -&gt; 22214 TSM:FPAR
09:50:23.362 -&gt; 22233 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
24240 !TSM:FPAR:NO REPLY
09:50:25.366 -&gt; 24242 TSM:FPAR
24260 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
26267 !TSM:FPAR:FAIL
09:50:27.403 -&gt; 26268 TSM:FAIL:CNT=2
09:50:27.403 -&gt; 26270 TSM:FAIL:DIS
09:50:27.403 -&gt; 26272 TSF:TDI:TSL
36275 TSM:FAIL:RE-INIT
09:50:37.419 -&gt; 36277 TSM:INIT
09:50:37.419 -&gt; 36278 TSM:INIT:TSP OK
09:50:37.419 -&gt; 36280 TSM:INIT:STATID=4
09:50:37.419 -&gt; 36282 TSF:SID:OK,ID=4
09:50:37.419 -&gt; 36284 TSM:FPAR
36302 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
38311 !TSM:FPAR:NO REPLY
09:50:39.457 -&gt; 38313 TSM:FPAR
09:50:39.457 -&gt; 38332 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
40339 !TSM:FPAR:NO REPLY
09:50:41.461 -&gt; 40341 TSM:FPAR
40359 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
42368 !TSM:FPAR:NO REPLY
09:50:43.496 -&gt; 42370 TSM:FPAR
42388 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
44395 !TSM:FPAR:FAIL
09:50:45.534 -&gt; 44396 TSM:FAIL:CNT=3
09:50:45.534 -&gt; 44398 TSM:FAIL:DIS
09:50:45.534 -&gt; 44400 TSF:TDI:TSL
54403 TSM:FAIL:RE-INIT
09:50:55.543 -&gt; 54405 TSM:INIT
09:50:55.543 -&gt; 54406 TSM:INIT:TSP OK
09:50:55.543 -&gt; 54408 TSM:INIT:STATID=4
09:50:55.543 -&gt; 54410 TSF:SID:OK,ID=4
09:50:55.543 -&gt; 54412 TSM:FPAR
09:50:55.543 -&gt; 54430 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
56438 !TSM:FPAR:NO REPLY
09:50:57.546 -&gt; 56440 TSM:FPAR
09:50:57.580 -&gt; 56459 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
58466 !TSM:FPAR:NO REPLY
09:50:59.581 -&gt; 58468 TSM:FPAR
58486 ?TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:

</code></pre>
]]></description><link>https://forum.mysensors.org/post/107585</link><guid isPermaLink="true">https://forum.mysensors.org/post/107585</guid><dc:creator><![CDATA[NONO87]]></dc:creator><pubDate>Fri, 18 Sep 2020 07:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Oled nothing is displayed on Fri, 18 Sep 2020 04:01:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nono87" aria-label="Profile: NONO87">@<bdi>NONO87</bdi></a> What does the debug monitor tell you?</p>
]]></description><link>https://forum.mysensors.org/post/107584</link><guid isPermaLink="true">https://forum.mysensors.org/post/107584</guid><dc:creator><![CDATA[electrik]]></dc:creator><pubDate>Fri, 18 Sep 2020 04:01:06 GMT</pubDate></item></channel></rss>