- Brian Ensor
- Robert Ladd
- Dean Moser
- Satchel Spencer
Refer to the Sparkfun ESP8266 Thing Hookup Guide for assembly instructions.
Some of these instructions were lifted from https://github.com/esp8266/Arduino. Go check out the project that lets us program this tiny chip in a familiar language.
- Download and install the Arduino IDE. (version 1.6.5)
- Start Arduino and open Preferences window.
- Enter http://arduino.esp8266.com/staging/package_esp8266com_index.json into Additional Board Manager URLs field. It is important that you use the staging version because we use features not yet included in the stable version.
- Open Boards Manager from Tools > Board menu and install the esp8266 platform. Don't forget to select your ESP8266 board from Tools > Board menu after installation.
- Download the latest version of our code.
- Add the files core_esp8266_features.h and libb64 from https://github.com/esp8266/Arduino/tree/master/cores/esp8266 to the folder below. The code will not run without these additions.
- Mac:
~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/
- GNU/Linux ?:
~/.arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/
- Windows ?:
%APPDATA%\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266\
- Mac:
- Install ArduinoJson Library with Library Manager
- In Arduino IDE (since version 1.6.2) goto Sketch Tab -> Include Library -> Manage Libraries
- Search for ArduinoJson and click on it
- Select version and click install
- Download the ESP8266TrueRandom library.
- In the Arduino IDE, go to Sketch > Include Library > Add .ZIP Library...
- Select the ESP8266TrueRandom-master.zip
- Click Choose to install the library
- Download the arduinoWebSockets library.
- Follow same instructions as above to install
- Connect your ESP8266 to your computer.
- Open the server/server.ino file in the Arduino IDE. Set the communication port in the Tools > Port menu.
- That's it! Upload the sketch to your device (Sketch > Upload).
If you are not using an SD card, follow this guide to install ESP8266FS and store the data directory on your device's flash memory.