Tag Archives: ESP8266 projects


DIY YouTube subscriber counter

Becky Stern’s new Instructables describes how to build a very simple realtime YouTube subscriber counter using a ESP8266 board and a seven segment LED display module.

DIY YouTube subscriber counter

DIY YouTube subscriber counter

I was inspired by the Play Button awards YouTube sends out for subscriber milestones and whipped up a simple circuit using an ESP8266 wifi board and seven segment display to show off my realtime subscriber count. This is a great IoT beginner project, with just a little soldering and a code personalization required to make it work for your own account.

Before attempting this project, you should be generally familiar with uploading new programs to your Arduino board and installing code libraries, both of which you can learn for free in my Arduino Class, though you really don’t have to understand any of the actual Arduino code to get this project running.

ESP8266 powered Christmas tree lighting

Christmas lights are an important aspect of the winter holidays in our country. Every year, we look for new fun ways of lighting outside and decorating the Christmas tree. This ESP8266 driven RGB LED lighting for Christmas tree from Evil Genius Labs is an artistic creation and possibly a good option to try if you’re bored of using the same old lighting for your tree.

ESP8266 powered RGB lighting for Christmas tree

ESP8266 powered RGB lighting for Christmas tree

The 6.5’ tall white tree gets lighted with 250 WS2811 RGB LEDs, and controlled by an ESP8266 microcontroller using the FastLED library. The animation can be controlled with a web-based app stored in the on-board flash memory of the ESP8266 board, as well as with an infrared remote control. Other features include adjustable brightness, autoplay with adjustable interval, multiple procedural animations using a fully 3D mapped layout (X, Y, and Z axes, radius, and angle), allowing scrolling and rotating in any arbitrary direction, etc.

Video below shows a demo.

The web app is a single page app with separate files for js and css, using jQuery and Bootstrap. It has buttons for On/Off, a slider for brightness, a pattern selector, and a color picker (using jQuery MiniColors). Event handlers for the controls are wired up, so you don’t have to click a ‘Send’ button after making changes. The brightness slider and the color picker use a delayed event handler, to prevent from flooding the ESP8266 web server with too many requests too quickly.