Skip to content

Displaying live YouTube subscriber count using an LED Matrix and and ESP8266 (Arduino)

Notifications You must be signed in to change notification settings

James-workshop/RGB-LED-Matrix-YouTube-Sub-Display

Repository files navigation

RGB-LED-Matrix-YouTube-Sub-Display

Displaying live YouTube subscriber count using an LED Matrix and and ESP8266 (Arduino)

Always hope to create a unique YouTube subscriber counter, When I found the Adafruit GFX compatible graphics driver for LED matrix panels library & Arduino YouTube API written by Brian Lough, I knew I wanted my YouTube subscriber counter to look like this

Thanks to Brian Lough for the inspiration and the original sketch.

Here is a note of my production process. For more detailed instructions, please go to Brian Lough's GitHub

github

Hardware

  • D1 Mini
  • 220uF 25V Capacitor
  • 220k Ohm Resistor
  • 1N4001 Diode
  • 3 pin male header
  • 1 Jumper block
  • 16 pin female header (2x8)
  • 16 pin right angle male header (2x8)
  • Large Green screw terminals (KF8500-2P-8.4MM)
  • 3 Line Dip Switch (VDG-03HG-R)
  • 5.0mm Screw Terminals 2Pin *2
  • D1 Mini Matrix Shield PCB
  • RGB LED Matrix Panel that is compatible with the PXMatrix library wiring Described Here

github

D1 Mini Matrix Shield PCB

I have made a PCB at JLCPCB.com that makes using these displays really easy! It makes use of the wires than come with the displays for easier connections.

github

github Make hardware development easier, Higher Quality & Lower Cost

New registered users offer , Order here

You can use my Gerber file to place an order at JLCPCB.com




Change log of Version

V2.2

  • Adjust PCB size github

V2.1

  • Reduce PCB size, suitable on some smaller displays

V1.1

  • First version

How to make

https://youtu.be/3v2Arlc7Ogg github

Install & config Libraries

Arduino YouTube API

Getting a Google Apps API key (Required!)

Installing

The easiest way to install this library is through the aduino library manager, just search for "Youtube"

You also have to install the ArduinoJson library written by Benoît Blanchon. Search for it on the Arduino Library manager or get it from here.

Include YoutubeApi in your project:

#include <YoutubeApi.h>

and pass it a Bot token and a SSL Client (See the examples for more details)

#define API_KEY "XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

WiFiClientSecure client; //For ESP8266 boards

YoutubeApi bot(API_KEY, client);

PxMatrix - LED matrix panel driver for ESP8266, ESP32 and ATMEL

detailed instructions, please go to Dominic Buchstaller