Set baud rate to esp8266 at 9600

abdul rahuman picture abdul rahuman · Dec 13, 2015 · Viewed 19.2k times · Source

I brought an esp8266-12, it works at 115200 baud rate. I sometime connect it to arduino uno to work for some projects. It would be easy if I connect esp8266 with arduino at 9600 baud rate. The AT version is 0.25. I googled and saw the AT command set documentation it had a command to set baud rate. It was like

AT+ UART_DEF=<baudrate>,<databits>,<stopbits>,<parity>,<flow control>

But the problem is I don't know what these parameters are and how to set the parameters so that is works at 9600 baud rate with arduino.

Answer

abdul rahuman picture abdul rahuman · Dec 19, 2015

After a long time of searching, I found the parameters to work with Arduino at 9600 baud rate.

AT+UART_DEF=9600,8,1,0,0