Connect Arduino Mega 2560 to internet

Hi everyone!
I'm working on a project where I need to control my Arduino Mega 2560 (and the 3 servomotors connected to it) from a web app.

My idea was to use an ethernet shield to connect Arduino to internet (Arduino Ethernet Shield V2), but it's nowhere to be found (in a decent amount of time). Then i looked at ESP8266 but it seems to be hard to connect and to program.

Do you have any suggestions about what to use for the connection?

it's not... but it's WiFi and not Ethernet, so depends what your uplink looks like.

With ESP8266 I don't mean NodeMCU (because it would replace my Arduino Board) and for every ESP8266 module I found the adapter needs to be soldered to work properly, and it's not so easy for me because I'm not practical with soldering at all.

1 Like

Well, apparently your current Arduino board lacks a crucial feature. So instead of trying to add it, you could also opt for a tool that is fit for the purpose right away, such as one of the many ESP32-based boards (ESP8266 is a bit outdated by now). Give it a thought.

Not really, no. But there are other challenges, such as getting the Arduino to talk to the ESP over Serial. Many users run into trouble with this.

I need 15 pins for my project, 6 of them must be interrupts. All the wi-fi based boards I found don't have these requirements. I found some resellers to buy from the ethernet shield and for now it seems to be the best choice for my project.

I doubt that.

W5500 Ethernet Shield can be an alternative.

The "Arduino Ethernet Shield 2" is a nice product.

Even though it is sold out on the Arduino Store, I see that it is available on Amazon from Arduino's own store there:

If that isn't convenient for you , you can also look around to see whether it is available from one of the authorized distributors (they often have stock even when Arduino doesn't):

There are also quite a few usable equivalents from other manufacturers, such as the one @anon35827816 shared.

If you are not successful finding one with the W5500 Ethernet controller chip, you can look for the shields or modules that use the W5100, which is also a perfectly good option, and even more common than W5500 when I was last shopping for such things.

Another alternative is the shields or modules that use the ENC28J60 Ethernet controller chip. I have mostly focused on the W5100 and W5500, but the ENC28J60 is also pretty popular and has a nice Arduino library that will make it easy to use in your sketches.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.