- Install the arduino IDE [https://www.arduino.cc/en/Main/Software]
- Install the ESP8266 addon
- File > Preferences
- Copy
http://arduino.esp8266.com/stable/package_esp8266com_index.json
into the Additional Boards Manager URLs: - Go to Tools Boards, Boards Manager
- Install the esp8266 addon
- Select the Generic ESP8266 Module as your board
- Install the WifiManager Code
- Sketch > Include Library > Manage Libraries
- Search for wifimanager and install it
- Download the esp8266_gateway code
- Rename NodeConfig-template.h to NodeConfig.h
- Open esp8266_gateway.ino
- Edit NodeConfig.h and add in your location, node ID
- Upload the code via a serial adapter (e.g FTDI) connected to the 5 pin header.
-
Pin 1 is closest to the USB connector.
-
Before uploading, GPIO0 must be pulled low by shorting pins 4 and 5 and the board must be restarted.
Pin Function 1 Ground 2 Rx 3 Tx 4 Ground 5 GPIO0