RX(ESP) - RX(Arduino)
TX(ESP) - TX(Arduino)
CH_PD - Vcc
RST- Vcc
GPIO'S are kept afloat.
The serial monitor is showing ready. But not responding to AT commands.
I read some stuff (with a code) for software serial interfacing on a forum.
#include <SoftwareSerial.h>
const byte rxPin = 2; // Wire this to Tx Pin of ESP8266
const byte txPin = 3; // Wire this to Rx Pin of ESP8266
// We'll use a software serial interface to connect to ESP8266
SoftwareSerial ESP8266 (rxPin, txPin);
void setup() {
Serial.begin(115200);
ESP8266.begin(115200); // Change this to the baudrate used by ESP8266
delay(1000); // Let the module self-initialize
}
void loop() {
Serial.println("Sending an AT command...");
ESP8266.println("AT");
delay(30);
while (ESP8266.available()){
String inData = ESP8266.readStringUntil('\n');
Serial.println("Got reponse from ESP8266: " + inData);
}
}
When the code is used serial monitor respond to the AT commands but directly it is not responding.