ESP8266

This post briefly explains what is the ESP8266, a very cheap SoC currently used in many IoT applications.


What is the ESP8266?

The ESP8266 is a SoC that integrates the TCP/IP stack and is able to connect to a Wifi network, allowing it to communicate with other devices over the Internet. This device is made by Espressif Systems and it can be bought integrated in a developing board (as shown in figure 1) by less that 2 euros.

wifi_esp8266_esp01

Figure 1 – ESP-01 board. Taken from [1].

In the beginning, it was sold as a serial-Wifi adapter for other microcontrollers, which would send AT commands to the ESP8266 to control it. Those commands were handled by a firmware which comes by default with the modules. So, we could, for example, connect an Arduino to the ESP8266 and start sending data over the Internet.

Nevertheless, the community quickly realized that the device was programmable, allowing for more freedom. So, instead of using a pre-defined set of AT commands, there was the possibility to develop a more optimized serial protocol to interact with the device from another microcontroller. Better than that, it was possible to develop standalone applications, since the ESP8266 integrates a 32 bits microcontroller.

Although there is an SDK from Espressif, installing the toolchain to program the device is not trivial. Nevertheless, the device is now currently supported in the Arduino IDE, making it much easier to program.

 

Features [2]

Microcontroller: Tensilica L106 (32 bits)
Clock frequency: 80 MHz
Wifi: 802.11 b/g/n
Interfaces: SPI, I2C, I2S, UART, PWM
GPIO: 17 pins (12 mA max current)
ADC: 10 bits
Operating voltage: 3.3 V

 

Final notes

Personally, I think the ESP8266 was a major breakthrough for the IoT, bringing to the DIY community an amazing tool for projects. With less than 2 euros, we have a solution that allows us to connect our projects to the Internet. With this device, we have a simple way of creating remote monitor and actuation projects.

Nevertheless, there are still some issues, such as the robustness of the security protocols, that need to be carefully evaluated if we want to create a commercial application.

Following the huge success of ESP8266, the new SoC of Espressif will be the ESP32, which has 2 Tensilica L108 processors and also support for Bluetooth [3], amongst other features.

 

References

[1] http://maker-marketplace.com/hk/wireless_communication/wifi/
[2] https://www.adafruit.com/images/product-files/2471/0A-ESP8266__Datasheet__EN_v4.3.pdf
[3] http://makezine.com/2015/12/09/meet-esp32-new-big-brother-to-iot-board-esp8266/

Advertisements
This entry was posted in ESP8266, Microcontrollers and tagged , , , , . Bookmark the permalink.

4 Responses to ESP8266

  1. Pingback: IoT: Temperature logger | techtutorialsx

  2. Pingback: Flask: Hello World | techtutorialsx

  3. Pingback: ESP32 | techtutorialsx

  4. Pingback: ESP8266: DFRobot WiFi Bee board | techtutorialsx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s