Skip to content
Snippets Groups Projects
Software_Installation.md 12.33 KiB

ESP8266-FastLED-IoT-Webserver

This document describes the necessary steps from setting up the development environment to uploading the compiled software to the esp8266.

Dependencies

  • esp8266 v2.7.x required
  • FastLED v3.2.2+ required
  • ESP8266-FS (Sketch-Data-Uploader) version 5.0+
  • (Optional) Espalexa library for Alexa integration
  • (Optional) ArduinoOTA library and Python 2.7 for wireless firmware updating
  • (Optional) PubSubClient and ArduinoJson libraries for MQTT/Homeassistant support
  • (Recommended) IoT-Audio-Visualization-Center, Windows Application to sync the LEDs with music

The software can be found on GitHub.

For beginners I would recommend watching this setup tutorial below.

The video wasn't updated for the new update, so the library versions are incorrect and the config area looks different.

1. Development environment

  1. The code requires a recent version of the Arduino IDE, which can be downloaded here.

  2. The ESP8266 boards need to be added to the Arduino IDE: Click on File >> Preferences and paste the following URL into the Additional Boards Manager URLs field: http://arduino.esp8266.com/stable/package_esp8266com_index.json

  3. Install the CH340/341 USB Driver

    • Download and install the driver from e.g. Arduined
  4. The Boards need be installed in the Arduino IDE Click on Tools >> Board >> Boards Manager and install esp8266, version 2.7.0

  5. The LED Library FastLED is also required Click on Sketch >> Include Library >> Manage Libraries and install FastLED, version 3.3.2

  6. Install the ESP8266FS Sketch Data Upload Tool:

  7. (Optional) Install Espalexa for Amazon Alexa Support Click on Sketch >> Include Library >> Manage Libraries and install Espalexa, version 2.4.4

  8. (Optional) Install ArduinoOTA for flashing the ESP8266 via WiFi (requires Python 2.7) Click on Sketch >> Include Library >> Manage Libraries and install Espalexa, version 2.4.4

  9. (Optional) Install Python for OTA and add it to Path, afterwards restart your PC