<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.playfulexploration.com/index.php?action=history&amp;feed=atom&amp;title=Connecting_ESP8266_to_Raspberry_Pi</id>
	<title>Connecting ESP8266 to Raspberry Pi - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.playfulexploration.com/index.php?action=history&amp;feed=atom&amp;title=Connecting_ESP8266_to_Raspberry_Pi"/>
	<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;action=history"/>
	<updated>2026-11-19T23:33:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;diff=697&amp;oldid=prev</id>
		<title>Peter at 02:13, 18 May 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;diff=697&amp;oldid=prev"/>
		<updated>2016-05-18T02:13:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:13, 18 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Rpi]] [[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Esp&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Rpi]] [[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ESP&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These were my steps, but your specific setup may vary.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These were my steps, but your specific setup may vary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;diff=696&amp;oldid=prev</id>
		<title>Peter at 02:12, 18 May 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;diff=696&amp;oldid=prev"/>
		<updated>2016-05-18T02:12:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:12, 18 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Rpi]] [[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ESP8266&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Rpi]] [[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Esp&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These were my steps, but your specific setup may vary.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These were my steps, but your specific setup may vary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;diff=694&amp;oldid=prev</id>
		<title>Peter: Created page with &quot;Category:Rpi Category:ESP8266 These were my steps, but your specific setup may vary.  Turn off aLaMode (don’t know if this is necessary) Connect Tx, Rx, GND directly...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Connecting_ESP8266_to_Raspberry_Pi&amp;diff=694&amp;oldid=prev"/>
		<updated>2016-05-18T02:11:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Rpi&quot; title=&quot;Category:Rpi&quot;&gt;Category:Rpi&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:ESP8266&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:ESP8266 (page does not exist)&quot;&gt;Category:ESP8266&lt;/a&gt; These were my steps, but your specific setup may vary.  Turn off aLaMode (don’t know if this is necessary) Connect Tx, Rx, GND directly...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Rpi]] [[Category:ESP8266]]&lt;br /&gt;
These were my steps, but your specific setup may vary.&lt;br /&gt;
&lt;br /&gt;
Turn off aLaMode (don’t know if this is necessary)&lt;br /&gt;
Connect Tx, Rx, GND directly to GPIO pins&lt;br /&gt;
Connect VCC, CH_PD, to 3v3&lt;br /&gt;
&lt;br /&gt;
Device is accessible via /dev/ttyS0 on 9600 baud. Used Arduino IDE serial monitor.&lt;br /&gt;
&lt;br /&gt;
Used a variety of AT commands. Verified that I could connect to its Access Point (open wifi)&lt;br /&gt;
Connected it to home wifi network&lt;br /&gt;
&lt;br /&gt;
Pinged repeatedly. Power off/on time is &amp;lt; 1 second&lt;br /&gt;
&lt;br /&gt;
____________&lt;br /&gt;
&lt;br /&gt;
Flashing ESP from RPi using NODEMCU firmware&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Ensure /dev/ttyS0 port is a functioning serial port&amp;lt;/li&amp;gt;&lt;br /&gt;
This may already be setup. Mine was configured when installing aLaMode ArduinoIDE support.&lt;br /&gt;
&amp;lt;li&amp;gt;Install python library pyserial (used by firmware uploader tool)&amp;lt;/li&amp;gt;&lt;br /&gt;
 sudo pip install serial&lt;br /&gt;
&amp;lt;li&amp;gt;Baud rate. This presented a problem the first time around. But the nodemcu firmware uploader tool is open source so I was able to figure out the problem myself. Here’s the code that prevented the firmware from uploading to my ESP:&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 #Default baudrate. The ROM auto-bauds, so we can use more or less whatever we want.&lt;br /&gt;
 ESP_ROM_BAUD = 115200&lt;br /&gt;
&lt;br /&gt;
(Might want to check the assumption on this one.)&lt;br /&gt;
&lt;br /&gt;
My ESP has the original firmware installed and does not auto-sense baud rate like some of the later versions do. The NODEMCU tool uses 115200, so I had to change the baud rate from 9600 (default) to 115200.&lt;br /&gt;
AT+CIOBAUD=115200&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Start a new clone of nodemcu-firmware from git&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 sudo git clone https://github.com/nodemcu/nodemcu-firmware&lt;br /&gt;
&lt;br /&gt;
Or if this is already done update the repo (from nodemcu-firmware folder)&lt;br /&gt;
&lt;br /&gt;
 sudo git pull&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;If necessary, change directory to the nodemcu-firmware project&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cd /nodemcu-firmware/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Put ESP8266 into flash mode by connecting GPIO-0 to ground and then apply power (or power cycle)&lt;br /&gt;
Note: connecting GND and GPIO0 to different grounds on RPi (pins 6 and 14) did not register as GPIO0=low (went into some sort of non responsive mode). Therefore, GND and GPIO0 should use a common ground (be directly connected)&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Run uploader specifying the serial port and firmware that was included in the git clone (from the nodemcu-firmware root folder):&amp;lt;/li&amp;gt;&lt;br /&gt;
 sudo tools/esptool.py --port /dev/ttyS0 write_flash 0x00000 pre_build/latest/nodemcu_latest.bin&lt;br /&gt;
 &lt;br /&gt;
 Success!&lt;br /&gt;
 &lt;br /&gt;
 Connecting...&lt;br /&gt;
 Erasing flash...&lt;br /&gt;
 Writing at 0x00060a00... (100 %)&lt;br /&gt;
 &lt;br /&gt;
 Leaving...&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
The ESP is now ready to be configured for lua scripting. I’ll be taking advantage of MQTT for sending simple messages around my home.&lt;/div&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
</feed>