<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Setting different pins as RX/TX on MEGA to Serial1 pins 19RX an 18TX]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=401</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=401&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Setting different pins as RX/TX on MEGA to Serial1 pins 19RX an 18TX.]]></description>
		<lastBuildDate>Mon, 05 Mar 2018 15:57:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Setting different pins as RX/TX on MEGA to Serial1 pins 19RX an 18TX]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1372#p1372</link>
			<description><![CDATA[<p>Guillaume,<br />Thank You alot. Yes it is simply <img src="https://forum.remotexy.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Now it works!</p><p>regards,<br />Raitis</p>]]></description>
			<author><![CDATA[null@example.com (raitisgr)]]></author>
			<pubDate>Mon, 05 Mar 2018 15:57:25 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1372#p1372</guid>
		</item>
		<item>
			<title><![CDATA[Re: Setting different pins as RX/TX on MEGA to Serial1 pins 19RX an 18TX]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1370#p1370</link>
			<description><![CDATA[<p>Welcome <img src="https://forum.remotexy.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>You try to use SoftSerial on HardwareSerial pins. I suppose this is your problem, so try change the mode to REMOTEXY_MODE__ESP8266_HARDSERIAL_CLOUD, set REMOTEXY_SERIAL to Serial1 and remove REMOTEXY_SERIAL_RX and REMOTEXY_SERIAL_TX.</p><div class="codebox"><pre><code>// определение режима соединения и подключение библиотеки RemoteXY
#define REMOTEXY_MODE__ESP8266_HARDSERIAL_CLOUD
#include &lt;RemoteXY.h&gt;
...
// настройки соединения  
#define REMOTEXY_SERIAL Serial1
#define REMOTEXY_SERIAL_SPEED 9600
...</code></pre></div><p>You can change these options in the Editor.</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Mon, 05 Mar 2018 13:21:31 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1370#p1370</guid>
		</item>
		<item>
			<title><![CDATA[Setting different pins as RX/TX on MEGA to Serial1 pins 19RX an 18TX]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1369#p1369</link>
			<description><![CDATA[<p>Hello,<br />I am beginner on the Arduino and micro-controllers programming.<br />I faced in a problem during realization of my house automatisation project.<br />By plan I am willing to make as follows:<br />&nbsp; 1. set the communication between one central point(Arduno MEGA 2560 + ESP8266 ESP-01) with many secondary points(ESP8266 ESP-01) via local Ethernet connection.<br />&nbsp; 2. central point(Arduno MEGA 2560 with ESP8266 ESP-01) connected RemoteXY application via cloud.</p><p>So for 1.&nbsp; I use WiFiEsp library examples WIFIClient and WIFIserver. And there I faced with limitation for MEGA, it should be connected via communication pins like Serial1 pins 19RX an 18TX. And I am willing to use same ESP module for sending the data to RemoteXY cloud.<br />&nbsp; <span class="bbu"> But in the RemoteXY sketch I can&#039;t set 19RX an 18TX, it dos not work with them.<br />&nbsp; &nbsp;If there is possible to do it some hove, or what solution you could recommend?</span></p><p><strong>Here is beginning of the RemoteXY code what I use:</strong><br />&nbsp; &nbsp; &nbsp; // определение режима соединения и подключение библиотеки RemoteXY&nbsp; <br />&nbsp; &nbsp; &nbsp; #define REMOTEXY_MODE__ESP8266_SOFTSERIAL_CLOUD<br />&nbsp; &nbsp; &nbsp; #include &lt;SoftwareSerial.h&gt; <br />&nbsp; &nbsp; &nbsp; #include &lt;RemoteXY.h&gt; </p><p>&nbsp; &nbsp; &nbsp;//R: DHT:<br />&nbsp; &nbsp; &nbsp; #include &lt;SimpleDHT.h&gt;</p><p>&nbsp; &nbsp; &nbsp; &nbsp;// настройки соединения&nbsp; <br />&nbsp; &nbsp; &nbsp;#define REMOTEXY_SERIAL_RX 51 <br />&nbsp; &nbsp; &nbsp;#define REMOTEXY_SERIAL_TX 53 <br />&nbsp; &nbsp; &nbsp;#define REMOTEXY_SERIAL_SPEED 9600 <br />&nbsp; &nbsp; &nbsp;#define REMOTEXY_WIFI_SSID &quot;xxxx&quot; <br />&nbsp; &nbsp; &nbsp;#define REMOTEXY_WIFI_PASSWORD &quot;xxxx&quot; <br />&nbsp; &nbsp; #define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot; <br />&nbsp; &nbsp; &nbsp;#define REMOTEXY_CLOUD_PORT 6376 <br />&nbsp; &nbsp; &nbsp; #define REMOTEXY_CLOUD_TOKEN &quot;xxxxx&quot; </p><p><strong>Thank you in advance for your help.</strong></p>]]></description>
			<author><![CDATA[null@example.com (raitisgr)]]></author>
			<pubDate>Mon, 05 Mar 2018 07:21:11 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1369#p1369</guid>
		</item>
	</channel>
</rss>
