This tutorial explain how to connect to internet using ESP8266 wifi module by LUA Programming.
1.1.1 Basics of ESPlorer and ESP8266: This tutorial explains basic of ESPlorer.
Connect RX and TX pins of ESP8266 module to the Serial Port of you computer, if you don't have one in your computer, FTDI or CP2102 can be used.
3. LUA Programme:
The following LUA code will be required to connect ESP8266 wifi module to internet. Download this init.lua file. Open it and write your Wifi Access Point Name and security key in it. Save this file and upload the same to your ESP8266 wifi module.
4. Explaining programme:
This code is written in init.lua so as your ESP8266 wifi module starts up this code will be executed. In this code the ESP8266 is working in station mode. It connects to the wireless access point provided by you. The we have created a timer of one second duration that timer is to obtain IP address. This timer runs till it get IP address. Once the ESP8266 module obtains IP address the timer stops. Obtaining IP address means that your ESP8266 has been connected to the Access Point Provided by you. If the access point has got access to internet your ESP8266 is connected to internet.
If you have any query please write us at firstname.lastname@example.org
our whatsapp helpline: +91 9694011188
Thanks and Regards
Content Development Team