This test is performed given the lack of use of serial ports Arduino Mega 2560 and test communication between the Arduino Mega 2560 and ESP8266 module,
test has been conducted, data take into account, in this case the ESP8266 has been configured to work with AT command Firmware v0.9.5.2 module 115200 baud rate.
Extra Note: If you need Esp8266 Firmware Update.
1 Arduino Mega 2560 R3
1 Modulo ESP8266
It has created a strategy bidirectional connection between Port 0 (Serial USB) and Port 1, this test everything that is written in the terminal Arduino be sent to ESP8266 and vice versa, thus the correct communication is depurará ESP8266 module.
Test from Terminal
From the Arduino IDE serial terminal it was sent test the following commands:
PDAControl started as a hobby and grew to a more complete testing space and better documentation,
Without considering these useful contributions or simply want to contribute to keep growing - here a link.