-
Notifications
You must be signed in to change notification settings - Fork 17
Preparing Arduino IDE
Download the newest version of Arduino IDE from here and install it.
- Go to File -> Preferences and add
http://arduino.esp8266.com/stable/package_esp8266com_index.json
to the Additional Boards Manager URLs. You can add multiple URLs, separating them with commas.
- Go to Tools -> Board -> Boards Manager...
- Type
ESP8266
into the search - Select esp8266 by ESP8266 Community and click Install
You can add libraries by going to Sketch -> Include Library and then choose Manage Libraries... or Add .ZIP Library.... This depends on the library you want to download.
Download the library here and add it by using Add .ZIP Library...
Download the library here and add it by using Add .ZIP Library...
Just use Manage Libraries..., search for Timezone
and install it.
Download the library here and add it by using Add .ZIP Library...
Download the library here and add it by using Add .ZIP Library...
Just use Manage Libraries..., search for PubSubClient
and install it.
Just use Manage Libraries..., search for FastLED
and install it.
In order to upload the webserver files you need to add the SPIFFS support.
- Download the tool here
- In your Arduino sketchbook directory, create tools directory if it doesn’t exist yet
- Unpack the tool into tools directory (the path will look like
<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar
) - Restart Arduino IDE and check the Tools menu for
ESP8266 Sketch Data Upload
Open the Tools menu and set everything like shown below