<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — RemoteXY + ESP32 + W5100]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1388&amp;type=atom" />
	<updated>2023-08-07T09:08:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1388</id>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY + ESP32 + W5100]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5171#p5171" />
			<content type="html"><![CDATA[<p>Yes, I have tried the W 5500. <br />Everything works. <br />Standard connection W 5500 Arduino</p><p>23 - MOSI<br />19 - MISO<br />18 - SCLK<br />&nbsp; 5 - CS</p>]]></content>
			<author>
				<name><![CDATA[reachim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1939</uri>
			</author>
			<updated>2023-08-07T09:08:02Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5171#p5171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY + ESP32 + W5100]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5168#p5168" />
			<content type="html"><![CDATA[<p>@reachim <br />Have you only tried the W5100?<br />Will the W5500 also work?<br />Where can I find the ESP32 and W5100 wiring diagram?</p>]]></content>
			<author>
				<name><![CDATA[Smotek7]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2506</uri>
			</author>
			<updated>2023-08-05T10:54:02Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5168#p5168</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY + ESP32 + W5100]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4263#p4263" />
			<content type="html"><![CDATA[<p>Thanks again remoteXY! <br />Everything works without conflicts!</p><p>Below is an example of a code for connecting to a cloud server via Ethernet, and if not connected Ethernet, via WI-FI.</p><div class="codebox"><pre><code>#define REMOTEXY_MODE__ESP32CORE_WIFI_CLOUD
#include &lt;WiFi.h&gt; 

#define REMOTEXY_MODE__ETHERNET_LIB_CLOUD
#include &lt;Ethernet.h&gt;
#include &lt;SPI.h&gt;

#define REMOTEXY__DEBUGLOG
#include &lt;RemoteXY.h&gt;

// настройки соединения
#define REMOTEXY_WIFI_SSID &quot;*****&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;*****&quot;
#define REMOTEXY_ETHERNET_MAC &quot;DE:AD:BE:EF:EF:ED&quot;
#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot;
#define REMOTEXY_CLOUD_PORT 6376
#define REMOTEXY_CLOUD_TOKEN &quot;*****&quot;

// interface configuration 
...................................
// the structure defines all the variables and events of your control interface
..................................

void setup()
{
  Ethernet.init(5);   // (5)- ESP32, allows you to pre-configure the CS pin for different controllers 
  
  if (Ethernet.hardwareStatus() == EthernetNoHardware) {    // Checking for the presence of the Shield
    if (Ethernet.linkStatus() == LinkON) {                              // Checking for the presence of a cable Ethernet
      // ETHERNET
      remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD,
                        new CRemoteXYConnectionCloud (new CRemoteXYComm_Ethernet (REMOTEXY_ETHERNET_MAC),
                        REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, REMOTEXY_CLOUD_TOKEN));
    } else {
      Serial.println(&quot;Ethernet cable is not connected.&quot;);
      // WI-FI
      remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD,
                        new CRemoteXYConnectionCloud (new CRemoteXYComm_WiFi (REMOTEXY_WIFI_SSID,
                        REMOTEXY_WIFI_PASSWORD), REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, 
                        REMOTEXY_CLOUD_TOKEN));
    }
  } else {
    // WI-FI
    remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD,
                      new CRemoteXYConnectionCloud (new CRemoteXYComm_WiFi (REMOTEXY_WIFI_SSID,
                      REMOTEXY_WIFI_PASSWORD), REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, 
                      REMOTEXY_CLOUD_TOKEN));
  }
}

void loop()
{
  RemoteXY_Handler ();

  // TODO you loop code
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[reachim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1939</uri>
			</author>
			<updated>2021-09-22T04:07:44Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4263#p4263</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY + ESP32 + W5100]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4260#p4260" />
			<content type="html"><![CDATA[<p>Many thanks for the help!<br />Today I will check and write about the results.</p>]]></content>
			<author>
				<name><![CDATA[reachim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1939</uri>
			</author>
			<updated>2021-09-21T07:34:06Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4260#p4260</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY + ESP32 + W5100]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4259#p4259" />
			<content type="html"><![CDATA[<p>Try to replace the file <strong>RemoteXYComm_Ethernet.h</strong> in the library with the file from the link <a target="_blank" href="https://github.com/RemoteXY/RemoteXY-Arduino-library/blob/master/src/RemoteXYComm_Ethernet.h">https://github.com/RemoteXY/RemoteXY-Ar … Ethernet.h</a></p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2021-09-21T04:47:15Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4259#p4259</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RemoteXY + ESP32 + W5100]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4253#p4253" />
			<content type="html"><![CDATA[<p><em>Hi,<br />I do some try with REmoteXY with the W5100.<br />And I want to make two connection streams: WI -FI_CLOUD and ETHERNET_CLOUD.<br />However, I am having problems connecting the W5100 module to the ESP32 that I have not encountered before.<br />In the project, I choose the following configuration: Cloud server / Arduino UNO / Ethernet shield W5100 / Arduino IDE</em></p><p><em>In library 2.4.6</em> (REMOTEXY_MODE__ETHERNET_LIB_CLOUD)&nbsp; <em> Previously I did this:</em></p><p>remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD ,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; REMOTEXY_ETHERNET_MAC, REMOTEXY_CLOUD_SERVER,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; REMOTEXY_CLOUD_PORT, REMOTEXY_CLOUD_TOKEN);</p><p><em>And there were no problems.<br />I am currently using library 3.1.6 and instantiate the class like this:</em></p><p>remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new CRemoteXYConnectionCloud (new CRemoteXYComm_Ethernet (REMOTEXY_ETHERNET_MAC),<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, REMOTEXY_CLOUD_TOKEN)) </p><p><em>Writes: compilation error for ESP32 board</em></p><p><strong>Give an example of two streaming connections over WI-FI and ETHERNET for ESP32.</strong></p>]]></content>
			<author>
				<name><![CDATA[reachim]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1939</uri>
			</author>
			<updated>2021-09-19T00:23:20Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4253#p4253</id>
		</entry>
</feed>
