Closed xkvnn closed 4 years ago
use 9600 baud or my WiFiEspAT library https://github.com/jandrassy/WiFiEspAT#Why-a-new-wifiesp-library
use 9600 baud or my WiFiEspAT library https://github.com/jandrassy/WiFiEspAT#Why-a-new-wifiesp-library
If I use 9600 for Serial3, I can't init ESP module
[WiFiEsp] Initializing ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] Cannot initialize ESP module
[WiFiEsp] >>> TIMEOUT >>>
[WiFiEsp] No tag found
WiFi shield not present
you have to change the baud rate in AT firmware too.
but you should really replace the AT firmware and use my library (if you don't need SSL)
I use MEGA+WiFi R3 ATmega2560+ESP8266
I only can read first-line response header then throw timeout.
HTTP/1.0 200 OK
Code
Serial log