Chat freely about anything...

User avatar
By koluna
#66931 I work with ESP8266 (ESP-01).
I did not found an answer in manuals.
I have a situation when I send several commands to the chip.
Do I have to wait any time between commands?
What is the minimal time for it? 50 ms? 250 ms? 500 ms?
User avatar
By koluna
#66958 I am sorry, my first post contains a bit of useful information...

I use an AT-command firmware.
My init sequence is: ATE, AT+CWMODE_CUR, AT+CWJAP_CUR, AT+CIPSTAMAC_CUR.
It is used once at boot time (or when I found out a fatal error).
Further, I use the repetitive sequences like as: AT+CIPSTART, AT+CIPSEND.
I always wait for answer from module and always parse it.
But do I have to wait some time between parsing the answer and sending a next command?

I mean something like this:
Code: Select all...
send(cmd1);
parse(ans1);
delay(?); // is it necessary?
send(cmd2);
parse(ans2);
delay(?); // is it necessary?
...