Cov txheej txheem:
- Kauj Ruam 1: Lub Hom Phiaj Dav
- Kauj Ruam 2: Thawj Kauj Ruam: Sensors
- Kauj Ruam 3: Kauj Ruam Ob: Txuas nrog Microcontroller
- Kauj Ruam 4: Kauj Ruam Peb: Tsim Daim Duab
- Kauj Ruam 5: Kauj Ruam Plaub: Npaj Google Ntawv thiab Nws Tsab Ntawv
- Kauj Ruam 6: Kauj Ruam Thib: Txuas Txhua Qhov Ua Ke
- Kauj Ruam 7: Theem Kauj Ruam: Txheeb Cov Ntaub Ntawv
- Kauj Ruam 8: Kauj Ruam Xya: Txheeb Xyuas Cov Ntaub Ntawv
Video: CloudyData - ESP8266 rau Google Cov Ntawv Ua Yooj Yim: 10 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Kuv tau nrhiav huab khaws cov ntaub ntawv ntev ntev nyob rau xyoo dhau los: nws yog qhov txaus siab los saib xyuas cov ntaub ntawv los ntawm txhua yam kev ntsuas, tab sis nws zoo dua yog tias cov ntaub ntawv no muaj nyob txhua qhov chaw yam tsis muaj teeb meem cia xws li siv daim npav SD lossis zoo sib xws, hauv zos khaws cia. Kuv siv los khaws hauv zos ntawm SD daim npav cov ntaub ntawv cua nrawm xyoo dhau los, ua ntej IoT thiab huab kev pabcuam pib siv yooj yim: tam sim no ib kauj ruam dhau los ua tau nrog cov teeb meem tshwj xeeb, txawm tias koj tsis yog IoT tus kws tshaj lij lossis tus tsim tawm.
Hauv cov lus qhia no kuv yuav piav qhia tias kuv tab tom saib xyuas kuv cov huab cua zoo li cas hauv tsev, tshwj xeeb tshaj yog hais txog plua plav thiab qhov sib xyaw kom ze ze ntawm kuv lub tshuab luam ntawv 3D, sim nkag siab yog tias 3D luam ntawv txheej txheem yog qhov txaus ntshai raws li PM2.5, thiab kuv yuav ua li cas siv Google Cov Ntawv los khaws cov ntaub ntawv, yam tsis muaj kev pabcuam thib peb xav tau.
Kauj Ruam 1: Lub Hom Phiaj Dav
Kuv xav paub yog tias nyob nrog lub tshuab luam ntawv 3D tuaj yeem ua rau txaus ntshai.
Txhawm rau ua qhov no kuv xav tau cov ntaub ntawv, thiab cov ntaub ntawv yuav tsum tau khaws cia hauv huab.
Kuv xav siv Google Cov Ntawv vim nws yooj yim thiab siv tau.
Kuv xav tau kev ceev ntiag tug, ib yam nkaus: yog li sib qhia cov ntaub ntawv nrog Google tsis yog kuv thawj qhov kev xaiv tab sis nws zoo dua li siv cov kev pabcuam thib peb, zoo li ntau tus bloggers siv los ua.
Siv Google Cov Ntawv yog ib kauj ruam rau kev xa cov ntaub ntawv mus rau qhov chaw khaws khoom ntiag tug xws li Nextcloud ntawm NAS yooj yim: qhov no yuav piav qhia yav tom ntej.
Kauj Ruam 2: Thawj Kauj Ruam: Sensors
Kuv siv 2 lub ntsuas los saib xyuas kuv lub tsev huab cua zoo:
-
Nova PM Sensor SDS011 Air Quality Detection Sensor Module, ib qho zoo ntawm kho vajtse, yooj yim siv nrog Arduino thiab cov laug cam zoo sib xws. Koj tuaj yeem siv nws nrog nws tus kheej software (windows nkaus xwb!:-() thiab USB adapter, lossis txuas rau Arduino nrog tsev qiv ntawv. Muaj ntau cov ntaub ntawv tuaj yeem pom ntawm no:
- inovafitness.com/en/a/chanpinzhongxin/95.ht…
- www-sd-nf.oss-cn-beijing.aliyuncs.com/%E5%…
- aqicn.org/sensor/sds011/
-
SHT30 daim ntaub thaiv los ntawm Wemos, rau Wemos D1 mini: Kuv siv v1.0.0 version, tam sim no version yog v2.1.0 tab sis lawv muaj tib lub hneev taw, zoo ib yam ua haujlwm
wiki.wemos.cc/products:d1_mini_shields:sht…
Kauj Ruam 3: Kauj Ruam Ob: Txuas nrog Microcontroller
Wemos D1 mini tej zaum yog txoj hauv kev zoo tshaj plaws rau ib puag ncig ESP8266: microUSB txuas, onboard coj, cov ntaub thaiv zoo npaj rau siv.
Kuv txuas SHT30 daim thaiv ntawm Wemos D1 mini ncaj qha (saib xyuas kev taw qhia!), Tom qab ntawd kuv txuas Nova Air Sensor rau Wemos D1 mini raws li hauv qab no:
Wemos GND tus pin Nova Air sensor GND
Wemos 5V pin Nova Air sensor 5V
Wemos D5 pin (RX pin) Nova Air sensor TX
Wemos D6 pin (TX pin) Nova Air sensor RX
Koj tuaj yeem saib ntawm no kom paub ntau ntxiv:
www.hackair.eu/docs/sds011/
www.zerozone.it/tecnologia-e-sicurezza/nov…
www.instructables.com/id/Make-one-PM25-mon…
Kauj Ruam 4: Kauj Ruam Peb: Tsim Daim Duab
Tam sim no koj yuav tsum tsim cov duab kos: peb muaj hmoo, qee tus hais mav tau tsim cov tsev qiv ntawv tshwj xeeb rau Nova Air Sensor yog li koj tuaj yeem sau yooj yim koj li software.
Kuv siv SHT30 lub tsev qiv ntawv ib yam nkaus, txhawm rau ntsuas thiab xa cov ntaub ntawv ntsuas kub thiab av noo.
Kuv rov sau dua qee qhov duab uas kuv pom hauv online, tshwj xeeb yog ib qho los ntawm nishant_sahay7, nws qhov kev qhia ua tiav thiab tag nrho cov ntaub ntawv. Koj tuaj yeem pom nws ntawm no.
Kuv siv lub tsev qiv ntawv no:
Kuv yuav tawm tswv yim tsuas yog ob peb kab hauv kab kos kuv tau tsim:
kab 76-77: tsa lub plua plav sensor ib pliag, tom qab ntawd nws yuav rov mus pw dua, txij li cov ntaub ntawv teev tseg hais tias nws tau npaj ua haujlwm nyob ib puag ncig 8000 teev, uas yog ntau tshaj li txaus, tab sis tsis muaj qhov kawg
sds.wakeup (); ncua (30000); // ua haujlwm 30 vib nas this
kab 121: cov ntaub ntawv xa mus yog qhov kub thiab txias, PM2.5 thiab PM10
xa cov ntaub ntawv (t, h, pm2_5, pm10);
kab 122-123: Kuv tsis siv ESP.deepSleep, kuv yuav sim yav tom ntej; los ntawm tam sim no yooj yim ncua (90000) yuav txaus kom muaj cov ntaub ntawv xa tawm txhua 30s + 90s = 2 feeb, ntau dua lossis tsawg dua
//ESP.deepSleep(dataPostDelay);
ncua (90000);
kab 143:
qhov no yog kab ntawv tseem ceeb tshaj plaws, qhov kev txiav txim koj tsim String_url kom xa cov ntaub ntawv yuav tsum zoo ib yam koj yuav siv hauv Google Script (saib cov kauj ruam tom ntej)
Txoj hlua url = "/macros/s/" + GAS_ID + "/exec? Temperature =" + string_x + "& humidity =" + string_y + "& PM2.5 =" + string_z + "& PM10 =" + string_k;
Kauj Ruam 5: Kauj Ruam Plaub: Npaj Google Ntawv thiab Nws Tsab Ntawv
Khab nias mus rau nishant_sahay7, raws li kuv tau hais.
Kuv tsuas yog rov tshaj tawm ntawm no nws txoj haujlwm, ntxiv qee cov lus qhia rau kev txhim kho yav tom ntej thiab hloov kho:
-
Teeb Google Cov Ntawv
- Qhib Google Drive thiab Tsim Kab Ntawv Tshiab thiab npe nws, tom qab ntawd muab cov teb nrog cov ntsuas uas koj xav tau txhais.
- Daim ntawv ID tau qhia hauv daim duab 2
- Mus rau Cov Cuab Yeej-Tsab Ntawv Editor (daim duab 3)
- Muab lub npe ib yam li Spreadsheet (daim duab 4)
-
Xaiv cov cai los ntawm no thiab muab tshuaj txhuam rau hauv Script Editor Window (daim duab 5)
Hloov cov ntawv var_id nrog koj daim Spreadsheet ID los ntawm kauj ruam 2
- Mus rau Tshaj Tawm - Siv ua Web App (daim duab 6)
- Hloov hom nkag mus rau ib tus neeg, txawm tias tsis qhia npe, thiab xa tawm (daim duab 7)
- Mus rau Kev Pom Zoo Tso Cai (daim duab 8)
- Xaiv Advanced (daim duab 9)
- Xaiv Mus rau (npe lub npe) thiab tom qab ntawd tso cai (daim duab 10)
- Luam qhov web app tam sim no URL thiab nyem OK (daim duab 11)
-
Tau txais Google Script ID
-
Qhov URL theej yuav yog qee yam xws li: https://script.google.com/macros/s/AKfycbxZGcTwqe… saum toj no txuas yog hauv daim ntawv ntawm: https://script.google.com/macros/s/AKfycbxZGcTwqe…/exec Yog li ntawm no Google Script ID yog: AKfycbxZGcTwqeDgF3MBMGj6FJeYD7mcUcyo2V6O20D6tRlLlP2M_wQ Nws yuav siv los thawb cov ntaub ntawv rau Google nplooj ntawv: Piv txwv:
script.google.com/macros/s/AKfycbxZGcTwqeD…
Paste qhov txuas saum toj no mus rau lub qhov rai tshiab thiab ntaus nkag yuav xa cov ntaub ntawv mus rau Google Ntawv thiab cov lus pom zoo yuav ua rau pom nyob hauv lub qhov rais. Cov ntaub ntawv xa tawm yuav yog
- kub = 1
- vaum = 2
- PM2.5 = 3
- NOS 10 = 33.10
-
-
Hloov ntawm koj cov kev xav tau
koj yuav tsum hloov Google Tsab Ntawv THIAB Arduino kos duab kom haum, txhawm rau ntxiv lossis tshem tawm qhov muaj nqis thiab kab: sib piv daim duab 5 thiab daim duab 5b
Kauj Ruam 6: Kauj Ruam Thib: Txuas Txhua Qhov Ua Ke
Tam sim no koj muaj lub cuab yeej xa cov ntaub ntawv mus rau Google Ntawv, Google Script tuaj yeem tau txais thiab faib cov ntaub ntawv, lub browser txaus los saib cov ntaub ntawv, hauv computer lossis smartphone lossis txhua yam uas koj nyiam.
Qhov zoo tshaj yuav yog tswj me ntsis cov ntaub ntawv no, los qhia tsuas yog qee qhov xav tau.
Kauj Ruam 7: Theem Kauj Ruam: Txheeb Cov Ntaub Ntawv
Txhawm rau kom muaj vaj huam sib luag yooj yim tab sis nthuav thiab muaj txiaj ntsig Kuv tau teeb tsa kuv cov ntaub ntawv li no:
- thawj daim ntawv google, ib qho tseem ceeb, siv los khaws nws tus ID nkag mus rau hauv Google Script, YUAV TSUM tsis cuam tshuam, thiab tswj hwm nws qhov kev txiav txim
-
Kuv tsim ob daim ntawv ntxiv, ua raws qhov tseem ceeb
-
ib qho los rho tawm tsuas yog ob peb cov ntaub ntawv los ntawm tag nrho cov khoom, dhau 24 teev piv txwv li Txhawm rau rho tawm cov ntaub ntawv Kuv siv SORT thiab QUERY Function, tso rau hauv thawj lub xov tooj ntawm cov ntaub ntawv rho tawm.
= SORT (QUERY (Foglio1! A2: Z, "xaj los ntawm A desc txwv 694"), 1, 1)
- lwm qhov los tsim cov duab los qhia qhov muaj nuj nqis, ua kom yooj yim vaj huam sib luag
-
Kauj Ruam 8: Kauj Ruam Xya: Txheeb Xyuas Cov Ntaub Ntawv
Kuv tau ua qee qhov kev tshuaj xyuas thiab kuv tuaj yeem hais tau, tam sim no, yuav tsum tsis muaj kev phom sij siv 3D tshuab luam ntawv (khoom siv: PLA) raws li PM2.5 thiab PM10. Txhua lub sijhawm kuv pib luam tawm cov khoom tshiab tawm mus rau lub ru tsev, tsuas yog ib pliag: Kuv xav tias qhov no yog vim tau muab cov hmoov av tso rau ntawm lub tshuab luam ntawv 3D hauv lub txaj, yog li ntawd thaum lub tshuab ua kom cov kiv cua nce mus txog phaj nws pib ya ncig. Tom qab ob peb feeb plua plav ploj mus vim cov kiv cua tseem tshuab thiab PM2.5 thiab PM10 qhov txiaj ntsig tau nqis qis dua.
Cov ntaub ntawv ntxiv thiab kev tshuaj xyuas xav tau, qhov tseeb.
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
RAWS LI COV NTAUB NTAWV NTSEEG NTAWV NTAWV MUAJ NTAWV TSHUAJ NTAWV TSO CAI RAU RASPBERRY PI: 6 Kauj Ruam (nrog Duab)
RAWS LI COV NTAUB NTAWV NTAWV MUAJ NTAWV TSHUAJ NTXIV RAU RASPBERRY PI: Hauv qhov haujlwm no, peb yuav txuas peb ntawm Atlas Scientific's EZO sensors (pH, yaj cov pa thiab kub) mus rau Raspberry Pi 3B+. Hloov chaw ntawm txuas cov kab hluav taws xob mus rau Raspberry Pi, peb yuav siv Whitebox Labs Tentacle T3 daim ntaub thaiv. T
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: 3 Kauj Ruam
DIY MusiLED, Music Synchronized LEDs Nrog Ib-nias Windows & Linux Application (32-ntsis & 64-ntsis). Yooj Yim Rov Ua Dua, Siv Yooj Yim, Yooj Yim rau Chaw Nres Nkoj: Qhov haujlwm no yuav pab koj txuas 18 LEDs (6 Liab + 6 Xiav + 6 Daj) rau koj lub Rooj Tswjhwm Saib Arduino thiab txheeb xyuas koj lub khoos phis tawj Lub Suab Suab Lub suab lub sijhawm tiag tiag thiab xa lawv mus rau cov LEDs kom pom lawv raws li qhov cuam tshuam (Snare, High Hat, Kick)
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi