How to connect the ESP-11 shield to Arduino MEGA 2560 using Serial 1?
Use Serial1 on the Arduino MEGA, instead of using the Software Serial library.
WiFi shield to Arduino MEGA wiring Connection (for Diagram Please see the Attachments file below)
• GND ---> GND • D2 ---> D19 • D3 ---> D18
The Sample Sketch: https://www.e-gizmo.net/oc/kits%20documents/ESP-11%20wifi%20shield/Sample%20Code.zip
Attached files: ArduinoMEGA to ESP-11 shield Diagram.png
Tags: Arduino MEGA, ESP-11 SHIELD