Skip to main content

ESP8266 - WiFi Module

  • ESP8266 - Wi-Fi Module
    ESP8266 - WiFi Module
    Content

    1
    Introduction
    2
    Features of ESP8266
    3
    How to Interface ESP8266 with Arduino Uno
    3.1
    Hardware and Software required
    3.2
    Circuit Diagram
    6
    Program for ESP8266

    Introduction to ESP8266

    The ESP8266 Wi-Fi Module is a self contained SOC with integrated TCP/IP protocol stack that can give any micro-controller access to your Wi-Fi network. The ESP8266 is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor.This module has a powerful enough on-board processing and storage capability that allows it to be integrated with the sensors and other application specific devices through its GPIOs with minimal development up-front and minimal loading during run-time. Its high degree of on-chip integration allows for minimal external circuitry, including the0front-end module, is designed to occupy minimal PCB area. The ESP8266 supports APSD for VoIP applications and Bluetooth co-existence interfaces, it contains a self-calibrated RF allowing it to work under all operating conditions, and requires no external RF parts. The applications of ESP8266 are Smart power plugs, Home automation, Wi-Fi location-aware devices, Industrial wireless control, Security ID tags.

    Features of ESP8266
    · 802.11 b/g/n protocol
    · Wi-Fi Direct (P2P), soft-AP
    · Integrated TCP/IP protocol stack
    · Integrated TR switch, balun, LNA, power amplifier and matching network
    · Integrated PLL, regulators, and power management units
    · +19.5dBm output power in 802.11b mode
    · Integrated temperature sensor
    · Supports antenna diversity
    · Power down leakage current of < 10uA
    · Integrated low power 32-bit CPU could be used as application processor
    · Wake up and transmit packets in < 2ms
    · Standby power consumption of < 1.0mW (DTIM3)

    How to Interface ESP8266 with Arduino UNO?

    Hardware and Software required


    • Arduino IDE


    Circuit Diagram of ESP8266 with Arduino UNO
    The ESP8266 module should be connected to UNO as shown in the below image:

    ESP8266 - WiFi Module and Arduino Circuit Diagram

    Note:Sometimes the Arduino has power fluctuations which may cause damage to the ESP8266 module.In such case,it is better to use 3.3v regulator or Logic Level converter to power the ESP8266 module.

    Program for ESP8266

    Upload the program given below to the uno board.Open the serial monitor and type the AT commands which is attached here.The user will get the corresponding response for the AT commands in the serial monitor.

    #include
    SoftwareSerial ESPserial(2, 3); // RX | TX
    void setup()
    {
       Serial.begin(9600);     // communication with the host computer
       while (!Serial)   { ; }
       // Start the software serial for communication with the ESP8266
       ESPserial.begin(9600);  
       Serial.println("");
       Serial.println("Remember to to set Both NL & CR in the serial monitor.");
       Serial.println("Ready");
       Serial.println("");    
    }
    void loop()
    {
       // listen for communication from the ESP8266 and then write it to the serial monitor
       if ( ESPserial.available() )
      {  
       Serial.write( ESPserial.read() );
      }
      // listen for user input and send it to the ESP8266
       if ( Serial.available() )      
      {  
       ESPserial.write( Serial.read() );
      }
    }

    Want to share this Post offline with your friends? Download this post in PDF Format from below.

Comments

Popular posts from this blog

7400 - Quad Two Input NAND Gate

7400 - Quad Two Input NAND Gate 74LS00 is part of the 74XXYY IC series. 74xxyy integrated circuits are logical gates of digital electronics. The 74LS00 IC has four NAND gates(NAND Gate is the combination of AND and NOT Gate). In addition, each door has two entrances. Hence the name QUAD TWO INPUT NAND GATE.     Pin Diagram of 7400 IC 74LS00 is a 14-pin device. The chip is available in different packages and is chosen according to the needs.  The description of each pin is given below. Pin Number Description 1 A1-INPUT1 of GATE 1 2 B1-INPUT2 of GATE 1 3 Y1-OUTPUT of GATE1 4 A2-INPUT1 of GATE 2 5 B2-INPUT2 of GATE 2 6 Y2-OUTPUT of GATE2 9 A3-INPUT1 of GATE 3 10 B3-INPUT2 of GATE 3 8 Y3-OUTPUT of GATE3 12 A4-INPUT1 of GATE 4 13 B4-INPUT2 of GATE 4 11 Y4-OUTPUT of GATE4 7 GND- Connected to ground 14 VCC-Connected to positive voltage to provide smdksmkm power to all four gates ...

8051 Microcontroller

The Intel 8051 microcontroller is one of the most popular general purpose microcontrollers in use today. The success of the Intel 8051 spawned a number of clones, which are collectively referred to as the MCS-51 family of microcontrollers, which includes chips from vendors such as Atmel, Philips, Infineon, and Texas Instruments. The Intel 8051 is an 8-bit microcontroller which means that most available operations are limited to 8 bits. There are 3 basic "sizes" of the 8051: Short, Standard, and Extended. The Short and Standard chips are often available in DIP (dual in-line package) form, but the Extended 8051 models often have a different form factor, and are not "drop-in compatible". All these things are called 8051 because they can all be programmed using 8051 assembly language, and they all share certain features (although the different models all have their own special features). Some of the features that have made the 8051 popular are: 4 KB on chip...

Bluetooth Module HC-05

Bluetooth Module HC-05 Introduction Bluetooth Module HC-05 Hardware Features Software Features Pin Description How to connect HC-05 Bluetooth module with Arduino Uno? Hardware and Software Required Hardware Connections Program for HC-05 Bluetooth Module Introduction HC‐05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module,designed for transparent wireless serial connection setup.The HC-05 Bluetooth Module can be used in a Master or Slave configuration, making it a great solution for wireless communication.This serial port bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04‐External single chip Rluetooth system with CMOS technology and with AFH (Adaptive Frequency Hopping Feature). Bluetooth Module HC-05 The Bluetooth module HC-05 is a MASTER/SLAVE module.By default the factory setting is SLAVE.The Role of the module (Maste...