Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj ruam 2: Txhim kho Raspbian
- Kauj Ruam 3: Npaj Koj Raspbarry PI
- Kauj ruam 4: Ua tiav Kev teeb tsa Weewx
- Kauj Ruam 5: Cov Ntawv Teev Npe Kawg
Video: Acurite 5 in 1 Weather Station Siv Raspberry Pi thiab Weewx (lwm Cov Chaw Huab Cua Tau Tshaj): 5 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Thaum kuv tau yuav Acurite 5 hauv 1 lub chaw nres tsheb huab cua Kuv xav kom tuaj yeem tshawb xyuas huab cua ntawm kuv lub tsev thaum kuv nyob deb. Thaum kuv tau los tsev thiab teeb nws Kuv paub tias kuv yuav tsum muaj cov khoom txuas nrog lub khoos phis tawj lossis yuav lawv lub chaw ntse, zoo nws txuas nrog kuv lub khoos phis tawj lossis lub desktop tau txwv rau kuv thiab kuv tsis xav yuav lawv ntse hub yog li kuv tau ua qee qhov kev tshawb fawb thiab tuaj nrog qhov no, Nco ntsoov qhov no yuav ua haujlwm nrog lwm qhov chaw huab cua. Nov yog cov npe ntawm cov cuab yeej txhawb nqa kho vajtse, Kuv tau sau qhov no rau cov neeg tshiab rau Raspberry Pis thiab Linux raws kev ua haujlwm, rau txhua tus tuaj yeem ua qhov no.
Kauj ruam 1: Cov ntaub ntawv
Raspberry PI, Kuv siv Raspberry PI 3b
keyboard thiab nas lossis keypad
HDMI kab
ib daim npav micro sd
ib rooj plaub Raspberry PI (yeem)
koj tuaj yeem tau txais cov khoom siv nrog txhua yam koj xav tau los ntawm amazon xws li qhov txuas kuv tau muab
www.amazon.com/CanaKit-Raspberry- Ua tiav-…
Kauj ruam 2: Txhim kho Raspbian
Thawj qhov koj yuav tau ua yog nruab Raspbian mus rau daim npav micro sd. Koj tuaj yeem rub Raspbian los ntawm raspberrypi.org rub tawm (Raspbian (lub npe version) nrog lub desktop) yog tias koj paub nrog Raspberry PI koj tuaj yeem siv qhov tsawg kawg nkaus. Koj tuaj yeem ua raws cov lus qhia los ntawm Raspberrypi.org (tsis txhob unzip cov ntawv yog tias koj siv kuv txoj kev). Kuv tus kheej Kuv siv cov software sib txawv los txhim kho nws ntawm micro sd Kuv siv rufus thaum siv cov software no Ua kom ntseeg tau tias koj xaiv qhov tseeb tsav! kuj thaum xaiv lub bootable duab xaiv dd duab ces xaiv cov ntawv raspbian zip.
Tom qab koj nruab Raspbian mus rau daim npav micro sd tso daim npav SD rau hauv daim npav micro sd ntawm koj li Raspberry PI sib txuas koj li HDMI cable rau koj lub TV lossis saib xyuas thiab rau koj Raspberry PI thiab tom qab ntawd koj nas thiab keyboard tom qab ntawd sib txuas koj lub zog rau koj Raspberry PI xyuas kom koj lub monitor/ TV nyob.
Kauj Ruam 3: Npaj Koj Raspbarry PI
Thaum nws khau raj teeb tsa teeb tsa koj li kev sib txuas WiFi (piv txwv tias koj siv WiFi)
tom qab ntawd mus pib> nyiam> Raspberry Pi teeb tsa xaiv cov cuam tshuam tab thiab xaiv SSH qhov laj thawj rau qhov no yog qhov no yuav tsis txuas nrog koj lub monitor/ TV yog li koj yuav tsum muaj peev xwm txuas mus rau qhov no los ntawm lwm lub khoos phis tawj.
xaiv lub localization tab thiab teeb tsa koj lub nroog thiab teeb tsa koj lub sijhawm thiab keyboard
xaiv lub system tab thiab hloov koj tus password
nyem ok thiab tom qab ntawd rov pib dua koj lub system
txuas koj lub USB cable rau koj qhov chaw nres tsheb huab cua
tam sim no nyem lub cim cim dav dav ntawm lub luag haujlwm qhib lub davhlau ya nyob twg
tam sim no thawj qhov yog kom paub tseeb tias koj lub system tau hloov kho tshiab hauv hom dav hlau hauv
sudo apt-tau hloov tshiab
sudo apt-tau hloov tshiab
tam sim no kom paub tseeb tias koj lub firmware tau hloov kho tshiab
sudo rpi-hloov tshiab
reboot lub system thiab rov qhib lub davhlau ya nyob twg koj tuaj yeem rov pib dua lub system los ntawm lub davhlau ya nyob twg sudo reboot
thaum lub davhlau ya nyob twg tau qhib tam sim no peb yuav mus nruab weewx koj tuaj yeem siv cov ntaub ntawv ntawm weewx nws zoo ib yam li kuv yuav qhia koj tab sis ua ntej koj pib tau txais qhov ntev thiab latitude koj tuaj yeem siv NASA lub vev xaib thiab tseem paub txog qhov deb npaum li cas txog koj qhov chaw nres tsheb huab cua tau zaum
Cov kauj ruam no yog xaiv tau weewx muab nws tus kheej lub vev xaib uas tau khiav tawm ntawm koj tus raspberry pi yog tias koj xav siv qhov tshwj xeeb no nruab apache2
sudo apt-tau nruab apache2
Tam sim no koj tab tom qhia apt qhov chaw cia khoom nyob qhov twg
wget -qO - https://weewx.com/keys.html | sudo apt -key ntxiv -wget -qO -https://weewx.com/apt/weewx.list | sudo tee /etc/apt/sources.list.d/weewx.list
ces hloov tshiab thiab nruab
sudo apt-tau hloov tshiab
sudo apt-tau nruab weewx
tom qab qhov kev teeb tsa no nws yuav pib qhov program teeb tsa thawj zaug ntawm no koj yuav sau koj lub chaw nres tsheb tso koj qhov ntev thiab lat hauv qhov siab ntawm koj lub chaw nres tsheb huab cua thaum koj ua tiav nrog qhov ntawd koj tuaj yeem kaw thiab txav koj lub chaw saib huab cua thiab Raspberry Pi mus rau qhov koj xav tau zoo li tso nws qhov no yog qhov SSH los rau hauv koj yuav xav rub tawm qhov program hu ua Putty thiab nruab nws hauv koj lub computer koj yuav xav paub koj tus IP chaw nyob koj tuaj yeem nrhiav nws los ntawm lub davhlau ya nyob twg tsuas yog ntaus ifconfig thiab saib rau wlan0 inet muaj yuav yog koj tus IP chaw yog tias koj siv wifi
Kauj ruam 4: Ua tiav Kev teeb tsa Weewx
Tam sim no yog tias koj tau txav koj cov huab cua saib thiab raspberry pi thiab teeb tsa putty qhib putty yog tias koj tsis tsuas yog qhib lub davhlau ya nyob twg yog tias koj tshiab rau putty thaum koj qhib nws sau rau hauv koj tus IP chaw nyob qhov chaw nres nkoj 22 zoo thiab nco ntsoov SSH raug xaiv nyem qhib, tom qab ntawd tus neeg siv lub npe yog pi thiab siv tus password koj tau tsim ua ntej tam sim no hauv koj lub davhlau ya nyob twg
sudo nano /etc/weewx/weewx.conf
tam sim no siv koj cov xub tuav pom
xub tshuaj xyuas ntu [chaw nres tsheb] kom ntseeg tau tias cov ntaub ntawv raug lawm tom qab ntawd saib rau "Ntu lus no yog rau xa cov ntaub ntawv mus rau Internet chaw" nrhiav koj cov kev pabcuam online Kuv tau siv huab cua hauv av nqes mus rau huab cua hauv av lub vev xaib mus rau qhov uas nws hais tias pib nyem qhov txuas tam sim no txuas thiab sau npe koj lub chaw nres tsheb huab cua. sau koj cov ntaub ntawv
# Yog tias koj xav ua qhov no, teeb tsa qhov kev xaiv 'pab' kom muaj tseeb, # thiab qhia qhov chaw nres tsheb (piv txwv li, 'KORHOODR3') thiab tus password.
pab kom = qhov chaw nres tsheb tseeb = Muab koj daim npav chaw nyob ntawm no
# Txhawm rau tiv thaiv kev txheeb xyuas qhov tsis raug, muab koj tus password rau hauv nqe lus:
lo lus zais = tus yuam sij chaw nres tsheb mus ntawm no
# Teeb cov hauv qab no kom Tseeb kom muaj weewx siv WU "Rapidfire"
# raws tu qauv. Tsis yog txhua yam khoom siv tuaj yeem txhawb nqa nws. Saib Tus Neeg Siv Phau Ntawv Qhia.
hluav taws kub ceev = Cuav
tam sim no koj tab tom tswj x kom tawm nws yuav nug koj yog tias koj xav khaws cov ntaub ntawv nkag mus y kom txuag thiab rov nkag dua kom txuag rau lub npe ntawv
tam sim no koj yuav xav rov pib dua weewx
sudo /etc/init.d/weewx nres
sudo /etc/init.d/weewx pib
tawm ntawm koj lub davhlau ya nyob twg lossis lub qhov rais ci
Kauj Ruam 5: Cov Ntawv Teev Npe Kawg
Yog tias koj teeb tsa apache koj tuaj yeem los ntawm koj lub vev xaib nkag mus rau koj tus IP chaw nyob thiab coj mus rau weewx lub vev xaib uas koj tau tuav ntawm koj li Raspberry PI. Koj tuaj yeem hloov daim tawv nqaij ntawm lub vev xaib los ntawm rub tawm cov tawv nqaij thiab teeb tsa lawv koj tuaj yeem paub yuav ua li cas ntawm qhov chaw weewx lub vev xaib doc muaj ntau cov ntaub ntawv zoo ntawm lawv lub vev xaib Kuv qhia kom tshawb nrhiav nws, Nov tsuas yog ib sab xav yog tias koj muaj Acurite huab cua saib xyuas nws yuav tsis nyuaj rau ua ntoo thav duab loj txaus los npog cov huab cua saib xyuas thiab Raspberry PI tag nrho hauv ib qho thiab dai nws ntawm phab ntsa tsuas nco ntsoov khaws koj cov huab cua. saib xyuas nyob rau hauv ntau ntawm cov chaw nres tsheb huab cua.
Kuv vam tias qhov no muaj txiaj ntsig zoo rau koj
Pom zoo:
Raspberry PI Kev ntsuas kub thiab vaum, Chaw Huab Cua Huab Cua, Wifi thiab Xov Tooj Txawb: 6 Kauj Ruam
Raspberry PI Kev ntsuas kub thiab vaum, Chaw Huab Cua Huab Cua, Wifi thiab Xov Tooj Txawb: Nrog Raspberry PI cov cuab yeej koj tuaj yeem teev cov ntsuas kub thiab cov av noo sab nraum, hauv chav, tsev cog khoom, lab, chav txias lossis lwm qhov chaw dawb kiag li. Qhov piv txwv no peb yuav siv los ntsuas qhov kub thiab txias. Cov cuab yeej yuav txuas nrog internet v
Huab Cua Huab Cua Huab Cua: 11 Kauj Ruam (nrog Duab)
Huab Cua Huab Cua Huab Cua: Txoj haujlwm no ua rau huab cua huab siv Raspberry Pi Zero W. Nws txuas rau Yahoo Huab Cua API thiab nyob ntawm qhov kev kwv yees rau hnub tom ntej hloov xim. Kuv tau tshoov siab los ntawm Wisconsin Gas Building uas muaj nplaim taws ntawm lub ru tsev uas hloov pauv
Qhov kawg Qhov Siab Tshaj Plaws Huab Cua Huab Cua Cov Ntaub Ntawv Logger: 9 Kauj Ruam (nrog Duab)
Qhov kawg High Altitude Weather Balloon Data Logger: Sau cov ntaub ntawv huab cua huab cua siab nrog qhov kawg qhov siab tshaj plaws huab cua zais zais cov ntaub ntawv logger. Lub zais pa huab cua siab, tseem hu ua lub zais pa siab lossis HAB, yog lub zais pa loj loj uas muaj cov helium. Cov balloons no yog lub platform
HRV (Lub Tsev Huab Cua Hloov Chaw) Arduino Tus Tswj Nrog Huab Cua Huab Cua: 7 Cov Kauj Ruam (nrog Duab)
HRV (Lub Tsev Huab Cua Hloov Chaw) Arduino Tus Tswj Nrog Air Economizer: HRV Arduino Tus Tswj Nrog Air Economizer Yog li kuv keeb kwm nrog txoj haujlwm no yog kuv nyob hauv Minnesota thiab kuv lub rooj tsav xwm hluav taws xob kib ntawm kuv LifeBreath 155Max HRV. Kuv tsis xav them $ 200 rau qhov tshiab Kuv ib txwm xav tau qee yam nrog kev lag luam huab cua kev ua txhaum
Tsis Tau Lwm Qhov Chaw Huab Cua (YA.W.S.): 18 Kauj Ruam (nrog Duab)
Tsis Tau Lwm Qhov Chaw Huab Cua (Y.A.S.V.): Txoj haujlwm no yog kuv coj mus rau Qhov Chaw Nthuav Tawm Huab Cua. Mine yog raws li ESP8266, a.96 ” OLED zaub thiab BME280 ib puag ncig lub teeb sensor. Cov Chaw Huab Cua zoo li yog txoj haujlwm nrov heev. Mine sib txawv nws tus kheej los ntawm ot