<?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/"
	>

<channel>
	<title>ESP-01 Programmer Archives - CyberBlogSpot</title>
	<atom:link href="https://cyberblogspot.com/tag/esp-01-programmer/feed/" rel="self" type="application/rss+xml" />
	<link>https://cyberblogspot.com/tag/esp-01-programmer/</link>
	<description>Not just another blogspot site</description>
	<lastBuildDate>Mon, 20 Feb 2023 03:48:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://cyberblogspot.com/wp-content/uploads/2018/08/cropped-iphone-iphone3gs-32x32.jpg</url>
	<title>ESP-01 Programmer Archives - CyberBlogSpot</title>
	<link>https://cyberblogspot.com/tag/esp-01-programmer/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Use ESP-01 Wi-Fi Relay Module</title>
		<link>https://cyberblogspot.com/how-to-use-esp-01-wi-fi-relay-module/</link>
					<comments>https://cyberblogspot.com/how-to-use-esp-01-wi-fi-relay-module/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 15 Feb 2023 10:13:18 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ESP-01]]></category>
		<category><![CDATA[ESP-01 Module]]></category>
		<category><![CDATA[ESP-01 Programmer]]></category>
		<category><![CDATA[ESP-01 Relay]]></category>
		<category><![CDATA[ESP-01 Relay Module]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[ESP8266 Controller App]]></category>
		<category><![CDATA[ESPlorer IDE]]></category>
		<category><![CDATA[ESPlorer Integrated Development Environment]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[MIT App Inventor]]></category>
		<category><![CDATA[NodeMCU]]></category>
		<category><![CDATA[NodeMCU Firmware]]></category>
		<category><![CDATA[NodeMCU Flasher]]></category>
		<category><![CDATA[Smartphone]]></category>
		<guid isPermaLink="false">https://cyberblogspot.com/?p=6181</guid>

					<description><![CDATA[<p>The ESP-01 Wi-Fi module shown in Figure 1 is a widely known member of the ESP8266 microcontroller board family. Because of its low cost and small size, it is usually used for applications where only a few GPIOs (General Purpose Input / Output) are needed. One such application is the ESP-01 Wi-Fi Relay Module shown&#8230;&#160;<a href="https://cyberblogspot.com/how-to-use-esp-01-wi-fi-relay-module/" rel="bookmark">Read More &#187;<span class="screen-reader-text">How to Use ESP-01 Wi-Fi Relay Module</span></a></p>
<p>The post <a href="https://cyberblogspot.com/how-to-use-esp-01-wi-fi-relay-module/">How to Use ESP-01 Wi-Fi Relay Module</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The ESP-01 Wi-Fi module shown in Figure 1 is a widely known member of the <a href="https://en.wikipedia.org/wiki/ESP8266" target="_blank" rel="noreferrer noopener">ESP8266</a> microcontroller board family.  Because of its low cost and small size, it is usually used for applications where only a few GPIOs (General Purpose Input / Output) are needed.  One such application is the ESP-01 Wi-Fi Relay Module shown in Figure 2.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="has-text-align-center">Did you know that there are two (2) versions of ESP-01 Wi-Fi modules? Check out the article:<br><a href="https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/" target="_blank" rel="noreferrer noopener">Difference Between ESP-01 and ESP-01S</a></p>
</blockquote>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-module-400x350-1-jpg.webp"><img fetchpriority="high" decoding="async" width="402" height="352" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-module-400x350-1-jpg.webp" alt="A picture of an ESP-01 Wi-Fi module used as a microcontroller for the ESP-01 Wi-Fi relay module." class="wp-image-6183" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-module-400x350-1-jpg.webp 402w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-module-400x350-1-300x263.webp 300w" sizes="(max-width: 402px) 100vw, 402px" /></a><figcaption class="wp-element-caption">Figure 1.  ESP-01 ESP8266 Wi-Fi Module</figcaption></figure></div>


<p>The ESP-01 Wi-Fi relay module is used as a smart switch for remotely turning on and off any device connected to it.  A pre-programmed ESP-01 module is inserted into the relay module to serve as a microcontroller for the relay.  The attached ESP-01 module also provides the Wi-Fi capability to the relay module to enable a computer or a smartphone to control the relay module remotely or wirelessly.     </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-no-esp-01-440-jpg.webp"><img decoding="async" width="442" height="352" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-no-esp-01-440-jpg.webp" alt="Picture of an ESP-01 Wi-Fi relay module without the ESP-01 module." class="wp-image-6184" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-no-esp-01-440-jpg.webp 442w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-no-esp-01-440-300x239.webp 300w" sizes="(max-width: 442px) 100vw, 442px" /></a><figcaption class="wp-element-caption">Figure 2.  ESP-01 Wi-Fi Relay Module</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-400-jpg.webp"><img decoding="async" width="402" height="352" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-400-jpg.webp" alt="Picture showing the ESP-01 Wi-Fi relay module with the ESP-01 module." class="wp-image-6182" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-400-jpg.webp 402w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-400-300x263.webp 300w" sizes="(max-width: 402px) 100vw, 402px" /></a><figcaption class="wp-element-caption">Figure 3.  ESP-01 Wi-Fi Relay Module with ESP-01 Module</figcaption></figure></div>


<h2 class="wp-block-heading">ESP-01 Module Programmer</h2>



<p class="has-text-align-left">In order to use the ESP-01 Wi-Fi relay module, a programmer is needed to program the ESP-01 module.  An example of an ESP-01 programmer is shown in Figure 3.  If you do not a have an ESP-01 programmer module, you can make one if you have a USB-to-serial converter.  Or simply use an Arduino board as an ESP-01 programmer if you have an available Arduino board.  For details on how to make a DIY ESP-01 programmer, see the article:<a href="https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/" target="_blank" rel="noreferrer noopener"> ESP-01 and ESP-01S Pinout and Configuration</a> </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-programmer-400-jpg.webp"><img loading="lazy" decoding="async" width="402" height="295" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-programmer-400-jpg.webp" alt="Picture of an ESP-01 programmer module for use in pre-programming an ESP-01 module to be used on ESP-01 Wi-Fi relay module." class="wp-image-6186" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-programmer-400-jpg.webp 402w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-programmer-400-300x220.webp 300w" sizes="auto, (max-width: 402px) 100vw, 402px" /></a><figcaption class="wp-element-caption">Figure 4.  ESP-01 USB-to-Serial Converter Programmer</figcaption></figure></div>


<h2 class="wp-block-heading">Schematic Diagram of ESP-01 Wi-Fi Relay Module</h2>



<p>Before we start programming the ESP-01 module to be used on the ESP-01 Wi-Fi relay module, let us first study the schematic diagram of the ESP-01 Wi-Fi relay module.  There are two (2) versions of ESP-01 Wi-Fi relay modules.  Version 1 is shown in Figure 5 and Version 4 is shown in Figure 6.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-650.png"><img loading="lazy" decoding="async" width="650" height="572" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-650.png" alt="Schematic diagram of the ESP-01 Wi-Fi relay module version 1." class="wp-image-6189" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-650.png 650w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-650-300x264.png 300w" sizes="auto, (max-width: 650px) 100vw, 650px" /></a><figcaption class="wp-element-caption">Figure 5. Schematic Diagram of ESP-01 Wi-Fi Relay Module Version 1</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-version4-650.png"><img loading="lazy" decoding="async" width="647" height="572" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-version4-650.png" alt="Schematic diagram of the newer ESP-01 Wi-Fi relay module version 4 ." class="wp-image-6190" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-version4-650.png 647w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-wi-fi-relay-module-schematic-diagram-version4-650-300x265.png 300w" sizes="auto, (max-width: 647px) 100vw, 647px" /></a><figcaption class="wp-element-caption">Figure 6. Schematic Diagram of ESP-01 Wi-Fi Relay Module Version 4</figcaption></figure></div>


<p>An examination of the two (2) schematic diagrams above will show that the difference in the two versions has something to do with the relay driver.  On version 1, the relay is driven by an NPN junction transistor.  On the other hand, on version 4, the relay is driven by an N-channel MOSFET transistor.  Also, in version 4, the MOSFET driving the relay is in turn being driven by an opto-coupler.</p>



<p>In terms of programming, we should note that on both versions, the relay is activated by the ESP-01 module thru port <strong>GPIO0</strong>.  However, on Version 1, the relay uses <strong>ACTIVE HIGH</strong> logic levels.  That is, a logic HIGH on GPIO0 will activate the relay and a logic LOW will deactivate it.  On the other hand, on a Version 4 model, the relay is activated using <strong>ACTIVE LOW</strong> signals.  This means that a logic HIGH will turn OFF the relay and a logic LOW will turn it ON.  In short, the two versions use opposite signals for activating the relay.  These differing signals should be taken into account when programming the ESP-01 module.  Or else, turning ON the relay may result to it being turned OFF instead.  And vice versa, turning the relay OFF may cause the relay to turn ON.        </p>



<h2 class="wp-block-heading">How to Program the ESP-01 Module for Use with the Wi-Fi Relay Module </h2>



<p>In this article, we will pre-program the ESP-01 module with NodeMCU or Lua program.  Afterwards, we will create a smartphone app to control the ESP-01 Wi-Fi relay module remotely.  It is also possible to program the ESP-01 module with the Arduino IDE.  If you would prefer an Arduino IDE program for the ESP-01 module, please see &#8211; <a href="https://cyberblogspot.com/how-to-control-esp-01-without-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 Without a Router</a>.</p>



<h3 class="wp-block-heading">Flashing the NodeMCU Firmware on ESP-01 Module</h3>



<p>First, we need to install the NodeMCU firmware into the ESP-01 module.  There are several ways to do this but we will use the one that I think is the easiest.  Download the <a href="https://github.com/nodemcu/nodemcu-flasher" target="_blank" rel="noreferrer noopener">NodeMCU Flasher from Github</a>.  Extract the zip file and run the file &#8220;ESP8266Flasher.exe&#8221;.  There are two versions of ESP8266Flasher.exe, a Win32 and a Win64 version.  Select the appropriate version for your computer. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-main-final.png"><img loading="lazy" decoding="async" width="572" height="333" src="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-main-final.png" alt="Screenshot of NodeMCU Flasher for installing NodeMCU firmware on an ESP-01 module." class="wp-image-6215" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-main-final.png 572w, https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-main-final-300x175.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></a><figcaption class="wp-element-caption">Figure 7.  NodeMCU Flasher</figcaption></figure></div>


<p>Plug in your ESP-01 programmer with the ESP-01 module to your computer&#8217;s USB port.  The NodeMCU Flasher should be able to detect the ESP-01 programmer and automatically change the COM Port setting.  If this is your first time to use your ESP-01 programmer, you may have to install the device driver for it. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-com-port-setting.png"><img loading="lazy" decoding="async" width="572" height="333" src="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-com-port-setting.png" alt="A picture of the NodeMCU Firmware Programmer for the ESP8266 modules like the ESP-01 module to be used for the ESP-01 Wi-Fi relay module." class="wp-image-6216" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-com-port-setting.png 572w, https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-com-port-setting-300x175.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></a><figcaption class="wp-element-caption">Figure 8. NodeMCU Flasher Detects the Correct COM Port</figcaption></figure></div>


<p>Click on Config tab of the NodeMCU Flasher and verify that you have the settings INTERNAL://NODEMCU and hex 0x00000.  The INTERNAL://NODEMCU setting tells the NodeMCU Flasher to use the NodeMCU firmware that comes with the NodeMCU Flasher installation (the firmware file can be found under the Resources/Binaries directory).  Meanwhile, the setting <strong>0x00000</strong> is the memory starting location where the NodeMCU firmware will be installed.  See Figure 9 for the correct settings. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-config-tab.png"><img loading="lazy" decoding="async" width="572" height="333" src="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-config-tab.png" alt="A picture of the NodeMCU Flasher with the Config tab showing the correct settings." class="wp-image-6217" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-config-tab.png 572w, https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-config-tab-300x175.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></a><figcaption class="wp-element-caption">Figure 9.  NodeMCU Flasher with the Config Settings</figcaption></figure></div>


<p>Next, click on the Advanced tab of the NodeMCU Flasher.  Change the Flash size to 1Mbyte and the SPI mode to QIO.  These two (2) settings are specific to ESP-01 modules, see Figure 10 below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-advanced-setting.png"><img loading="lazy" decoding="async" width="572" height="333" src="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-advanced-setting.png" alt="NodeMCU Flasher with the Advanced settings changed for the ESP-01 Wi-Fi module" class="wp-image-6219" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-advanced-setting.png 572w, https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-advanced-setting-300x175.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></a><figcaption class="wp-element-caption">Figure 10.  NodeMCU Flasher Advanced Settings</figcaption></figure></div>


<p>Click back on the Operation tab and click on the Flash(F) button to start flashing the NodeMCU firmware to the ESP-01 module.  Please refer to Figure 11.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-start-flash.png"><img loading="lazy" decoding="async" width="572" height="333" src="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-start-flash.png" alt="The NodeMCU Flasher ready to flash the NodeMCU firmware on an ESP-01 Wi-Fi module." class="wp-image-6220" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-start-flash.png 572w, https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-start-flash-300x175.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></a><figcaption class="wp-element-caption">Figure 11.  NodeMCU Flasher Prior to Flashing</figcaption></figure></div>


<p>Wait for the progress bar to be filled up and you should see a green checkmark at the bottom left of the NodeMCU Flasher screen as depicted in Figure 12.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-finished-uploading.png"><img loading="lazy" decoding="async" width="572" height="333" src="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-finished-uploading.png" alt="Picture of the NodeMCU Flasher with the green checkmark indicating a successful firmware flashing." class="wp-image-6218" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-finished-uploading.png 572w, https://cyberblogspot.com/wp-content/uploads/2023/02/nodemcu-flasher-finished-uploading-300x175.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></a><figcaption class="wp-element-caption">Figure 12.  NodeMCU Flasher with Green Checkmark</figcaption></figure></div>


<p>We have now successfully installed the NodeMCU firmware on the ESP-01 module, so we will go to the next procedure.</p>



<h3 class="wp-block-heading">ESPlorer Integrated Development Environment</h3>



<p>ESPlorer is an Integrated Development Environment (IDE) used for programming ESP8266 modules like ESP-01 with NodeMCU and Micropython.  Download the <a href="https://github.com/4refr0nt/ESPlorer/releases" target="_blank" rel="noreferrer noopener">ESPlorer from Github</a>.  Extract the zip file and run the file &#8220;ESPlorer.bat&#8221;.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-main.png"><img loading="lazy" decoding="async" width="1024" height="576" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-main-1024x576.png" alt="The ESPlorer Integrated Development Environment for programming the ESP-01 module" class="wp-image-6221" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-main-1024x576.png 1024w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-main-300x169.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-main-768x432.png 768w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-main.png 1368w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Figure 13.  The ESPlorer Integrated Development Environment</figcaption></figure></div>


<p>Make sure that the proper COM port for your ESP-01 programmer is selected and the baud rate setting is 9600 baud (see Figure 14).  Then click on the Open button.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-settings-open-button-740x440-1.png"><img loading="lazy" decoding="async" width="741" height="442" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-settings-open-button-740x440-1.png" alt="Picture of ESPlorer IDE showing the correct setting before opening the communication port" class="wp-image-6224" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-settings-open-button-740x440-1.png 741w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-settings-open-button-740x440-1-300x179.png 300w" sizes="auto, (max-width: 741px) 100vw, 741px" /></a><figcaption class="wp-element-caption">Figure 14.  ESPlorer IDE with the Correct Settings</figcaption></figure></div>


<p>If the ESPlorer can&#8217;t autodetect the NodeMCU firmware, reset the ESP-01 module by pressing the reset button on your ESP-01 programmer.  Or click on the RTS button on the ESPlorer IDE twice.  When you click the RTS button on the ESPlorer IDE, it sends a RESET signal to the connected ESP-01 programmer module.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-cant-autodetect.png"><img loading="lazy" decoding="async" width="742" height="440" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-cant-autodetect.png" alt="ESPlorer IDE showing the message can't autodetect firmware." class="wp-image-6225" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-cant-autodetect.png 742w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-cant-autodetect-300x178.png 300w" sizes="auto, (max-width: 742px) 100vw, 742px" /></a><figcaption class="wp-element-caption">Figure 15.  ESPlorer IDE with Error Message</figcaption></figure></div>


<p>After resetting the ESP-01 module, you should see a message with the NodeMCU firmware version.  This verifies that you have successfully flashed the ESP-01 module with the NodeMCU firmware in the preceding procedure.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="has-text-align-center">If the ESPlorer IDE cannot detect your NodeMCU firmware, see the article:<br><a href="https://cyberblogspot.com/esplorer-cant-autodetect-firmware/" target="_blank" rel="noreferrer noopener">ESPlorer Can’t Autodetect Firmware</a></p>
</blockquote>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-firmware-detected.png"><img loading="lazy" decoding="async" width="742" height="442" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-firmware-detected.png" alt="ESPlorer IDE showing a successful firmware detection signifying readiness to accept scripts for programming the ESP-01 module to used for the ESP-01 Wi-Fi relay module." class="wp-image-6226" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-firmware-detected.png 742w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-firmware-detected-300x179.png 300w" sizes="auto, (max-width: 742px) 100vw, 742px" /></a><figcaption class="wp-element-caption">Figure 16.  ESPlorer IDE with the NodeMCU Firmware Detected</figcaption></figure></div>


<h3 class="wp-block-heading">The Lua Program</h3>



<p>Copy and paste the following Lua program on the left pane of the ESPlorer IDE.</p>



<pre class="EnlighterJSRAW">print(&quot;Ready to start soft ap&quot;)

local str=wifi.ap.getmac();
local ssidTemp=string.format(&quot;%s%s%s&quot;,string.sub(str,10,11),string.sub(str,13,14),string.sub(str,16,17));

cfg={}
cfg.ssid=&quot;ESP8266_&quot;..ssidTemp;
cfg.pwd=&quot;12345678&quot;
wifi.ap.config(cfg)

cfg={}
cfg.ip=&quot;192.168.1.1&quot;;
cfg.netmask=&quot;255.255.255.0&quot;;
cfg.gateway=&quot;192.168.1.1&quot;;
wifi.ap.setip(cfg);
wifi.setmode(wifi.SOFTAP)

str=nil;
ssidTemp=nil;
collectgarbage();

print(&quot;Soft AP started&quot;)
print(&quot;Heep:(bytes)&quot;..node.heap());
print(&quot;MAC:&quot;..wifi.ap.getmac()..&quot;\r\nIP:&quot;..wifi.ap.getip());

led1 = 3
led2 = 4
gpio.mode(led1, gpio.OUTPUT)
gpio.mode(led2, gpio.OUTPUT)
srv=net.createServer(net.TCP)
srv:listen(80,function(conn)
    conn:on(&quot;receive&quot;, function(client,request)
        local buf = &quot;&quot;;
        buf = buf..&quot;HTTP/1.1 200 OK\n\n&quot;
        local _, _, method, path, vars = string.find(request, &quot;(&#091;A-Z]+) (.+)?(.+) HTTP&quot;);
        if(method == nil)then
            _, _, method, path = string.find(request, &quot;(&#091;A-Z]+) (.+) HTTP&quot;);
        end
        local _GET = {}
        if (vars ~= nil)then
            for k, v in string.gmatch(vars, &quot;(%w+)=(%w+)&amp;*&quot;) do
                _GET&#091;k] = v
            end
        end
        
        if(_GET.pin == &quot;ON1&quot;)then
              gpio.write(led1, gpio.HIGH);
			  print(&quot;led1 on&quot;)
        elseif(_GET.pin == &quot;OFF1&quot;)then
              gpio.write(led1, gpio.LOW);
			print(&quot;led1 off&quot;)
        elseif(_GET.pin == &quot;ON2&quot;)then
              gpio.write(led2, gpio.HIGH);
			print(&quot;led2 on&quot;)
        elseif(_GET.pin == &quot;OFF2&quot;)then
              gpio.write(led2, gpio.LOW);
			print(&quot;led2 off&quot;)
        end
        client:send(buf);
        client:close();
        collectgarbage();
    end)
end)</pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-copy-and-paste-program.png"><img loading="lazy" decoding="async" width="625" height="769" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-copy-and-paste-program.png" alt="Figure 17 is a picture of the ESPlorer Integrated Development Environment showing a Lua script." class="wp-image-6228" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-copy-and-paste-program.png 625w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-copy-and-paste-program-244x300.png 244w" sizes="auto, (max-width: 625px) 100vw, 625px" /></a><figcaption class="wp-element-caption">Figure 17.  ESPlorer IDE with Lua Script</figcaption></figure></div>


<p>Save the file to your computer.  Click the Save button on the top left pane (1).  Name the file as &#8220;init.lua&#8221; (2).  Then click on the Save button on the Save screen (3).</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-save-init-lua.png"><img loading="lazy" decoding="async" width="627" height="767" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-save-init-lua.png" alt="ESPlorer IDE annotated with instructions for saving a Lua script." class="wp-image-6230" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-save-init-lua.png 627w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-save-init-lua-245x300.png 245w" sizes="auto, (max-width: 627px) 100vw, 627px" /></a><figcaption class="wp-element-caption">Figure 18.  ESPlorer IDE Annotated on How to Save a Script</figcaption></figure></div>


<p>After saving the program to your hard disk, the ESPlorer IDE uploaded the file init.lua to your ESP-01 module and ran the program (dofile(&#8220;init.lua&#8221;)).</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-init-lua-done.png"><img loading="lazy" decoding="async" width="742" height="452" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-init-lua-done.png" alt="ESPlorer IDE with the Lua script or program executed successfully." class="wp-image-6232" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-init-lua-done.png 742w, https://cyberblogspot.com/wp-content/uploads/2023/02/esplorer-ide-init-lua-done-300x183.png 300w" sizes="auto, (max-width: 742px) 100vw, 742px" /></a><figcaption class="wp-element-caption">Figure 19.  ESPlorer IDE After Running Script</figcaption></figure></div>


<h3 class="wp-block-heading">Testing the ESP-01 Module Access Point</h3>



<p>Before we proceed to building the smartphone app to control the ESP-01 Wi-Fi relay module, let us first check if we have successfully programmed the ESP-01 module. </p>



<p>Get your smartphone and scan for Wi-Fi devices.  With my Android smartphone, I would go to the &#8220;Settings/Network and Internet/Wi-Fi&#8221; setting.  See Figure 20.  You should see the Wi-Fi SSID &#8220;ESP8266_XXXXXX&#8221; where XXXXXX is the last six digits of your ESP-01 module&#8217;s MAC address.</p>



<p>  </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-wi-fi-list-350.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-wi-fi-list-350.png" alt="Picture of a smartphone showing the nearby Wi-Fi devices." class="wp-image-6234" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-wi-fi-list-350.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-wi-fi-list-350-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 20.  Smartphone Showing Nearby Wi-Fi Devices</figcaption></figure></div>


<p>Connect your smartphone to the ESP-01 access point by entering the password &#8220;12345678&#8221; (Figure 21).</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-password-keyin-350.png"><img loading="lazy" decoding="async" width="350" height="615" src="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-password-keyin-350.png" alt="Screenshot of a smartphone showing how to enter the password in order to connect to the ESP-01 Wi-Fi module." class="wp-image-6236" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-password-keyin-350.png 350w, https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-password-keyin-350-171x300.png 171w" sizes="auto, (max-width: 350px) 100vw, 350px" /></a><figcaption class="wp-element-caption">Figure 21.  Smartphone with Password Entry</figcaption></figure></div>


<p>Figure 22 below shows the smartphone connected to the ESP-01 module&#8217;s access point.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-connected-350.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-connected-350.png" alt="Smartphone showing a successful connection with the ESP-01 module access point." class="wp-image-6235" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-connected-350.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-connected-350-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 22.  Smartphone Connected to the ESP-01 Module</figcaption></figure></div>


<p>Click on the gear icon to display the network details.  Your smartphone will be assigned an IP address of 192.168.1.2.  The gateway is the IP address of the ESP-01 access point.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-network-properties-350-final.png"><img loading="lazy" decoding="async" width="352" height="615" src="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-network-properties-350-final.png" alt="Smartphone showing the network details of the connection with the ESP-01 access point." class="wp-image-6239" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-network-properties-350-final.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/02/android-smartphone-esp8266-network-properties-350-final-172x300.png 172w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 23.  Smartphone Showing Network Details</figcaption></figure></div>


<p>Now we are ready to create the smartphone app to control the ESP-01 Wi-Fi relay module.</p>



<h2 class="wp-block-heading">How to Create the Smartphone App to Control the ESP-01 Wi-Fi Relay Module</h2>



<p>We are going to use the MIT App Inventor 2 to create a smartphone app to control the ESP-01 Wi-Fi relay module.  First, we need to download the MIT App Inventor 2 Companion App to our smartphones.  We will need it to facilitate installing the created controller app to our smartphones.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/mit-app-inventor-companion-2-350.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/01/mit-app-inventor-companion-2-350.png" alt="Screenshot of MIT App Inventor 2 Companion App to be used for downloading the completed ESP8266 Controller smartphone app for controlling the ESP-01 Wi-Fi relay module remotely." class="wp-image-6021" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/mit-app-inventor-companion-2-350.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/01/mit-app-inventor-companion-2-350-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 24.  MIT App Inventor 2 Companion App</figcaption></figure></div>


<p>Next, download the source code from Github &#8211; <a href="https://github.com/cyberblogspot/esp8266controller/archive/refs/heads/main.zip" target="_blank" rel="noreferrer noopener">ESP8266 Controller.</a>  Extract the file <strong>ESP8266_Controller.aia</strong>.</p>



<p>Go to <a href="https://appinventor.mit.edu/" target="_blank" rel="noreferrer noopener">MIT App Inventor</a> website and click on the Create Apps! button.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-website.png"><img loading="lazy" decoding="async" width="802" height="524" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-website.png" alt="Screenshot of the MIT App Inventor website to be used for programming the ESP-01 Wi-Fi module." class="wp-image-6244" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-website.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-website-300x196.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-website-768x502.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 25.  The MIT App Inventor Website</figcaption></figure></div>


<p>Import the project <strong>ESP8266_Controller.aia</strong> (the file downloaded from Github).</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-800x425-1.png"><img loading="lazy" decoding="async" width="802" height="427" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-800x425-1.png" alt="MIT App Inventor 2 screen showing how to import a project file." class="wp-image-6245" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-800x425-1.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-800x425-1-300x160.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-800x425-1-768x409.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 26.  MIT App Inventor Project Import</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-filename.png"><img loading="lazy" decoding="async" width="802" height="427" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-filename.png" alt="MIT App Inventor screen showing how to export the project file ESP8266_controller.aia." class="wp-image-6246" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-filename.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-filename-300x160.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-import-filename-768x409.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 27.  MIT App Inventor with Import Project Screen</figcaption></figure></div>


<p> The ESP8266 controller app designers view.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-800-finally-jpg.webp"><img loading="lazy" decoding="async" width="802" height="495" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-800-finally-jpg.webp" alt="Picture of the MIT App Inventor showing the designer screen for the ESP8266 Controller app to be use for controlling the ESP-01 Wi-Fi relay module." class="wp-image-6251" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-800-finally-jpg.webp 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-800-finally-300x185.webp 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-800-finally-768x474.webp 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 28.  MIT App Inventor with the Imported ESP8266 Controller Project</figcaption></figure></div>


<p>If you want to modify how the program works, go to the Blocks view.</p>



<figure class="wp-block-image size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-blocks-view-jpg.webp"><img loading="lazy" decoding="async" width="800" height="570" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-blocks-view-jpg.webp" alt="Screenshot of the MIT App Inventor in Blocks mode showing the ESP8266 Controller's program blocks." class="wp-image-6252" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-blocks-view-jpg.webp 800w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-blocks-view-300x214.webp 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-loaded-project-blocks-view-768x547.webp 768w" sizes="auto, (max-width: 800px) 100vw, 800px" /></a><figcaption class="wp-element-caption">Figure 29.  MIT App Inventor Showing the Blocks Screen</figcaption></figure>



<p>Compile and build the app by clicking the Build/Android App(apk) item on the menu.  Refer to Figure 30 below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app.png"><img loading="lazy" decoding="async" width="802" height="427" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app.png" alt="MIT App Inventor screengrab showing how to build the ESP8266 Controller app for the ESP-01 Wi-Fi relay module." class="wp-image-6253" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-300x160.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-768x409.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 30.  MIT App Inventor Showing How to Start the Build Operation</figcaption></figure></div>


<p>After a successful build, a bar code will appear on your computer&#8217;s screen (see Figure 31).  Scan the bar code with your smartphone using the MIT App Inventor Companion app.  Follow the instructions on your smartphone to install the ESP8266 Controller app.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-bar-code.png"><img loading="lazy" decoding="async" width="802" height="552" src="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-bar-code.png" alt="Picture of MIT App Inventor screen display showing the bar code for downloading the ESP8266 Controller smartphone app for the ESP-01 Wi-Fi relay module." class="wp-image-6254" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-bar-code.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-bar-code-300x206.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/mit-app-inventor-build-android-app-bar-code-768x529.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 31.  MIT App Inventor with the Bar Code</figcaption></figure></div>


<h3 class="wp-block-heading">How to Use the ESP8266 Controller App to Control the ESP-01 Wi-Fi Relay Module</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp8266controller-350.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp8266controller-350.png" alt="Screenshot of the completed ESP8266 Controller smartphone app ready for use with the ESP-01 Wi-Fi relay module." class="wp-image-6256" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp8266controller-350.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp8266controller-350-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 32.  ESP8266 Controller App</figcaption></figure></div>


<p>Remove the ESP-01 module from the programmer module and insert it into the ESP-01 Wi-Fi relay module.  Provide power to the relay module.  Next, connect the smartphone to the ESP-01 access point as discussed above on testing the ESP-01 module access point.  Then, open the ESP8266 Controller app and set the IP address to &#8220;192.168.1.1&#8221;.     </p>



<p>You may now enjoy playing around with your new smart switch ESP-01 Wi-Fi relay module using the ESP8266 Controller smartphone app.</p>



<h2 class="wp-block-heading">Related Articles on How to Use ESP-01 Wi-Fi Relay Module</h2>



<p><a href="https://cyberblogspot.com/how-to-program-esp-01-with-arduino-ide/" target="_blank" rel="noreferrer noopener">How to Program ESP-01 with Arduino IDE</a><br><a href="https://cyberblogspot.com/how-to-set-up-arduino-ide-for-esp8266-programming/" target="_blank" rel="noreferrer noopener">How to Set up Arduino IDE for ESP8266 Programming</a>                                          <br><a href="https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/" target="_blank" rel="noreferrer noopener">How to Test an ESP-01 ESP8266 Module</a><br><a href="https://cyberblogspot.com/how-to-control-esp-01-thru-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 thru a Router</a><br><a href="https://cyberblogspot.com/how-to-control-esp-01-without-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 Without a Router</a><br><a href="https://cyberblogspot.com/esp-01-with-rtc-and-lcd-display/" target="_blank" rel="noreferrer noopener">ESP-01 with RTC and LCD Display</a><br><a href="https://cyberblogspot.com/how-to-save-and-restore-esp8266-and-esp32-firmware/" target="_blank" rel="noreferrer noopener">How to Save and Restore ESP8266 and ESP32 Firmware</a><br><a href="https://cyberblogspot.com/nodemcu-v3-esp8266-pinout-and-configuration/" target="_blank" rel="noreferrer noopener">NodeMCU V3 ESP8266 Pinout and Configuration</a><br><a href="https://cyberblogspot.com/how-to-test-a-nodemcu-v3-esp8266-dev-board/" target="_blank" rel="noreferrer noopener">How to Test a NodeMCU V3 ESP8266 Dev Board</a><br><a href="https://cyberblogspot.com/how-to-use-at-09-ble-with-arduino-and-smartphone-2/" target="_blank" rel="noreferrer noopener">How to Use AT-09 BLE with Arduino and Smartphone</a></p>



<h2 class="wp-block-heading">References on How to Use ESP-01 Wi-Fi Relay Module</h2>



<p><a href="https://en.wikipedia.org/wiki/ESP8266" target="_blank" rel="noreferrer noopener">ESP8266 on Wikipedia</a><br><a href="https://shopee.ph/ESP8266-5V-WiFi-Relay-Module-DS18B20-DHT11-RGB-LED-Controller-IoT-Smart-Home-Remote-Control-ESP-01-i.226548939.4418214828?sp_atk=93a14c50-5044-48f4-8b47-f30b230f9f15&amp;xptdk=93a14c50-5044-48f4-8b47-f30b230f9f15" target="_blank" rel="noreferrer noopener">ESP-01 Wi-Fi Relay Module on Shopee</a><br></p>
<p>The post <a href="https://cyberblogspot.com/how-to-use-esp-01-wi-fi-relay-module/">How to Use ESP-01 Wi-Fi Relay Module</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cyberblogspot.com/how-to-use-esp-01-wi-fi-relay-module/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ESP-01 and ESP-01S Pinout and Configuration</title>
		<link>https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/</link>
					<comments>https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 06 Feb 2023 19:59:12 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Arduino Board ESP-01 Programmer]]></category>
		<category><![CDATA[DIY ESP-01 Programmer]]></category>
		<category><![CDATA[ESP-01]]></category>
		<category><![CDATA[ESP-01 Adapter]]></category>
		<category><![CDATA[ESP-01 ESP8266]]></category>
		<category><![CDATA[ESP-01 Pinout]]></category>
		<category><![CDATA[ESP-01 Programmer]]></category>
		<category><![CDATA[ESP-01 Specification]]></category>
		<category><![CDATA[ESP-01 USB-to-serial converter programmer]]></category>
		<category><![CDATA[ESP-01S]]></category>
		<category><![CDATA[ESP-01S Pinout]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[Pinout]]></category>
		<category><![CDATA[Specification]]></category>
		<category><![CDATA[USB-to-Serial Converter]]></category>
		<guid isPermaLink="false">https://cyberblogspot.com/?p=4635</guid>

					<description><![CDATA[<p>ESP-01 and its latest version ESP-01S are popular microcontrollers with Wi-Fi networking capabilities. They are part of the ESP8266 family of microcontrollers manufactured by Espressif Systems. In this article, we will learn the ESP-01 and ESP-01S pinout and configuration in actual applications. ESP-01 Wi-Fi Module Specifications Power Supply:Voltage 3.0V ~ 3.6VCurrent &#62;300mA Current Consumption: Continuous&#8230;&#160;<a href="https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/" rel="bookmark">Read More &#187;<span class="screen-reader-text">ESP-01 and ESP-01S Pinout and Configuration</span></a></p>
<p>The post <a href="https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/">ESP-01 and ESP-01S Pinout and Configuration</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1.png"><img loading="lazy" decoding="async" width="502" height="302" src="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1.png" alt="A picture of an ESP-01 module showing the pinout." class="wp-image-4638" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1.png 502w, https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1-300x180.png 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a><figcaption class="wp-element-caption">Figure 1.  ESP-01 ESP8266 Microcontroller Board Pinout</figcaption></figure></div>


<p>ESP-01 and its latest version ESP-01S are popular microcontrollers with Wi-Fi networking capabilities.  They are part of the ESP8266 family of microcontrollers manufactured by Espressif Systems.  In this article, we will learn the ESP-01 and ESP-01S pinout and configuration in actual applications.</p>



<h2 class="wp-block-heading">ESP-01 Wi-Fi Module Specifications</h2>



<p><strong>Power Supply:</strong><br>Voltage 3.0V ~ 3.6V<br>Current &gt;300mA</p>



<p><strong>Current Consumption: </strong><br>Continuous Transmission: Average: ~ 71mA, Peak: 300mA<br>Modem Sleep: ~20mA<br>Light Sleep: ~2mA<br>Deep Sleep: ~0.02mA</p>



<p><strong>SPI Flash Memory:</strong><br>Default 8Mbit (1MB)</p>



<p><strong>Interface:</strong><br>UART/GPIO</p>



<p><strong>IO Port:</strong><br>2</p>



<p><strong>UART Baud Rate:</strong><br>Support 300 ~ 4608000 bps<br>Default 115200 bps</p>



<p><strong>Frequency Range:</strong><br>2412 ~ 2484MHz</p>



<p><strong>Transmit Power:</strong><br>802.11b: 16±2 dBm (@11Mbps)<br>802.11g: 14±2 dBm (@54Mbps)<br>802.11n: 13±2 dBm (@HT20, MCS7)</p>



<p><strong>Receiving Sensitivity:</strong><br>CCK, 1 Mbps : -90dBm<br>CCK, 11 Mbps: -85dBm<br>6 Mbps (1/2 BPSK): -88dBm<br>54 Mbps (3/4 64-QAM): -70dBm<br>HT20, MCS7 (65 Mbps, 72.2 Mbps): -67dBm</p>



<p>For a complete specifications, you may refer to the <a href="http://esp-01_product_specification_en.pdf" target="_blank" rel="noreferrer noopener">ESP-01 Product Specification PDF</a>.</p>



<h2 class="wp-block-heading">ESP-01 and ESP-01S Pinout  </h2>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="has-text-align-center">Have you just bought a new ESP-01 Wi-Fi module?  Take a look at<br><a href="https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/" target="_blank" rel="noreferrer noopener">How to Test an ESP-01 ESP8266 Module</a></p>



<p class="has-text-align-center"><br>Learn how to differentiate between ESP-01 and ESP-01S Wi-Fi modules, see:<br><a href="https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/" target="_blank" rel="noreferrer noopener">Difference Between ESP-01 and ESP-01S</a></p>
</blockquote>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1.png"><img loading="lazy" decoding="async" width="502" height="302" src="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1.png" alt="" class="wp-image-4638" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1.png 502w, https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-1-300x180.png 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a><figcaption class="wp-element-caption">Figure 2.  ESP-01 Module Pinout A</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-b.png"><img loading="lazy" decoding="async" width="502" height="302" src="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-b.png" alt="Pinout of ESP-01 and ESP-01S with the male header pins on the right." class="wp-image-4640" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-b.png 502w, https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-b-300x180.png 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a><figcaption class="wp-element-caption">Figure 3.  ESP-01 Module Pinout B</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-c.png"><img loading="lazy" decoding="async" width="402" height="526" src="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-c.png" alt="Picture showing the pinout of ESP-01 and ESP-01S with the board oriented so that the header pins are at the bottom." class="wp-image-4644" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-c.png 402w, https://cyberblogspot.com/wp-content/uploads/2021/04/esp-01-pinout-c-229x300.png 229w" sizes="auto, (max-width: 402px) 100vw, 402px" /></a><figcaption class="wp-element-caption">Figure 4.  ESP-01 Module Pinout C</figcaption></figure></div>


<h2 class="wp-block-heading">ESP-01 Pin Descriptions</h2>



<p><strong>TX </strong>&#8211; UART0 data send (transmit) pin, also known as <strong>GPIO1</strong>.<br><strong>RX</strong> &#8211; UART0 data receive pin, also known as <strong>GPIO3</strong>.<br><strong>CH_PD</strong> &#8211; Chip Power Down (also known as <strong>CH_EN</strong> or Chip Enable) &#8211; Chip enable pin, active high <br><strong>RST</strong> &#8211; External reset pin, active low<br><strong>GPIO2</strong> &#8211; General Purpose Input / Output<br><strong>GPIO0</strong> &#8211; General Purpose Input / Output<br><strong>VCC</strong> &#8211; +3.3 Volts Supply Positive <br><strong>GND</strong> &#8211; Ground &#8211; Supply negative</p>



<h2 class="wp-block-heading">ESP-01 Module Breadboarding and Adapters</h2>



<p>When breadboarding, you can not insert the ESP-01 module as it is.  A few years ago, you do all sort of tricks to breadboard an ESP-01 module, from bending the header pins to making your own DIY adapter.  Luckily, now you can buy a cheap breadboard adapter for the ESP-01 module.  See Figure 5.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-breadboard-adapter-jpg.webp"><img loading="lazy" decoding="async" width="402" height="342" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-breadboard-adapter-jpg.webp" alt="A picture of an ESP-01 and ESP-01S adapter module with an ESP-01 board inserted into it." class="wp-image-6140" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-breadboard-adapter-jpg.webp 402w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-breadboard-adapter-300x255.webp 300w" sizes="auto, (max-width: 402px) 100vw, 402px" /></a><figcaption class="wp-element-caption">Figure 5.  Breadboard Adapter for ESP-01 Module</figcaption></figure></div>


<p>If you will be connecting the ESP-01 board to an Arduino board, you must remember two (2) things:</p>



<ul class="wp-block-list">
<li>Do not supply the ESP-01 module with the 3.3V output from the Arduino board &#8211; the ESP-01 module, as per specification above, may require up to 300mA of current.  The 3.3V regulator on the Arduino board may overheat and may become damaged. </li>



<li>Provide logic level translation between the ESP-01 and the Arduino board &#8211; the Arduino board uses 5V logic while the ESP-01 module uses 3.3V logic. </li>
</ul>



<p>A good ESP-01 adapter that can satisfy the requirements for interfacing with Arduino boards is shown in Figure 6.  It has a built-in 3.3V regulator and two (2) bi-directional logic level converters for the RX and TX pins.  The schematic diagram for the adapter is shown in Figure 7.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-with-voltage-regulator-and-logic-translator-400-jpg.webp"><img loading="lazy" decoding="async" width="402" height="334" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-with-voltage-regulator-and-logic-translator-400-jpg.webp" alt="Picture of another ESP-01 and ESP-01S adapter that is complete with a 3.3V voltage regulator and bi-directional logic level converters." class="wp-image-6142" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-with-voltage-regulator-and-logic-translator-400-jpg.webp 402w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-with-voltage-regulator-and-logic-translator-400-300x249.webp 300w" sizes="auto, (max-width: 402px) 100vw, 402px" /></a><figcaption class="wp-element-caption">Figure 6.  ESP-01 Adapter with Voltage Regulator and Logic Translator</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-schematic-diagram-676-jpg.webp"><img loading="lazy" decoding="async" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-schematic-diagram-676-jpg.webp" alt="Schematic diagram of the ESP-01 and ESP-01S Wi-Fi modules adapter shown in Figure 6. " class="wp-image-6144" width="507" height="346" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-schematic-diagram-676-jpg.webp 676w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-adapter-schematic-diagram-676-300x205.webp 300w" sizes="auto, (max-width: 507px) 100vw, 507px" /></a><figcaption class="wp-element-caption">Figure 7.  Schematic Diagram of ESP-01 Adapter</figcaption></figure></div>


<h2 class="wp-block-heading">ESP-01 Programmers</h2>



<p><strong>ESP-01 USB-to-Serial Converter Programmer Module </strong></p>



<p>Unlike the other ESP8266 boards, ESP-01 boards need a programmer to be uploaded with programs or sketches from the Arduino IDE.  An inexpensive programmer is shown below in Figure 8.  The programmer uses a Silabs 2104 serial to USB converter chip.  With this programmer, you just plug it into your computer&#8217;s USB port, select the proper COM port and start uploading sketches.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher.jpg"><img loading="lazy" decoding="async" width="502" height="370" src="https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher.jpg" alt="A USB-to-serial converter programmer for the ESP-01 and ESP-01S modules." class="wp-image-4714" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher.jpg 502w, https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher-300x221.jpg 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a><figcaption class="wp-element-caption">Figure 8.  ESP-01 Programmer or Flasher</figcaption></figure></div>


<p><strong>DIY USB-to-Serial Converter Programmer</strong></p>



<p>If you do not have a programmer module but you have an available USB-to-serial converter, you can wire it up as an ESP-01 programmer.  The schematic diagram of a DIY programmer is shown in Figure 9.  With this programmer, you need to put the ESP-01 module into programming mode before uploading a sketch.  This is done by holding down the Flash switch, pressing and releasing the Reset switch, and then releasing the Flash switch.   </p>



<figure class="wp-block-image size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-flasher-with-cp2102-1K.png"><img loading="lazy" decoding="async" width="1002" height="402" src="https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-flasher-with-cp2102-1K.png" alt="Schematic diagram of a DIY USB-to-serial converter programmer for the ESP-01/ESP-01S." class="wp-image-4694" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-flasher-with-cp2102-1K.png 1002w, https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-flasher-with-cp2102-1K-300x120.png 300w, https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-flasher-with-cp2102-1K-768x308.png 768w" sizes="auto, (max-width: 1002px) 100vw, 1002px" /></a><figcaption class="wp-element-caption">Figure 9.  DIY USB-to-Serial Converter Programmer</figcaption></figure>



<p>Shown below in Figures 10, 11, and 12 is my DIY ESP-01 programmer.  The USB-to-serial converter connects to the programmer board via the 4-pin male header on the board.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/DIY-esp-01-flasher-500-rotated-e1619233048704.jpg"><img loading="lazy" decoding="async" width="500" height="412" src="https://cyberblogspot.com/wp-content/uploads/2021/04/DIY-esp-01-flasher-500-rotated-e1619233048704.jpg" alt="Picture of an assembled DIY programmer for the ESP-01 ESP8266 Wi-Fi modules." class="wp-image-4711" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/DIY-esp-01-flasher-500-rotated-e1619233048704.jpg 500w, https://cyberblogspot.com/wp-content/uploads/2021/04/DIY-esp-01-flasher-500-rotated-e1619233048704-300x247.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><figcaption class="wp-element-caption">Figure 10.  My DIY ESP-01 Programmer </figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/flasher-with-esp01-500-1.jpg"><img loading="lazy" decoding="async" width="500" height="356" src="https://cyberblogspot.com/wp-content/uploads/2021/04/flasher-with-esp01-500-1.jpg" alt="Picture of a DIY USB-to-serial converter programmer with an ESP-01 module inserted on the female header." class="wp-image-4708" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/flasher-with-esp01-500-1.jpg 500w, https://cyberblogspot.com/wp-content/uploads/2021/04/flasher-with-esp01-500-1-300x214.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><figcaption class="wp-element-caption">Figure 11.  My DIY ESP-01 Programmer with an ESP-01 Module</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/cp2102-usb-serial-converter.jpg"><img loading="lazy" decoding="async" width="502" height="471" src="https://cyberblogspot.com/wp-content/uploads/2021/04/cp2102-usb-serial-converter.jpg" alt="Picture of an USB-to-serial converter for use with ESP-01 DIY programmer." class="wp-image-4657" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/cp2102-usb-serial-converter.jpg 502w, https://cyberblogspot.com/wp-content/uploads/2021/04/cp2102-usb-serial-converter-300x281.jpg 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a><figcaption class="wp-element-caption">Figure 12.  USB-to-serial Converter</figcaption></figure></div>


<p><strong>Arduino Board as ESP-01 Programmer</strong><br>Another option for an ESP-01 programmer is to use an Arduino board.  You may use any available Arduino board such as Arduino Uno, Arduino Nano, etc.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/arduino-uno-as-esp-01-programmer.png"><img loading="lazy" decoding="async" width="1024" height="366" src="https://cyberblogspot.com/wp-content/uploads/2023/02/arduino-uno-as-esp-01-programmer-1024x366.png" alt="Schematic diagram of Arduino Uno used as an ESP-01 programmer that includes the pinout of both the ESP-01 and the Arduino Uno board." class="wp-image-6147" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/arduino-uno-as-esp-01-programmer-1024x366.png 1024w, https://cyberblogspot.com/wp-content/uploads/2023/02/arduino-uno-as-esp-01-programmer-300x107.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/arduino-uno-as-esp-01-programmer-768x275.png 768w, https://cyberblogspot.com/wp-content/uploads/2023/02/arduino-uno-as-esp-01-programmer.png 1202w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Figure 13.  Schematic Diagram of Arduino Uno as ESP-01 Programmer</figcaption></figure></div>


<p>The idea here is to use the Arduino board&#8217;s built-in USB-to-serial converter.  The schematic diagram in Figure 13 is the same as the DIY ESP-01 programmer in Figure 9, but the USB-to-serial converter was replaced with an Arduino Uno.  </p>



<p>As previously discussed above, the 3.3V output from the Arduino board should not be used.  Instead, a 3.3V voltage regulator was provided for the ESP-01 module.  Also, a logic level converter was used consisting of a 2.2K resistor in series with a 3.3K resistor acting as a voltage divider.  This protects the RX pin of the ESP-01 module from being exposed to a 5V signal from the Arduino board.  Note that the TX pin of the ESP-01 module was connected directly to the TX pin of the Arduino board.  We can do away with the logic level converter because the TX pin is acting as an output (outgoing signal).</p>



<p>You may have noticed that the TX and RX pins of the Arduino board are connected to the corresponding TX and RX pins of the ESP-01 module.  But in the DIY programmer in Figure 9, the TX and RX terminals are cross-wired.  That is, the TX pin of the USB-to-serial converter is connected to the RX pin of the ESP-01 module  and ,vice versa, the RX pin of the USB-to-serial converter is connected to the TX pin of the ESP-01 module.</p>



<p>If you want to find out why the Arduino board&#8217;s RX and TX pins are wired straight thru and not crossed over with the ESP-01 board, consult an Arduino board schematic and look at how the MCU chip and the USB-to-serial converter chip are wired.  I am leaving this one as an exercise for the reader.  </p>



<h2 class="wp-block-heading">Related Articles on ESP-01 and ESP-01S Pinout and Configuration</h2>



<p><a href="https://cyberblogspot.com/how-to-program-esp-01-with-arduino-ide/" target="_blank" rel="noreferrer noopener">How to Program ESP-01 with Arduino IDE</a><br><a href="https://cyberblogspot.com/how-to-set-up-arduino-ide-for-esp8266-programming/" target="_blank" rel="noreferrer noopener">How to Set up Arduino IDE for ESP8266 Programming</a>                                          <br><a href="https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/" target="_blank" rel="noreferrer noopener">How to Test an ESP-01 ESP8266 Module</a><br><a href="https://cyberblogspot.com/how-to-control-esp-01-thru-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 thru a Router</a><br><a href="https://cyberblogspot.com/how-to-control-esp-01-without-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 Without a Router</a><br><a href="https://cyberblogspot.com/esp-01-with-rtc-and-lcd-display/" target="_blank" rel="noreferrer noopener">ESP-01 with RTC and LCD Display</a><br><a href="https://cyberblogspot.com/how-to-save-and-restore-esp8266-and-esp32-firmware/" target="_blank" rel="noreferrer noopener">How to Save and Restore ESP8266 and ESP32 Firmware</a><br><a href="https://cyberblogspot.com/nodemcu-v3-esp8266-pinout-and-configuration/" target="_blank" rel="noreferrer noopener">NodeMCU V3 ESP8266 Pinout and Configuration</a><br><a href="https://cyberblogspot.com/how-to-test-a-nodemcu-v3-esp8266-dev-board/" target="_blank" rel="noreferrer noopener">How to Test a NodeMCU V3 ESP8266 Dev Board</a><br><a href="https://cyberblogspot.com/how-to-use-at-09-ble-with-arduino-and-smartphone/" target="_blank" rel="noreferrer noopener">How to Use AT-09 BLE with Arduino and Smartphone</a></p>



<h2 class="wp-block-heading">References on ESP-01 and ESP-01S Pinout and Configuration</h2>



<p><a href="https://docs.ai-thinker.com/_media/esp8266/docs/esp-01_product_specification_en.pdf" target="_blank" rel="noreferrer noopener">ESP-01 Specification</a><br><a href="https://www.microchip.ua/wireless/esp01.pdf" target="_blank" rel="noreferrer noopener">ESP-01 Datasheet</a> </p>
<p>The post <a href="https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/">ESP-01 and ESP-01S Pinout and Configuration</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cyberblogspot.com/esp-01-and-esp-01s-pinout-and-configuration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Test an ESP-01 ESP8266 Module</title>
		<link>https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/</link>
					<comments>https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 01 Feb 2023 19:31:54 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Arduino IDE]]></category>
		<category><![CDATA[AT Command]]></category>
		<category><![CDATA[AT Firmware]]></category>
		<category><![CDATA[ESP-01]]></category>
		<category><![CDATA[ESP-01 ESP8266]]></category>
		<category><![CDATA[ESP-01 Flasher]]></category>
		<category><![CDATA[ESP-01 Programmer]]></category>
		<category><![CDATA[ESP-01S]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[Schematic Diagram]]></category>
		<category><![CDATA[Serial Monitor]]></category>
		<category><![CDATA[Smartphone]]></category>
		<category><![CDATA[Wi-Fi]]></category>
		<guid isPermaLink="false">https://cyberblogspot.com/?p=4652</guid>

					<description><![CDATA[<p>When you buy a new ESP-01 ESP8266 module, the very first thing to do is to test it. That is, you need to make sure that you have a good and working ESP-01 module. We will take a look at the different methods of testing the ESP-01 ESP8266 Wi-Fi module. Differences Between ESP-01 and ESP-01S&#8230;&#160;<a href="https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/" rel="bookmark">Read More &#187;<span class="screen-reader-text">How to Test an ESP-01 ESP8266 Module</span></a></p>
<p>The post <a href="https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/">How to Test an ESP-01 ESP8266 Module</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-with-border.jpg"><img loading="lazy" decoding="async" width="602" height="602" src="https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-with-border.jpg" alt="A picture of an ESP-01 ESP8266 module that is ready for testing" class="wp-image-4647" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-with-border.jpg 602w, https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-with-border-300x300.jpg 300w, https://cyberblogspot.com/wp-content/uploads/2021/04/ESP-01-with-border-150x150.jpg 150w" sizes="auto, (max-width: 602px) 100vw, 602px" /></a><figcaption class="wp-element-caption">Figure 1.  ESP-01 ESP8266 Module</figcaption></figure></div>


<p>When you buy a new ESP-01 ESP8266 module, the very first thing to do is to test it.  That is, you need to make sure that you have a good and working ESP-01 module.  We will take a look at the different methods of testing the ESP-01 ESP8266 Wi-Fi module.  </p>



<h2 class="wp-block-heading">Differences Between ESP-01 and ESP-01S ESP8266 Module</h2>



<p>Before we proceed, be aware that there are two (2) versions of ESP-01 modules.  The older ESP-01 module and the newer ESP-01S module.  Both modules are functionally the same.  However, there are two points worth mentioning here.  </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-vs-esp-01s-side-by-side-jpg.webp"><img loading="lazy" decoding="async" width="802" height="602" src="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-vs-esp-01s-side-by-side-jpg.webp" alt="Picture showing the differences between an ESP-01 and ESP-01S ESP8266 modules prior to testing" class="wp-image-6077" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-vs-esp-01s-side-by-side-jpg.webp 802w, https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-vs-esp-01s-side-by-side-300x225.webp 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-vs-esp-01s-side-by-side-768x576.webp 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 2.  ESP-01 Module and ESP-01S Module Comparison </figcaption></figure></div>


<p>First, the ESP-01 has two (2) LEDs, a red LED power indicator and a blue LED that indicates serial activity.  On the other hand, the newer ESP-01S has only one (1) LED, the blue LED light (see Figure 2 above).  Moreover, the blue LED serial activity indicator light is wired differently on each module.  That is, on an ESP-01 module, it is connected on the TX pin (GPIO1) while on the ESP-01S module, it is connected on the GPIO2 pin.  And as a side note, pins GPIO0 and GPIO1 are both serial TX capable pins (refer to the ESP-01S schematic diagram at the end of this article).   </p>



<p>Second, the ESP-01S module has three (3) additional on-board resistors used as pull-up resistors.  These pull-up resistors are 12K-ohm resistors each connected on the GPIO0, the RESET, and the CH_PD pins.  You may also want to refer again to the ESP-01S schematic diagram included at the end of this article.      </p>



<h2 class="wp-block-heading">Quick and Dirty Test</h2>



<p>The ESP-01 module is shipped with a program called AT firmware.  The firmware will let you send AT commands to configure and program the module.  More important, the module is configured as a Wi-Fi Access Point (AP) when shipped.  Therefore, a quick and dirty test is to power the ESP-01 module and use a smartphone to connect to the Access Point.</p>



<p>Power up the ESP-01 module as shown in Figure 3.  Notice that we need to connect the ESP-01 module to a 3.3V power supply.  Do not connect the ESP-01 module to the 3.3V output of an Arduino board.  Provide a separate 3.3V power supply with sufficient current capacity.  Also, note that a 10K ohms resistor is connected from the CH_PD pin to the VCC or the 3.3V supply.  The CH_PD (Chip Power Down / Enable Pin) pin has to be pulled up to the VCC for the module to function.  If you have the ESP-01S module, you do not need to connect a 10K ohm resistor on the CH_PD pin.  As per discussion above on the differences between the ESP-01 and the ESP-01S modules, the ESP-01S already has a 12K-ohm pull-up resistor on the CH_PD pin.       </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-with-power-supply.png"><img loading="lazy" decoding="async" width="602" height="377" src="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-with-power-supply.png" alt="A picture depicting how to supply power to the ESP-01 ESP8266 Wi-Fi module in order to do a quick test" class="wp-image-6078" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-with-power-supply.png 602w, https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01-with-power-supply-300x188.png 300w" sizes="auto, (max-width: 602px) 100vw, 602px" /></a><figcaption class="wp-element-caption">Figure 3.  ESP-01 8266 Module with Power Supply</figcaption></figure></div>


<p>After powering up, you should see the ESP-01 access point when you scan for Wi-Fi devices.  The default SSID of the ESP-01 module I am using is ESP_7B0F95.  See Figure 4.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-scan.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-scan.png" alt="Screenshot of a smartphone Wi-Fi settings showing the SSID of nearby Wi-Fi devices." class="wp-image-6082" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-scan.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-scan-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 4.  Smartphone Wi-Fi Scan</figcaption></figure></div>


<p>Connect to the ESP-01 Access Point.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-connected-350-final.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-connected-350-final.png" alt="Screenshot of an Android smartphone Wi-Fi settings showing the module as connected to the smartphone." class="wp-image-6084" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-connected-350-final.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-connected-350-final-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 5.  Smartphone Wi-Fi Connected to ESP-01 Access Point</figcaption></figure></div>


<p>Click on the Settings icon (gear icon) and see the network details of the ESP-01 module Access Point.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-esp-01-access-point-properties.png"><img loading="lazy" decoding="async" width="352" height="624" src="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-esp-01-access-point-properties.png" alt="Screenshot of a smartphone Wi-Fi settings showing the network characteristics of the ESP-01 ESP8266 module acting as an access point." class="wp-image-6085" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-esp-01-access-point-properties.png 352w, https://cyberblogspot.com/wp-content/uploads/2023/01/smartphone-wi-fi-esp-01-access-point-properties-169x300.png 169w" sizes="auto, (max-width: 352px) 100vw, 352px" /></a><figcaption class="wp-element-caption">Figure 6.  The ESP-01 Access Point Network Properties</figcaption></figure></div>


<h2 class="wp-block-heading">AT Command Test</h2>



<p>For the next test, you need an ESP-01 programmer or flasher.  An inexpensive programmer/flasher is shown below in Figures 7.  In Figure 8, the ESP-01 module is shown inserted into the programmer/flasher.  If you do not have a programmer/flasher, it is possible to use an Arduino board as a programmer/flasher.  Also, if you have a USB-to-serial(TTL) converter, you could wire it up as an ESP-01 programmer/flasher.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher.jpg"><img loading="lazy" decoding="async" width="502" height="370" src="https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher.jpg" alt="Picture of an inexpensive ESP-01 ESP8266 programmer/flasher for testing the ESP-01 module." class="wp-image-4714" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher.jpg 502w, https://cyberblogspot.com/wp-content/uploads/2021/04/New-ESP-01-Flasher-300x221.jpg 300w" sizes="auto, (max-width: 502px) 100vw, 502px" /></a><figcaption class="wp-element-caption">Figure 7.  An ESP-01 Programmer/Flasher</figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2021/04/new-esp-01-flasher-wth-module-500.jpg"><img loading="lazy" decoding="async" width="500" height="379" src="https://cyberblogspot.com/wp-content/uploads/2021/04/new-esp-01-flasher-wth-module-500.jpg" alt="Picture showing the ESP-01 ESP8266 module inserted on an ESP-01 programmer/flasher." class="wp-image-4715" srcset="https://cyberblogspot.com/wp-content/uploads/2021/04/new-esp-01-flasher-wth-module-500.jpg 500w, https://cyberblogspot.com/wp-content/uploads/2021/04/new-esp-01-flasher-wth-module-500-300x227.jpg 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></a><figcaption class="wp-element-caption">Figure 8.  ESP-01 Module on a Programmer/Flasher</figcaption></figure></div>


<p>Insert the ESP-01 module to the programmer as shown in Figure 8 and plug the programmer to the computer.  If it is your first time to use your programmer/flasher, you may have to install its device driver.  Open the Arduino IDE and set the appropriate COM port for your programmer (Figure 9).  For the meantime, there is no need to set the Board type.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-port-selection.png"><img loading="lazy" decoding="async" width="602" height="420" src="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-port-selection.png" alt="Picture of the Arduino IDE showing how to select the proper COM port." class="wp-image-6087" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-port-selection.png 602w, https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-port-selection-300x209.png 300w" sizes="auto, (max-width: 602px) 100vw, 602px" /></a><figcaption class="wp-element-caption">Figure 9.  The Arduino IDE Showing How to Select COM port</figcaption></figure></div>


<p>Open the Serial Monitor and change the settings as shown in Figure 10.  The line ending setting must be set to both newline and carriage return, &#8220;Both NL &amp; CR&#8221;.  Additionally, the baud rate setting must be set to &#8220;115200 baud&#8221;.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-settings-1.png"><img loading="lazy" decoding="async" width="603" height="383" src="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-settings-1.png" alt="Screenshot of Arduino IDE serial monitor annotated with the proper line ending setting and baud rate setting." class="wp-image-6088" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-settings-1.png 603w, https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-settings-1-300x191.png 300w" sizes="auto, (max-width: 603px) 100vw, 603px" /></a><figcaption class="wp-element-caption">Figure 10.  The Arduino IDE Serial Monitor Settings</figcaption></figure></div>


<p>Now type &#8220;AT&#8221;, press the return key and the ESP-01 module should reply &#8220;OK&#8221;.</p>



<p>To view the ESP-01 module firmware version, type &#8220;AT+GMR&#8221;.</p>



<p>Type &#8220;AT+CIFSR&#8221; to view the Access Point&#8217;s IP address and network MAC address.  See Figure 11 for the output display.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-with-at-commands.png"><img loading="lazy" decoding="async" width="601" height="381" src="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-with-at-commands.png" alt="Screenshot of the Arduino IDE serial monitor showing the results of testing an ESP-01 8266 module with AT commands." class="wp-image-6089" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-with-at-commands.png 601w, https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-serial-monitor-with-at-commands-300x190.png 300w" sizes="auto, (max-width: 601px) 100vw, 601px" /></a><figcaption class="wp-element-caption">Figure 11.  The Arduino IDE Serial Monitor Showing the Results of AT Commands</figcaption></figure></div>


<p>For a complete guide on the ESP-01 module AT commands, see <a href="https://room-15.github.io/blog/2015/03/26/esp8266-at-command-reference/" target="_blank" rel="noreferrer noopener">ESP8266 &#8211; AT Command Reference</a>.</p>



<h2 class="wp-block-heading">Programming with Arduino IDE</h2>



<p>In the next test, we will upload a modified version of the sample sketch Blink from the Arduino IDE.  The sketch should make the blue LED on the ESP-01 module turn on and off.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="has-text-align-center"><strong>IMPORTANT</strong><br>Uploading an Arduino sketch to the ESP-01 module will erase the AT firmware.  The AT commands will not work anymore after the upload.  If you want to be able to restore the original firmware, please see the article <br><a href="https://cyberblogspot.com/how-to-save-and-restore-esp8266-and-esp32-firmware/" target="_blank" rel="noreferrer noopener">How to Save and Restore ESP8266 and ESP32 Firmware</a>.</p>
</blockquote>



<p>With the ESP-01 module still in the programmer/flasher, open the Arduino IDE and change the Board setting to &#8220;Generic ESP8266 Module&#8221; as shown in Figure 12.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-board-selection-850.png"><img loading="lazy" decoding="async" width="852" height="465" src="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-board-selection-850.png" alt="Screenshot of the Arduino IDE showing how to set the board prior to testing the ESP-01 ESP8266 Wi-Fi module." class="wp-image-6092" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-board-selection-850.png 852w, https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-board-selection-850-300x164.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/arduino-ide-board-selection-850-768x419.png 768w" sizes="auto, (max-width: 852px) 100vw, 852px" /></a><figcaption class="wp-element-caption">Figure 12.  The Arduino IDE Showing How to Set the MCU Board</figcaption></figure></div>


<p>Create a new sketch, copy and paste the blink program shown below.  Upload the sketch to the ESP-01 module.  The blue LED should start blinking after successfully uploading the sketch.</p>



<pre class="EnlighterJSRAW">/*
 * cyberblogspot.com 01Feb2023
 */

#define LED_BUILTIN 1                // GPIO1 for ESP-01, GPIO2 for ESP-01S
                                     // Change to 2 for ESP-01S module
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);   
}

void loop() {
  digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (ESP-01 LED is active low)
  delay(1000);                      
  digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off 
  delay(1000);                     
}</pre>



<h2 class="wp-block-heading">Schematic Diagram of ESP-01S ESP8266 Wi-Fi Module</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large"><a href="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01s-schematic-diagram-jpg.webp"><img loading="lazy" decoding="async" width="1024" height="570" src="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01s-schematic-diagram-1024x570.webp" alt="Schematic diagram of ESP-01S ESP8266 Wi-Fi module that can be used for reference purposes especially when testing the module" class="wp-image-6079" srcset="https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01s-schematic-diagram-1024x570.webp 1024w, https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01s-schematic-diagram-300x167.webp 300w, https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01s-schematic-diagram-768x427.webp 768w, https://cyberblogspot.com/wp-content/uploads/2023/01/esp-01s-schematic-diagram-jpg.webp 1082w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Figure 13. ESP-01S Wi-Fi Module Schematic Diagram</figcaption></figure></div>


<h2 class="wp-block-heading">Related Articles on How to Test an ESP-01 ESP8266 Module</h2>



<p><a href="https://cyberblogspot.com/how-to-set-up-arduino-ide-for-esp8266-programming/" target="_blank" rel="noreferrer noopener">How to Set up Arduino IDE for ESP8266 Programming</a><br><a href="https://cyberblogspot.com/how-to-program-esp-01-with-arduino-ide/" target="_blank" rel="noreferrer noopener">How to Program ESP-01 with Arduino IDE</a>                                       <br><a href="https://cyberblogspot.com/how-to-control-esp-01-thru-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 thru a Router</a><br><a href="https://cyberblogspot.com/how-to-control-esp-01-without-a-router/" target="_blank" rel="noreferrer noopener">How to Control ESP-01 Without a Router</a><br><a href="https://cyberblogspot.com/esp-01-with-rtc-and-lcd-display/" target="_blank" rel="noreferrer noopener">ESP-01 with RTC and LCD Display</a><br><a href="https://cyberblogspot.com/esp-01-esp8266-ntp-clock-with-lcd-display/" target="_blank" rel="noreferrer noopener">ESP-01 ESP8266 NTP Clock with LCD Display</a><br><a href="https://cyberblogspot.com/how-to-test-nodemcu-v3-using-esptool/" target="_blank" rel="noreferrer noopener">How to Test NodeMCU V3 Using Esptool</a><br><a href="https://cyberblogspot.com/nodemcu-v3-esp8266-pinout-and-configuration/" target="_blank" rel="noreferrer noopener">NodeMCU V3 ESP8266 Pinout and Configuration</a><br><a href="https://cyberblogspot.com/how-to-use-at-09-ble-with-arduino-and-smartphone/" target="_blank" rel="noreferrer noopener">How to Use AT-09 BLE with Arduino and Smartphone</a>               </p>



<h2 class="wp-block-heading">References on How to Test an ESP-01 ESP8266 Module</h2>



<p><a href="https://en.wikipedia.org/wiki/ESP8266" target="_blank" rel="noreferrer noopener">ESP8266 on Wikipedia</a></p>
<p>The post <a href="https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/">How to Test an ESP-01 ESP8266 Module</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cyberblogspot.com/how-to-test-an-esp-01-esp8266-module/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
