Software apps and online services
Via WiFi or Ethernet port.
Install the labruary "WebSockets" (available from the library manager).
Install the labruary "FastLed" (available from the library manager).
Connect the ESP8266 to your computer.
Open the "ESP8266-LED.ino" sketch.
Update the network settings to match your network's details.
const char* ssid = "ssid"; // the name of your network const char* password = "password"; // the password of your network IPAddress Ip(192,168,1,10); // IP address for ESP IPAddress Gateway(192,168,1,1); // Gateway (router) IP address IPAddress Subnet(255,255,255,0); // the subnet mask, range of IP addresses in a local network
Also update the connection settings of the tape.
#define LED_COUNT 60 // number of pixels in the tape #define LED_DT 2 // pin where is connected the DIN strips (number of pins coincides with the ESP8266 Arduino)
Default effect settings.
uint8_t bright = 25; // bright (0 - 255) uint8_t ledMode = 0; // trigger effect (0 - 29) uint8_t flag = 1; // effect undo flag CRGBArray<LED_COUNT> leds; uint8_t delayValue = 20; // delay uint8_t stepValue = 10; // pixel pitch uint8_t hueValue = 0; // color tone
Upload the sketch.
Upload web files to the ESP8266 file system from the "data" directory.
Open the serial monitor to view the connection status.
Navigate to the IP address on your device and enjoy!
Video demonstration of the project : https://www.youtube.com/watch?v=sCb65SvB94M