Skip to content

This repository aims at helping beginners to use ESP8266 Wi-Fi Module and communicate with it.

Notifications You must be signed in to change notification settings

electrongonewild/ESP8266_WiFi_Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 

Repository files navigation

ESP8266_WiFi_Module

The ESP8266 Wi-Fi Module is a self contained SOC with integrated TCP/IP protocol stack that can give any microcontroller access to your Wi-Fi network.
It can act both as a Access Point (can create hotspot) or as a Station (can connect to Wi-Fi) depending on the application, hence it can easily fetch and upload data it to the internet.
Okay! Now let’s see how to connect a Wi-Fi module to USB to TTL(CP2102)!

Table of Contents

Documentation

It is highly recommended to go through the Documentation first.
Here are direct links for same.

Prerequisites

  • Realterm or any other serial terminal
  • USB to TTL (CP2102)
  • ESP8266 EVB
  • Jumpers
  • Basic knowledge of UART and serial communication

Connections

Alt text

  • Rx(ESP8266) ---> Tx(USB to TTL)
  • Tx(ESP8266) ---> Rx(USB to TTL)
  • Power Supply (5V/3.3V and GND)

Getting Started

Follow the steps for getting started:

  • Connect the USB to TTL(CP2102) to USB port of PC and open device manager to check the port connected to serial bridge (USB to TTL).
    Alt text
  • Open Realterm or any other serial terminal you want to use.
  • Open the port to which your serial device is connected make sure to check serial configuration as follows:
    Baudrate : 115200
    Data Bits : 8
    Parity : None
    Stopbits : 1
    Alt text
  • That's it!!! Now you can send AT commands using realterm directly to Wi-Fi Module and also receive its response.
  • Firstly check whether you receive OK in response to AT\r\n, to make sure that your connections and configurations are fine.
  • Now you can further proceed to other AT commands according to your application.

Basic AT Commands

  1. Basic AT Command: AT\r\n
  2. List Available networks: AT+CWLAP\r\n
  3. Connect to a network: AT+CWJAP=\"ssid\",\"password\"\r\n (ssid: netwok name, passwod: network password)
  4. Ping Google to check internet availability: AT+PING=\"www.google.com\"\r\n

Implementation

Alt text

Contributions

For reporting any technical issue or proposing new feature, please create new issue.

About

This repository aims at helping beginners to use ESP8266 Wi-Fi Module and communicate with it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published