My opinion on garbled code when using AT command on esp8266

I followed other people’s tutorials last night and started to configure my esp8266 module with the AT command set, but it has not been successful. At the beginning it was

When I sent the command, there was no response at all. Later I realized that I had to flash the AT firmware, nodemcu firmware and other firmware.

Both are not possible. Therefore, the firmware must be updated correctly, otherwise it is definitely not possible.

Later, I finally got a response when I sent the AT command, but the response of the serial port was always garbled, and I didn’t know what was going on.

Since I don’t know how much the baud rate is set to, I tried it out. I didn’t expect the data received by the serial port after the baud rate was changed.

It has also changed. I think it is because the baud rate is set incorrectly. Finally, I finally tried it out. With the correct baud rate, the AT command finally works.

It was successfully applied to my module. I hope that just like me, the students who just started to see can solve their own problems. Thank you.

Before changing the baud rate:

After the baud rate is changed:

In this way, we can start to use the AT command. I have any misunderstandings. Welcome everyone to correct me. Thank you.
This article was first published in the short book by myself, and I have recently moved it!
Author: Allen100
link: https: //www.jianshu.com/p/6eeb5336146d
Source: Jane books
are copyrighted by the author. For commercial reprints, please contact the author for authorization, and for non-commercial reprints, please indicate the source.

Guess you like

Origin blog.csdn.net/qqliuzhitong/article/details/114315072