Cov txheej txheem:
- Kauj Ruam 1: Tsim
- Kauj ruam 2: Huab cua
- Kauj Ruam 3: Daim Ntawv Teev Npe
- Kauj Ruam 4: Cov Cuab Yeej
- Kauj Ruam 5: Tswj Pawg Tswj Xyuas Tsim
- Kauj ruam 6: Soldering
- Kauj Ruam 7: Ua Cov Khoom Siv Hluav Taws Xob
- Kauj ruam 8: Tswj lub thawv
- Kauj Ruam 9: PCB Mount
- Kauj Ruam 10: Kev sib dhos + thaiv
- Kauj Ruam 11: Zoo Siab
- Kauj ruam 12: Coding thiab Debugging
- Kauj Ruam 13: Chaw Nres Tsheb
- Kauj Ruam 14: Kev teeb tsa
- Kauj Ruam 15: Hwj chim, Txuas Txuas thiab Debugging
- Kauj Ruam 16: Ua Lub Neej Zoo Siab Tom Qab
Video: ESP32 Weathercloud Weather Station: 16 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Xyoo tas los, Kuv tau tshaj tawm kuv qhov kev qhia loj tshaj plaws rau hnub hu ua Arduino Weathercloud Weather Station. Nws yog nrov heev kuv yuav hais. Nws tau nthuav tawm hauv Instructables homepage, Arduino blog, Wiznet museum, Instructables Instagram, Arduino Instagram thiab kuj ntawm Weathercloud Twitter. Nws txawm yog ib ntawm 100 qhov qhia tau zoo tshaj plaws ntawm 2018! Thiab qhov ntawd yog qhov loj heev rau tus tsim khoom me me zoo li kuv. Kuv zoo siab tau pom ntau qhov kev xav zoo thiab kuv ua tib zoo nyeem los ntawm txhua qhov lus qhia thiab lus qhia. Txog li 8 lub hlis kuv tau ua haujlwm ntawm qhov chaw tshiab no, kho kom zoo dua qub. Kuv kho thiab txhim kho ntau yam. Kuv sim ua kom nws me dua, yooj yim dua, ntse dua, txias dua thiab tso tus nqi siv tau ntawm 150 € (165 $). Lub chaw nres tsheb tau teeb tsa ntawm cov neeg hlau ua liaj ua teb ze Senec, Slovakia. Nov yog cov ntaub ntawv tam sim no.
Kuv yuav sim piav qhia kuv tag nrho cov txheej txheem kev xav ntawm no yog tias koj tsuas yog xav tau txoj cai ntawm kev tsim xwb hla txoj cai mus rau qib 3.
Nta:
- ntsuas ntawm 12 qhov ntsuas huab cua
- kev siv ntawm 8 qhov sib txawv sensors
- IoT - cov ntaub ntawv yog pej xeem ntawm huab
- 5V 500mA ua haujlwm
- kev sib txuas lus ntawm Wi-nkaus
- huab cua tsis haum
- zoo li txias
- nws yog DIY
Ua tsaug ntau rau Lab Cafe makerspace rau muab chaw thiab txhawb nqa thaum tsim lub chaw nres tsheb no. Mus xyuas lawv!
Duab credit: ME (tau kawg) + Viktor Demčák
Hloov tshiab 7/18/2020: Nyob zoo txhua tus! Nws tau ntev lawm. Ntau tus ntawm koj tau sau ntawv rau kuv txog ntau yam teeb meem nrog kho vajtse thiab software. Kho vajtse tshiab yuav npaj tau tsuas yog ob peb lub lis piam tab sis txog thaum ntawd kuv tab tom tso tawm firmware tshiab. Qhov software no yuav pab tshem qee qhov teeb meem. Mus rau qib 12 kom paub ntau ntxiv. Thiab tseem ceeb tshaj, txaus siab!
Kauj Ruam 1: Tsim
Kev tsim lub chaw nres tsheb huab cua yog txheej txheem ntev thiab xav tau. Koj muaj ntau txoj kev xaiv los xaiv. Nov yog cov tseem ceeb uas koj yuav tsum xav txog thaum tsim lub chaw nres tsheb huab cua (lossis tsawg kawg kuv tau ua):
1) BUAG. Qhov no zoo nkauj piav qhia tus kheej.
2) LAWV. Qhov no tseem ceeb heev vim nws cuam tshuam rau kev teeb tsa nrog rau kev sib txuas lus thev naus laus zis thiab lub zog xav tau. Cov chaw huab cua nyob deb xav tau cov chaw xa xov ntev thiab muaj peev xwm siv tau tus kheej xws li lub hnub ci vaj huam sib luag.
3) MEASURED VARIABLES. Koj puas tsuas xav ntsuas kub lossis av noo? Tom qab ntawd koj tuaj yeem tso tus sojntsuam ze rau txhua qhov chaw. Tab sis yog tias koj xav ntsuas dej nag, cua, hnub ci tawg, ntsuas UV lossis lwm yam khoom cuam tshuam nrog lub hnub lossis nag lossis daus tom qab ntawd lub ntsuas cua tsis tuaj yeem nyob hauv qhov ntxoov ntxoo thiab tsis tuaj yeem thaiv tsis tau los ntawm sab saud lossis sab.
4) ZOO SIAB. Koj puas xav kom koj qhov kev ntsuas ntsuas kom raug thiab piv rau lub koom haum huab cua hauv tebchaws lossis yog qhov kev nyiam ua qhov zoo txaus rau koj?
Yog li tam sim no koj yuav tsum muaj daim duab zoo nkauj ntawm yam koj xav tau. Yog li cia peb mus rau ntawm daim duab teeb duab! Nov yog qee txoj cai yooj yim uas kuv tau xav txog:
1) Tiv thaiv lub ntsuas kub. Koj yuav tsum ua qhov no kiag li. Cov cua sov tuaj yeem taug kev ntau txoj hauv kev nws tuaj yeem tawg thiab ua los ntawm cov qauv ntawm chaw nres tsheb nws tus kheej. Yog li sim ua lub tsho tag nrho ntawm cov hlau, thiab muab qhov ntsuas kub nyob hauv daim ntaub thaiv hluav taws xob. Kuv paub, kuv lub chaw nres tsheb hluav taws xob tsis zoo tab sis nws pab tau.
2) Tso lub qhov ntsuas qhov ntsuas siab kom siab. Cov cua cua yuav tsum tau muab tso rau 10m siab los ntawm cov qauv thoob ntiaj teb. Kuv tsis muaj nyiaj los yuav 10m tus ncej yog li 2m yeeb nkab saum lub ru tsev yog txaus rau kuv.
3) CLEAR AREA AROUND thiab saum toj no lub chaw. Yog tias koj xav ntsuas lub hnub ci koj tsis tuaj yeem muaj lub ntsuas cua nyob hauv qhov ntxoov ntxoo. Yog tias koj xav ntsuas cov dej nag koj tsis tuaj yeem muaj qee yam thaiv qhov nqes dej. Yog li xyuas kom tseeb tias thaj tsam ib puag ncig thiab siab dua qhov chaw nres tsheb tau raug tshem tawm.
Cia peb mus txuas ntxiv. Yog li, rau kuv qhov chaw nres tsheb Kuv txiav txim siab kuv xav ntsuas cov ntsuas no: Huab cua kub, av hauv av, txheeb ze huab cua, huab cua huab cua, ntsuas cua sov, taw tes lwg, cua txias, dej nag, hnub ci tawg, ntsuas UV, cua nrawm thiab cua qhia. Qhov no yog 8 qhov ntsuas nyob rau hauv tag nrho los ntawm qhov uas muaj 3 qhov me me, PCB-mountable modules thiab 5 qhov kev soj ntsuam sab nraud. Kuv yuav xav tau 2 cais microcontrollers, ib qho rau kev tswj xyuas cov dej nag xwb thiab qhov thib ob rau txhua yam ntxiv.
Kuv txiav txim siab muab txhua yam kuv ua tau rau ntawm PCB nkaus xwb. Kuv muab PCB tso rau hauv ib lub thawv IP65 nrog lub hau npog, kom lub hnub ci tuaj yeem hla mus rau lub hnub ci hluav taws xob thiab UV ntsuas qhov ntsuas. Tag nrho lwm qhov kev ntsuas yuav txuas nrog lub thawv tswj lub ntsiab nrog lub xov tooj. Yog li ntawd yog nws rau kuv tsim.
Kauj ruam 2: Huab cua
"ESP32 Weathercloud Weather Station" Weatherclud yog dab tsi? Weathercloud yog lub network loj ntawm cov chaw qhia huab cua tshaj tawm cov ntaub ntawv hauv lub sijhawm tiag tiag los ntawm thoob plaws lub ntiaj teb. Nws yog pub dawb thiab muaj ntau dua 10 000 qhov chaw huab cua txuas nrog nws. Ua ntej tshaj, Kuv muaj kuv tus kheej lub vev xaib HTML uas txhua cov ntaub ntawv raug xa mus tab sis ua rau koj tus kheej lub vev xaib thiab cov duab nyuaj thiab nws yooj yim dua tsuas yog xa tag nrho cov ntaub ntawv mus rau huab huab platform uas muaj cov duab zoo thiab ruaj khov servers. Kuv tshawb nrhiav yuav xa cov ntaub ntawv mus rau huab cua huab cua thiab kuv pom tias koj tuaj yeem ua tiav qhov ntawd yooj yim los ntawm kev hu xov tooj yooj yim. Qhov teeb meem nkaus xwb nrog Weathercloud yog nrog tus lej pub dawb nws cia koj xa cov ntaub ntawv tsuas yog txhua kaum feeb tab sis qhov ntawd yuav tsum tsis muaj teeb meem rau kev siv feem ntau. Koj yuav tsum tau ua tus lej Weathercloud txhawm rau ua kom nws ua haujlwm. Tom qab ntawd koj yuav tsum tsim cov chaw nres tsheb profile ntawm lawv lub vev xaib. Thaum koj tsim koj daim ntawv qhia chaw huab cua ntawm Weathercloud, koj tau txais Weathercloud ID thiab Weathercloud KEY. Khaws cov no vim tias Arduino yuav xav kom lawv paub qhov twg xa cov ntaub ntawv.
Kauj Ruam 3: Daim Ntawv Teev Npe
OK yog li rau txoj haujlwm no koj yuav xav tau txhua yam khoom uas tau teev tseg zoo hauv kuv li Google Docs BOM txoj cai ntawm no.
TSEV KAWM NTAWV QHOV CHAW: 150 €/165 $
Kauj Ruam 4: Cov Cuab Yeej
Cov cuab yeej no tuaj yeem ua ke (txawm hais tias feem ntau ntawm lawv yog qhov tsim nyog kiag li):
Laser txiav
Vuam
Hlau pom
Hlau stripper
Laum fais fab
Roj teeb laum
Soldering hlau
Pliers
Ntsia Hlau
Phom phom
Multimeter
Tsob ntoo me ntsis
Kauj Ruam 5: Tswj Pawg Tswj Xyuas Tsim
Kuv mus nrog ib tug heev centralized architecture. Qhov no txhais tau tias txhua yam uas tuaj yeem ua tau tsis yog tsuas yog hauv ib lub thawv tab sis ntawm ib lub rooj tsav xwm hauv Circuit. Kuv nyuam qhuav kawm paub tsim PCBs uas yog qhov muaj txiaj ntsig thiab muaj txiaj ntsig zoo. Txhua qhov haujlwm yog qhov zoo dua thiab meej dua thiab txawm tias muaj kuab nyob hauv ib txoj kev. Nws kuj tseem yooj yim heev: koj tsuas yog xa koj cov ntaub ntawv mus rau Tuam Tshoj thiab lawv ua txhua txoj haujlwm thaiv thiab xa daim ntawv tiav rau koj. Tom qab ntawd koj tsuas yog muab cov khoom sib dhos tso rau hauv qhov chaw thiab koj ua tiav.
PCB tuav ob lub microcontrollers hauv qhov chaw nres tsheb no: ESP32 (chav tswj hwm tseem ceeb) thiab Arduino NANO (cov txheej txheem dej nag). Nws tseem tuav qee qhov ntsuas uas suav nrog: BME280, BHT1750 thiab ML8511. Tom qab ntawd muaj DS3231 RTC module. Qhov kawg tab sis tsis tsawg, muaj qee qhov tiv thaiv thiab cov ntsia hlau txuas.
Kuv tsim kuv lub rooj tsavxwm hauv Autodesk Eagle. Tsuas yog rub tawm cov ntaub ntawv Gerber hu ua "ESP32 huab cua station.zip" thiab xa nws mus rau JLC PCB. Lossis yog tias koj xav kho nws, koj tuaj yeem rub tawm "ESP32 huab cua chaw nres tsheb schematic.sch" thiab "ESP32 huab cua chaw nres tsheb board.brd" cov ntaub ntawv thiab kho lawv hauv Eagle. Kuv xav qhia tswv yim rau npe kawm Circuit Board Design Class los ntawm Instructables ua ntej.
Kauj ruam 6: Soldering
Okay txhua tus, koj txhua tus tau ua qhov no ua ntej. Lub rooj tsav xwm zoo nkauj no uas kuv tau tsim muaj cov ntawv zoo silkscreen hneev taw luam tawm ntawm nws. Thaum koj muaj qhov ntawd, qhov yuav tsum tau ua ib qho ncuav mog qab zib vim tias koj pom qhov tseeb mus qhov twg. Tsuas muaj cov khoom THT nrog tus qauv 0.1 kev sib nrug.
Hloov kho 7/18/2020: RTC tus qauv tsis xav tau ntxiv lawm. Tsis tas yuav tsum tau teeb tsa nws ntawm lub rooj tsavxwm. Koj tuaj yeem kawm paub ntau ntxiv hauv qib 12.
Kauj Ruam 7: Ua Cov Khoom Siv Hluav Taws Xob
Thaum kuv tab tom tsim qhov no, kuv hais rau kuv tus kheej "Yog lawm, koj twb tau ua ob zaug no lawm tsis muaj caij nyoog uas koj yuav cuam tshuam tam sim no." Thiab kuv tsis tau.
Lub hnub ci thaiv hluav taws xob tiv thaiv hluav taws xob yog ib qho uas siv ntau hauv cov chaw huab cua los thaiv cov hluav taws xob ncaj qha hnub ci thiab yog li ntawd txo qhov ua yuam kev hauv qhov ntsuas kub. Nws kuj ua raws li tus tuav rau qhov ntsuas kub. Cov hluav taws xob thaiv hluav taws xob muaj txiaj ntsig zoo tab sis feem ntau yog ua los ntawm cov hlau thiab lawv tau kim heev yog li kuv txiav txim siab los tsim daim thaiv ntawm kuv tus kheej. Kuv tau ua Cov Lus Qhia uas qhia yuav ua li cas thiaj ua tau daim thaiv hluav taws xob zoo li no.
Kauj ruam 8: Tswj lub thawv
Qhov tseem ceeb ntawm qhov chaw nres tsheb no yog qhov pom tseeb ntawm lub thawv tswj. Nws tuav thawj thiab theem nrab microcontrollers, qee qhov ntsuas, RTC thiab qee yam tsis ua haujlwm. Tag nrho cov ntawd hauv pob IP65 yooj yim. Lub thawv muaj lub hau npog zoo li lub hnub ci tuaj yeem hla mus rau UV thiab lub hnub ci hluav taws xob ntsuas hluav taws xob.
Ua ntej peb tuaj yeem txhim kho PCB, peb yuav tsum npaj lub thawv rau cov hlua. Muaj tsib lub zog thiab cov ntaub ntawv txuas mus rau hauv lub thawv. Txhawm rau txhawb nqa cov khoom tsis muaj dej tsis zoo ntawm lub chaw nres tsheb, peb tab tom yuav xav tau cov kab hluav taws xob tsis muaj dej. Tshwj xeeb, ib qho PG7 rau lub zog txuas hluav taws xob, PG7 thib ob rau cua thiab dej nag ntsuas thiab peb PG11 rau ob qho ntawm qhov ntsuas kub. Kuv muab lub qog loj (PG11) tso rau hauv nruab nrab ntawm ib phab ntsa ntawm lub thawv thiab ob lub qog me me (PG7) hauv cov phab ntsa uas txawv. Yog li lub thawv hloov txheej txheem yog raws li hauv qab no:
1) Kos qhov chaw nruab nrab rau txhua lub qhov nrog tus cim.
2) Laum ib lub qhov me me nrog qhov siv me ntsis.
3) maj mam nce qhov loj ntawm lub qhov nrog tsob ntoo me ntsis.
4) Tshem tawm qhov.
5) Ntxig thiab ruaj ntseg kab txuas rau hauv txhua qhov.
Kauj Ruam 9: PCB Mount
Txij li thaum kuv tsuas yog cov tub ntxhais kawm sim ntawm Autodesk Eagle, kuv tsis tuaj yeem tsim PCBs loj dua 8cm. Txhua yam haum rau pawg no yog li ntawd zoo. Tsuas yog teeb meem yog nrog lub thawv tswj. Lub rooj sib dhos mounting qhov suav nrog hauv lub thawv yog 14cm sib nrug. Qhov no txhais tau tias peb yuav xav tau tus tuav rau PCB. Qhov no tuaj yeem yog lub rooj tsavxwm (ntoo/yas/hlau) uas peb yuav nce lub PCB. Tom qab ntawd peb yuav muab tus tuav lub rooj rau lub thawv tswj. Txoj kev no PCB yuav raug nyab xeeb rau hauv lub thawv tswj.
Koj tuaj yeem ua tus tuav txawm koj xav tau. Koj tuaj yeem ua nws tus kheej los ntawm phaj ntoo lossis hlau, koj tuaj yeem laser txiav nws (zoo li kuv) lossis koj tuaj yeem txawm luam 3D nws. Kuv suav nrog qhov ntev ntawm pawg thawj coj saib yog li qhov kev xaiv yog koj li. Yog tias koj tau nkag mus rau lub tshuab txiav laser, tom qab ntawv txiav nws yog qhov yooj yim tshaj plaws. Koj tuaj yeem pom cov ntaub ntawv laser txiav ntawm no ob qho tib si hauv.pdf thiab.svg hom ntawv.
Raws li koj tuaj yeem pom kuv tau hla ntau yam kev hloov pauv ntawm tus tuav. Thaum kawg, Kuv tau mus nrog cov acrylic, vim nws tsis cuam tshuam los ntawm ya raws (zoo li ntoo) thiab nws tsis nyiam cua sov (zoo li hlau).
Kauj Ruam 10: Kev sib dhos + thaiv
Qhov no yuav yog qhov yooj yim zoo nkauj los ua, tab sis nyuaj heev rau piav qhia vim tias muaj ntau qib me me. Cia peb ua raws txoj cai ntawd:
1) Ntxig tag nrho cov kab hluav taws xob mus rau lawv lub qhov. Tsis txhob ruaj ntseg cov kab txuas kab.
2) Txuas tag nrho cov xov hlau los ntawm lub ntsuas cua, ntsuas dej nag thiab los ntawm lub zog hluav taws xob raws li cov kab hluav taws xob suav nrog. Tsis txhob txuas cov xov hluav taws xob los ntawm cov ntsuas kub tseem tsis tau.
3) Yog tias teeb tsa, tshem tawm PCB mount. Tom qab ntawd tig lub PCB kom cov hlua txuas mus raws nws sab hauv qab. Ruaj ntseg PCB mount kom cov kab txuas tau ruaj khov hauv cov qhaub cij nruab nrab ntawm PCB thiab mount.
4) Ntxig thiab ntsia hlau rau hauv PCB mount nrog PCB.
5) Ruaj ntseg ob lub qog me me (PG7). Tsis txhob ruaj ntseg qhov loj dua.
6) Ntxig thiab txuas cov kab hluav taws xob los ntawm qhov ntsuas kub raws li cov kab hluav taws xob suav nrog.
7) Muab tso rau saum lub hau thiab ntsia hlau rau hauv qhov chaw.
Kauj Ruam 11: Zoo Siab
Cov kauj ruam no yog ib qho chaw kuaj xyuas. Txij ntawm no mus, koj yuav tsum tau ua koj tus kheej ib yam dab tsi zoo li qhov koj pom ntawm daim duab. Yog tias yog qhov raug, zoo siab. Mus, tau txais koj tus kheej cov khoom noj txom ncauj thiab so kom txaus vim qhov no tsis yog ib kauj ruam me me rau tus txiv neej, tab sis kev dhia loj heev rau tib neeg. Yog tias tsis yog, saib cov kauj ruam dhau los thiab nrhiav qhov teeb meem. Yog tias tsis pab, tawm tswv yim lossis xa xov rau kuv.
Yog li thaum koj muaj kev noj qab haus huv thiab rov zoo dua, koj tuaj yeem txav mus rau tom ntej rau coding thiab debugging ib feem.
Kauj ruam 12: Coding thiab Debugging
Yaaaaay, txhua leej txhua tus nyiam coding! Thiab txawm tias koj tsis ua, nws tsis muaj teeb meem vim tias koj tsuas tuaj yeem rub tawm thiab siv kuv tus lej.
Ua ntej tshaj, koj yuav tsum ntxiv ESP32 dev module rau koj tus thawj tswj hwm. Txhawm rau ua qhov no, koj yuav tsum rub tawm pob JSON thiab nruab nws los ntawm tus thawj tswj hwm pawg thawj coj. Saib qhov kev qhia no los ntawm Random Nerd Tutorials.
Tam sim no koj yuav tsum rub tawm txhua lub tsev qiv ntawv tseem ceeb. Kuv tsim ZIP cov ntawv "Libraries.zip" rau koj kom yooj yim dua. Tsis txhob nqa cov ntawv khaws cia rau hauv Arduino IDE zoo li lub tsev qiv ntawv qub. Hloov chaw, rho tawm cov ntawv khaws tseg thiab tshem tag nrho cov ntaub ntawv mus rau Cov Ntaub Ntawv/Arduino/tsev qiv ntawv. Tam sim no koj tuaj yeem rub tawm tag nrho plaub ntawm kuv cov haujlwm: "Wi-Fi_Weathercloud_API_test.ino", "System_test.ino", "ESP32_Weathercloud_Weather_Station.ino".
Qhib "Wi-Fi_Weathercloud_API_test.ino". Koj yuav tau hloov ob peb yam. Ua ntej tshaj, koj yuav tsum tau hloov "SSID" thiab "KEY" nrog koj li Wi-nkaus network SSID (npe) thiab tus password. Qhov thib ob koj yuav tsum tau hloov "WID" thiab "KEY" nrog koj li Weathercloud ID thiab KEY koj yuav tsum muaj los ntawm Kauj Ruam 2. Koj kuj yuav tsum ua tib yam nrog "ESP32_Weathercloud_Weather_Station.ino". Mus thiab upload cov cai rau ESP32. Koj yuav tsum pom cov ntaub ntawv ua ntej tau tshaj tawm ntawm Weathercloud lub vev xaib. Yog tias yog qhov yog, txuas ntxiv mus.
Tshaj tawm "System_test.ino" rau ESP32 thiab "I2C_rainfall_sender" mus rau Arduino NANO. Qhib Serial Console ntawm ESP32 ntawm 115200 baud. Tam sim no koj yuav tsum pom cov ntaub ntawv sensor tuaj txhua txhua 15 vib nas this ntawm koj lub vijtsam. Ua si nrog cov sensors. Ci lub teeb nyob rau hauv lub hnub ci hluav taws xob sensor, tshuab rau hauv cua ceev sensor, ua kom sov qhov ntsuas kub… Qhov no koj tuaj yeem sim yog tias txhua yam ua haujlwm. Yog tias koj txiav txim siab tias txhua yam zoo li nws yuav tsum yog, txuas ntxiv mus.
Tshaj tawm "ESP32_Weathercloud_Weather_Station.ino" mus rau ESP32. Yog tias koj tau ua txhua yam kom raug, koj yuav tsum pom cov ntaub ntawv tiag tiag los ntawm chaw nres tsheb tuaj ntawm nplooj ntawv Huab Cua txhua txhua 10 feeb. Yog tias qhov no ua haujlwm nws txhais tau tias tam sim no koj lub chaw nres tsheb tau ua haujlwm tiav thiab tsuas yog ib qho uas yuav tsum tau ua yog teeb tsa nws qhov chaw zoo.
Hloov kho 7/18/2020: Txhua qhov kev kawm theem nrab/xeem tseem zoo ib yam. Tab sis txoj haujlwm tseem ceeb ntawm chaw nres tsheb huab cua tau hloov kho. Cov qauv ntawm cov cai tau pom meej dua li ua ntej. Koj tuaj yeem teeb tsa txhua qhov uas yuav tsum tau ua thaum pib ntawm txoj cai. Tam sim no ESP32 tau txais sijhawm los ntawm NTP server yog li RTC module tsis xav tau ntxiv lawm. Qhov kawg tab sis tsis tsawg, ESP32 tam sim no tau ua cov txheej txheem pw tsaug zog tob tob thaum nws tsis ntsuas thiab xa cov ntaub ntawv. Qhov no yuav txo qis kev siv hluav taws xob thiab nws tseem yuav pab ua kom lub neej ntawm chaw nres tsheb huab cua nyob ntev. Txhawm rau siv tus lej tshiab, tsuas yog rub tawm qhov hloov tshiab "ESP32_Weathercloud_Weather_Station.ino" code thiab hloov kho ZIP cov ntaub ntawv nrog cov tsev qiv ntawv (Cov ntawv qhia tsis lees txais nws yog li ntawm no yog Google Drive txuas). Txaus siab rau!
Kauj Ruam 13: Chaw Nres Tsheb
Yog li tom qab koj tau lees paub tias koj lub chaw nres tsheb tau ua haujlwm koj yuav tsum tau tsim qauv thiab teeb tsa rau nws. Nws yuav tsum muaj zog, ruaj khov, khov kho thiab kawg tab sis tsis tsawg kawg nws yuav tsum yog qhov zoo. Ua cov kauj ruam no ntau dua ntawm cov lus pom zoo lossis kev tshoov siab tshaj li cov lus qhia tseeb. Kuv tsis paub nws zoo li cas koj nyob nraum yuav mount nws. Koj yuav tsum tau muaj tswv yim me ntsis ntxiv. Tab sis yog tias koj muaj lub ru tsev tiaj tus nrog 5cm txoj kab uas hla hlau yeeb nkab tawm, mus thiab ua raws li kuv tau ua. Qhov chaw nres tsheb no muaj ob lub thawv. Yog li kuv txiav txim siab muab ob qho tib si tso rau ib sab ntawm ib lub vaj huam sib luag hlau. Nws yuav tsum tau teeb tsa ntawm cov yeeb nkab hlau nrog txoj kab uas hla ntawm 5cm. Yog li kuv muab cov yeeb nkab nrog 5cm txoj kab uas hla sab hauv qab ntawm lub vaj huam sib luag. Ob qho ntawm lub ntsuas cua yuav tsum nyob deb ntawm qhov chaw nres tsheb tas li. Yog li muab ob lub raj ntev 40cm rau ntawm txhua sab ntawm lub chaw nres tsheb thiab ob lub kav dej ntev 10cm ntawm qhov kawg ntawm txhua tus. Cov ntaub thaiv hluav taws xob yuav tsum tau teeb tsa hauv qab vaj huam sib luag kom muab duab ntxoov ntxoo ntxiv. Txog qhov no, kuv muab 7 los ntawm 15 cm L bracket rau ntawm cov yeeb nkab hlau tuab.
Nov yog txhua qhov xav tau cov hlau ib feem los ntawm ib qho [qhov ntev hauv mm]:
1x yeeb nkab, sab hauv taub 50, ntev 300
1x vaj huam sib luag, 250 los ntawm 300, tuab 3
1x L bracket, 75 thiab 150 caj npab
2x yeeb nkab, txheej sab nraud 12, ntev 400
2x yeeb nkab, sab hauv taub 17, ntev 100
Thaum koj muaj tag nrho cov hlau no, koj tuaj yeem txuas lawv rau hauv qhov chaw raws li tus qauv 3D uas kuv tau muab. Tom qab ntawd koj yuav tsum tau laum tag nrho cov qhov rau lub thawv thiab rau cov hluav taws xob thaiv. Tom qab ntawd tsuas yog pleev xim rau xim rau hlau. Kuv pom zoo kom mus nrog dawb, vim tias nws nqus cua sov tsawg kawg los ntawm txhua qhov xim. Qhov ntawd yog koj tau txais koj tus kheej lub chaw nres tsheb uas koj tuaj yeem nce koj lub chaw nres tsheb!
Kauj Ruam 14: Kev teeb tsa
Nqa koj lub chaw nres tsheb huab cua, koj lub roob thiab txhua yam ntawm koj cov cuab yeej vim tias koj yuav xav tau txhua tus. Nkag mus rau hauv tsheb (lossis tsheb npav kuv tsis quav ntsej) thiab mus rau qhov chaw yav tom ntej ntawm koj lub chaw nres tsheb. Thaum kawg, koj tuaj yeem nce lub chaw nres tsheb.
Ua kom koj lub chaw nres tsheb huab cua ua haujlwm hauv koj lub rooj cob qhia yog ib yam, tab sis ua rau nws ua haujlwm hauv ntiaj teb qhov xwm txheej hnyav yog lwm qhov. Cov txheej txheem teeb tsa nyob ntawm ntau lub tsev koj tab tom txhim kho koj lub chaw nres tsheb. Tab sis yog tias koj muaj tus tuav los ntawm cov kauj ruam dhau los thiab muaj zog laum, nws yuav tsum zoo. Koj tsuas yog yuav tsum tau lo cov yeeb nkab tuab los ntawm qhov nce mus rau cov yeeb nkab nyias nyias ntawm lub ru tsev. Tom qab ntawd tsuas yog laum hla ob qho ntawm cov kav dej thiab ruaj ntseg lawv nrog cov ntsia hlau ntev. Mount tag nrho cov thawv thiab cov sensors. Qhov ntawd yog nws. Tam sim no koj lub chaw nres tsheb tau ua tiav tiav.
Peb tau ua qhov no rau hnub los nag. Nws nyuaj heev tab sis peb tsis muaj lwm txoj kev xaiv vim yog hnub kawg ntawm kev sib tw.
Kauj Ruam 15: Hwj chim, Txuas Txuas thiab Debugging
Koj lub chaw nres tsheb tau teeb tsa lub cev, tab sis nws tseem tsis tau online tam sim no. Cia peb ua tam sim no. Koj yuav tsum tau fais fab chaw nres tsheb li cas. Koj yuav tsum muaj tswv yim me ntsis ntawm no. Koj tuaj yeem tso tus adapter sab hauv ntawm lub tsev thiab rub kab ntawv hla lub qhov rais. Koj tuaj yeem faus cov kab hauv av. Koj tuaj yeem siv zog ntawm lub hnub ci vaj huam sib luag. Txhua qhov teeb meem yog tias muaj 5V 500mA ntawm tus pin ntawm lub hwj chim cable los ntawm lub thawv tswj. Nco ntsoov, txhua yam yuav tsum tsis muaj huab cua! Thaum koj muaj koj lub chaw nres tsheb siv, koj tuaj yeem txav mus rau qhov teeb tsa txuas thiab debugging.
Kev teeb tsa Uplink yog qhov pib tau txais ESP32 txhawm rau txuas rau koj li Wi-nkaus network. Yog tias nws nyob ntawm koj lub tsev, nws yuav tsum zoo. Yog tias nws nyob ntawm lub nkas-las lossis nyob deb dua, koj yuav xav tau Wi-Fi txuas ntxiv lossis txawm tias yog Wi-nkaus network kev cai. Tom qab ntawd qhov debugging theem ua raws. Koj tsuas tuaj yeem tso tus lej kawg thiab cia siab rau qhov zoo tshaj plaws tab sis kuv pom zoo tiag tiag sim ntsuas txhua qhov ntawm ib qho los ntawm ib qho xwb kom ntseeg tau tias txhua yam ua haujlwm tau zoo. Yeej tseem zoo ib yam li hauv qib 12. Yog txhua yam ua haujlwm zoo li nws yuav tsum tau, koj tuaj yeem tsoo lub UPLOAD khawm unplug USB cable thiab kaw ntawm lub thawv tswj.
Kauj Ruam 16: Ua Lub Neej Zoo Siab Tom Qab
Jeez, qhov no yog feeb kawg hais mav. Kuv pom qhov kev sib tw Sensors tsuas yog 10 hnub ua ntej nws xaus. Tib hmo ntawd, kuv yuav tsum ua zoo li 10 lub xov tooj los npaj txhua yam uas yuav tsum tau ua kom tiav qhov chaw nres tsheb. Nws tseem tsis tau tiav kiag li. Hnub peb yuav tsum tau teeb tsa lub chaw nres tsheb tau los nag loj heev cuam tshuam peb cov phiaj xwm. Kuv xav tau kom ua tiav tag nrho cov ntawv ua ntej qhov chaw nres tsheb tau ua tiav. Thaum kawg lub chaw nres tsheb tsuas yog niaj hnub no, nyob rau tib hnub kuv tau tshaj tawm Cov Lus Qhia no.
Muaj tseeb ntau yam uas tuaj yeem ua tau zoo dua ntawm no tab sis muaj ntau yam tseem ceeb uas koj tuaj yeem kawm ntawm no thiab siv lawv thaum tsim koj lub chaw nres tsheb. Yog tias koj tau ua txhua qib kom raug, tam sim no koj muaj lub chaw ua haujlwm huab cua ESP32 huab cua. Thiab yog ib yam! Txhua qhov kev ua haujlwm nyuaj tau them (Kuv vam tias nws tau ua). Koj tuaj yeem pom cov ntaub ntawv los ntawm kuv qhov chaw nres tsheb ntawm no. Yog tias koj muaj lus nug lossis lus pom zoo, kuv yuav zoo siab tau hnov lawv hauv cov lus hauv qab no.
Yog thiab kuj yog tias koj nyiam txoj haujlwm no Kuv yuav txaus siab heev yog tias koj tau pov npav rau kuv hauv kev sib tw Sensors. Ua tsaug ntau thiab txaus siab rau !!!
Thawj qhov khoom plig hauv kev sib tw Sensors
Pom zoo:
Arduino WiFi Wireless Weather Weather Station Wunderground: 10 Kauj Ruam (nrog Duab)
Arduino WiFi Wireless Weather Weather Station Wunderground: Hauv Phau Ntawv Qhia no kuv yuav qhia koj yuav tsim lub chaw nres tsheb huab cua tus kheej li cas siv ArduinoA Chaw nres tsheb huab cua yog lub cuab yeej uas khaws cov ntaub ntawv cuam tshuam nrog huab cua thiab ib puag ncig siv ntau yam sib txawv. Peb tuaj yeem ntsuas ntau yam
Ua tiav DIY Raspberry Pi Weather Station Nrog Software: 7 Kauj Ruam (nrog Duab)
Ua tiav DIY Raspberry Pi Huab Cua Chaw Nres Tsheb Nrog Software: Rov qab rau lub Ob Hlis lig Kuv pom cov ntawv no ntawm Raspberry Pi site. http://www.raspberrypi.org/school-weather-station-.. Lawv tau tsim Raspberry Pi Weather Stations for Schools. Kuv lig xav tau ib qho! Tab sis lub sijhawm ntawd (thiab kuv tseem ntseeg raws li sau ntawv
Arduino Weathercloud Weather Station: 16 Kauj Ruam (nrog Duab)
Arduino Weathercloud Weather Station: Kuv tau ua chaw nres tsheb huab cua txuas nrog internet. Nws ntsuas qhov ntsuas kub, av noo, siab, dej nag, cua nrawm, ntsuas UV thiab nws suav ob peb yam tseem ceeb hauv huab cua. Nws mam li xa cov ntaub ntawv no mus rau weathercloud.net, uas muaj cov duab zoo
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv