Notes:
- Arduino should already be set up.
- This uses Windows 7
- This uses non-admin version of Arduino running from zip file
- Link to SparkFun https://www.sparkfun.com/products/13287
- This guide is based on the Hookup guide so read it if you want more details https://learn.sparkfun.com/tutorials/esp8266-wifi-shield-hookup-guide
Solder the headers on and connect to RedBoard. Follow instructions on the SparkFun page.
- Download the SparkFun ESP8266 AT Library
- After the download completes you should have a file
SparkFun_ESP8266_AT_Arduino_Library-master.zip
- Open Arduino.
- Go to Sketch > Include Library > Add .ZIP Library
- Browse to the download location and select the file
SparkFun_ESP8266_AT_Arduino_Library-master.zip
- Now you should be able to see SparkFun ESP8266 AT Library in the library options in Include Library menu.
- Also you can see examples under File > Examples > SparkFun ESP8266 AT Library
- Open Shield Demo from File > Examples > SparkFun ESP8266 AT Library > ESP8266_Shield_Demo
- Make sure that correct board and port is selected
- Change the mySSID and myPSK field
const char mySSID[] = "yourSSIDhere";
const char myPSK[] = "yourPWDhere";
- Make sure the UART switch on the WiFi shield is set to SW
- Upload!
- Open Serial Monitor. It should display message "Press any key to begin."
- Try the demo and see if it works. It should!
- Go to Preferences File > Preferences
- Enter the following URL in the Additional Boards Manager URL and click OK
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
- Open Boards Manager by going toTools > Boards > Boards Manager
- Start typing "esp" and SparkFun ESP8266 Boards by SparkFun Electronics should show up.
- Select and click Install
- Go to Preferences File > Preferences
- Add the following URL in the Additional Boards Manager URL and click OK
http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Open Boards Manager by going toTools > Boards > Boards Manager
- Start typing "esp" and esp8266 by ESP8266 Community should show up.
- Select and click Install or if it's already installed, click Update