<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Help with esp8266]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=222</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=222&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Help with esp8266.]]></description>
		<lastBuildDate>Mon, 31 Jul 2017 08:24:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Help with esp8266]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=846#p846</link>
			<description><![CDATA[<p>Hi and thanks for your reply.</p><p>I&#039;ve checked the things you said.<br />As I can see, I have AT Version 1.2.0.0 and after &quot;AT+RST&quot; I can see the &quot;Ready&quot;-answer.</p><p>Any Idea?<br />Thanks, Simon</p><p>Here are my outputs:<br /></p><div class="codebox"><pre><code>AT+GMR
AT version:1.2.0.0(Jul  1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec  2 2016 14:21:16
OK</code></pre></div><div class="codebox"><pre><code>AT+RST
OK
 ets Jan  8 2013,rst cause:2, boot mode:(3,7
load 0x40100000, len 1856, room 
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8 
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8 
tail 0
chksum 0x79
csum 0x79
2nd boot version : 1.5 
SPI Speed      : 40MHz 
SPI Mode       : DOUT 
SPI Flash Size &amp; Map: 32Mbit(512KB+512KB
jump to run user1 @ 1000
??&lt;2&gt;?p&lt;3&gt;?N??{??N|?&lt;\f&gt;l&lt;\f&gt;d??rl??r?l?l&lt;18&gt;?&lt;\f&gt;&lt;\f&gt;&lt;\f&gt;d &lt;2&gt;??r?$?l2?&lt;4&gt;&lt;4&gt;&lt;\f&gt;l`&lt;2&gt;??r?l&lt;\f&gt;??&lt;\0&gt;?&lt;31&gt;&lt;\0&gt;&lt;\f&gt;d$`&lt;3&gt;sd?&lt;18&gt;?c&lt;\0&gt;??&lt;27&gt;&quot;b&lt;\f&gt;l?#{|&lt;\f&gt;?|l&lt;4&gt;B&lt;28&gt;??#&lt;18&gt;$s?&lt;28&gt;c&lt;4&gt;??n?&lt;3&gt;2NN?&lt;16&gt;&lt;3&gt;&lt;\0&gt;&lt;2&gt;?l??o&lt;4&gt;$&lt;\f&gt;?&lt;4&gt;$??&lt;\0&gt;?&lt;\f&gt;?&lt;4&gt;&lt;\f&gt;???$?&lt;14&gt;l?&lt;2&gt;N?&lt;\0&gt;??&lt;27&gt;B&quot;&lt;4&gt;l???&lt;4&gt;&quot;&lt;\f&gt;&lt;3&gt;&lt;2&gt;???cc&lt;\f&gt;d&lt;4&gt;?bp{$rl                                            
Ai-Thinker Technology Co. Ltd
Ready</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ungesimmt)]]></author>
			<pubDate>Mon, 31 Jul 2017 08:24:58 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=846#p846</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with esp8266]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=843#p843</link>
			<description><![CDATA[<p>When Arduino sends &quot;AT+RST&quot;, it waits for the answer &quot;ready&quot;.<br /></p><div class="codebox"><pre><code>AT+RST 

OK 

 ets Jan  8 2013,rst cause:2, boot mode:(3,1) 

load 0x40100000, len 1396, room 16  
tail 4 
chksum 0x89 
load 0x3ffe8000, len 776, room 4  
tail 4 
chksum 0xe8 
load 0x3ffe8308, len 540, room 4  
tail 8 
chksum 0xc0 
csum 0xc0 

2nd boot version : 1.4(b1) 
  SPI Speed      : 40MHz 
  SPI Mode       : DIO 
  SPI Flash Size &amp; Map: 8Mbit(512KB+512KB) 
jump to run user1 @ 1000 

#т#n&#039;t use rtc mem data 
slЏ‚rlМя 
Ai-Thinker Technology Co.,Ltd. 

ready</code></pre></div><p>Check the version of ESP AT commands.<br />Connect the ESP via a USB-UART converter and call AT+RST<br /><a target="_blank" href="http://remotexy.com/en/help/esp8266-firmware-update/">http://remotexy.com/en/help/esp8266-firmware-update/</a></p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Sun, 30 Jul 2017 18:36:08 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=843#p843</guid>
		</item>
		<item>
			<title><![CDATA[Help with esp8266]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=835#p835</link>
			<description><![CDATA[<p>Hi there,</p><p>great programm <img src="https://forum.remotexy.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />I have actually two issues. First is the app, see: <a target="_blank" href="http://forum.remotexy.com/viewtopic.php?id=221">http://forum.remotexy.com/viewtopic.php?id=221</a></p><p>My second problem is the esp8266-12.<br />It is connected to my arduino micro. It should communicate to the arduino, but it does not work properly.</p><p>In the serial monitor, i can see that the arduino is sending &quot;AT&quot;. After that &quot;AT+RST&quot;. But then it says: &quot;Module not available, RemoteXY stoped&quot;.</p><p>If i check the RX on the Arduino with an FTDI UART-USB-Converter, I can see that the esp gives the response &quot;OK&quot; to the first &quot;AT&quot;-request. But than nothing.<br />In my thinking, that means that the wiring should be ok.<br />I have plugged the esp via an external 3,3V power supply.</p><p>Why is the esp not responding on the restart-command?</p><p>Do you have any idea?<br />Here is my sketch, just 2 LED added to see if the arduino is running...</p><p>Thanks in advance, ungesimmt</p><div class="codebox"><pre><code>//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT
#define REMOTEXY__DEBUGLOGS Serial

#include &lt;RemoteXY.h&gt;


// RemoteXY connection settings 
#define REMOTEXY_SERIAL Serial1
#define REMOTEXY_SERIAL_SPEED 115200
#define REMOTEXY_WIFI_SSID &quot;Lichtsteuerung&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot;
#define REMOTEXY_SERVER_PORT 6377 


// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
  { 255,7,0,0,0,68,0,6,0,2,
  6,0,1,10,43,43,5,10,39,39,
  6,4,0,50,5,8,53,49,2,9,
  54,6,1,1,81,34,18,24,6,78,
  18,18,2,83,97,118,101,0,1,1,
  81,9,18,24,6,57,18,18,4,77,
  111,100,101,0,3,4,62,9,13,49,
  49,62,9,31,2 };
  
// this structure defines all the variables of your control interface 
struct {

    // input variable
  uint8_t rgb_picker_r; // =0..255 Red color value 
  uint8_t rgb_picker_g; // =0..255 Green color value 
  uint8_t rgb_picker_b; // =0..255 Blue color value 
  int8_t helligkeit_slider; // =0..100 slider position 
  uint8_t button_save; // =1 if button pressed, else =0 
  uint8_t button_mode; // =1 if button pressed, else =0 
  uint8_t select_1; // =0 if select position A, =1 if position B, =2 if position C, ... 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY;
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////


//globale Variablen
  #define LED_gruen 14//MISO
  #define LED_rot   15//SCK 
  int test=0;
  unsigned long previousMillis = 0;

  
void setup() 
{ 
  pinMode(LED_BUILTIN, OUTPUT); //integrierte LED
  pinMode(LED_gruen, OUTPUT);
  pinMode(LED_rot, OUTPUT);

  Serial.begin(115200);  //Verbindung USB direkt zu PC (debug Console)
  delay(1000);
  RemoteXY_Init ();
} //Ende void setup() 


void loop() 
{ unsigned long currentMillis = millis();

  RemoteXY_Handler ();
      
  if (currentMillis - previousMillis &gt;= 250) //Timer 1ms
    { previousMillis = currentMillis;
        if ( test == 0 )
          { digitalWrite(LED_gruen, HIGH);
            test=1;
          }
        else if ( test == 1 )
          { digitalWrite(LED_gruen, LOW);
            test=0;
          };
    };
} //Ende void loop() </code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ungesimmt)]]></author>
			<pubDate>Fri, 28 Jul 2017 15:37:25 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=835#p835</guid>
		</item>
	</channel>
</rss>
