-->
Page 1 of 1

Can I use my ESP8266 as a WiFi shield with my Mega 2560?

PostPosted: Fri Feb 21, 2020 6:05 pm
by WhiteHatMatt
Hi all,

I have an Arduino Mega 2560 and I'm trying to use an ESP8266 as a wifi shield (i.e., by using `WiFi.h`). Everything I've found online so far only shows how to use the board by bypassing the Arduino and connecting directly to the ESP8266, or requires that I manually send network requests. Is there any way to use the `WiFi.h` library when I connect the ESP8266 to my Serial1 ports?

Re: Can I use my ESP8266 as a WiFi shield with my Mega 2560?

PostPosted: Sat Feb 22, 2020 1:02 pm
by JurajA
you can't use the Arduino WiFi library. it is for a different hardware.
you could use WiFiEsp library or my WiFiEspAT library (it has constraints)