Diy Esp32 Youtube Subscriber Counter

by ZenoMo in Circuits > Electronics

2702 Views, 5 Favorites, 0 Comments

Diy Esp32 Youtube Subscriber Counter

DIY Youtube Subscriber Counter Using Esp32

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
https://www.youtube.com/ZenoModiff


Parts .....

Screenshot (91).png
Screenshot (92).png
Screenshot (93).png

* Esp 32

* Oled Display

* Jumpers

* 3D Printed Case


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.[2] It is a successor to the ESP8266 microcontroller.


OLED DISPLAY

An organic light-emitting diode (OLED or Organic LED), also known as an organic EL (organic electroluminescent) diode,[1][2] 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


JUMPERS

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.



Wiring ....

Screenshot (94).png
Screenshot (95).png
Screenshot (96).png
Screenshot (97).png
Screenshot (98).png
Screenshot (103).png
Screenshot (101).png
Screenshot (99).png
Screenshot (100).png
Screenshot (126).png

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 .....

Software Part .....

Screenshot (105).png
Screenshot (106).png
Screenshot (107).png
Screenshot (108).png
Screenshot (110).png
Screenshot (111).png
Screenshot (112).png
Screenshot (113).png
Screenshot (114).png
Screenshot (115).png

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



Screenshot (116).png
Screenshot (117).png
Screenshot (118).png

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 .......

Screenshot (120).png
Screenshot (121).png
Screenshot (122).png
Screenshot (123).png
Screenshot (119).png

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

Getting the Channel ID

Screenshot (124).png
Screenshot (125).png

simply copy the channel id This is mine

UC3x_svxO5Dxl0VesjEMpuGg

and inset it in the code after that upload the code

Making the Enclosure (3D - Printed Case)

Screenshot (19).png
Screenshot (17).png
Screenshot (18).png
Screenshot (10).png
Screenshot (127).png
Screenshot (128).png
Screenshot (131).png
Screenshot (129).png
Screenshot (130).png
Screenshot (12).png
Screenshot (89).png
Screenshot (104).png

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

Everthing You Need to Make the Project