3
//In order to connect, 

SoftwareSerial esp8266(2,3); 

// the TX pin of esp8266 is connected to pin 3 of 
// arduino uno and RX pin is connected to 2    
// we need to pass baud rate to begin function

void setup()
{
  Serial.begin(115200);
  esp8266.begin(???); // what should i do in order to make it work?
}

What should i do in order to make it work?

Rajat
  • 31
  • 2

1 Answers1

1

I encountered a similar situation where I accidentally set the baudrate to 8000 with the AT commands.

Thankfully I remembered the baud rate I set, so I used PuttY to create a serial communication with the port with the weird 8000 baud rate and changed the baud rate back to 9600.

The method can be found here: http://flower-platform.com/2015/12/16/esp8266-with-at-commands-connect-from-pc-with-putty/

The AT command I used to change the baud rate: AT+UART_DEF=9600,8,1,0,0