So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Zachrey
#72955 I am trying to get the ESP8266 (ESP-01 board) to talk to an Arduino UNO. Fresh out of the box, an ESP-01 has a baud rate of 115200. But when you set the UNO to 115200 and have it send "AT" commands from the UNO code, and have the UNO code relay the responses from the ESP to the Serial Monitor, the simple stuff like "AT" comes back with "AT OK" no problem. But when the UNO sends "AT+RST" to the ESP, it comes back mostly legible but with some garbage. "AT+CWJAP", of course, is hopeless.

So I put the ESP on D0, D1 USB Rx Tx lines and grounded reset on the UNO and then typed AT in the "Send" box of serial monitor (at 115200), it comes back with:
AT
OK
and the reset command works great!
AT+RST
And then a whole bunch of interesting info and a little bit of gibberish and then "AI Thinker...."
Then I issued
AT+UART_DEF=9600,8,1,0,3

And it came back with "OK". Then I restarted the ESP and that was the end of that! I can no longer communicate with it? What did I do wrong and is there any way to bring it back? What is flow control? Should I have used a different number for the last parameter?