Cov txheej txheem:
- Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom
- Kauj Ruam 2: Sib dhos ntawm Arduitouch Teeb
- Kauj Ruam 3: Txhim Kho Tsev Qiv Ntawv Ntxiv
- Kauj ruam 4: Firmware
- Kauj Ruam 5: Kev npaj rau WiFi
- Kauj Ruam 6: Npaj Facebook
- Kauj Ruam 7: Kev npaj rau Youtube
- Kauj ruam 8: Kev npaj rau Instagram
- Kauj Ruam 9: Kev Sib Sau Zaum Kawg
Video: Social Media Counter Nrog ESP8266 thiab TFT: 10 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Cov lus qhia no yuav qhia koj yuav ua li cas thiaj ua lub rooj sib tham hauv xov tooj cua raws ESP8266 thiab xim TFT rau sab saum toj phab ntsa.
Tus social media counter no yuav tso tawm cov ntaub ntawv hais txog koj li Facebook, Instagram thiab Youtube account tsis tu ncua.
Kauj Ruam 1: Cov Cuab Yeej thiab Cov Khoom
Cov nqi ntawm cov khoom:
- NodeMCU V2 Amica lossis Wemos D1 mini
- ArduiTouch ESP cov khoom siv
Cov Cuab Yeej:
- cam khwb cia hlau
- ntsia hlau tsav tsheb
- sab txiav plier
- svoltmeter (yeem)
Software:
Arduino IDE Cov
Kauj Ruam 2: Sib dhos ntawm Arduitouch Teeb
Koj yuav tsum sib sau ua ke ArduiTouch cov khoom ua ntej. Thov ua tib zoo saib hauv phau ntawv qhia kev tsim kho.
Kauj Ruam 3: Txhim Kho Tsev Qiv Ntawv Ntxiv
Lub firmware tau sau nyob rau hauv Arduino IDE. Thov ua raws cov lus qhia no rau kev npaj Arduino IDE rau ESP8266:
Koj yuav xav tau qee lub tsev qiv ntawv ntxiv. Nruab ib lub tsev qiv ntawv hauv qab no los ntawm Arduino Library Manager
Adafruit GFX Library
Adafruit ILI9341 Lub Tsev Qiv Ntawv
XPT2046_Touchscreen los ntawm Paul Stoffregen
ArduinoJson
JsonStreamingParser
InstagramStats
YoutubeAPI
Koj tseem tuaj yeem rub tawm lub tsev qiv ntawv kuj ncaj qha raws li ZIP cov ntaub ntawv thiab uncompress lub nplaub tshev hauv qab koj tus lejduinosketchfolder/ qiv ntawv/ Tom qab teeb tsa Adafruit cov tsev qiv ntawv, rov pib dua Arduino IDE.
Kauj ruam 4: Firmware
Thov rub cov qauv coj mus kuaj thiab qhib nws hauv Arduino IDE. Ua ntej muab tso ua ke koj yuav tsum ntxiv qee tus neeg cov ntaub ntawv - saib cov kauj ruam tom ntej…
Kauj Ruam 5: Kev npaj rau WiFi
/*_ Txhais WiFi _*/
//#txhais WIFI_SSID "xxxxxx" // Sau koj tus SSID ntawm no
// #txhais WIFI_PASS "xxxxx" // Nkag mus rau koj tus lej Wi -nkaus ntawm no #define WIFI_HOSTNAME "Social_Counter" #define PORT 5444 #define WIFICLIENT_MAX_PACKET_SIZE 100/*_ Xaus ntawm WiFi cov ntsiab lus _*/
Nkag mus rau koj li WiFi SSID & tus lej zais hauv cov teb hauv ntu WiFi
Kauj Ruam 6: Npaj Facebook
/*_ Txhais Facebook teeb tsa _*/
#define FACEBOOK_HOST "graph.facebook.com"
#define FACEBOOK_PORT 443 #define PAGE_ID "YOUR_PAGE_ID" #define ACCESS_TOKEN "YOUR_ACCESS_TOKEN" // graph.facebook.com SHA1 fingerprint const char* facebookGraphFingerPrint = "YOUR_FINGER_PRINT"; /*_ Xaus ntawm Facebook teeb tsa _*/
- Ua raws cov theem ntawm [nplooj ntawv no] (https://developers.facebook.com/docs/pages/getting-started) los tsim APP
- Tom qab tsim lub app, mus rau kab ntawv tshawb.
- Sab saum toj txoj cai hloov daim ntawv thov mus rau qhov tshiab uas koj tau tsim
- Nyem "Tau Token" thiab tom qab ntawd nyem "Tau Txais Tus Neeg Siv Token"
- Txheeb xyuas qhov "User_Friends" xaiv, nyem tau nkag mus token thiab lees paub qhov kev thov nrog koj tus lej nyiaj.
- Tus yuam sij uas tshwm hauv lub bar tuaj yeem siv nrog lub tsev qiv ntawv.
- Nyem rau ntawm [qhov txuas no] (https://developers.facebook.com/apps),
- nyem rau ntawm lub app koj tsim. Koj tus lej siv thiab tus neeg siv khoom zais cia muaj nyob ntawm nplooj ntawv no. Koj yuav xav tau qhov no los txuas koj tus lej API, uas koj tuaj yeem ua tau siv lub tsev qiv ntawv
Kauj Ruam 7: Kev npaj rau Youtube
/*_ Txhais Youtube teeb tsa _*/
#define API_KEY "YOUR_API_KEY" // koj google apps API Token
#define CHANNEL_ID "YOUR_CHANNEL_ID" // ua qhov url ntawm channel /*_ Xaus ntawm Youtube teeb tsa _* /
Nws yog qhov tsim nyog xav tau los tsim Google Apps API qhov tseem ceeb:
- Tsim daim ntawv thov [ntawm no] (https://console.developers.google.com)
- Ntawm API Tus Thawj Coj ntu, mus rau "Cov Ntawv Pov Thawj" thiab tsim tus lej API tshiab
- Pab kom koj daim ntawv thov sib tham nrog YouTube Api [ntawm no] (https://console.developers.google.com/apis/api/youtube)
- Nco ntsoov qhov URL hauv qab no ua haujlwm rau koj hauv koj tus browser (Hloov tus yuam sij thaum kawg!):
Kauj ruam 8: Kev npaj rau Instagram
/*_ Txhais Instagram teeb tsa _*/
Txoj hlua Instagram_userName = "YOUR_USERNAME"; // los ntawm lawv cov instagram url
/*_ Xaus ntawm Youtube teeb tsa _*/
Koj tsuas yog yuav tsum sau koj lub npe Instagram hauv daim teb saum toj no.
Kauj Ruam 9: Kev Sib Sau Zaum Kawg
Tom qab muab tso ua ke thiab tso tawm koj yuav pom koj li Youtube, Facebook thiab Instagram stats tsis tu ncua ua tiav ntawm TFT.
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
Folow-UP: Advanced Media Center Nrog Odroid N2 thiab Kodi (4k thiab HEVC Support): 3 Cov Kauj Ruam
Folow-UP: Advanced Media Center Nrog Odroid N2 thiab Kodi (4k thiab HEVC Support): Kab lus no yog kev taug qab ntawm kuv yav dhau los, tsab xov xwm muaj txiaj ntsig zoo txog kev tsim ntau lub chaw tshaj xov xwm, raws li thawj zaug ntawm Raspberry PI nrov heev tab sis tom qab ntawd, vim tsis muaj HEVC, H.265 thiab HDMI 2.2 ua raws cov lus tso tawm, nws tau hloov pauv
DIY Geiger Counter Nrog ESP8266 thiab Touchscreen: 4 Cov Kauj Ruam (nrog Duab)
DIY Geiger Counter Nrog ESP8266 thiab Touchscreen: Hloov kho tshiab: Hloov tshiab thiab hloov kho VERSION nrog WIFI thiab Lwm Yam Ntxiv Nta HEREI tsim thiab tsim Geiger Counter - cov cuab yeej uas tuaj yeem kuaj pom hluav taws xob hluav taws xob thiab ceeb toom nws cov neeg siv ntawm cov hluav taws xob ib puag ncig txaus ntshai nrog txhua yam- dhau-paub nyem tsis
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
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav