ESP8266 wifi module arduino

Hi,
I am new to arduino.I want to connect ESP8266 wifi module with Arduino.
So i want to know the connection details and how to begin with.

I am using variable power supply to connect ESP8266.

Please help me how to test ESP8266

Also provide me a sample code to detect wifi networks available and connect to one of available networks..

Help me if anyone has already worked with same.

Waiting for reply..

Thnk you

You may want to take a look a my Beginner's Guide to the ESP8266.

Hope this helps!
Pieter

PieterP:
You may want to take a look a my Beginner's Guide to the ESP8266.

Hope this helps!
Pieter

This does!

Great guide, I hope a separate ESP8266 forum subject will be opened soon; ESP8266 questions arise everywhere on this forum, no structure for the moment.
Your guide should be pinned somewhere, very useful!!

Nrajc5295:
I want to connect ESP8266 wifi module with Arduino

Unless you have a specific need for a separate Arduino, the ESP01
alone is a good place to start, there are no connections to make as it runs
Arduino code directly. It has only 4 digital I/O and no analogues but
a lot can be achieved with that. The ESP01 is ridiculously cheap, very
simple to use & utterly reliable as a long-term Wifi client.

Cheers
Phil