Code A YouTube Subscriber Counter With Raspberry Pi

Wayne / Devscover


Wayne / Devscover
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:
Raspberry Pi 4 or cheaper Raspberry Pi 3
Connect It Up:

Steps:
-
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 git@github.com:wazcov/devscover-youtube.git
- (If you don’t have a git account, download the zip here)
- run
cd devscover-youtube
- run
python3 examples/tick.py
- 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