Cov txheej txheem:
- Kauj Ruam 1: Cov Ntaub Ntawv / Cov Cuab Yeej:
- Kauj ruam 2: Tsim Api Keys
- Kauj ruam 3: Upload Sketch rau Arduino
- Kauj ruam 4: Python
- Kauj ruam 5: Ua tiav…
Video: Follower thiab Subscriber Counter: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txoj haujlwm no ua rau suav Instagram cov thwjtim thiab cov neeg rau npe hauv youtube..
platform siv:
Nab hab sej
Arduino
Kauj Ruam 1: Cov Ntaub Ntawv / Cov Cuab Yeej:
- Arduino ib
- Lcd ntaub thaiv npog
- Programming kab
- Windows PC
Kauj ruam 2: Tsim Api Keys
Rau instagram Api
Mus rau Lub Vev Xaib no:
thiab thawb tsim kom nkag tau token
Rau youtube Api
Koj tuaj yeem Ua Raws Cov Kauj Ruam Ntawm Lub Vev Xaib no:
Kauj ruam 3: Upload Sketch rau Arduino
Koj tuaj yeem rub Cov Cai Thiab Cov Haujlwm Los Ntawm Kuv Github Nplooj Ntawv:
github.com/ayberkeren/social-media-counter
Arduino Txoj Cai:
#suav nrog
Txoj hlua youtube_name = ""; // koj lub npe youtube String youtube_token = ""; // koj tus youtube token String instagram_token = ""; // koj instagram token unsigned ntev DELAY = 10; // ncua nruab nrab ntawm lub vijtsam (vib nas this) // teeb tsa lcd screen pins const int rs = 8, en = 9, d4 = 4, d5 = 5, d6 = 6, d7 = 7; LiquidCrystal lcd (rs, en, d4, d5, d6, d7); // tsim cov kev hloov pauv uas tsis tau kos npe rau tus neeg ua haujlwm ntev = 0, tus ua raws 2 = 0, tus neeg siv npe = 0, tus neeg siv npe 2 = 0, x = millis (); // tsim bytes rau logos byte instagram1 [8] = {0b00000, 0b01111, 0b10000, 0b10000, 0b10000, 0b10000, 0b10000, 0b11111}; byte instagram2 [8] = {0b00000, 0b11111, 0b00000, 0b00000, 0b00000, 0b00000, 0b01110, 0b10001}; byte instagram3 [8] = {0b00000, 0b11110, 0b00001, 0b11001, 0b11001, 0b00001, 0b00001, 0b11111}; byte instagram4 [8] = {0b10000, 0b10000, 0b10000, 0b10000, 0b10000, 0b10000, 0b10000, 0b01111}; byte instagram5 [8] = {0b10001, 0b10001, 0b01110, 0b00000, 0b00000, 0b00000, 0b00000, 0b11111}; byte instagram6 [8] = {0b00001, 0b00001, 0b00001, 0b00001, 0b00001, 0b00001, 0b00001, 0b11110}; byte youtube1 [8] = {0b11111, 0b11100, 0b11000, 0b10000, 0b10000, 0b10000, 0b10000, 0b10000}; byte youtube2 [8] = {0b11111, 0b00000, 0b10000, 0b11000, 0b11100, 0b11110, 0b11111, 0b11111}; byte youtube3 [8] = {0b11111, 0b00111, 0b00011, 0b00001, 0b00001, 0b00001, 0b00001, 0b10001}; byte youtube4 [8] = {0b10000, 0b10000, 0b10000, 0b10000, 0b10000, 0b11000, 0b11100, 0b11111}; byte youtube5 [8] = {0b11111, 0b11111, 0b11110, 0b11100, 0b11000, 0b10000, 0b00000, 0b11111}; byte youtube6 [8] = {0b10001, 0b00001, 0b00001, 0b00001, 0b00001, 0b00011, 0b00111, 0b11111}; teeb tsa tsis muaj dab tsi () {lcd.begin (16, 2); // pib lcd Serial.begin (9600); // pib ncua kev sib txuas lus qeeb (2000); Serial.println (youtube_name); // hais qhov hloov pauv rau txoj haujlwm ncua (1000); Serial.println (youtube_token); // hais qhov hloov pauv rau txoj haujlwm ncua (1000); Serial.println (instagram_token); // hais qhov hloov pauv rau txoj haujlwm}
void voj () {
yog (x <(DELAY*1000)) {drawinstagram (); lcd.setCursor (5, 1); lcd.print (tus ua raws); thaum (x0) {follower2 = Serial.parseInt (); subscriber2 = Serial.parseInt (); } x = millis (); x = x%(DELAY*2000); } tus neeg yuav khoom = subscriber2; ua raws = ua raws 2; }
lwm {drawyoutube (); lcd.setCursor (5, 1); lcd.print (tus neeg siv npe); thaum (x> = (DELAY*1000) && subscriber2 == subscriber) {thaum (Serial.available ()> 0) {follower2 = Serial.parseInt (); subscriber2 = Serial.parseInt (); } x = millis (); x = x%(DELAY*2000); } tus neeg yuav khoom = subscriber2; ua raws = ua raws 2; }}
// kos instagram logo
void drawinstagram () {lcd.createChar (0, instagram1); lcd.createChar (1, instagram2); lcd.createChar (2, instagram3); lcd.createChar (3, instagram4); lcd.createChar (4, instagram5); lcd.createChar (5, instagram6); lcd.clear (); lcd.setCursor (1,0); lcd.write (byte (0)); lcd.write (byte (1)); lcd.write (byte (2)); lcd.setCursor (1, 1); lcd.write (byte (3)); lcd.write (byte (4)); lcd.write (byte (5)); lcd.setCursor (5, 0); lcd.print ("Cov Ua Raws"); }
// kos youtubelogo
void drawyoutube () {lcd.createChar (6, youtube1); lcd.createChar (7, youtube2); lcd.createChar (8, youtube3); lcd.createChar (9, youtube4); lcd.createChar (10, youtube5); lcd.createChar (11, youtube6); lcd.clear (); lcd.setCursor (1,0); lcd.write (byte (6)); lcd.write (byte (7)); lcd.write (byte (8)); lcd.setCursor (1, 1); lcd.write (byte (9)); lcd.write (byte (10)); lcd.write (byte (11)); lcd.setCursor (5, 0); lcd.print ("Cov neeg yuav khoom"); }
Kauj ruam 4: Python
Kuv tau ua 2 qhov kev pab cuam nab nab ib ntawm lawv muaj cov neeg siv graphical interface lwm tus tsuas yog ua haujlwm ntawm bash
koj tuaj yeem siv ob qho tib si tiag lawv ua tib yam.
koj yuav tsum xaiv qhov chaw nres nkoj twg koj ntsaws arduino los ntawm cov npe thiab thawb xaiv khawm.
thiab koj tau ua tiav….
Rub Cov Kev Kawm Los Ntawm Kuv Github:
thiab cov lej yog hauv qab no ……
Kauj ruam 5: Ua tiav…
Pom zoo:
Yuav Tsim Li Cas thiab Ntxig Ib Lub Rooj Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: 11 Cov Kauj Ruam
Yuav Tsim Li Cas thiab Ntxig Cov Lus Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: Koj puas tau muaj cov ntaub ntawv ntau uas koj ua haujlwm nrog thiab xav rau koj tus kheej … " Kuv yuav ua li cas ntawm cov ntaub ntawv no saib zoo dua thiab nkag siab yooj yim dua? " Yog tias yog, tom qab ntawd lub rooj hauv Microsoft Office Word 2007 yuav yog koj cov lus teb
DIY BIG LED Matrix Youtube Subscriber Counter: 13 Cov Kauj Ruam (nrog Duab)
DIY BIG LED Matrix Youtube Subscriber Counter: Koj puas tau ua haujlwm nrog cov txheej txheem npaj ua 8x8 LED matrix raws li cov lus los ua cov ntawv ntxig lossis kom pom koj tus neeg siv Youtube channel. Qhov loj tuaj yeem npaj tau loj yog LED txoj kab uas hla 5mm. Txawm li cas los xij, yog tias koj tab tom nrhiav rau qhov loj dua npaj tau ua LED
YouTube Subscriber Counter Npuas Tshuab: 8 Kauj Ruam (nrog Duab)
YouTube Cov Neeg Siv Khoom Counter Npuas Tshuab: Lub tswv yim tau yug 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. channel YouLab.I sai sai
555 Timer Nrog Lub Kaum Ib Hlis Counter thiab LEDS thiab Piezo Buzzer; Cov lus piav qhia yooj yim ntawm Circuit: 6 Cov Kauj Ruam
555 Timer Nrog Decade Counter thiab LEDS thiab Piezo Buzzer; Cov lus piav qhia yooj yim ntawm Circuit: Qhov Circuit no muaj peb ntu.Lawv yog piezo buzzer uas ua suab. Ib Txoj Cai (program) yuav ua si " Zoo Siab Hnub Yug " los ntawm Arduino los ntawm piezo Cov kauj ruam tom ntej yog 555 lub sijhawm uas yuav tsim cov mem tes uas ua raws li lub moos
Cryptocurrency Ticker / Realtime Youtube Subscriber Counter: 6 Cov Kauj Ruam (nrog Duab)
Cryptocurrency Ticker / Realtime Youtube Subscriber Counter: Compact LED display unit uas ua haujlwm li cryptocurrency ticker thiab ob npaug raws li lub sijhawm tiag tiag YouTube cov neeg siv khoom txee. los tsim lub sijhawm tiag tiag