{"id":4557,"date":"2016-04-14T11:37:28","date_gmt":"2016-04-14T11:37:28","guid":{"rendered":"http:\/\/blog.cloudthat.com\/?p=4557"},"modified":"2024-06-25T11:12:47","modified_gmt":"2024-06-25T11:12:47","slug":"the-revolution-chip-esp8266","status":"publish","type":"blog","link":"https:\/\/www.cloudthat.com\/resources\/blog\/the-revolution-chip-esp8266","title":{"rendered":"The revolution chip &#8211; ESP8266"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4558 size-medium aligncenter\" style=\"margin: auto;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp.jpg\" alt=\"esp\" width=\"300\" height=\"265\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>It looks like one has work dedicatedly with Arduino and decided to sit down on a Sunday afternoon to write his wish list to tooth fairy with everything he wanted to see in the next generation Micro Controller Unit, but instead of sending that wish list to Fairyland, it was sent to China, where the brilliant minds of Espressif materialized ESP2866, which come at a ridiculous price point of $3 &#8211; $6.<\/p>\n<p>Compared to the cost of Arduino&#8217;s Wi-Fi shield model, which cost you approximately $30!!!<\/p>\n<p>Now, lets talk about what is ESP8266? Well it is a tiny self-continued, low power and high performance system on chip (SoC) with the ability to communicate over TCP\/IP network via antenna that&#8217;s etched on its circuit board (PCB). It comes with its own board processor, so it can actually function in complete autonomy, without an additional Arduino board. In the essence, it&#8217;s the Philosopher&#8217;s holy grail of the \u2018Internet of Things&#8217; age.<\/p>\n<p>In this article, I&#8217;ll explain the various factors for selection of variants available in the market and various factors required<\/p>\n<h2>Lets Start!!!<\/h2>\n<h4><i>How to choose your ESP8266 Model?<\/i><\/h4>\n<p>I know there many variations available in the market and it is very easy to get confused between all the choices. . I have listed few widely used variants and its capabilities.<\/p>\n<h4>1. ESP-01 Module<\/h4>\n<p>The first one we will discuss is ESP-01 Module: It is one of the most popular boards that have on-board printed antenna and header block for easy access to pin-outs.<\/p>\n<h5>Features:<\/h5>\n<ul>\n<li>GPIOs: 2 GPIO Pins (GPIO 0 and GPIO 2)<\/li>\n<li>Wi-Fi Range: 360m<\/li>\n<li>Dimensions: 14.3 x 24.8mm<\/li>\n<li>Antenna: PCB trace<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4559 size-medium\" style=\"margin: auto; border: 2px solid #ccc; padding: 5px;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp01.png\" alt=\"esp01\" width=\"300\" height=\"125\" \/><\/p>\n<h4>2. ESP-03 Module<\/h4>\n<p>For more advanced user ESP-03 is the most popular choice as this version has the most GPIOS, it means you can connect more number of sensors or more complicated sensors with you ESP module.<\/p>\n<h5>Features:<\/h5>\n<ul>\n<li>GPIOs : 7 GPIO Pins(GPIO0\/2\/12\/13\/14\/15\/16)<\/li>\n<li>Dimensions: 17.3 \u00d7 12.1mm<\/li>\n<li>Antenna: Ceramic<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4561 size-medium\" style=\"margin: auto; border: 2px solid #ccc; padding: 5px;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp03.jpg\" alt=\"esp03\" width=\"300\" height=\"256\" \/><\/p>\n<h4>3. ESP-05 Module<\/h4>\n<p>ESP-05 Module: In ESP-05 a fifth pin is added carrying reset pin, but this module doesn&#8217;t consist of on board antenna.<\/p>\n<h5>Features:<\/h5>\n<ul>\n<li>GPIOs: none<\/li>\n<li>Dimensions: 14.2 x 14.2mm<\/li>\n<li>Antenna: External (U-FL connector)<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4562 size-medium\" style=\"margin: auto; border: 2px solid #ccc; padding: 5px;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp05.jpg\" alt=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp05-300x231.jpg\" width=\"300\" height=\"231\" \/><\/p>\n<h4>4. ESP-07 Module<\/h4>\n<p>ESP-07 Module: Best part of ESP-07 is that it has its own on board Ceramic antenna and you can also connect external antenna.<\/p>\n<h5>Features:<\/h5>\n<ul>\n<li>GPIOs: 9(GPIO0\/2\/4\/5\/12\/13\/14\/15\/16)<\/li>\n<li>Dimensions: 22 x 16mm and Antenna: Both Internal and External, but ESP-07 is not FCC approved.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4563 size-medium\" style=\"margin: auto; border: 2px solid #ccc; padding: 5px;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp07-300x285.jpg\" alt=\"esp07\" width=\"300\" height=\"285\" \/><\/p>\n<h4>5. ESP-12 Module<\/h4>\n<p>ESP-12 Module: One of the newest and popular members of ESP family, consisting of lots of computational power.<\/p>\n<h5>Features:<\/h5>\n<ul>\n<li>GPIOs: 9 GPIOs + ADC<\/li>\n<li>Dimensions: 24x16mm<\/li>\n<li>Antenna: PCB antenna<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4564 size-medium\" style=\"margin: auto; border: 2px solid #ccc; padding: 5px;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp12-300x215.jpg\" alt=\"esp12\" width=\"300\" height=\"215\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>You now know all the variations available and what you do next with it depends on your imagination!!! One of the things I tried was to directly upload my code in ESP8266, which is not possible. You have to use Program loader or <a href=\"https:\/\/en.wikipedia.org\/wiki\/FTDI\">FTDI<\/a> (USB to serial converter).<\/p>\n<p>One example for Program Loader can be Arduinos, but it is a 5v power board whereas ESP is 3.3v, therefore if you directly connect your ESP with Arduino TX\/RX it will kill the ESP, the solution is to use a <a href=\"https:\/\/tronixlabs.com.au\/arduino\/boards\/due\/adafruit-txb0104-bi-directional-level-shifter\/\">level converter<\/a> or <a href=\"https:\/\/en.wikipedia.org\/wiki\/FTDI\">FTDI<\/a>, which provide both 5v and 3.3v TX\/RX as shown in the below figure.<\/p>\n<p>&nbsp;<\/p>\n<h4>ESP-01 Connection with PIR sensor and FTDI(for programming)<\/h4>\n<p><img decoding=\"async\" class=\"wp-image-4564 size-medium\" style=\"margin: auto;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp-connection-with-pir.jpg\" alt=\"esp12\" height=\"400\" \/><\/p>\n<h4>ESP to FTDI direct Connection for Programming<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4564 size-medium\" style=\"margin: auto;\" src=\"https:\/\/content.cloudthat.com\/resources\/wp-content\/uploads\/2022\/11\/esp-to-ftdi.jpg\" alt=\"esp12\" width=\"300\" height=\"215\" \/><\/p>\n<p>If you are trying to buy an ESP8266, be sure you know the exact version of chip because specifications change from chip to chip.<\/p>\n<p>Still interested to learn more? We conduct BootCamps for Fundamentals of IoT. If you are interested to join, click<a href=\"https:\/\/cloudthat.in\/course\/fundamentals-of-iot-level-1\/\" target=\"_blank\" rel=\"noopener\"> here <\/a>and fill out the form.<\/p>\n<p>Feel free to ask questions or provide your valuable suggestions as comments below. Please share if you like the article.<\/p>\n","protected":false},"author":219,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"open","template":"","blog_category":[3623,3832],"user_email":"prarthitm@cloudthat.com","published_by":"324","primary-authors":"","secondary-authors":"","acf":[],"_links":{"self":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/4557"}],"collection":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/users\/219"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/comments?post=4557"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/4557\/revisions"}],"predecessor-version":[{"id":45863,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/4557\/revisions\/45863"}],"wp:attachment":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/media?parent=4557"}],"wp:term":[{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog_category?post=4557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}