Cov txheej txheem:

YouTube Subscriber Counter Npuas Tshuab: 8 Kauj Ruam (nrog Duab)
YouTube Subscriber Counter Npuas Tshuab: 8 Kauj Ruam (nrog Duab)

Video: YouTube Subscriber Counter Npuas Tshuab: 8 Kauj Ruam (nrog Duab)

Video: YouTube Subscriber Counter Npuas Tshuab: 8 Kauj Ruam (nrog Duab)
Video: Lub Zog Nruab Nrog (Hmong Dubbed) 2024, Kaum ib hlis
Anonim
Image
Image

Lub tswv yim tau yug los tom qab raug xaiv los nthuav tawm ntawm Maker Faire Lille, qhov xwm txheej loj nyob ib puag ncig Kev Tshawb Fawb, kev tsim tswv yim thiab ua-Nws-Koj tus kheej lub siab.

Kuv xav tsim qee yam uas ua rau cov neeg tuaj saib xav sau npe rau kuv tus YouTube channel YouLab. I tau sai txawm hais txog lub sijhawm tiag tiag YouTube txee. Txawm li cas los xij, nws tsis muaj kev cuam tshuam nrog cov neeg tuaj saib. Yog vim li cas, Kuv tau txiav txim siab ua qhov kev txiav txim tom qab txhua qhov kev tso npe: Ua npuas.

Ob qho lus qhia hauv qab no tau tshoov kuv siab kom ua tiav ntawm YouTube Cov Neeg Siv Khoom Counter Bubble MachineYouTube Counter: https://www.instructables.com/id/YouTube-Subscribe …Bubble Machine: https://www.instructables.com/ id/Npuas-Tshuab/

Cia peb tshawb pom yuav ua li cas kuv ua qhov kev sib tham sib tham no.

Kauj Ruam 1: Cov Khoom Siv Hluav Taws Xob

Hauv Circuit Court
Hauv Circuit Court

Txhawm rau ua txoj haujlwm no, koj yuav xav tau cov khoom siv hluav taws xob hauv qab no.

  • ESP8266 ESP-12 module
  • ESP-12E Lub Cev Tsav Tsheb
  • 5V DC lub cev muaj zog (Yam tsawg kawg 5000 RPM)
  • 5V DC iav-lub cev muaj zog (li 100 RPM)
  • Led Matrix 8x8 (nruab nrab ntawm 3 txog 8 units rau tus lej 3 txog 8 tus lej)
  • USB Cable nrog fais fab mov (Yam tsawg kawg 1A)

Nws tuaj yeem yuav online hauv tus nqi pheej yig heev.

ESP8266 yog lub hlwb ntawm kev sib tw. Lub rooj tsav xwm no tuaj yeem txuas rau WIFI kom tau txais YouTube txheeb cais, xa cov lus txib rau tsav lub cav thiab tsav Led Matrix zaub. Yog li cov qauv no muaj kev txwv tam sim no ntawm cov zis, lub rooj tsav tsheb thaiv yuav tsum tau ntxiv rau tsav lub cav.

Kauj Ruam 2: Hluav Taws Xob Hluav Taws Xob

Hauv Circuit Court
Hauv Circuit Court

Ua ntej tshaj plaws, ntsaws ESP8266 tus qauv ntawm lub rooj tsav tsheb.

Txhawm rau ua kom muaj zog cov laug cam no koj tuaj yeem siv lub zog sib cais rau lub cav thiab EPS8266 kev noj haus los yog siv tib lub hwj chim.

Txhawm rau ua kom yooj yim hauv Circuit Court Kuv tau xaiv lub zog tshwj xeeb. Txhawm rau ua li ntawd, koj tsuas yog yuav tsum muaj lub jumper nruab nrab ntawm VIN thiab VM ntawm lub rooj tsav tsheb.

Tom qab ntawd txuas lub Led Matrix mus rau lub Rooj Tswjhwm Saib daim thaiv uas siv cov lus hauv qab no

Shield - Led Matrix VIN - VCC G - GND 7 - DIN 8 - CS 5 - CLK

Thaum kawg txuas lub cav rau A+/A- B+/B- thiab USB cable rau VIN/GND

Kauj Ruam 3: Kos Duab Teeb: Lub Tsev Qiv Ntawv thiab Pawg Thawj Coj

Sketch Configuration: Librairies and Board
Sketch Configuration: Librairies and Board

ESP8266 module khiav Arduino. Qee lub tsev qiv ntawv thiab teeb tsa pawg thawj coj yuav tsum tau ua txoj haujlwm no:

Ntxiv URL hauv qab no hauv Preferences> Tus Thawj Saib Xyuas Ntxiv URLs:

Nruab ESP8266 v2.4.2 hauv Cov Cuab Yeej> Tus Thawj Saib Xyuas Haujlwm

Xaiv NodeMCU 1.0 (ESP-12E Module) hauv Cov Cuab Yeej> Boards

Nruab ArduinoJson 5.13.5 hauv Tus Thawj Saib Xyuas Tsev Qiv Ntawv

