Are you curious about your YouTube channel's performance and want to see real-time statistics at a glance? In this project, we'll build a compact display using an C3-Mini and an OLED screen to show the number of subscribers, total views, and the number of videos on your YouTube channel.
This project is perfect for makers who want to monitor their channel's growth without constantly checking online.
All you Need- C3 Mini
- 0.96" OLED Display (128x64)
- Breadboard and jumper wires/ Triple adapter
- USB cable for programming
- Computer with Arduino IDE installed
- Install Arduino IDE:
Add ESP32 Board Manager URL: Go to File -> Preferences
and add the following URL to the "Additional Board Manager URLs":
Copy code
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- Install ESP32 Board: Go to
Tools -> Board -> Board Manager
and search for "esp32". Install the latest version.
Install Required Libraries: Install the following libraries via the Library Manager (Sketch -> Include Library -> Manage Libraries
):
- Adafruit SSD1306
- Adafruit GFX
- ArduinoJson
- WifiClientSecure
- YoutubeApi
Connect the OLED display to the C3_Mini as follows:
- OLED VCC -> 3.3V on ESP32-C3
- OLED GND -> GND on ESP32-C3
- OLED SCL -> 8 (SCL)
- OLED SDA -> 10 (SDA)
Ensure all connections are secure and double-check the wiring.
Step 3: Setting Up YouTube API- Get Your API Key: Go to the Google Cloud Console, create a new project, and enable the YouTube Data API v3. Generate an API key and note it down.
- Get Guided-> here
- Channel ID: Find your channel ID from your YouTube channel URL.
In the provided code, modify this section with your credentials
- Upload the Code: Connect your C3-Mini to your computer and upload the code using the Arduino IDE.
- Open Serial Monitor: Open the Serial Monitor to check for any debug messages and ensure your C3-Mini connects to WiFi and retrieves the data.
- View the OLED Display: Once the data is retrieved, you should see the YouTube statistics displayed on the OLED screen.
In this project, we successfully built a real-time YouTube channel statistics display using an ESP32-C3 Mini and an OLED screen. This handy device allows you to keep track of your channel's growth effortlessly. Feel free to customize the display settings or add more features as per your requirements.
Happy making! If you have any questions or run into issues, feel free to ask in the comments below.
Always follow for more❤️
Comments
Please log in or sign up to comment.