I just bought an ESP8266 ESP-07 V1.0 Serial Wifi Transceiver. Similiar to this: https://www.ebay.com/itm/ESP8266-Serial-Wifi-Transceiver-Module-for-Arduino-ESP-07-V1-0-New-/331868488091
I have connect the RX and TX pins to the RX and TX pin of the Arduino (RX to TX and TX to RX), VCC is connected to 3.3V and GND is connected to Arduino ground. I have used the following code and writing commands to the module using the serial monitor:
#include <SoftwareSerial.h>
int RX_PIN = 3;
int TX_PIN = 4;
SoftwareSerial mySerial(RX_PIN, TX_PIN); // RX, TX
void setup()
{
Serial.begin(115200);
mySerial.begin(115200);
while (!Serial){
;
}
while (!mySerial){
;
}
Serial.println("Ready");
}
void loop()
{
// listen for communication from the ESP8266 and then write it to the serial monitor
if ( mySerial.available() ) { Serial.write( mySerial.read() ); }
// listen for user input and send it to the ESP8266
if ( Serial.available() ) { mySerial.write( Serial.read() ); }
}
Whatever I type (for example AT+GMR) in the serial monitor at 9600 baud I don't get any response. What could be the reason? Both NL and CR is added to the command.
When pressing reset on the ESP-module I get this in the Serial monitoring:
Thanks for any help!