I have seen many examples of how to control the Arduino remotely but require excessive settings and when using either ethernet LAN or WLAN communication in most examples only works on a local network or intranet.
I had tried before a simple way to control using the IRC Chat forgotten, and implement it in the ESP8266 module.
The IRC is simple communication since communication is performed between clients, the server is on the network and automatically handles the values reroute data or specifically characters sent.
Step 1: Explanation of Application
1. In this test the ESP8266 module performs the IRC connection to an IRC server, the room defined using a Nickname.
2. in this case using an IRC client android I connect to the same server and the same room with another nickname and retransmits the module received by the serial port.
3. The Arduino Mega 2560 Just print characters received in the Oled display and performs the activation of inputs and outputs
To make this project requires read before the following:
In this case it is only control from any client IRC is the only ESP8266 receives, in this test is not yet implemented the ESP8266 send messages, although perform the test and it works