1

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.

2 Answers 2

13

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
1
  • I thought my esp8266 didn't support this command because querying the current values via AT+UART_DEF? returned ERROR. But setting the new baud rate still worked.
    – Chronial
    Jun 12, 2019 at 22:26
0

To change the baud rate of esp8266, use this command.

AT+CIOBAUD=9600

Easy and simple. Command can be sent through serial communication from Arduino UNO.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.