Cov txheej txheem:
- Kauj Ruam 1: Cov No Ua Haujlwm Li Cas?
- Kauj Ruam 2: Teeb Blynk
- Kauj Ruam 3: Teeb IFTTT
- Kauj Ruam 4: Programming Koj Cov Khoos Phis Tawj
- Kauj Ruam 5: Sim Nws
Video: Yuav Ua Li Cas Ntxiv IOT Nta rau Koj Cov Haujlwm: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Tsis muaj dab tsi zoo dua li ua qhov project DIY uas hloov pauv cov khoom lag luam uas koj pom muaj txiaj ntsig. Zoo qhov tseeb, muaj qee yam zoo dua qhov ntawd. Ntxiv IOT lub peev xwm rau koj txoj haujlwm.
Thaum nws los txog rau kev siv tshuab, cov pib tshiab feem ntau xav tsis thoob xav tias lawv yuav tsum ua txoj haujlwm nyuaj thiab yam uas tsis yog. Tab sis ua tsaug ntau ntau cov kev pabcuam dawb thiab software muaj rau lub hom phiaj tseeb niaj hnub no, ntxiv IOT cov yam ntxwv yooj yim rau koj cov haujlwm tau dhau los ua yooj yim dua.
Hauv cov lus qhia no, kuv yuav qhia koj li cas koj tuaj yeem siv ob lub software xws li - Blynk thiab IFTTT, los siv koj li haujlwm DIY. Cia peb mus rau nws!
Kauj Ruam 1: Cov No Ua Haujlwm Li Cas?
Kuv yuav siv esp8266 rau kuv txoj haujlwm, tab sis nco ntsoov tias qhov kev qhia no siv tau rau yuav luag txhua lub Wi-nkaus qhib microcontroller (esp32 piv txwv). Txhawm rau ua txoj haujlwm no ua tau, peb yuav tsum siv Blynk thiab IFTTT ua ke.
IFTTT:
IFTTT ua haujlwm zoo li no: "Yog tias qhov no tshwm sim ces ua qhov ntawd". Yog tias koj nkag mus rau tus lej, koj tuaj yeem sib piv qhov no mus rau 'yog nqe lus'. Hauv peb qhov xwm txheej nws zoo li no: "Yog tias kuv tau txais cov thwjtim hauv Twitter tshiab, tom qab ntawd xa lub teeb liab mus rau Blynk"
Blynk:
Blynk simpy hloov qhov IFTTT txhais mus rau esp8266. Hais tias peb cov LED txuas nrog GPIO tus pin 5. Blynk yuav tau txais cov ntaub ntawv los ntawm IFTTT thiab ua rau tus pin 5.
Qhov tseeb, ob lub apps no tuaj yeem ua ntau ntau dua li tsuas yog siv koj li haujlwm DIY. Koj tuaj yeem ua si nrog lawv kom paub ntau ntxiv.
Kauj Ruam 2: Teeb Blynk
Ua ntej, teeb tsa Blynk.
Hauv
IOS
Tam sim no tsim txoj haujlwm tshiab. Sai li koj ua qhov no, koj yuav tau txais tus lej cim hauv koj tus email. Cov cim no tseem ceeb heev thiab peb yuav siv nws hauv cov theem tom ntej. Coj mus rhaub rau "+" thiab ntxiv khawm los ntawm lub thawv widget. Coj mus rhaub rau khawm tshiab uas tau ntxiv thiab khawm teeb yuav tshwm. Ntawm no xaiv tus pin koj xav ua (GPIO 5 hauv qhov no). Koj tuaj yeem teeb tsa hom los thawb lossis hloov pauv raws li koj daim ntawv thov. Yog tias nws tau teeb tsa kom nrawm, sai li sai tau IFTTT ua rau, tus pin tau qhib ON thiab tam sim tig OFF (zoo li lub ntsej muag thawb khawm) Yog tias nws tau teeb tsa hloov, sai li IFTTT ua rau, tus pin tau qhib thiab tseem nyob
Kauj Ruam 3: Teeb IFTTT
Nruab IFTTT:
Hauv
IOS
Ntawm IFTTT, nyem rau "tau ntau dua". Tam sim no nyem rau ntawm + thiab tom qab ntawv nyem rau "no". Tom qab ntawd tshawb rau thiab xaiv "twitter". Tom qab ntawv nyem rau "tus neeg tshiab".
Tam sim no nyem rau ntawm "ntawd" thiab tshawb rau "webhooks" ntawm qhov bar tshawb. Nyem rau "ua lub vev xaib thov" thiab nkag mus rau URL. Hom URL yog https:// IP/Auth/hloov tshiab/tus pin
Txij li peb tus pin yog GPIO 5, hloov "tus pin" hauv qhov URL rau "D5" Hloov Auth nrog tus cim cim ntawm blynk txoj haujlwm uas koj tau txais hauv koj li email hauv kauj ruam dhau los. Hloov IP nrog blynk huab IP ntawm koj lub tebchaws. Kom tau tus IP, qhib qhov hais kom sai thiab ntaus "ping blynk-cloud.com". Rau Is Nrias teb, tus IP yog 188.166.206.43
Xaiv "muab" hauv ntu ntu txheej txheem thiab xaiv "application/json" hauv hom ntsiab lus. Hauv lub cev, ntaus ["1"].
Nws yuav tsum tau sau tseg tias ["1"] sawv cev rau ua rau ON thiab ["0"] sawv cev ua rau OFF
Kauj Ruam 4: Programming Koj Cov Khoos Phis Tawj
Nco ntsoov tias koj muaj lub esp8266 thiab Blynk cov tsev qiv ntawv teeb tsa ntawm koj li Arduino IDE. Yog tias koj tsis paub meej txog yuav ua li cas, nyem qhov no rau kev qhia sai. Tam sim no mus rau cov ntaub ntawv> piv txwv> Blynk> boards_wifi> esp8266. Ib qho piv txwv txoj haujlwm yuav tshwm sim.
Txawm hais tias koj tuaj yeem kho qhov no, Kuv tsis xav kom hloov kho qhov piv txwv piv txwv. Tsuas yog luam cov cai thiab muab tso rau hauv cov ntawv tshiab. Tam sim no koj tuaj yeem kho cov ntawv no.
Koj yuav tsum ntxiv koj li wifi ssid thiab tus password rau hauv qhov haujlwm uas nws hais tias 'YourNetworkName' thiab 'YourPassword'. Tsis tas li 'YourAuthToken' yuav tsum tau hloov pauv nrog tus cim token uas koj tau txais los ntawm blynk. Tom qab ua cov no, koj tuaj yeem ntxiv koj cov lej txoj haujlwm hauv lub voj () ua haujlwm tom qab kab Blynk.run ().
Txij li thaum peb yog ib qho yooj yim LED txhais, peb tsis tas yuav sau ib txoj cai. Yog tias peb txuas peb cov LED rau GPIO tus pin 5 (D1), peb tuaj yeem ua tiav peb txoj haujlwm.
Kauj Ruam 5: Sim Nws
Txoj hauv kev yooj yim no tuaj yeem ua rau koj cov phiaj xwm txaus. Koj tuaj yeem ua si ib puag ncig nrog ntau IFTTT ua rau thiab Blynk ua haujlwm kom paub ntau npaum li cas koj tuaj yeem ua nrog ob lub apps no.
Tsis paub meej tias txoj haujlwm twg yuav pib nrog? Nov yog qee qhov ntawm kuv cov phiaj xwm tau siv Blynk thiab IFTTT
Lub moos uas hloov xim txhua lub sijhawm tus neeg ya mus saum ntuj
Ib lub cuab yeej uas ceeb toom koj kom haus dej
Lub teeb uas ntsais muag txhua lub sijhawm ISS hla dhau
Muaj kev lom zem automating koj cov haujlwm DIY:)
Pom zoo:
Yuav Ua Li Cas Ntxiv E-Ink Zaub rau Koj Txoj Haujlwm: 12 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Ntxiv E-Ink Display rau Koj Txoj Haujlwm: Ntau txoj haujlwm koom nrog saib xyuas qee yam ntawm cov ntaub ntawv, xws li cov ntaub ntawv ib puag ncig, feem ntau siv Arduino rau kev tswj hwm. Hauv kuv qhov xwm txheej, kuv xav tshuaj xyuas qib ntsev hauv kuv cov dej muag muag. Koj yuav xav nkag mus saib cov ntaub ntawv hla koj lub network hauv tsev
RaspberryPi 3/4 Extension Board rau Ntxiv Cov Nta Ntxiv rau Raspberry Pi: 15 Cov Kauj Ruam (nrog Duab)
RaspberryPi 3/4 Extension Board rau Ntxiv Nta Ntxiv rau Raspberry Pi: peb paub tias raspberry pi 3/4 tsis tuaj nrog ua hauv ADC (analog to digital converter) thiab RTC (lub sijhawm tiag tiag) yog li kuv tsim PCB uas muaj 16 channel 12bit ADC, RTC, SIM7600 4G module, thawb cov nyees khawm, tso tawm, USB fais fab tawm, 5V fais fab tuag, 12V
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Info: 4 Cov Kauj Ruam
Yuav Ua Li Cas Tau Txais Cov Nkauj Los Ntawm Txhua Qhov (Haha) Lub Vev Xaib (Ntev Li Koj Tau hnov Nws Koj Yuav Tau Txais Nws … Ok Zoo Yog Nws Tau Ntxig Hauv Flash Koj Yuav Tsis Muaj Peev Xwm) EDITED !!!!! Ntxiv Cov Lus Qhia: yog tias koj tau mus rau lub vev xaib thiab nws ua nkauj nkauj uas koj nyiam thiab xav tau nws ntawm no yog cov lus qhia rau koj tsis yog kuv qhov txhaum yog tias koj cuam tshuam qee yam (tsuas yog txoj hauv kev nws yuav tshwm sim yog tias koj pib tshem cov khoom yam tsis muaj laj thawj. ) Kuv tuaj yeem tau txais cov nkauj rau
Yuav Txheeb Xyuas Li Cas Yog Game Yuav Ua Haujlwm Hauv Koj Lub Computer Ua Ntej Koj Yuav Game: 4 Kauj Ruam
Yuav Txheeb Xyuas Li Cas Yog Game Yuav Ua Haujlwm Hauv Koj Lub Computer Ua Ntej Koj Yuav Game: Kuv tsis ntev los no tau txais Hu ntawm Duty 4 los ntawm tus phooj ywg (pub dawb kuv yuav ntxiv) vim tias yuav tsis khiav hauv nws lub computer. Zoo, nws lub khoos phis tawj yog qhov tshiab haum, thiab nws tsis txaus ntseeg kuv vim li cas nws yuav tsis khiav. Yog li tom qab ob peb teev ntawm kev tshawb nrhiav hauv internet, Kuv tau hla
Yuav Ua Li Cas Ntxiv Cov Neeg Siv Los Ntawm NUMA rau Koj Luam Ntawm N Siv NumADD Firefox Ntxiv Rau: 4 Cov Kauj Ruam
Yuav Ua Li Cas Ntxiv Cov Neeg Siv Los Ntawm NUMA rau Koj Luam Ntawm N Siv NumADD Firefox Ntxiv Ntxiv: Txhua tus siv ntawm Metanet's N tus neeg siv qib database NUMA yuav paub tias qhov cuam tshuam ntawm qhov cuam tshuam yog rau theej tus neeg siv tsim qib rau koj daim ntawv theej ntawm game. NumADD, tshem tawm qhov xav tau rau kev theej thiab muab tshuaj txhuam thiab ua kom hloov pauv qib ua haujlwm ntawm ib tus nas