ESP8266 WiFi Module : Basic Theory

Advertisement

We already disccuse basic theories around WiFi. ESP8266 WiFi Module is a Common Module Used in DIY Electronics Including Arduino. WiFi is a technology for wireless local area networking with devices based on the IEEE 802.11 standards. In this article we will discuss some basic theory around popular ESP8266 WiFi module and in future we will do some practical projects. What we refer as Internet Protocol Suite is also known as TCP/IP. ESP8266 is a cheap WiFi microchip with full TCP/IP stack manufactured Chinese manufacturer Espressif Systems :

Vim

1

https://www.espressif.com/en/products/hardware/esp8266ex/overview

The ESP8266 Arduino compatible module has a Micro Controller Unit which gives the possibility to control I/O digital pins via simple code like programming language (Hayes command set). Hayes Communications introduced re-using the existing data pins with no modification where the modem itself could switch itself between data mode and command mode. WiFi compatible devices can connect to the Internet via a WLAN and a wireless access point (or hotspot) with a range of about 66 feet in indoors.

Espressif Systems has software development kit, there is open source ESP-Open-SDK. The ESP8266 Arduino Core is available on GitHub. ESP8266 Arduino module comes with PCB trace antenna with good coverage with only 6 I/O pins, although the MCU can support up to 16 I/O.

Sleep modes of ESP8266 WiFi Module is important for Arduino. Currently there are 3 different sleep modes which can be programmatically controlled. ESP8266WiFi library offers specific functions to call sleep modes which can take settings parameters that change the callback jobs after wake-up like waking up with RF module powered off or on.
However, DEEP_SLEEP mode, which consumes very low power during sleep, you need to connect REST pin with the GPIO16 pin.

ESP8266 has awkwardly spaced 8 header pins in a 4×2 arrangement which forces the need of male-female jumper wires to connect the pins on the ESP8266 to Arduino/breadboard.