-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arduino-web-server-mega-2560-r3-built-in-esp8266/ #8
Comments
Well done sir. Worked flawlessly for me. Thank you for not spreading false information! |
@jewing18 let me know if you want to see any other content! Thanks for the kind words! |
frankly i most say, this post is the only working guide for this board keep it up and THANKS!! |
Just one question, and it's the hard one, I just figured out that it is possible to program mega2560 through wifi via a framework called esp_link and this youtube video shows how to do it. My problem is that the video worked with an independent esp-01 module. It is easy to figure out the connections between mega2560 and esp, but here in this Mega 2560 R3 built-in ESP8266 board, I can't figure out the relationship needed to program mega2560 via esp8266 through wifi. I appreciate it if you, please help me |
Thank you for the excellent instructions! I did fine till the test code from WiFiEspAT library - and I get a timeout error... AT+GMR returns good values. Then I get this error: Exit Status 1: 'mySSID' was not declared in this scope. I assume Exit Status 1 means successful UL of sketch, so I forged ahead to discover the TX/RX switch was already in the TX-3/RX-3 position instead of TX-0/RX-0 position for all of the previous code. Is that significant? |
SSID and PW must be quoted. |
Do you have any suggestion how to fix the timeout issue during uploading sketch ? This randomly occurs. Sometimes it works every time and sometimes it always timesout. The boerd is still running my old sketch and I still get data in the serial monitor |
I had similar problem. Must use short, shielded USB cable that came with the Arduino. I never could get Arduino Mega with built in WiFi to ever: make a connection to my WiFi (client) nor offer a connection to (Arduino) AP. I went back to Arduino Mega and a cable. WiFi wasn't worth the hassle. |
can you help me please mine is stuck at waiting for wifi connection |
Flash went okay received: Hard resetting via RTS pin. Changed the switches as described [5 & 6 ON] When trying the AT command. receive the following: |
Dear Gabriel J. Csapo, After purchasing this "Arduino Mega 2560 with built-in WiFi", I could not understand the way to use it. So, meaninglessly I kept that for several months. Thank you. |
Those who are not having gy-21p sensor, can comment some lines for testing the WiFi functionality and the web server code : #define NAME_OF_SSID "Tenda_D360D0" //#include <Adafruit_BMP280.h> //Adafruit_BMP280 bme; WiFiServer server(80); void setup() Serial.begin(115200); Serial3.begin(115200); WiFi.init(Serial3); WiFi.begin(NAME_OF_SSID, PASSWORD_OF_SSID); server.begin(); IPAddress ip = WiFi.localIP(); void loop() WiFiClient client = server.available(); if (client)
} |
Glad it was helpful! It was a similar problem for me so I am happy to help others make use of the board! |
HI |
Hi |
Arduino - Web Server (Mega 2560 R3 built-in ESP8266)
This tutorial goes over how to use the Mega 2560 R3 built-in ESP8266 and create a web server by flashing the onboard ESP8266 with AT firmware which only requires programming only the ATmega2560. 📶
https://www.gabrielcsapo.com/arduino-web-server-mega-2560-r3-built-in-esp8266/
The text was updated successfully, but these errors were encountered: