Introduction: Diy Esp32 Youtube Subscriber Counter
Hey Guys In This Instructable Am Going To Show You How To Make A Youtube Subscriber Counter Using ESP32 , OLED Display & 3D Printed Case
If You Like This Instructable Please Subscribe To My Channel
Step 1: Parts .....
* Esp 32
ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations and includes built-in antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power-management modules. ESP32 is created and developed by Espressif Systems, a Shanghai-based Chinese company, and is manufactured by TSMC using their 40 nm process. It is a successor to the ESP8266 microcontroller.
An organic light-emitting diode (OLED or Organic LED), also known as an organic EL (organic electroluminescent) diode, is a light-emitting diode (LED) in which the emissive electroluminescent layer is a film of organic compound that emits light in response to an electric current. This organic layer is situated between two electrodes; typically, at least one of these electrodes is transparent. OLEDs are used to create digital displays in devices such as television screens, computer monitors, portable systems such as smartphones, handheld game consoles and PDAs. A major area of research is the development of white OLED devices for use in solid-state lighting applications
A jump wire (also known as jumper wire, or jumper) is an electrical wire, or group of them in a cable, with a connector or pin at each end (or sometimes without them – simply "tinned"), which is normally used to interconnect the components of a breadboard or other prototype or test circuit, internally or with other equipment or components, without soldering.Individual jump wires are fitted by inserting their "end connectors" into the slots provided in a breadboard, the header connector of a circuit board, or a piece of test equipment.
Step 2: Wiring ....
Before Making This Project Note That The Youtube Subscriber Counter Will Only Works On Esp 32 . I Have Tested All The Other Boards For This Project But Unfortunately Failed& Later Tried With This ESP32 , Which Was A Success So Here Iam To Share You How I Did This Project
Refer The Schematic
Firstly Connect The GND Pin Of Esp 32 To Oled GND , The Positive Pin (VCC) Of Esp 32 VC
Attach The Digital Pin 2 To SCL Pin Of Oled Display , Attach The Digital Pin 4 To SCK Of Oled Display
We Have Completed The Wiring .....
Step 3: Software Part .....
To Get The Youtube Subscriber Count On Esp32 We Need To Enable The YOUTUBE API For That Go To GOOGLE DEVELOPER CONSOLE From The Top Right Arrow Click To Create A New Project , Rename The Project Name For Your Ease ..... & Save The Name , Once Its Done We Need To Enable The API
* Go To API Library
*Search For Youtube Data API v3
*Click On Enable
This Is How We Can Enable The Youtube Api
Once Thats Done We Need To Create Credentials For That Click On CREDENTIALS
* Choose List Pick Youtube Data API v3
*Then Choose The Web Browser Java Script
* Then The Public Data
Then Save The Data
Copy The Api Key We Need It Later, To Paste It In The Arduino Code To Fetch The Data Fro Youtube & Also Do Not Disclose The Api To Any One .......
On The Arduino Code Type Down The Wifi Name And Wifi Password , Then Paste The API Key Which Was Copied & Also We Need To Paste The Youtube Channel ID For That Go To Youtube & Search Your Channel , Then Copy The Channel ID From There
Download the code from HERE
Step 6: Getting the Channel ID
simply copy the channel id This is mine
and inset it in the code after that upload the code
Step 7: Making the Enclosure (3D - Printed Case)
you can get the stl file from here
simply place everything inside the box and glue it with glue gun or some sort of adhensive