0

I am trying to connect Arduino with local network. This will act as a web server, client would be android mobile app or web browser. These are on same local network.

Do I need Ethernet Shield or ESP8266 to make Arduino accessible with local network IP ? Is there any way to connect without Ethernet Shield ?

3

To connect to a network you need a network interface. This could be an Ethernet interface, a Wifi interface or something that supports TCP/IP. The easiest way of doing this is with ether an Ethernet 'shield' of a WIFI 'shield'.

In either case there are a range of options, from full shields to smaller boards that connect via jumper wires. One important consideration is the longer the wires the more chance for signal degradation and loss of comms. So direct plug in boards are probably better.

Probably the easiest way to do it is to use a ESP8266-??, but using an ESP as a network interface is like only using your PC for email. The ESP is faster and has more memory than the Arduino, so it would be better to program that as the web-server and get the Arduino to feed it the data.

You could use Bluetooth, radio, etc, but that's just making life hard for yourself.

You could also look at the Arduinos that have networking built in.

  • If I deploy my web services code on IBM Bluemix or AWS then Can ESP8266 communicate with those servers ? – N Sharma Apr 25 '17 at 7:44
  • If they support raw TCP/IP communications yes. If they support HTTP, REST or SOAP, yes. If they need web-sockets, maybe if you can find a WS library for the ESP8266. – Code Gorilla Apr 25 '17 at 7:48
  • Thanks. Do you have any links which can help me to connect Arduino with ESP8266 on network ? – N Sharma May 3 '17 at 9:24
  • @Williams - The best place to look is the examples that come with the ESP extensions for the IDE. Go to board manager, download the ESP stuff and have a look. – Code Gorilla May 3 '17 at 10:37
1

If you get yourself a board with an ESP8266 (say, Wemos D1, NodeMCU etc) this will allow you to do what you require and connect wirelessly to a local network. You can do this either with the Arduino using the ESP8266 as a shield or alternatively you can use the 8266 board on its own (it's a more powerful MCU than the Arduino!!)

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.