GithubHelp home page GithubHelp logo

titenko / esp8266-ws28xx-blynk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jaminnzx/esp8266-ws28xx-blynk

0.0 0.0 0.0 21 KB

An Ardiuno sketch to connect an ESP (all varients) to WS28xx LED strips and control them using the Blynk mobile app.

C++ 76.68% C 23.32%

esp8266-ws28xx-blynk's Introduction

THIS TUTORIAL IS STILL A WORK IN PROGRESS. SEE THE BLYNK COMMUNITY THREAD BELOW FOR ALL INFO AVAILABLE

ESP8266-WS2811B-Blynk

An Ardiuno sketch to connect an ESP8266 to WS28xx LED strips and control them using the Blynk mobile app. This small tutorial will help you build the controller which you can hook up to any number of LEDs you like. (max 2048 I think?)

Official Blynk Community forum thread: http://community.blynk.cc/t/esp8266-fastled-blynk-smart-shelf-video/7333

Installation

Wifi Credentials

Create a new folder in your library dir (arduino\libraries\wifi_credentials) called 'wifi_credentials' and create a new file called 'wifi_credentials.h' and copy the example below:

/*
   Wifi Credentials
*/
#ifndef WIFI_CREDS_H
#define WIFI_CREDS_H
#define WIFI_SSID               "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
#define WIFI_PASS               "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
#endif

Replace "xxxxxxx" with your own Wifi network credentials.

Hardware

  • ESP Dev Board. This could be any size or shape as long as it is not the ESP-01 > ESP-07 varients.
  • WS2811/WS2812/WS2812B LEDs.
  • High current power supply. (About 1A / meter).
  • Small project box.

Smart LED Controller hardware

Libraries required:

Software

  • Download the project INO file and required libraies.
  • Download and install the Blynk Mobile App for iOS or Android.
  • Create a new project in the Blynk app and email yourself the auto generated auth token.
  • Use the QR Code below to clone my Blynk project dashboard. It will require about $4 worth of in-app energy or use a local server where you can give yourself free energy.
  • Paste the auth token in to the settings.h file
  • Define the number of LEDs you are using.
  • If you plan on using more than 1 controller, you can set a nickname for each
char nickname[] = "OFFICE1";
  • And select it's zone.
  • 0 will cause a fatal error
  • 1 reserved for ALL zones
  • 2 = Menu Widget Item 1 (Modify zone name in Blynk Dash)
  • 3 = Menu Widget Item 2
  • 4 = Menu Widget Item 3
  • 5 = etc etc.. you could make as many zones as the Blynk Menu widget allows.
int HardwareZone = 2; // OFFICE 
  • Upload sketch to your ESP hardware. If you are using ArduinoOTA to update over the network then also set a device hostname and power cycle your hardware after first upload otherwise OTA won't work
ArduinoOTA.setHostname("LED-Office1");

Blynk Clone Project QR Code

Gallery

Video

Smart LED Controller Video

LED Module

Here is a little LED light module I buult to put behind items around the house. I also use this to control strips of LEDs by adding a 3 pin JST connector to the end of the internal LED wiring.

Smart LED Controller running on Blynk Smart LED Controller running on Blynk Smart LED Controller running on Blynk Smart LED Controller running on Blynk Smart LED Controller running on Blynk Smart LED Controller running on Blynk

esp8266-ws28xx-blynk's People

Contributors

jaminnzx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.