<?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 ESP8266 Archives - CyberBlogSpot</title>
	<atom:link href="https://cyberblogspot.com/tag/esp-01-esp8266/feed/" rel="self" type="application/rss+xml" />
	<link>https://cyberblogspot.com/tag/esp-01-esp8266/</link>
	<description>Not just another blogspot site</description>
	<lastBuildDate>Mon, 06 Feb 2023 20:09:14 +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 ESP8266 Archives - CyberBlogSpot</title>
	<link>https://cyberblogspot.com/tag/esp-01-esp8266/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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 fetchpriority="high" 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="(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 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="(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 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="(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>Difference Between ESP-01 and ESP-01S</title>
		<link>https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/</link>
					<comments>https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 05 Feb 2023 05:44:18 +0000</pubDate>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Arduino Board]]></category>
		<category><![CDATA[Arduino IDE]]></category>
		<category><![CDATA[ESP-01]]></category>
		<category><![CDATA[ESP-01 ESP8266]]></category>
		<category><![CDATA[ESP-01 Pinout]]></category>
		<category><![CDATA[ESP-01S]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[Programming Switch]]></category>
		<category><![CDATA[Pull-up Resistor]]></category>
		<category><![CDATA[Reset Switch]]></category>
		<guid isPermaLink="false">https://cyberblogspot.com/?p=6118</guid>

					<description><![CDATA[<p>The ESP-01 Wi-Fi module is one of the most popular ESP8266-based microcontroller board. It is very inexpensive and widely available. If you are new with ESP-01 modules, or are contemplating on buying one, you are lucky for visiting this page. We have here all the necessary information on the difference between ESP-01 and ESP-01S Wi-Fi&#8230;&#160;<a href="https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/" rel="bookmark">Read More &#187;<span class="screen-reader-text">Difference Between ESP-01 and ESP-01S</span></a></p>
<p>The post <a href="https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/">Difference Between ESP-01 and ESP-01S</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="Picture of ESP-01 module showing the names of the different pins" 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/ESP-01S ESP8266 Wi-Fi Module Pinout</figcaption></figure></div>


<p>The ESP-01 Wi-Fi module is one of the most popular ESP8266-based microcontroller board.  It is very inexpensive and widely available.  If you are new with ESP-01 modules, or are contemplating on buying one, you are lucky for visiting this page.  We have here all the necessary information on the difference between ESP-01 and ESP-01S Wi-Fi modules. </p>



<p>The ESP-01 module and the ESP-01S module are functionally the same.  However, knowing the difference between the two is very important because it can affect how you wire them to external circuits.  Also, the boards have different current consumption owing to their difference in the number of onboard LEDs.</p>



<h2 class="wp-block-heading">ESP-01S is a Newer Version</h2>



<p>First off, the ESP-01 module was the original version that was popularized almost a decade ago.  The ESP-01S is the newer version.  At the time of this writing, circa 2023, the original ESP-01 module is still widely available.  Most online stores would allow you to choose between an ESP-01 or an ESP-01S.  But some stores may sell you an ESP-01 for an ESP-01S, or vice versa.</p>



<h2 class="wp-block-heading">Difference in Physical Appearance</h2>



<p>At first glance, the two modules look the same.  However, a close examination of the boards will show the difference in the number of LEDs (Light Emitting Diodes).  Please see Figure 2 below.  In the original ESP-01, there are two (2) small LEDs.  On the other hand, the ESP-01S has a single, bigger LED.</p>



<p>The difference becomes more apparent when you supply power to the boards.  The ESP-01 board will have a red LED light turned on indicating the presence of power.  On the ESP-01S board, you will only see a blue LED flash for a while when the power is applied.   </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="A picture comparing the ESP-01 module with the ESP-01S module highlighting the difference in the indicator LEDs." 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.  Physical Comparison of ESP-01 and ESP-01S Modules</figcaption></figure></div>


<h2 class="wp-block-heading">The Blue LED Wiring Difference Between ESP-01 and ESP-01S</h2>



<p>Although both boards have a blue serial-activity LED, the blue LEDs are wired differently.  See Figure 3.  In the ESP-01 board, the blue LED is connected on the VCC and the TX pins, while on the ESP-01S, it is connected on the VCC and the GPIO2 pins.  On both boards, a 2.2K ohms resistor is used in series with the blue LED as a current limiter. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-vs-esp-01s-800.png"><img loading="lazy" decoding="async" width="802" height="578" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-vs-esp-01s-800.png" alt="Picture of the ESP-01 board side by side with the ESP-01S board showing the internal connections of the LEDs and the pull-up resistors" class="wp-image-6120" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-vs-esp-01s-800.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-vs-esp-01s-800-300x216.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-vs-esp-01s-800-768x553.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 3.  Internal Wiring Comparison of ESP-01 and ESP-01S Modules </figcaption></figure></div>


<h2 class="wp-block-heading">Pull-up Resistors on ESP-01S</h2>



<p>Another difference between ESP-01 and ESP-01S is the presence of three (3) pull-up resistors on the ESP-01S module.  Pull-up resistors are used to provide a logic HIGH signal to a circuit.  As shown on the right side of Figure 3 above, three (3) 12K-ohm resistors are connected from the VCC to the RESET, GPIO0, and CH_PD pins on the ESP-01S board.</p>



<p>Prior to the availability of the ESP-01S module, a popular ESP-01 wiring scheme for adding a reset switch and a programming switch is shown below in Figure 4.  First of all, in order to power up the ESP-01 board, you need to pull up the CH_PD (Chip Enable/Power Down) pin.  Next, you connect the RESET pin to the VCC because you do not want the RESET pin hanging and be vulnerable to noise causing unexpected resets.  And third, pulling up the GPIO0 pin to VCC will automatically run the program or sketch loaded on the ESP-01 module after a  power up or a reset.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-pull-up-resistors.png"><img loading="lazy" decoding="async" width="802" height="578" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-pull-up-resistors.png" alt="Schematic diagram of an ESP-01 with reset and programming switches." class="wp-image-6125" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-pull-up-resistors.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-pull-up-resistors-300x216.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-pull-up-resistors-768x553.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 4.  Schematic Diagram of ESP-01 with Reset and Programming Switches</figcaption></figure></div>


<p>On the newer ESP-01S module, the circuit shown above will be a lot more simple.  There is no need to externally supply the three (3) pull-up resistors.  See Figure 5.       </p>



<figure class="wp-block-image size-full"><a href="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-no-pull-up-resistors.png"><img loading="lazy" decoding="async" width="802" height="491" src="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-no-pull-up-resistors.png" alt="Schematic diagram of the board with reset switch and programming switch." class="wp-image-6127" srcset="https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-no-pull-up-resistors.png 802w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-no-pull-up-resistors-300x184.png 300w, https://cyberblogspot.com/wp-content/uploads/2023/02/esp-01-schematic-with-no-pull-up-resistors-768x470.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption class="wp-element-caption">Figure 5.  Schematic Diagram of ESP-01S with Reset and Programming Switches  </figcaption></figure>



<h2 class="wp-block-heading">Summary on Difference Between ESP-01 and ESP-01S</h2>



<p>The ESP-01 and the ESP-01S Wi-Fi modules are functionally the same.  The ESP-01S module is a newer version of the original ESP-01 module.  The ESP-01 module has a red power indicator LED that is absent on the ESP-01S.  Both modules have a blue LED that indicates serial activity.  However, the blue LED is wired differently on each module&#8217;s version.  And finally, the ESP-01S module has three (3) on board pull-up resistors that are missing on an ESP-01 module.</p>



<h2 class="wp-block-heading">Related Articles</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 Difference Between ESP-01 and ESP-01S</h2>



<p><a href="https://en.wikipedia.org/wiki/ESP8266" target="_blank" rel="noreferrer noopener">ESP8266 on Wikipedia</a><br><a href="https://github.com/esp8266/esp8266-wiki/wiki/Boot-Process" target="_blank" rel="noreferrer noopener">ESP8266 Boot Process</a></p>
<p>The post <a href="https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/">Difference Between ESP-01 and ESP-01S</a> appeared first on <a href="https://cyberblogspot.com">CyberBlogSpot</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cyberblogspot.com/difference-between-esp-01-and-esp-01s/feed/</wfw:commentRss>
			<slash:comments>1</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>
