ESP8266 I can´t connect

Hello, I am new with the ESP8266 Wifi Module.


I connect CH_PD and VCC to 3.3V and GDN To Ground, TX and TR to Arduino TX and TR.

I set the Serial Monitor to 9600 and Both NL and CR option. But the arduino send me this meesage

"initialization failed!"

What is wrong?

Please help me.


I see my error. I put this code and now the response is garbage. I try 9600, 57600, 115200 bauds.

include "SoftwareSerial.h"

SoftwareSerial esp8266(6, 7); // RX, TX

void setup() { Serial.begin(9600); // serial port used for debugging esp8266.begin(9600); // your ESP's baud rate might be different }

void loop() { if(esp8266.available()) // check if the ESP is sending a message { while(esp8266.available()) { char c =; // read the next character. Serial.write(c); // writes data to the serial monitor } }

if(Serial.available()) { delay(500); // wait to let all the input command in the serial buffer

// read the input command in a string String cmd = ""; while(Serial.available()) { cmd += (char); }

// print the command and send it to the ESP Serial.println("---------------------"); Serial.print(">> "); Serial.println(cmd); Serial.println("---------------------"); esp8266.println(cmd); // send the read character to the esp8266 } }