user32994: Hi I am trying to make Arduino Uno on local network with the help of ESP8266 wifi module.
I tried to search on internet, found mostly they are making ESP8266 as web server.http://circuits4you.com/2016/12/16/esp8266-web-server-html/
Can anyone help me how to add Arduino Uno on network with the help of ESP8266.



user10394: It depends on how you want to approach it.  I know of two options:

Use AT commands.
Program the ESP.

When you are using AT commands you need to program the Arduino to open a serial line to the ESP (ensuring rx and tx are crossed over).  You tell the Arduino to send the AT commands you need to the ESP and wait for each one to be acknowledged.  Then the Arduino sends its network data via the serial connection, to the ESP and the ESP will forward it to the network.
You can program the ESP in EXACTLY the same way as you would the Arduino.  You could write some code to accept data from the Arduino over either Serial, SPI, I2C or your own proprietary communication method.  The ESP has libraries to be a DHCP client, DNS, HTTP client, etc. (most of which you have probably seen already).  If you then write a simple application that establishes the connection to the network and then waits for a packet of data from either the Arduino or the network and forwards it as appropriate.
I can't tell you which option is best, because I have never tried either method.  I just program the ESP to do everything that the Arduino would have done anyway and simplify the code.

user313: Sending the following commands to the ESP should get you started:
AT+RST                         # Reset
AT+CWMODE=1                    # Set to station-mode as a client
ATE0                           # turn off command echo
AT+CWLAP                       # optional: list access points
AT+CWJAP_DEF="SSID","PASSWORD" # Always connect to this SSID

(I made-up the comment syntax; don't try to send those.) The full
ESP8266 AT Instruction Set has the complete set of commands and a functional description of each one.
Update:

... do I need to connect RX of ESP8266 to RX of Arduino, TX of ESP8266 to
  TX of Arduino, Ground of Arduino to RESET ?

Rx & Tx must be cross-connected with the corresponding Arduino pins and the ESP's reset pulled high (3.3v).

32994: <p>Hi I am trying to make <code>Arduino Uno</code> on local network with the help of ESP8266 wifi module.</p>

<p>I tried to search on internet, found mostly they are making <code>ESP8266</code> as web server.<a href="http://circuits4you.com/2016/12/16/esp8266-web-server-html/" rel="noreferrer">http://circuits4you.com/2016/12/16/esp8266-web-server-html/</a></p>

<p>Can anyone help me how to add <code>Arduino Uno</code> on network with the help of <code>ESP8266</code>.
<a href="https://i.stack.imgur.com/sVmx8.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/sVmx8.jpg" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/ceO4o.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/ceO4o.jpg" alt="enter image description here"></a></p>
 10394: <p>It depends on how you want to approach it.  I know of two options:</p>

<ol>
<li>Use AT commands.</li>
<li>Program the ESP.</li>
</ol>

<p>When you are using AT commands you need to program the Arduino to open a serial line to the ESP (ensuring rx and tx are crossed over).  You tell the Arduino to send the AT commands you need to the ESP and wait for each one to be acknowledged.  Then the Arduino sends its network data via the serial connection, to the ESP and the ESP will forward it to the network.</p>

<p>You can program the ESP in EXACTLY the same way as you would the Arduino.  You could write some code to accept data from the Arduino over either Serial, SPI, I2C or your own proprietary communication method.  The ESP has libraries to be a DHCP client, DNS, HTTP client, etc. (most of which you have probably seen already).  If you then write a simple application that establishes the connection to the network and then waits for a packet of data from either the Arduino or the network and forwards it as appropriate.</p>

<p>I can't tell you which option is best, because I have never tried either method.  I just program the ESP to do everything that the Arduino would have done anyway and simplify the code.</p>
 313: <p>Sending the following commands to the ESP should get you started:</p>

<pre><code>AT+RST                         # Reset
AT+CWMODE=1                    # Set to station-mode as a client
ATE0                           # turn off command echo
AT+CWLAP                       # optional: list access points
AT+CWJAP_DEF="SSID","PASSWORD" # Always connect to this SSID
</code></pre>

<p>(I made-up the comment syntax; don't try to send those.) The full
<a href="https://espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf" rel="nofollow noreferrer">ESP8266 AT Instruction Set</a> has the complete set of commands and a functional description of each one.</p>

<p>Update:</p>

<blockquote>
  <p>... do I need to connect RX of ESP8266 to RX of Arduino, TX of ESP8266 to
  TX of Arduino, Ground of Arduino to RESET ?</p>
</blockquote>

<p>Rx &amp; Tx must be cross-connected with the corresponding Arduino pins and the ESP's reset pulled high (3.3v).</p>
