Before using the ESP8266 module, the firmware needs to be updated to provide wider router support. The instructions shown below are based on my experiences whilst upgrading my ESP8266 modules to firmware version 0.9.2.2
Connect your ESP8266 module as follows:
You also need to download the new firmware and update tool from ElectroDragon: http://goo.gl/uHM6aO The firmware tool is called XTCOM UTIL.zip
Before you start the update, make sure your ESP8266 is working normally as follows:
If all is well, you can move on to the firmware update.
Here are the steps required to update the firmware:
On completion of the update, disconnect GPIO0 from ground and re-cycle the power. You can now use the serial connection to try a few AT commands.
NB: Following the update, the default serial baud rate changes to 9600 and AT commands require a CR+LF combination to signal completion. Some terminal programs (PuTTY) refuse to send the CR+LF combination so you need to press Enter followed by CTRL-j.
NB:When entering AT commands you cannot use backspace to make corrections as each character is sent as it is typed.
To connect to your local WiFi network use the following commands:
Chris Stubbs has done the pioneering work and produced software to control the ESP8266 from an Arduino based board. The details can be found here and all you need to do to get on the air is to create updated wifiConfig and NodeConfig files with your WiFi and node details.
NB: When connecting the Moteino or other Arduino board to the ESP8266 the Tx and Rx lines need to be reversed, i.e.Tx on Arduino goes to Rx on Moteino and vice-versa.
It should be possible to use the SoC processor in the ESP8266 to control the RFM69 directly thereby eliminating the need for the Arduino but that code hasn't been written yet.