<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — ESP8266-01 stand alone connection error]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=476</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=476&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in ESP8266-01 stand alone connection error.]]></description>
		<lastBuildDate>Wed, 09 May 2018 18:59:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[ESP8266-01 stand alone connection error]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1560#p1560</link>
			<description><![CDATA[<p>EDIT 10/05/2018<br />I&#039;ve used another ESP-01 from a friend and this one works perfectly.... <br />Hardware problem then .... what surprising though, when all the upload process worked normally</p><br /><br /><br /><p>Hello the community... :-)</p><p>My configuration : <br />Simple ESP8266-01 stand alone as wifi interface to pilot 2 relays through RemoteXY app<br />5v power for the board, 3,3 v regulator for ESP, relais driven by transitors and free wheel diodes<br />Remote XY using the &quot;Wemos D1 mini&quot; as device (there is no &quot;ESP8266&quot; option as device but I&#039;ve red on this forum that in this case, we have to use the WemosD1 mini as device)&nbsp; &nbsp;and the &quot;ESP on board&quot; as communication module<br />Sketch compiled with Arduino IDE - all libraries present - no compilation error<br />Sketch with debug function present</p><p>The problem : after loading the ESP01 with the compiled program I receive the following error on the serial terminal +- every second (ESP-01 alone - not connected with the relays board). The ESP doesn&#039;t connect with the wifi. </p><p>I&#039;ve made and run a complete and functionnal projects with an arduino nano and ESP01 ... with success ... I&#039;m newbie but I think I have also some experience with RemoteXY.... Here I have here no idea what to do :-(</p><p>And you ... any idea ?<br />Tx for your advices.</p><p><strong>Error message on the serial after loading the sketch on the ESP </strong>- don&#039;t understand the meaning of these values from the stack ....</p><p><em>ets Jan&nbsp; 8 2013,rst cause:2, boot mode:(3,7)</em></p><p><em>load 0x4010f000, len 1384, room 16 <br />tail 8<br />chksum 0x2d<br />csum 0x2d<br />v614f7c32<br />~ld</em></p><br /><p><em>RemoteXY started...</em></p><p><em>Exception (3):<br />epc1=0x401002f0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40025ee2 depc=0x00000000</em></p><p><em>ctx: cont <br />sp: 3ffefa30 end: 3ffefdc0 offset: 01a0</em></p><p><em>&gt;&gt;&gt;stack&gt;&gt;&gt;<br />3ffefbd0:&nbsp; feefeffe feefeffe feefeffe feefeffe&nbsp; <br />3ffefbe0:&nbsp; feefeffe feefeffe feefeffe 3ffefd00&nbsp; <br />3ffefbf0:&nbsp; 0000049c 0000049c 0000007e 401004f4&nbsp; <br />3ffefc00:&nbsp; 40004b31 00001000 0000007e 40106ec0&nbsp; <br />3ffefc10:&nbsp; 40105aac feefeffe feefeffe 4022bbdd&nbsp; <br />3ffefc20:&nbsp; 40106e4d 4022bcc7 3fff0b1c 0000049c&nbsp; <br />3ffefc30:&nbsp; 0000007d 3ffefd00 3fff0b1c 4022bcaa&nbsp; <br />3ffefc40:&nbsp; ffffff01 55aa55aa 0000000f 00000020&nbsp; <br />3ffefc50:&nbsp; 00000020 00000040 000000f6 aa55aa55&nbsp; <br />3ffefc60:&nbsp; 0000007f 4022c194 3fff0b1c 3fff0b1c&nbsp; <br />3ffefc70:&nbsp; 000000ff feefeffe feefeffe feefeffe&nbsp; <br />3ffefc80:&nbsp; 40106e4d 00000001 3fff0b2c 4022c3ae&nbsp; <br />3ffefc90:&nbsp; 00000008 3fff0b1c 000000ff 3ffefd00&nbsp; <br />3ffefca0:&nbsp; 3ffefd20 3fff0b53 0000000f 00000020&nbsp; <br />3ffefcb0:&nbsp; 3fff0bdc 3ffefd61 00000001 4022c45e&nbsp; <br />3ffefcc0:&nbsp; 3ffefd00 40238140 402365c3 0000003f&nbsp; <br />3ffefcd0:&nbsp; 3fff0f1c 3ffefd20 3fff6e54 4022c42d&nbsp; <br />3ffefce0:&nbsp; 3fff0b1c 4022c494 3ffeeb30 00000000&nbsp; <br />3ffefcf0:&nbsp; 40202ea4 feefeffe feefeffe feefeffe&nbsp; <br />3ffefd00:&nbsp; feefef00 feefeffe feefeffe feefeffe&nbsp; <br />3ffefd10:&nbsp; feefeffe feefeffe feefeffe 00000000&nbsp; <br />3ffefd20:&nbsp; 40201900 00000001 3ffe8d01 40204460&nbsp; <br />3ffefd30:&nbsp; 4010500c 00008c7e 3ffeeb80 00000000&nbsp; <br />3ffefd40:&nbsp; 3ffee550 3ffeeb80 3ffeeda0 3ffeeb80&nbsp; <br />3ffefd50:&nbsp; 402365c3 0000003f 40204048 3ffeeda0&nbsp; <br />3ffefd60:&nbsp; 4020137a 00000064 00000064 4020136f&nbsp; <br />3ffefd70:&nbsp; 0001c200 3fff0824 3ffeeb30 4020207b&nbsp; <br />3ffefd80:&nbsp; feefeffe 3ffeed60 3fff0824 402028a0&nbsp; <br />3ffefd90:&nbsp; feefeffe feefeffe feefeffe 3ffeed8c&nbsp; <br />3ffefda0:&nbsp; 3fffdad0 00000000 3ffeed84 4020408c&nbsp; <br />3ffefdb0:&nbsp; feefeffe feefeffe 3ffeeda0 40100710&nbsp; <br />&lt;&lt;&lt;stack&lt;&lt;&lt;</em></p><br /><br /><p><strong><br />My sketch is the following :</strong></p><p><em>////////////////////////////////////////////// <br /> //&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <br /> ////////////////////////////////////////////// </em></p><p><em> // RemoteXY select connection mode and include library&nbsp; </em></p><p><em> #define REMOTEXY_MODE__ESP8266WIFI_LIB_CLOUD</em></p><p><em> #include &lt;ESP8266WiFi.h&gt; <br /> </em></p><p><em> // activate debug output on Serial 115200; ESP on SW Serial<br /> #define REMOTEXY__DEBUGLOGS Serial </em></p><p><em> #include &lt;RemoteXY.h&gt; </p><p> // RemoteXY connection settings&nbsp; <br />// confidential informations removed </em></p><p><em> #define REMOTEXY_WIFI_SSID &quot;wifi SSID&quot; <br /> #define REMOTEXY_WIFI_PASSWORD &quot;wifi password&quot; <br /> #define REMOTEXY_CLOUD_PORT 6376 <br /> #define REMOTEXY_CLOUD_TOKEN &quot;my toke,&quot; <br /> #define REMOTEXY_ACCESS_PASSWORD &quot;my password&quot; </em></p><p><em> </em></p><p><em> // RemoteXY configurate&nbsp; &nbsp;<br /> #pragma pack(push, 1) <br /> uint8_t RemoteXY_CONF[] = <br />&nbsp; &nbsp;{ 255,2,0,0,0,63,0,8,25,1,<br />&nbsp; &nbsp;2,0,20,23,22,11,2,26,31,31,<br />&nbsp; &nbsp;79,78,0,79,70,70,0,2,0,19,<br />&nbsp; &nbsp;53,22,11,2,26,31,31,79,78,0,<br />&nbsp; &nbsp;79,70,70,0,129,0,22,15,18,6,<br />&nbsp; &nbsp;17,71,80,73,79,48,0,129,0,21,<br />&nbsp; &nbsp;46,19,6,17,71,80,73,79,50,0 };&nbsp; <br />&nbsp; <br /> // this structure defines all the variables of your control interface&nbsp; <br /> struct { </em></p><p><em>&nbsp; &nbsp; &nbsp;// input variable<br />&nbsp; &nbsp;uint8_t switch_1; // =1 if switch ON and =0 if OFF <br />&nbsp; &nbsp;uint8_t switch_2; // =1 if switch ON and =0 if OFF </em></p><p><em>&nbsp; &nbsp; &nbsp;// other variable<br />&nbsp; &nbsp;uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0 </em></p><p><em> } <br /> RemoteXY; <br /> #pragma pack(pop) </em></p><p><em> ///////////////////////////////////////////// <br /> //&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <br /> ///////////////////////////////////////////// </em></p><p><em> #define PIN_SWITCH_1 0<br /> #define PIN_SWITCH_2 2</em></p><br /><br /><p><em> void setup()&nbsp; <br /> { <br />&nbsp; &nbsp;RemoteXY_Init ();&nbsp; </em></p><p><em>&nbsp; &nbsp;Serial.begin(115200); <br />&nbsp; <br />&nbsp; &nbsp;pinMode (PIN_SWITCH_1, OUTPUT);<br />&nbsp; &nbsp;pinMode (PIN_SWITCH_2, OUTPUT);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp;// TODO you setup code <br />&nbsp; &nbsp;Serial.println(&quot;Setup ok &quot;);</em></p><p><em> } </em></p><p><em> void loop()&nbsp; <br /> {&nbsp; <br />&nbsp; &nbsp;RemoteXY_Handler (); <br />&nbsp; &nbsp;Serial.println(&quot;Loop OK &quot;);</p><p>&nbsp; &nbsp;digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);<br />&nbsp; &nbsp;digitalWrite(PIN_SWITCH_2, (RemoteXY.switch_2==0)?LOW:HIGH);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp;// TODO you loop code <br />&nbsp; &nbsp;// use the RemoteXY structure for data transfer </em></p><p><em> }</em></p>]]></description>
			<author><![CDATA[null@example.com (Jpma)]]></author>
			<pubDate>Wed, 09 May 2018 18:59:11 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1560#p1560</guid>
		</item>
	</channel>
</rss>
