2

I need to connect my ESP8266 with Arduino Mega, but I don't have any library to connect it as a ESP8266 WebClient, in Serial1.

I try to use WifiLibrary from Arduino.

I try to use ESP8266WiFi.h for Serial1, but I couldn't find a way to change the Serial Port. So I can't switch WiFiClient-client for Serial1.

I need some help here, Guys.

Thanks!

0

1 Answer 1

2

If you'd like to have both arduino and esp8266 in your system, you need to make them connected over Serial. So you can set some AT commands from arduino to send or listen data via esp8266.

Here is a cool answer for you :

https://stackoverflow.com/a/37084668/3082873

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.