Studying about ESP8266-Automation and Device Control

October 22, 2017 | Author: | Posted in Electronics

A handful of people know what is- ESP8266 , well lets discuss about it, before analyzing it, we must know that it is completely related to “Internet of things”. Explaining in brief Internet of things simply means physical things embedded with electronics, software, sensors and connectivity which enables data exchange means everything is connected to internet.

Now what is ESP8266, ESP8266 is a Wi-Fi chip or module which is self-contained System on Chip (SOC) with integrated TCP/IP protocol stack that give microcontroller access to Wi-Fi network.

Its feature are that its size is just 5mm X 5mm, it requires external circuitry and integrates 32-bit Tensilica MCU , standard digital peripheral interfaces, RF balun , antenna switches,  power and low noise receive amplifier, and power management modules, filter, which means it is all in one small package.

Have you ever wondered, how to control any electronic devices, doors, and gates, windows with the help of internet with a tap or voice? ESP8266 is for you. It is a low cost equipment with high features, it can be used to host own webpages, trigger events, perform toms of operations using single module.

We can see rapid transformation in our electronic industry from 5V to 3.3V as its standard. This ESP8266 works on 3.3 Volt, it’s an ultra-voltage sensitive device, and therefore supplying more than 3.3 V will burn its circuitry, interfacing these devices with the help of micro-controller is a big issue . As it is manufactured in China, so its documentation is also not available, so many of us face difficulty while using it. Even the supply on arduino board fails to feed it due to lack of current.  It can draw up to 200mA of current but maximum current in Arduino is limited to 50 mA and 400 mA for 3.3V and 5V respectively.

But as a solution AMS1117 with capacitors can be used to prevent fluctuations. The ESP8266 comes with AT command set, to work and perform easily, it must be flashed with Arduino.

To connect with any IOT (Internet of things) channel, the web request format is as below:

Client. print(String(“POST”) + url + “HTTP/1.1rn” +  “Host:  ” + host + “rn” + “Connection: closernrn”);

The variable is trigger containing

http :// /trigger/{event}/with/key/

Writing a client.stop() command is advisable.

To pass values, the webrequestcan be succeeded by

“?value1 = &value2 = ”

There are other languages to code ESP8266 among which Lua and mirophython prevail. It is rising from hobbyist world to industrial world too.

Author:

This author has published 5 articles so far. More info about the author is coming soon.

Leave a Reply

You must be logged in to post a comment.

Additional Articles From ‘Electronics’