ESP8266 -WiFi Getting Started @ESP-01

Prerequisite : No Programming knowledge is required to complete the steps here. This setup is OK for basic communication with default program in ESP-01 module. If you are planning to change the default ESP-01 program, You need to use ESP 01 kit shown on the left side product images.  If you are using mobile, Click on the horizontal bars shown at   the right side and scroll down.

Please SUBSCRIBE to YouTube channel Embedkari  for further discussion on Embedded Systems.  I recommend to  use laptop/PC with headphone or at least Tablet for  watching related YouTube video.

Key Takeaway :First WiFi  project with AT commands. Generally ESP-01 comes with default ESP8266 AT firmware which has complete TCP/IP stack. This firmware takes care of DHCP as well.AT commands are used to control GSM phone or Modem.

Step1:  I used a ESP8266 ESP-01 WiFi Module  with 3.3 V DC 2A power adapter and FTD1232( FT232RL USB TO TTL 5V 3.3V) . The 3.3 DC Voltage shown below to  ESP-01 module was provided using the 3.3V power adapter.  

ESP01

Note1: GPIO0 pin should be connected to GND only to refresh program. Make sure your FTD1232 jumper is set at 3.3V. In my FTD1232 module, It is as follows :

ESP-04

In my case, the setup picture is:

ESP03

 

 

Step2: Once you power-on the ESP-01 and connect your PC to FTD1232 via USB cable, the corresponding COM port should be enabled . You may notice highlighted COM3 below in my case.

ESP02

Step3 Select baudrate 115200 and  corresponding port. Click on change and Open.

ESP--03

Step4: Type AT command ,select +CR and +LF as shown below. Click on Send ASCII. If you are typing command directly on terminal, The window on left of “Send Number” must be empty. After typing command on terminal, Click on Send ASCII. If you don’t get response of AT command, Touch GND wire to RST pin of ESP8266 connector through a 1K resistor. You will  notice blue light blinking followed by message on terminal.

ESP-01 comm

 

Step5: Try following commands

  • AT+RST to reset WiFi Module
  • AT+GMR to get firmware,SDK versions and build time
  • AT+CIFSR to get local IP address
  • AT+CWLAP to list all wireless local access points

 

 

 

Thanks for reading till end. I am trying to improve usability of my  site. Did you find this discussion helpful ? If so,  Please subscribe to YouTube channel Embedkari as well for additional embedded related stuff.

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.