<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>NodeMCU Dev Kit &#8211; Squix &#8211; TechBlog</title>
	<atom:link href="https://blog.squix.org/tag/nodemcu-dev-kit/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.squix.org</link>
	<description></description>
	<lastBuildDate>Thu, 09 Dec 2021 08:09:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.8</generator>
<site xmlns="com-wordpress:feed-additions:1">121913304</site>	<item>
		<title>ESP8266: flashing NodeMCU V1.0 on Mac OS X (or ESP8266 ESP-12E in general?)</title>
		<link>https://blog.squix.org/2015/05/esp8266-flashing-nodemcu-v10-on-mac-os.html</link>
					<comments>https://blog.squix.org/2015/05/esp8266-flashing-nodemcu-v10-on-mac-os.html#comments</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Fri, 15 May 2015 10:38:00 +0000</pubDate>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[ESP8266 ESP-12E]]></category>
		<category><![CDATA[NodeMCU Dev Kit]]></category>
		<category><![CDATA[V1.0]]></category>
		<guid isPermaLink="false">http://blog.squix.org/2015/05/15/esp8266-flashing-nodemcu-v10-on-mac-os/</guid>

					<description><![CDATA[A few days ago a package arrived from SeeedStudio: the new NodeMCU board V1.0 (see picture) The NodeMCU V1.0 (picture from here) On paper it has some nice advantages compared to the old V0.9 version or also to other ESP8266 dev boards: you can directly ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2015/05/esp8266-flashing-nodemcu-v10-on-mac-os.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;" trbidi="on">
A few days ago a package arrived from SeeedStudio: the new NodeMCU board V1.0 (see picture)</p>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
<tbody>
<tr>
<td style="text-align: center;"><a href="https://i0.wp.com/2.bp.blogspot.com/-z5tC2miRcCc/VVXIvmhdl9I/AAAAAAAAARk/Jvg7EYxEmDM/s1600/NodeMCU_DEVKIT_1.0.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img data-recalc-dims="1" fetchpriority="high" decoding="async" border="0" height="213" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/05/NodeMCU_DEVKIT_1.0.jpg?resize=320%2C213&#038;ssl=1" width="320" /></a></td>
</tr>
<tr>
<td class="tr-caption" style="text-align: center;">The NodeMCU V1.0 (picture from <a href="https://github.com/nodemcu/nodemcu-devkit-v1.0" target="_blank">here</a>)</td>
</tr>
</tbody>
</table>
<p>On paper it has some nice advantages compared to the old V0.9 version or also to other ESP8266 dev boards: you can directly connect it to your computer for programming and you won&#8217;t need an additional USB-to-Serial programmer or an external power supply. The USB connector does the job. The only problem: they must have changed something on the interface. Flashing doesn&#8217;t work out of the box anymore:</p>
<pre class="brush:shell;">stdin:1: open a file first

</pre>
<div>
is what I got when trying to upload a file with the ESPlorer to the module&#8230;</p>
</div>
<p>I&#8217;m programming on a Mac, so all the fancy Windows based flashing tools won&#8217;t work for me directly. I usually use the adapted Arduino IDE or the esptool.py to upload new images to the device. This posts describes how you can flash the new hardware despite the problems with the esptool. Basically it shows how you can use the original Windows tool from Espressif from your Mac OS X system, even if it is made for Windows.</p>
<ol style="text-align: left;">
<li>Download and install driver for the CP2102 from here:&nbsp;<a href="https://www.silabs.com/Support%20Documents/Software/Mac_OSX_VCP_Driver.zip">https://www.silabs.com/Support%20Documents/Software/Mac_OSX_VCP_Driver.zip</a></li>
<li>If you don&#8217;t already have it install homebrew:&nbsp;<a href="http://brew.sh/">http://brew.sh/</a></li>
<li>Install wine: 
<pre class="brush:shell;">brew install wine </pre>
<p>I had to work around some issues with brew and wine. Write a comment if you want to know how I resolved them&#8230;</li>
<li>Download the latest Flashing tool from Espressif:<br /><a href="http://bbs.espressif.com/viewtopic.php?f=5&amp;t=433">http://bbs.espressif.com/viewtopic.php?f=5&amp;t=433</a></li>
<li>Install unrar (if you don&#8217;t already have it):
<pre class="brush:shell;">brew install unrar</pre>
</li>
<li>Unpack the flash tool:
<pre class="brush:shell;">unrar x FLASH_DOWNLOAD_TOOLS_v1.2_150512.rar
</pre>
</li>
<li>Install unrar (if you don&#8217;t already have it):
<pre class="brush:shell;">brew install unrar</pre>
</li>
<li>Enter the directory and start the Flashing Tool:
<pre class="brush:shell;">cd FLASH_DOWNLOAD_TOOLS_v1.2_150512
wine flash_download_tool_v1.2_150512.exe
</pre>
</li>
<li>Now that the wine directory has created enter the dosdevices folder and create a symlink to your NodeMCUs tty device:
<pre class="brush:shell;">cd ~/.wine/dosdevices
ln -s /dev/tty.SLAB_USBtoUART com1</pre>
</li>
<li>Select your image and adjust the settings according to this screenshot:<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
<tbody>
<tr>
<td style="text-align: center;"><a href="https://i0.wp.com/2.bp.blogspot.com/-6zoii1fdAug/VVXgx8f-nsI/AAAAAAAAAR0/shB0TES57hg/s1600/Screenshot%252B2015-05-15%252B14.01.15.png" imageanchor="1" style="margin-left: auto; margin-right: auto; text-align: center;"><img data-recalc-dims="1" decoding="async" border="0" height="320" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/05/Screenshot2015-05-1514.01.15.png?resize=217%2C320&#038;ssl=1" width="217" /></a></td>
</tr>
<tr>
<td class="tr-caption" style="text-align: center;">ESP Flash Tool started from wine: adjust the settings accordingly</td>
</tr>
</tbody>
</table>
</li>
<li>
Now connect the NodeMCU module using USB and press the RST button while you keep pressing the FLASH button. This will put the module into the right state for flashing</li>
<li>Now click START in the flasher tool and wait until it is finished. Click RST again and have fun.</li>
</ol>
<p>I hope that the esptool gets fixed quickly to work with the new hardware. I&#8217;m also not sure whether the problems comes from the USB-to-Serial converter or rather from the ESP-12E module. I suspect it is the later, but I couldn&#8217;t find anyone complaining about problems with the ESP-12E in general.</p>
<p><b>Shopping Links:</b></p>
<ul style="text-align: left;">
<li>From SeeedStudio:&nbsp;<a href="http://www.seeedstudio.com/depot/NodeMCU-v2-Lua-based-ESP8266-development-kit-p-2415.html">http://www.seeedstudio.com/depot/NodeMCU-v2-Lua-based-ESP8266-development-kit-p-2415.html</a></li>
<li>From AliExpress:&nbsp;<a href="http://s.click.aliexpress.com/e/JYrbmMVfU" target="_parent">Wireless module NodeMcu Lua Nodemcu WIFI Network Development Board Based ESP8266 FZ1390</a></li>
</ul>
<p></div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2015/05/esp8266-flashing-nodemcu-v10-on-mac-os.html/feed</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">54</post-id>	</item>
		<item>
		<title>ESP8266: NodeMCU Dev Kit Review</title>
		<link>https://blog.squix.org/2015/02/esp8266-nodemcu-dev-kit-review.html</link>
					<comments>https://blog.squix.org/2015/02/esp8266-nodemcu-dev-kit-review.html#comments</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Fri, 27 Feb 2015 12:08:00 +0000</pubDate>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[bread board]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[ESP8266 ESP201]]></category>
		<category><![CDATA[flashing firmware]]></category>
		<category><![CDATA[lua firmware]]></category>
		<category><![CDATA[NodeMCU Dev Kit]]></category>
		<guid isPermaLink="false">http://blog.squix.org/2015/02/27/esp8266-nodemcu-dev-kit-review/</guid>

					<description><![CDATA[Introduction I was very excited when the very same group that developed the NodeMcu Lua firmware announced their ESP8266 Dev board. I ordered one from Banggood&#160;and yesterday it arrived after more than a month. Quality The PCB seems to be well done. The silk screen ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2015/02/esp8266-nodemcu-dev-kit-review.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
Introduction</h3>
<p>I was very excited when the very same group that developed the NodeMcu Lua firmware announced their ESP8266 Dev board. I ordered one from <a href="https://www.banggood.com/Geekcreit-NodeMcu-Lua-ESP8266-ESP-12F-WIFI-Development-Board-p-985891.html?p=0P21061109440201501M" target="_blank" rel="noopener">Banggood</a>&nbsp;and yesterday it arrived after more than a month.</p>
<h3 style="text-align: left;">
Quality</h3>
<p>The PCB seems to be well done. The silk screen is yellow as opposed to the blue one the group posted on Github. Besides that they look identical. Solder points look also well done. An interesting point you can observe on the bottom side of the PCB: there is a gap which probably will increase Wifi sensitivity, since the PCB antenna is in this area.</p>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
<tbody>
<tr>
<td style="text-align: center;"><a href="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/02/2015-02-2713.10.45-1024x1024.jpg?ssl=1" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img data-recalc-dims="1" decoding="async" border="0" height="200" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/02/2015-02-2713.10.45.jpg?resize=200%2C200&#038;ssl=1" width="200" /></a></td>
</tr>
<tr>
<td class="tr-caption" style="text-align: center;">The upper side of the NodeMCU Dev Kit with an ESP8266 ESP12 mounted</td>
</tr>
</tbody>
</table>
<p></p>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
<tbody>
<tr>
<td><a href="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/02/2015-02-2713.11.07-1024x1024.jpg?ssl=1" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img data-recalc-dims="1" loading="lazy" decoding="async" border="0" height="200" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/02/2015-02-2713.11.07.jpg?resize=200%2C200&#038;ssl=1" width="200" /></a></td>
</tr>
<tr>
<td class="tr-caption" style="font-size: 12.8000001907349px;">The bottom side of the Dev Kit. You can see the gap on the yellow PCB<br />
which probably should improve Wifi sensitivity</td>
</tr>
</tbody>
</table>
<h3 style="text-align: left;">
</h3>
<h3 style="text-align: left;">
Driver Installation</h3>
<p>After the first inspection I wanted to attach it to my Mac running Yosemite (10.10). I then opened <a href="http://esp8266.ru/esplorer/">ESPlorer</a>&nbsp;to see if it would find the Dev Kit but no luck there, the device just didn&#8217;t show up. I went back to the NodeMCU <a href="https://github.com/nodemcu/nodemcu-devkit">Github page</a>&nbsp;and quickly found out, that they used a rather exotic CH340G as chip to connect the ESP8266 with the USB interface. It seems that this chip is a lot cheaper than the FT232R by FTDI that is usually used for a Serial-To-USB adaptor. I quickly found the driver page of the vendor but this was not directly supporting Yosemite. Ray on his&nbsp;<a href="http://rayshobby.net/esptoy/">esptoy</a>&nbsp;page linked &nbsp;to these drivers:</p>
<ul style="text-align: left;">
<li>Mac OS X:&nbsp;<a href="http://raysfiles.com/drivers/ch341ser_mac.zip" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dotted; border-bottom-width: 1px; color: #106610; margin: 0px; padding: 0px; text-decoration: none;" target="_blank" rel="noopener">http://raysfiles.com/drivers/ch341ser_mac.zip</a></li>
<li>Windows XP:&nbsp;<a href="http://raysfiles.com/drivers/ch341ser.exe" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dotted; border-bottom-width: 1px; color: #106610; margin: 0px; padding: 0px; text-decoration: none;" target="_blank" rel="noopener">http://raysfiles.com/drivers/ch341ser.exe</a></li>
<li>Windows 7, 8, 8.1 and Linux: no drivers required</li>
</ul>
<div>
The Mac OS X driver has two folders. One for Yosemite and one for the rest. Installation worked like a charm since the drivers are also signed for Mac OS X. Otherwise you&#8217;d have to overwrite the security check in your System Settings (Security Tab).</div>
<div>
After installation the Dev Kit showed up as</div>
<div>
<ul style="text-align: left;">
<li>/dev/tty.Repleo-CH341-XXXX</li>
<li>/dev/cu.Repleo-CH341-XXXX</li>
</ul>
<div>
Strangely only the cu.Repleo device was found by ESPlorer but I could use it to connect with 9600 baud to the AT firmware. Then the next problem came&#8230;</p>
</div>
</div>
<h3 style="text-align: left;">
Flashing New Firmware</h3>
<p>There are two tiny buttons on the board: one labeled &#8220;User&#8221; and the other labeled &#8220;Flash&#8221;. I&#8217;m not sure yet what the User button does, but when pressed during power up the Flash button makes the device go into boot mode where it theoretically can receive new firmwares.<br />
I say theoretically because it didn&#8217;t work at all at first. Everything I tried just caused the following error:</p>
<pre class="brush:shell;">$ python esptool.py --port /dev/tty.Repleo-CH341-XXXX write_flash 0x00000 nodemcu_latest.bin 
Connecting...
Traceback (most recent call last):
  File "esptool.py", line 471, in 
    esp.connect()
  File "esptool.py", line 149, in connect
    raise Exception('Failed to connect')
Exception: Failed to connect</pre>
<p>
After a while I gave up and used a normal serial-to-usb adapter to connect to the RX, TX and GND pins directly, without using the CH340G. For power supply I kept the ESP8266 Dev Kit connected to my Mac.<br />
After another reset I could program the Dev Kit from ESPlorer and I have to say, it works like a charm. It&#8217;s great not skip a few wires just to connect to USB. With the Dev Kit power supply and serial connection is all in one beautiful USB wire.</p>
<h3 style="text-align: left;">
Practical Use</h3>
<div style="text-align: left;">
The Dev Kit is very convenient because unlike some of the other ESP8266 modules it easily fits into a standard bread board. But there the beauty ends. As you can see on the picture the Dev Kit spans over all 10 pins of a normal bread board and covers them totally. To use them you&#8217;d have to use <a href="http://s.click.aliexpress.com/e/r3nQnaAei">U-shaped bread board jumpers</a>, but that means you have to remove the Dev Kit just to set them into the board. Not very convenient&#8230; Compared to that the ESP201 has on each side one pin row left..</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;">
<tbody>
<tr>
<td style="text-align: center;"><a href="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/02/2015-02-2714.02.14-1024x768.jpg?ssl=1" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img data-recalc-dims="1" loading="lazy" decoding="async" border="0" height="150" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2015/02/2015-02-2714.02.14.jpg?resize=200%2C150&#038;ssl=1" width="200" /></a></td>
</tr>
<tr>
<td class="tr-caption" style="text-align: center;">The NodeMCU Dev Kit compared to the ESP8266 ESP201:<br />
You can easily see that the Dev Kit covers all pins,<br />
whereas the ESP201 has one row left</td>
</tr>
</tbody>
</table>
<div style="text-align: left;">
</div>
<h3 style="text-align: left;">
Summary</h3>
<div>
The NodeMCU Dev Kit is a useful development board that is easy to use and reduces the amount of external components that other ESP8266 modules require. That the Dev Kit covers a lot of holes on a standard 10 pin breadboard reduces the usefulness significantly, but you might prefer this problem over the free-floating wires that the ESP01 requires.</div>
<div>
Please let me know if you find out how to flash the firmware without help of an external USB-to-Serial converter&#8230;</div>
<div>
</div>
<h3 style="text-align: left;">
Quick-Links</h3>
<p></p>
<ul style="text-align: left;">
<li>The Node MCU DevKit board at&nbsp;<a href="https://www.banggood.com/Geekcreit-NodeMcu-Lua-ESP8266-ESP-12F-WIFI-Development-Board-p-985891.html?p=0P21061109440201501M" target="_blank" rel="noopener">Banggood</a></li>
<li>The Mac Drivers:&nbsp;<a href="http://raysfiles.com/drivers/ch341ser_mac.zip" style="border-bottom-color: rgb(153, 102, 51); border-bottom-style: dotted; border-bottom-width: 1px; color: #106610; margin: 0px; padding: 0px; text-decoration: none;" target="_blank" rel="noopener">http://raysfiles.com/drivers/ch341ser_mac.zip</a></li>
</ul>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2015/02/esp8266-nodemcu-dev-kit-review.html/feed</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">62</post-id>	</item>
	</channel>
</rss>