Nruab YoutubeAPI 1.1.0 hauv Tus Thawj Saib Xyuas Tsev Qiv Ntawv

Kauj ruam 4: Customize Code

Customize Code
Customize Code
Customize Code
Customize Code
Customize Code
Customize Code

Rub tus lej txuas nrog rau cov kauj ruam no thiab qhib cov ntawv Youtube_counter_bubble_machine.ino

Koj yuav pom peb cov ntaub ntawv uas yuav tsum tau kho nyob rau hauv cov cai hauv ntu 'Custom configuration to be replace':

  1. Customize WIFIIt sib xws rau WIFI network uas yuav siv los ntawm ESP8266. Update WIFI SSID thiab Password teb nrog koj cov ntaub ntawv network
  2. Customize Channel IDQhov chaw no sib raug rau YouTube channel uas yuav raug siv kom tau txais cov neeg siv txheeb cais. Koj li Channel ID tuaj yeem pom hauv URL ntawm koj lub vev xaib thaum koj nyob ntawm nplooj ntawv tseem ceeb ntawm koj tus YouTube channel. Piv txwv li URL ntawm YouLab Youtube nplooj ntawv yog:

    www.youtube.com/channel/UCQVsjlyPMlN4tZ7cGd5NnnA

    YouLab Channel ID yog UCQVsjlyPMlN4tZ7cGd5NnnA

  3. Customize Google API_KeySome Youtube API tau siv kom tau txais cov neeg siv npe ntawm cov channel. Ib qho API_Key yuav tsum tau siv Youtube APIs Nrog rau kev nkag mus hauv google account mus rau

    console.developers.google.com

    Hauv Dashboard xaiv tsim qhov project thiab hauv daim ntawv pov thawj xaiv tsim cov ntaub ntawv pov thawj - API Key.

    Hauv Tsev Qiv Ntawv xaiv YouTube Cov Ntaub Ntawv API v3 thiab qhib.

Kauj Ruam 5: Hloov Firmware thiab Test Boards

Hloov Firmware thiab Test Boards
Hloov Firmware thiab Test Boards
Hloov Firmware thiab Test Boards
Hloov Firmware thiab Test Boards
Hloov Firmware thiab Test Boards
Hloov Firmware thiab Test Boards

Cia peb sim firmware ntawm kho vajtse.

Ua ntej txuas ESP8266 rau koj lub computer los ntawm USB thiab xaiv lub pob upload. Lub firmware yuav xa mus rau koj lub rooj tsav xwm. Thaum ua tiav, koj Led Matrix yuav tsum tso tawm INIT.

Tom qab 3 txog 5 vib nas this Led Matrix yuav tsum tso tawm tus lej ntawm cov neeg siv khoom ntawm koj tus YouTube channel. Try mus sau npe yuav tshuaj xyuas tias cov zaub tau hloov kho tshiab thiab lub cav pib khiav rau 5 vib nas this.

Yog tias koj ntsib qee qhov teeb meem, qhib qhov ntsuas uas yuav muab cov cav muaj txiaj ntsig thiab pab koj daws koj cov cuab yeej lossis software.

Kauj Ruam 6: Txoj Cai

Txoj Cai
Txoj Cai

Txoj cai tau muab faib ua ob ntu, theem teeb tsa thiab theem voj.

Kev teeb tsa suav nrog pib ua Matrix Led, WIFI thiab ob lub cav.

Lub voj theem rov ua dua txhua ob vib nas this:

  • Hu rau YouTube API
  • Hloov Kho Led Matrix
  • Yog tias cov neeg siv tshiab tau nce Lub zog hluav taws xob rau 5 vib nas this

Kauj Ruam 7: Npuas Tshuab

Npuas Tshuab
Npuas Tshuab
Npuas Tshuab
Npuas Tshuab
Npuas Tshuab
Npuas Tshuab

Lub tshuab ua npuas yog txiav tawm yooj yim.

Ib daim disk uas muaj qhov yuav dhia mus rau hauv cov kua xab npum kua ces tig rau pem hauv ntej ntawm tus kiv cua. Nws yuav tsim ntau npuas.

Lub disk yog CD-ROM lossis DVD. Make qee qhov nyob hauv nws nrog lub tshuab txuas, tom qab ntawd ntsaws lub disk ntawm lub iav-lub cev siv lub hau yas los ua lub interface.

Kauj ruam 8: Casing

Casing
Casing
Casing
Casing
Casing
Casing

Lub casing yog raws li lub thawv ntoo ntoo qub uas xub muaj 3 lub raj mis.

Ua ib lub qhov plaub fab rau tus coj matrix, lub qhov ncig rau lub kiv cua thiab lub qhov me me rau lub iav iav axis. Qhov txuas lub thawv rau hauv qab hauv ntej ntawm lub thawv ntoo. Nws yuav muaj cov kua xab npum. Kev ntsaws lub disk ntawm lub iav lub cav los ntawm lub hauv ntej ntawm lub thawv ntoo. Ua kom tiav ntim nrog qee cov xab npum ntxuav tais diav tov rau hauv dej.

Koj lub txee YouTube Bubble Machine tau npaj lawm.

Pom zoo: