Home > other >  ESP8266 connect to the server
ESP8266 connect to the server

Time:09-16

Why through the microcontroller serial port for the wifi module sends the AT command to connect to the server will always be connected, but via a serial port to send the AT command to connect to the same server can?

CodePudding user response:

There might be something wrong with the data format

CodePudding user response:

MCU send characters (such as speed, interval) and ESP mismatch (maybe too fast), lead to ESP unable to properly identify the order,

CodePudding user response:

Instruction format has a problem, in fact, ESP8266 is a powerful microcontroller (just few port), you don't need to use other microcontroller to drive

CodePudding user response:

MCU send command \ r \ n after it

CodePudding user response:

May baud rate has a problem, also may be a problem, you send the string to send instruction to have certain delay, convenient esp buffer, see yourself what do you mainly use serial port MCU hair of what, in the solution

CodePudding user response:

I, too, can be via a serial port on the computer assistant send the AT command to connect, but single chip microcomputer the AT command cannot make esp8622 connect, the landlord to solve this problem, please grant instruction!

CodePudding user response:

The AT command should have carriage returns AT the end

CodePudding user response:

With a serial port test tools, compared to look at from the serial port tools - & gt; And from the single chip microcomputer 8266 - & gt; 8266 what's the difference between two cases of data flow, pay attention to the end of the symbol is the same, it is possible that wrong code logic,
You must try to find out the specific problem, and then to solve the problem

CodePudding user response:

string \ r \ n
  • Related