Hello Forum members,
The question - is that - can i connect my arduino with esp8266 using software serial library and access the internet and also control the arduino over internet by using the ESP8266 in client mode??
why are you asking, what are your doubts? and why software serial?
Yes. Difficulty level depending on which Arduino and ESP. If your Arduino is an Uno and the ESP firmware is set to 38400 baud or less and you have the appropriate level shifters on the Uno TX to ESP RX line you can use software serial. For a Mega, with 4 hardware serial ports, software serial makes no sense. Connect to one of the hardware ports (still need level shifter). Other Arduinos would have other requirements.
So, which Arduino? Which ESP module? ESP using AT firmware or programmed with the Arduino IDE? ESP firmware version (if applicable)?
The linked site, like most of the ESP sites and example programs out there, diverges from the serial AT command method and prescribes loading the Arduino software. I have been working on a serial interfaced ESP8266 SNTP sketch, and I found that the AT command set is a minefield of poorly documented functions, and the example programs provided by Espressif are extremely dumbed down. There is a great show of everything being online but crucial details are glossed over. It is a huge PITA. When you web search, you will find a huge number of Arduino and LUA tutorials and programs, but very very few AT based ones.
I'm going to try a serial library like this one soon, to see how much improvement that makes:
You most likely have not given it enough power it needs around 300Ma, do not try to run it directly from the arduino's 3.3v that can only put out 50Ma, you should see a red light once its powered up and blue when running a cmd. to test its WAI follow this guide http://www.instructables.com/id/Getting-Started-With-the-ESP8266-ESP-01/ note the 3 wiring pictures below Step 2: ESP-01 Setup picture, he or she does not use a LLC and the esp8266 will work without it but you could risk killing it, to wire it correctly follow this pic, your need a lm1117 and a 16-20v 10uf capasitor and some jumpers ect... https://cdn.instructables.com/FQW/WYVB/IIJKL3KS/FQWWYVBIIJKL3KS.MEDIUM.jpg