This is the part 1 of 3 instructables to help you to use the ESP8266 with Arduino. In this This first tutorial you will learn how to set-up and test the module connected to an Arduino.
The ESP8266 is perhaps the most versatile serial module to connect 'things' at the Internet, that why it is so popular in the world of IoT. It is a complete module, which includes a microprocessor which can be programmed directly via the Arduino IDE (C++), or in other environments to build (usually using a high level language itself, the 'LUA'). To control 'things' there is no need to have the Arduino itself to the interface because the ESP8266 has 2 GPIOs (two 'pin' input / output). A lot of inportant info is possible to be found at ESP82 Forum:
Link to ESP8266 Forum:
Esp8266 Serial Wifi Module Arduino
Features:
Sep 17, 2015 This tutorial shows how to connect the ESP WiFi module to a Serial adapter (FTDI), connect to an access point and perform an HTTP request. Page with AT comma.
- 802.11 b / g / n
- Wi-Fi Direct (P2P), soft-AP
- Integrated TCP / IP protocol stack
- Integrated TR switch, balun, LNA, power amplifier and matching network
- Integrated PLLs, regulators, DCXO and power management units
- + 19.5dBm output power in 802.11b mode
- Power down leakage current of <10uA
- 1MB Flash Memory
- Integrated low power 32-bit CPU Could be used the application processor
- SDIO 1.1 / 2.0, SPI, UART STBC, 1 × 1 MIMO, MIMO 2 × 1
- A-MPDU & A-MSDU aggregation & 0.4ms guard interval
- Wake up and transmit packets in <2ms
- Standby power consumption of <1.0mW (DTIM3)
The above spec includes a lot of technical stuff that you do not really need in the great part of your projects, but it is good to have a hand 'just in case'.
Until today, I only studied the ESP8266 connected to the Arduino, replacing the need for a relatively expensive Wifi shield (Shield, is a PCB that you install at a top of an Arduino to expand its capabilities).
Data communication between electronic devices is inevitable in many electronic projects and brings a lot of advantages to your project i.e. connecting your microcontroller to PC and monitor data on a large colorful display instead of small monochrome LCD. When talking about connecting a device to PC, the most obvious way of communicating is USB port. But transmitting data over USB requires lots of programming. Another easy way is Serial Port (aka COM) and RS232 protocol that only needs a tiny electronic circuit to convert voltage levels and a little programming. So I made an RSS232-TTL UART adapter and published here to uses in all of my projects. But I faced a new problem, new motherboards and laptops have no COM port. Then I decided to make a USB-TTL UART adapter using famous FT232 IC for my projects. It works very well, but long wires from devices to PC are annoying me. Is it possible to have the serial port on the air like wireless mice and keyboards? Of course, it can be done using lovely WiFi module ESP8266, and by using WiFi you have not to make a dongle yourself and also you can have a serial port over the internet. Wow, I just wanted a wireless serial port, now I also have a serial port over the web. That's very exciting.
The video shows controlling an E-waste CNC (3D printer) using this device.
Esp8266 Serial Wifi Witty Cloud
I want to share this project with you. If you like it, follow me.