Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Teeb SCK Sensor
- Kauj Ruam 2: Kev Tsim Cov Ntaub Ntawv
- Kauj Ruam 3: Hwj chim rau Kiv cua
- Kauj ruam 4: Coding
Video: Kev Tshawb Nrhiav Huab Cua Pollution + Kev Pom Huab Cua: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Cov tub ntxhais kawm (Aristobulus Lam, Victor Sim, Nathan Rosenzweig thiab Declan Loges) ntawm German Swiss International School tau ua haujlwm nrog cov neeg ua haujlwm ntawm MakerBay los tsim kev sib koom ua ke ntawm kev ntsuas huab cua thiab ua kom pom huab cua zoo. Qhov kev sib koom ua ke no yuav tso cai rau koj los tshuaj xyuas huab cua lim thiab tsis tau lim dej zoo tib lub sijhawm. Cov ntaub ntawv yuav raug hloov pauv mus rau qhov piv txwv ua tau zoo thiab muab piv rau. Txoj haujlwm no tau pom zoo rau 15+, txawm hais tias cov hnub nyoog yau yuav tsum nco ntsoov qhov kev pheej hmoo ntawm hluav taws xob thiab qhov nyuaj ntawm lub phiaj xwm.
Vim li cas koj yuav tsum ua li no:
Zoo, peb xav tias thaum tseem muaj ntau qhov kev txhawb siab los muab cov ntaub ntawv rau kev saib xyuas huab cua (uas tau piav qhia ntxaws hauv Smartcitizen lub vev xaib, peb kuj ntseeg tias tsuas yog paub ntau npaum li cas cov pa phem nyob ib puag ncig koj tsis muaj dab tsi rau koj kev noj qab haus huv. Peb ntseeg tias peb yuav tsum tau nqis tes ua peb tus kheej.
Khoom siv
- Ib daim ntawv loj
- 2x PC kiv cua
- Ob peb ntau hom lim cua
- 2 LED teeb
- 2x Cov Khoom Siv Smartcitizen Starter (yuav ntawm no)
- 2 x Resistors
- 1 hluav taws xob hloov
- 1 lub computer muaj peev xwm khiav Jupyter Notebook, Matplotlib thiab Python
- Ntxiv rau lwm yam kev kho kom zoo nkauj koj xav kom muaj !!!
Kauj Ruam 1: Teeb SCK Sensor
Nco ntsoov tias koj muaj koj ob lub SCK sensors. Xaiv thawj qhov thiab txuas nws rau roj teeb lossis rau koj lub khoos phis tawj. Tom qab ntawd, mus rau qhov chaw teeb tsa thiab ua raws cov lus qhia. Ua tib yam rau lwm lub sensor. Thaum koj yuav tsum sau lawv, npe lawv A thiab B feem rau qhov ntsuas cua tsis tau lim thiab lim. Tom qab qhov no, sau npe ob leeg rau tib tus as khauj thiab xyuas kom tseeb tias koj nkag mus rau hauv tus as khauj kom tau txais cov ntaub ntawv.
Txheeb xyuas tias cov ntsuas hluav taws xob ua haujlwm los ntawm kev mus rau lub platform no thiab tshawb xyuas koj lub npe lub npe. Nco ntsoov tias nws txuas ntxiv tshaj tawm cov ntaub ntawv txhua feeb.
Kauj Ruam 2: Kev Tsim Cov Ntaub Ntawv
Siv daim ntawv ntawv uas tau hais los saum no thiab muab tso rau ntawm koj xub ntiag. Txhua qhov kev ntsuas yuav ua raws li peb daim ntawv kawg. Ntsuas tawm 12.5 cm ntawm ib sab thiab txiav hla daim duab los qhia. Tom qab ntawd, muab lub kiv cua tso rau ntawm daim duab los qhia, thiab pib siv lub kiv cua los yob cov duab los qhia. Thaum koj tau ua tiav lub xwmfab, tom qab ntawd kos lub ntsiab lus nrog tus cim. Siv txiab txiav hla. Rov ua qhov no rau lwm tus kiv cua.
Kauj Ruam 3: Hwj chim rau Kiv cua
Peb tau ua qhov hloov pauv uas hloov lub tshuab ua kom huv thiab qhib. Txhawm rau piav qhia qhov hloov pauv ua haujlwm li cas, koj tuaj yeem siv daim duab rau siv. Pib los ntawm sab laug ntawm daim duab, peb muaj 220 volt AC rau DC hloov pauv uas txo cov hluav taws xob qis mus rau 12 volts kom siv tau zoo. Yog tsis muaj cov cuab yeej no, hluav taws xob los ntawm lub zog siv hluav taws xob yuav txaus ntshai rau peb siv. Tom qab cov hluav taws xob tau raug txo qis, peb muaj 2 lub xov hlau uas txuas nrog 2 LED teeb thiab hloov. Koj yuav tsum muab cov xov hlau txuas rau lub teeb LED kom lawv txhua tus txuas nrog ib leeg. Thaum lub voj voog tiav thiab ob lub teeb LED tau raug sim, txuas ob lub xov hlau, ib qho zoo thiab ib qho tsis zoo, rau hauv tus kiv cua. Thaum qhov teeb tsa tiav, ntxig lub ntsaws rau hauv lub qhov (socket). Thaum koj tau ua tiav qhov no, 'lub zog ntawm' LED yuav tsum ci. Thaum koj tig qhov hloov pauv, 'kiv cua ntawm' LED teeb yuav tsum teeb thiab kiv cua yuav tsum pib ua haujlwm.
Kauj ruam 4: Coding
Pom zoo rau 15+
Txoj haujlwm no yog tsim los ntawm Victor Sim. Txoj haujlwm no yuav tso cai rau cov pej xeem ntse sensor cov ntaub ntawv raug rho tawm los ntawm tus tsim tawm API ntawm lub vev xaib pej xeem ntse thiab rau qhov txiaj ntsig zoo los xam. Qhov kev zov me nyuam uas kuv tau siv yuav raug sau ua sej 3. Kuv tau sau cov cai ntawm Jupyter Notebook ntawm Macbook cua nruab nrog Mac OS (version 10.14.6).
Yam koj yuav xav tau rau txoj haujlwm no: Matplotlib Numpy Pandas JSON CSV A nab nab 3 IDE
Kauj Ruam 1: Ntshuam cov tsev qiv ntawv tsim nyog Koj yuav xav tau urllib.request inorder thov thov nkag mus rau API thiab qhib qhov URL ntawm API. Koj yuav xav tau csv los hloov cov ntaub ntawv mus rau hauv cov ntaub ntawv csv uas tuaj yeem siv tau yooj yim. Koj yuav xav tau JSON nyeem JSON uas api los rau hauv. Koj yuav xav tau pandas los tshuaj xyuas cov ntaub ntawv thav duab yooj yim. Matplotlib yog qhov tsim nyog rau cov ntaub ntawv los sawv cev hauv kab ntawv nkag siab.
Kauj Ruam 2: Thov nkag mus rau Smart-citizen API: Tus lej no thov cov ntaub ntawv los ntawm API. Los ntawm kev paub dhau los, nws yog ib qho tseem ceeb uas yuav tsum muab lub taub hau tso rau qhov kev thov kom tau txais cov lus teb. Ob qhov Kev Thov URLS tau teeb tsa zoo li no: Hais txog cov pej xeem ntse API, tau txais cov ntaub ntawv rau cov khoom siv, tshuaj xyuas tus lej ntawm qee yam khoom siv, hais txog tus lej cim ntawm 87 (PM 2.5 sensor) thiab kaw cov ntaub ntawv txhua feeb. Nws mam li thov nkag mus rau API.
Kauj ruam 3: Qhib thiab cais cov ntaub ntawv:
Cov kab no nyeem cov ntaub ntawv thiab tom qab ntawd muab cov ntaub ntawv tso rau hauv "luam zoo nkauj". Qhov no ua rau cov ntaub ntawv yooj yim nyeem thiab yog li yooj yim dua los daws teeb meem.
Kauj Ruam 4: Hloov cov ntaub ntawv mus rau hauv CSV cov ntaub ntawv: Hauv cov kab no ntawm txoj cai lub tsev qiv ntawv pandas nyeem cov ntaub ntawv thiab hloov nws mus rau hauv daim ntawv csv uas tuaj yeem siv tau yooj yim. Cov ntaub ntawv CSV tom qab ntawd khaws cia hauv qhov sib txawv data_csv.
Kauj Ruam 5: Ua kom CSV cov ntaub ntawv zom tau yooj yim: Tam sim no CSV kab ntawv muaj npe 'tsis quav ntsej' rau kab ntawv tsis tseem ceeb, 'sijhawm' rau lub sijhawm kaw kaw thiab 'tus nqi' rau PM 2.5 mloog zoo. Txhua qhov kev txiav thiab qhov tseem ceeb raug tshem tawm kom cov txiaj ntsig tuaj yeem npaj rau ntawm daim duab yooj yim.
Kauj Ruam 6: Nrhiav lub ntsiab lus ntawm kab ntawv tus nqi:
Cov kab no pom lub ntsiab lus ntawm kab ntawv qhov muaj nuj nqis thiab tom qab ntawd tso cov txiaj ntsig hauv cov npe los npaj lawv yooj yim.
Kauj Ruam 7: Tsim cov ntaub ntawv ntau ntxiv rau kev sib piv: Rov ua dua cov cai los ntawm qib 1 txog 6 rau sensor B los sib piv
Kauj Ruam 8: Npaj cov ntaub ntawv:
Kab kab phiaj xwm txhais tau tias ntawm ob qho tib si sensor thiab qhia qhov sib txawv
Kauj Ruam 9: Nrhiav qhov ua tau zoo:
Kev ua tau zoo tuaj yeem suav los ntawm thawj lub ntsiab lus thiab tom qab ntawd txhais tau tias thiab tom qab ntawd faib los ntawm thawj lub ntsiab lus. Qhov ntawd tuaj yeem suav ua feem pua.
TSEEM CEEB: Koj yuav tsum tau txais ib feem pua thiab Daim Duab raws li qhov tso tawm. Koj cov zis yuav tsum zoo ib yam li cov duab hauv qab no:
Pom zoo:
LoRa-Raws Li Pom Kev Pom Kev Pom Zoo rau Kev Ua Liaj Ua Teb Iot - Tsim Tsim Daim Ntawv Thov Ua Ntej Siv Firebase & Angular: 10 Kauj Ruam
LoRa-Raws Li Pom Kev Pom Kev Pom Zoo rau Kev Ua Liaj Ua Teb Iot | Tsim Tsim Daim Ntawv Thov Ua Ntej Siv Firebase & Angular: Hauv tshooj yav dhau los peb tham txog yuav ua li cas cov ntsuas hluav taws xob ua haujlwm nrog loRa module txhawm rau nthuav tawm firebase Lub Sijhawm Teem Sijhawm, thiab peb tau pom daim duab siab heev tias peb txoj haujlwm tag nrho ua haujlwm li cas. Hauv tshooj lus no peb yuav tham txog yuav ua li cas peb tuaj yeem
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
IoT: Pom Kev Pom Kev Pom Cov Ntaub Ntawv Siv Node-RED: 7 Cov Kauj Ruam
IoT: Pom Kev Pom Teeb Pom Kev Pom Cov Ntaub Ntawv Siv Node-RED: Hauv cov lus qhia no, koj yuav kawm paub yuav tsim lub internet txuas nrog lub ntsej muag li cas! Kuv yuav siv lub teeb pom kev ib puag ncig (TI OPT3001) rau qhov ua piv txwv no, tab sis ib qho ntsuas ntawm koj xaiv (ntsuas kub, av noo, lub hwj chim ntsuas hluav taws xob, thiab lwm yam) yuav ua haujlwm. Tus nqi sensor
Lub Rooj Tswjhwm Saib qhov pom kev (Tswj Lub Suab Pom Pom Pom Suab): 5 Kauj Ruam
Pawg Thawj Coj Hloov Kho (Tswj Lub Suab Pom Pom Pom Lub Suab): Txhais cov nkauj kom pom lub teeb pom kev zoo nrog qhov kev tsim kho lub teeb pom kev zoo no. Zoo rau DJs, tog, thiab 1: 1 qhia! Hloov kho cov duab hauv qab no
Cov Khoom Siv Teeb Pom Kev Zoo (Cov Kev Tshawb Fawb Technology - TfCD - Tu Delft): 12 Cov Kauj Ruam (nrog Duab)
Cov Teeb Pom Kev Zoo Wearable (Kev Tshawb Fawb Txog Technology - TfCD - Tu Delft): Hauv Cov Lus Qhia no koj yuav kawm paub yuav ua li cas kom ua koj tus kheej lub teeb pom kev uas koj tuaj yeem hnav! Qhov no yog ua tiav los ntawm kev siv EL thev naus laus zis npog nrog cov vinyl decal thiab txuas cov hlua rau nws kom koj tuaj yeem hnav nws ncig koj txhais caj npab. Koj tseem tuaj yeem hloov pauv ib feem ntawm qhov p