Basic Networking with ESP8266 WIFI module
Basic Networking with ESP8266 WIFI module
ESP8266 Functions:
ESP8266 has many applications when it comes to the IoT. Here are just some of the functions
the chip is used for:
Networking: The module’s Wi-Fi antenna enables embedded devices to connect
to routers and transmit data
Data Processing: Includes processing basic inputs from analog and digital
sensors for far more complex calculations with an RTOS or Non-OS SDK
P2P Connectivity: Create direct communication between ESPs and other
devices using IoT P2P connectivity.
Web Server: Access pages written in HTML or development languages.
ESP8266 Applications:
The ESP8266 modules are commonly found in the following IoT devices:
Smart security devices, including surveillance cameras and smart locks
Smart energy devices, including HVACs and thermostats
Smart industrial devices, including Programmable Logic Controllers (PLCs)
Smart medical devices, including wearable health monitors
Who is Who:
Devices that connect to Wi-Fi networks are called stations (STA). Connection to Wi-Fi is
provided by an access point (AP), that acts as a hub for one or more stations. The access point on
the other end is connected to a wired network. An access point is usually integrated with a router
to provide access from a Wi-Fi network to the internet. Each access point is recognized by a SSID
(Service Set IDentifier), that essentially is the name of network you select when connecting a
device (station) to the Wi-Fi.
ESP8266 modules can operate as a station, so we can connect it to the Wi-Fi network. It can also
operate as a soft access point (soft-AP), to establish its own Wi-Fi network. When the ESP8266
module is operating as a soft access point, we can connect other stations to the ESP module.
ESP8266 is also able to operate as both a station and a soft access point mode. This provides the
possibility of building e.g. mesh networks.
1. Espressif Systems:
The Espressif Systems esp8266 is available in the following modules:
Model Antennae Dimensions GPIO & ADC Flash LEDs Shielded
Pins
ESP-WROOM- PCB trace 18 × 20 18 2 No Yes
02 MiB
ESP-WROOM- PCB trace 18 × 20 18 2 No Yes
02D MiB
ESP-WROOM- U.FL 18 × 20 18 2 No Yes
02U socket MiB
ESP-WROOM- PCB trace 16 × 23 20 2 No Yes
S2 MiB
2. Ai-Thinker
Current Ai-Thinker esp8266 modules are the following:
Model Antennae Dimensions GPIO & ADC Pins Flash LEDs Shielded
ESP-01S PCB trace 14.4 × 24.7 6 1 MiB Yes No
ESP-01M PCB trace 18 × 18 16 1 MiB No Yes
ESP-07S U.FL socket 17 × 16 14 4 MiB No Yes
ESP-08S None 17 × 16 10 4 MiB No Yes
ESP-12F PCB trace 24 × 16 20 4 MiB Yes Yes
ESP-12S PCB trace 24 × 16 14 4 MiB Yes Yes
Older and discontinued models include: ESP-01, ESP-02, ESP-03, ESP-04, ESP-05, ESP-06,
ESP-7, ESP-08, ESP-09, ESP-10, ESP-11, ESP-12, ESP-12E, and ESP-13 and ESP-14.
Introduction to ESP8266 Wi-Fi Module: