Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Npaj Pawg Thawj Coj
- Kauj Ruam 2: Mount Wemos Board (ESP8266)
- Kauj Ruam 3: Mount OLED Display
- Kauj ruam 4: Mount Hloov
- Kauj Ruam 5: Ua Circuit Court
- Kauj Ruam 6: Mount Lub Roj Teeb
- Kauj Ruam 7: Ua kom tiav Circuit Court
- Kauj ruam 8: ThingSpeak Chaw
- Kauj ruam 9: Nkag mus rau Parse String
- Kauj Ruam 10: Software thiab Tsev Qiv Ntawv
- Kauj Ruam 11: Xeem Kawg
Video: Taug qab QHID-19 Kab Mob los ntawm ESP8266: 11 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Cov cuab yeej me me no yuav pab koj kom paub txog tus kabmob coronavirus thiab xwm txheej hauv koj lub tebchaws. Qhov no yog IoT raws txoj haujlwm uas qhia txog cov ntaub ntawv ntawm lub sijhawm tiag, cov neeg tuag thiab rov zoo tib neeg los ntawm tus kabmob coronavirus (COVID-19). Nws siv Wemos D1 Mini Pro lub rooj tsavxwm uas yog raws ESP8266 Wifi module kom tau txais cov ntaub ntawv los ntawm lub ntiaj teb los ntawm ThingSpeak API. Kuv tau siv 0.96 OLED zaub los ua lub dashboard rau tag nrho cov ntaub ntawv raws sijhawm.
Nco tseg: Kuv tau ua qhov haujlwm no kom lom zem thiab kawm. Cov ntaub ntawv npog COVID-19 hauv qhov haujlwm no yog ua tiav raws cov ntaub ntawv ntawm www.worldometers.info/coronavirus/. Ua raws WHO (https://www.who.int/) rau COVID19 Hloov Kho tshiab.
Khoom siv
1. Wemos D1 Mini Pro (Amazon)
2. OLED Zaub (Amazon)
3. Pawg Thawj Coj (Amazon)
4. 18650 Roj Teeb (Amazon)
5. 18650 Roj Teeb Nrog (Amazon)
6. Swb Hloov (Amazon)
7. Poj Niam Headers (Amazon)
8. 24 AWG Wires (Amazon)
Kauj Ruam 1: Npaj Pawg Thawj Coj
Txhawm rau ua kom txoj haujlwm me me thiab zoo, kuv tau ua nws los ntawm kev siv lub rooj sib tham perforated.
Ua ntej kuv ntsuas qhov dav ntawm Wemos board, tom qab ntawd txiav tawm ib daim ntawm lub rooj sib tham perforated me ntsis ntau dua li qhov dav. Kuv siv rab riam hluav taws xob los txiav tawm lub rooj sib tsoo.
Kauj Ruam 2: Mount Wemos Board (ESP8266)
Txhawm rau teeb tsa Wemos board, koj xav tau tus poj niam ncaj lub taub hau taub hau. Thaum koj yuav lub taub hau ncaj, lawv yuav ntev dhau rau Arduino Nano. Koj yuav tsum tau txiav lawv mus rau qhov ntev uas tsim nyog. Kuv siv tus nipper los txiav nws.
Tom qab ntawd muab tus poj niam lub taub hau tso rau ntawm lub rooj sib txig sib luag.
Kauj Ruam 3: Mount OLED Display
Hauv txoj haujlwm no, Kuv tab tom siv 0.96 I2C OLED Display. Yog li koj xav tau 4 pins header.
Ib yam li cov kauj ruam dhau los, txiav tawm tus header pin los ntawm tus nipper.
Tom qab ntawd muab cov kab laug sab laug tso raws li qhia hauv daim duab saum toj no.
Kauj ruam 4: Mount Hloov
Qhov hloov pauv yuav tsum tau cais lub zog ntawm lub roj teeb mus rau Wemos board. Kuv tab tom siv tus swb hloov rau qhov no.
Solder swb swb raws li qhia hauv daim duab saum toj no.
Kauj Ruam 5: Ua Circuit Court
Daim duab qhia chaw rau txoj haujlwm no yooj yim heev. Cov zaub OLED tau txuas rau Wemos board hauv I2C hom kev sib txuas lus.
OLED -> Wemos
VCC -> VCC
GND -> GND
SCL-> D1
SDA -> D2
Kuv tau siv 24AWG cov xaim xaim los ua hluav taws xob. Solder cov hlau raws li daim duab qhia chaw.
Schematic yog txuas hauv qab no.
Kauj Ruam 6: Mount Lub Roj Teeb
Lub zog xav tau los tsav Wemos board thiab OLED zaub tau muab los ntawm 18650 Li-Ion roj teeb.
Ua ntej tshaj, muab daim kab xev ob tog tso rau sab nraub qaum ntawm lub roj teeb.
Tom qab ntawd muab tshuaj txhuam nws tso rau sab hauv qab ntawm lub rooj ua haujlwm perforated. Koj tuaj yeem pom daim duab saum toj no rau nws.
Tom qab ntawd kuv thov cov kua nplaum kub nyob ib puag ncig ntawm lub roj teeb.
Kauj Ruam 7: Ua kom tiav Circuit Court
Thaum kawg, koj yuav tsum ua kom tiav Circuit Court los ntawm kev txuas lub roj teeb lub dav hlau mus rau Wemos board ntawm tus swb swb.
Txuas lub davhlau ya nyob twg zoo ntawm tus tuav lub roj teeb mus rau tus swb hloov nruab nrab tus pin. Tom qab ntawd txuas ib qho ntawm ob tus lej ntxiv ntawm qhov hloov mus rau Wemos 5V tus pin.
Txuas qhov tsis zoo ntawm lub roj teeb mus rau GND tus pin ntawm Wemos board.
Kauj ruam 8: ThingSpeak Chaw
Ua ntej, tsim ib tus as khauj hauv ThingSpeak thiab tom qab ntawd nkag mus rau hauv koj tus as khauj.
Los ntawm cov ntawv qhia zaub mov sab saum toj nyem rau ntawm lub app thiab nias "Tshiab ThingHTTP".
Koj yuav pom ntau qhov chaw seem tab sis tsis txhob txhawj xeeb, koj yuav tsum nkag mus sau peb qho hauv qab no:
1. Npe: Npe lub npe raws li qhov koj xaiv
2. URL:
3. Parse String: Hauv kauj ruam tom ntej, kuv yuav qhia koj yuav ua li cas thiaj tau txais txoj hlua no.
Kauj ruam 9: Nkag mus rau Parse String
Mus rau WorldOmeters lub vev xaib
Tshawb nrhiav lub tebchaws lub npe, hauv kuv rooj plaub nws yog Is Nrias teb. Tom qab ntawv nyem rau ntawm Lub Tebchaws Lub Npe. Koj yuav pom 3 lub txee
1. Tus mob Coronavirus
2. Kev tuag
3. Rov zoo
Xaiv lub txee -> Right -click -> Tshawb xyuas
Ntawm sab xis ntawm lub vijtsam, cia li yuj hla cov ntsiab lus ntawd kom txog thaum koj xaiv cov ntaub ntawv raug kom tau txais. Koj tuaj yeem pom daim duab saum toj no kom nkag siab zoo dua.
Tom qab ntawv nyem rau sab xis ntawm lub ntsiab lus thiab Luam XPath.
Tam sim no rov qab mus rau ThingHTTP teb (Cov Ntaub Ntawv) thiab muab tshuaj txhuam rau hauv Parse String, thiab nias "Txuag ThingHTTP".
Tam sim no koj ua tiav!
Kauj Ruam 10: Software thiab Tsev Qiv Ntawv
Ua ntej, rub cov cai txuas hauv qab no. Tom qab ntawd rub tawm OLED lub tsev qiv ntawv los ntawm GitHub.
Txhawm rau siv Wemos D1 nrog lub tsev qiv ntawv Arduino, koj yuav tsum tau siv Arduino IDE nrog ESP8266 pawg thawj coj txhawb. Yog tias koj tseem tsis tau ua tiav qhov ntawd, koj tuaj yeem yooj yim teeb tsa ESP8266 Pawg txhawb nqa rau koj Arduino IDE los ntawm cov hauv qab no
qhov kev qhia no los ntawm Sparkfun.
Hauv qhov chaws, sau koj li WiFi Router SSID thiab Password.
Tom qab ntawd sau cov api_key rau txhua 3 daim teb.
Koj tuaj yeem xa mus rau daim duab saum toj no kom tau txais api_key.
Thaum koj tau kho koj cov cai, sau nws thiab tom qab ntawd muab nws tso rau hauv koj li Wemos/ ESP8266 pawg thawj coj.
Credit: Thawj qhov chaws tau sau los ntawm SurtrTech, Kuv tau hloov kho qhov chaws kom haum rau qhov kuv xav tau.
Kauj Ruam 11: Xeem Kawg
Tom qab rub tawm cov cai kom tiav, koj tuaj yeem mus rau koj tus lej saib. Koj yuav pom cov lej raws li qhia hauv WorldoMeters lub vev xaib.
Nov yog daim ntawv luv luv rau kev sim:
www.instagram.com/p/B-xemNTjI2C/?utm_sourc…
Nrog koj zoo siab, tam sim no koj lub cuab yeej me me tau npaj siv. Ntxig lub roj teeb 18650 rau hauv lub roj teeb.
Xaub qhov hloov mus rau ON txoj haujlwm, koj yuav pom CORONA tus kab mob lub cim ntawm OLED zaub. Tom qab ntawd ib qho tom qab cov ntaub ntawv yuav tshwm.
Ua tsaug rau koj nyeem kab lus no.
Pom zoo:
Kev Sib Txuas Los Ntawm Cov Kab Mob hauv Twine Nrog Qab Zib Qab Zib: 10 Cov Kauj Ruam
Kev Txuas Los Ntawm Cov Kab Sib Tw hauv Twine Nrog Qab Zib: Kuv zoo siab koj tau koom nrog kuv dua! Qhov no txhais tau tias Wumpus tseem tsis tau noj koj. Zoo! Rau cov ntawm koj uas tsis tau paub dua, qhov no yog txheej qhia uas kuv tau ua los pab kuv ntxim hlub oochy-skootchy widdle npawg nrog nws txoj haujlwm laus. Cov kev qhia no
Taug qab & taug qab rau Cov Khw Me Me: 9 Kauj Ruam (nrog Duab)
Taug qab & taug qab rau Cov Khw Me Me: Qhov no yog lub kaw lus uas tsim rau cov khw me me uas xav tias yuav nce mus rau e-tsheb kauj vab lossis e-scooters rau kev xa khoom luv luv, piv txwv li cov mov ci uas xav xa cov ncuav qab zib. Track thiab Trace txhais li cas? Taug qab thiab taug qab yog cov kab ke siv los ntawm
Internet Tswj Kab Mob Corona Tus Kab Mob Slapper: 6 Kauj Ruam
Is Taws Nem Tswj Tus Kab Mob Corona Tus Kab Mob Slapper: Cia peb tso tawm peb qhov kev ntxhov siab los ntawm kev npuaj tus kab mob Corona hla internet! Tsuas yog ua kom pom meej heev, txoj haujlwm no yog txhawm rau muab qee yam kev tso dag thaum lub sijhawm no, nws tsis txhais hais tias tsis saib xyuas qhov hnyav ntawm qhov xwm txheej tam sim no
Kom Tau Tshuaj Tiv Thaiv lossis Tsis? Txoj Haujlwm Saib Xyuas Kev Tiv Thaiv Kab Mob Los Ntawm Kab Mob Simulation: 15 Kauj Ruam
Kom Tau Tshuaj Tiv Thaiv lossis Tsis? Txoj Haujlwm Saib Xyuas Kev Tiv Thaiv Kab Mob Los Ntawm Kab Mob Simulation: Txheej txheem cej luam ntawm Txoj Haujlwm: Peb txoj haujlwm tshawb nrhiav pab pawg tiv thaiv kab mob thiab vam tias yuav txhawb cov tib neeg kom txhaj tshuaj tiv thaiv kom txo tus kab mob hauv peb cov zej zog. Peb txoj haujlwm sim ua li cas tus kab mob kis rau cov pejxeem nrog feem pua sib txawv ntawm kev txhaj tshuaj tiv thaiv kab mob
Ua Nrog Zej Zos Schizophyllum: Tsim Kom Muaj Kab Mob Zoo Los Ntawm Pom Mushroom: 3 Kauj Ruam (nrog Duab)
Ua Nrog Schizophyllum Hauv Zej Zog: Tsim Kom Muaj Kab Mob Me Nyuam Los Ntawm Pom Mushroom: Cov lus qhia no yog tsom mus rau kev piav qhia yuav ua li cas thiaj tsim tau kab lis kev cai tsis muaj menyuam ntawm cov nceb Schizophyllum Township (ntau lub npe Split Gill nceb) ntawm cov tais zaub uas siv pom nceb. Kev sib tham hauv Schizophyllum tau pom tias muaj ntau dua 28,000 tus txiv neej