Introduction
If you are a YouTuber or electronics enthusiast, a YouTube Live Subscriber Counter is an exciting and professional way to display your channel’s growth in real time.
In this guide, you’ll learn how to make a YouTube Live Subscriber Counter using ESP32 and MAX7219 LED display, which shows:
- Total Subscribers
- Total Views
- Total Videos
All data is fetched live from YouTube using the YouTube Data API v3 and updated automatically every few minutes.
This project is perfect for:
- YouTube studios
- Live streaming setups
- Creator desks
- Tech content creators
Let’s build it step by step...
👉WATCH COMPLE VIDEO ON YOUTUBE
Components Used
Here is the list of components required for this project:
- ESP32 Wi-Fi Module
- MAX7219 LED Matrix Display
- Micro USB Female Jack
- USB Cable
- Laptop / PC
- Jumper Wires (Male–Female)
- Wi-Fi Connection
- Arduino IDE Software
- 3D Printed Enclosure (Optional, for professional look
Step 1: Connect ESP32 with MAX7219
Make the following wire connections carefully:
Step 2: Power the ESP32
- Connect the Micro USB female jack to the ESP32
- Plug it into your Laptop or PC using a USB cable
This will power the ESP32 and allow code uploading.
Step 3: Download and Open the Code
- Download the project code
- Open Arduino IDE
- Open the downloaded code file in Arduino IDE
Step 4: Install Required Libraries
Now install the necessary libraries:
- Open Arduino IDE
- Go to Sketch → Include Library → Manage Libraries
- MD_Parola
- MD_MAX72xx
These libraries are required to control the MAX7219 LED matrix.
Step 5: Enter Wi-Fi Credentials in Code
Inside the code, find the Wi-Fi section and fill in:
- SSID → Your Wi-Fi Name
- Password → Your Wi-Fi Password
⚠️ Make sure the Wi-Fi has an active internet connection.
Step 6: Get YouTube API Key (Very Important)
To fetch live YouTube data, you need two things:
- API_KEY
- YouTube Channel ID
How to Create API Key
- Go to Google Cloud Console (link provided)
- Select your Email ID
- Tick Agree & Continue
- Click Select a Project → New Project
- Project Name:
- Location: No Organisation (for personal use)
- Click Create
- Wait 20–30 seconds
Enable YouTube Data API v3
- Click ☰ (Top-Left Menu)
- Go to APIs & Services → Library
- Search for YouTube Data API v3
- Click Enable
Create API Key
- Go to APIs & Services → Credentials
- Click Create Credentials
- Select API Key
- Name your API Key
- Click Create
- Copy the generated API Key
- Click Restrict Key → Save
🎉 Boom! Your API Key is ready
🔒 Keep it safe and never share it
Step 7: Find Your YouTube Channel ID
- Log in to your YouTube Channel
- Go to Settings
- Open Advanced Settings
- Copy your Channel ID
Step 8: Update Code with YouTube Details
Now paste the following into the code:
- API_KEY
- CHANNEL_ID
- YouTube Channel Name
Save the file.
Step 9: Upload Code to ESP32
- In Arduino IDE go to Tools
- Select Board → ESP32 Board
- Choose the correct COM Port
- Click Upload
👉 Click here to learn: How to upload code to ESP32 board
Step 10: Final Output on MAX7219 Display
After successful upload, the display will show:
- Wi-Fi Connecting
- Wi-Fi Connected (if internet is available)
- YouTube Channel Name
- Total Subscribers
- Total Videos
- Total Views
These values run in a loop
Subscribers update every 2 minutes automatically
Step 11: Professional Look with 3D Printed Enclosure
To give the display a clean and professional look, I used a custom 3D-printed enclosure.
📦 You can order this enclosure
📩 Contact details are provided in the given email ID
Conclusion
This YouTube Live Subscriber Counter using ESP32 & MAX7219 is a powerful and eye-catching project for creators and makers. It’s:
- Real-time
- Automatic
- Professional
- Perfect for YouTube studios
If you found this guide helpful, don’t forget to share it and keep building cool tech 🔥
Happy Making! 🚀






0 Comments