Code A YouTube Subscriber Counter With Raspberry Pi

What better feature for the background in your new YouTube videos than a live updating subscriber counter? Well now you can build one for just a few dollars/pounds!

Video Guide:

Grab your hardware:

MATRIX Display

Raspberry Pi 4 or cheaper Raspberry Pi 3

Connect It Up:


  • Connect to your Pi via SSH
  • Run sudo raspi-config , navigate to Interface Options, then enable SPI
  • Connect the Pi to the LED Matrix

  • Run the following commands:
sudo apt-get update --fix-missing

sudo usermod -a -G spi,gpio pi

sudo apt install build-essential python3-dev python3-pip libfreetype6-dev libjpeg-dev libopenjp2-7 libtiff5

sudo apt-get install git

sudo -H pip3 install --upgrade --ignore-installed pip3 setuptools
  • Navigate to where you want to store the code
  • run git clone
  • (If you don’t have a git account, download the zip here)
  • run cd devscover-youtube
  • run python3 examples/
  • To alter to show your own channel, edit the text with your channel name inside the file using something like nano, then change the channel ID to be your own
Written on January 18, 2020

My Latest Video: