<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Device ESP8266]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1130&amp;type=atom" />
	<updated>2020-11-27T17:22:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1130</id>
		<entry>
			<title type="html"><![CDATA[Re: Device ESP8266]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3462#p3462" />
			<content type="html"><![CDATA[<p>It is easy to translate code for a Wemos device, or any other device, that uses the Dx method to denote an IO pin, D1, D2 etc.&nbsp; There are tables on the net that relate all the Dx type pin ID&#039;s to the more normal GPIO number.&nbsp; The table below shows the two forms of pin ID.</p><p>Pin&nbsp; &nbsp; Function&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ESP-8266 Pin<br />TX&nbsp; &nbsp; TXD&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TXD<br />RX&nbsp; &nbsp; RXD&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RXD<br />A0&nbsp; &nbsp; Analog input, 0 to 1 volt&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A0<br />D0&nbsp; &nbsp; IO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO16<br />D1&nbsp; &nbsp; IO, SCL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO5<br />D2&nbsp; &nbsp; IO, SDA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO4<br />D3&nbsp; &nbsp; IO, 10k Pull-up&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO0<br />D4&nbsp; &nbsp; IO, 10k Pull-up, BUILTIN_LED&nbsp; &nbsp; GPIO2<br />D5&nbsp; &nbsp; IO, SCK&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO14<br />D6&nbsp; &nbsp; IO, MISO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO12<br />D7&nbsp; &nbsp; IO, MOSI&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GPIO13<br />D8&nbsp; &nbsp; IO, 10k Pull-down, SS&nbsp; &nbsp; &nbsp; &nbsp; GPIO15<br />G&nbsp; &nbsp; Ground&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GND<br />5V&nbsp; &nbsp; Supply pin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5V<br />3V3&nbsp; &nbsp; 3.3V&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.3V<br />RST&nbsp; &nbsp; Reset&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RST</p>]]></content>
			<author>
				<name><![CDATA[bobcroft]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1633</uri>
			</author>
			<updated>2020-11-27T17:22:35Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3462#p3462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Device ESP8266]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3267#p3267" />
			<content type="html"><![CDATA[<p>Hello and thanks for asking.<br />Adapting the NodeMCU code to ESP8266 does not present any problem, it is easy ...<br />In the case of two buttons, the pins on the NodeMCU would be D0 and D2. On the ESP8266-01, they correspond to GPIO0 and GPIO2, which is the same as 0 and 2.<br />In other ESPs, it would be the same, change the Dxx pins, for the corresponding pin.<br />But you do this in the sketch once you have it in the Arduino IDE and before compiling.<br />If you need anything else, tell me.</p><p>RemoteXY - NodeMCU V3<br />/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////</p><p>#define PIN_SWITCH_1 D0<br />#define PIN_SWITCH_2 D2</p><p>--------</p><p>On IDE Arduino - ESP8266-01<br />/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////</p><p>#define PIN_SWITCH_1 0<br />#define PIN_SWITCH_2 2</p>]]></content>
			<author>
				<name><![CDATA[Joan]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1497</uri>
			</author>
			<updated>2020-08-09T02:48:59Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3267#p3267</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Device ESP8266]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3260#p3260" />
			<content type="html"><![CDATA[<p>It would be really great if Joan briefly described, how the code that is intended for the NodeMCU, can be adapted so that it works for an ESP8266.</p><p>Thank you in advance for that.</p>]]></content>
			<author>
				<name><![CDATA[Günni]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=967</uri>
			</author>
			<updated>2020-08-06T13:55:25Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3260#p3260</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Device ESP8266]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3256#p3256" />
			<content type="html"><![CDATA[<p>In my particular case I have no problem, I use the NodeMCU device and WIFI on the chip, then I modify the code on the Arduino and it works for me.<br />But I admit that for other people, it is difficult for them to make modifications to the code in the Arduino IDE.<br />Know that Remote XY is very easy to control.</p>]]></content>
			<author>
				<name><![CDATA[Joan]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1497</uri>
			</author>
			<updated>2020-08-05T22:46:39Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3256#p3256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Device ESP8266]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=3255#p3255" />
			<content type="html"><![CDATA[<p>Question for RemoteXY developers.<br />It would be possible to configure a devie ESP8266, in which they have the GPIOS from 01 to for example 12.<br />In this way developments can be made directly from all ESP8266 and its applications such as SonOff and others.<br />Thank you very much and very good application - RemoteXY</p>]]></content>
			<author>
				<name><![CDATA[Joan]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1497</uri>
			</author>
			<updated>2020-08-05T22:40:57Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=3255#p3255</id>
		</entry>
</feed>
