Cov txheej txheem:
- Kauj Ruam 1: Qhov seem hauv lub thawv
- Kauj Ruam 2: Ua Kom Zoo Siab Txhua Tus Ua Ke
- Kauj Ruam 3: Tshooj Ntxiv
- Kauj Ruam 4: Teeb Kho Raspberry Pi
- Kauj ruam 5: Rub tawm Software
- Kauj Ruam 6: Calibrate Gas Sensors
- Kauj Ruam 7: Khiav Qhov Tseeb HAT
- Kauj Ruam 8: Kauj Ruam Kawg
Video: Sensly Hat rau Raspberry Pi Air Quality & Gas Detector V0.9: 8 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Sensly yog lub ntsuas pa paug nqa tau muaj peev xwm txheeb xyuas cov pa phem hauv huab cua siv nws cov pa roj pa hauv pa kom sau cov ntaub ntawv hais txog ntau yam roj cua tam sim no. Cov ntaub ntawv no tuaj yeem pub ncaj qha rau koj lub smartphone rau lub sijhawm tiag tiag thawb ceeb toom hloov tshiab. Sensly siv cov cuab yeej ntsuas ntsuas uas paub tseeb tias nyeem tau zoo ntawm chaw ua haujlwm, hauv tsev, lossis ib puag ncig ua haujlwm. Kev paub txog cov ntaub ntawv no pab koj nqis tes ua thiab coj cov pa phem ntau nyob ib puag ncig koj.
Peb pab neeg ntawm Altitude Tech LTD yog cov kiv cua loj ntawm Raspberry Pi lub khoos phis tawj me. Peb yeej mob siab pab Raspberry Pi zej zog txhim kho lawv tus kheej lub cuab yeej Sensly thiab pib ua haujlwm ntawm kev sim thaum kawm txog ntau hom roj cua. Peb tau tsim lub Sensly Hat rau Raspberry Pi. Pib pib ntawm Kickstarter, peb zoo siab los muab cov khoom tsim tshiab no rau cov tsim khoom.
Yuav Ua Li Cas Siv Lub Ntsej Muag HAT
Xav txog kev siv Sensly Raspberry Pi HAT rau:
- Tsim koj tus kheej cov ntaub ntawv tiv thaiv huab cua thiab saib xyuas huab cua zoo nyob hauv thaj chaw deb
- Saib xyuas huab cua zoo nyob ib puag ncig koj lub tsev
- Siv nws rau kev sim tsev kawm ntawv.
Kauj Ruam 1: Qhov seem hauv lub thawv
Pib nrog kom tau txais txhua yam koj xav tau.
- HLO Sensly
- BME 280 kub, av noo thiab ntsuas qhov ntsuas qhov ntsuas
- Ntse PM10 Sensor
- PM10 Kab
- 40 Pin Raspberry Pi header
Kauj Ruam 2: Ua Kom Zoo Siab Txhua Tus Ua Ke
Cia peb muab nws ua ke:
- Muab 40 tus pin header tso rau hauv tus pin qhov ntawm Sensly HAT ces tso Sensly HAT mus rau pi
- Muab tus qauv BME 280 tso rau ntawm Sensly HAT kom ntseeg tau tias cov pins sib phim. Saib hauv qab tus qauv kom paub qhov kev taw qhia nws yuav tsum tau ntsib.
- Txuas lub PM Sensor Cable rau hauv qhov chaw nres nkoj sau npe PM Header
- Thaum qhov no ua tiav, peb tuaj yeem ua zog ntawm Raspberry Pi.
- Vim yog lub hwj chim kos ntawm Sensly Hat thaum ua haujlwm tau zoo nws tau pom zoo tias koj siv lub raspberry pi them nyiaj los txhawb koj lub pi.
Kauj Ruam 3: Tshooj Ntxiv
Tau txais txhua yam rau koj raspberry pi
- Raspberry pi 2 lossis 3
- Saib xyuas
- Keyboard thiab nas
- Kev Sib Txuas Internet
- HDMI Cable
- Raspberry Pi 3 them nyiaj
- Qhov tseeb version ntawm Raspbian Jessie
Kauj Ruam 4: Teeb Kho Raspberry Pi
Phau ntawv qhia teeb tsa raspberry pi yog tias koj xav tau los ntawm raspberry pi foundation
www.raspberrypi.org/learning/hardware-guid…
Qhov tseeb version ntawm Raspbian Jessie tuaj yeem pom ntawm qhov txuas hauv qab no.
www.raspberrypi.org/downloads/
Kauj ruam 5: Rub tawm Software
Teeb tsa Raspberry Pi txhawm rau txuas rau Sensly HAT.
Muaj ob peb txoj hauv kev los ua qhov no, ua ntej koj tuaj yeem rub tawm Raspbian duab ntawm no. Qhov no yuav tau npaj ua ntej ua haujlwm. Qhov thib ob, koj tuaj yeem rub tawm cov ntawv sau los ntawm
Ua ntej tshaj plaws peb yuav tsum rub tawm cov ntawv sau siv cov lus txib. Nco ntsoov tias koj nyob hauv koj phau ntawv teev npe tsev
$ git clone
Tom qab ntawd peb hloov cov npe rau Sensly_Install nplaub tshev
$ cd/path/to/Sensly_Install
Tom ntej no, peb yuav tsum ua kom cov ntawv teeb tsa ua tiav.
$ chmod u+x./Sensly_Dev_Install.sh
Thaum kawg peb khiav tsab ntawv. Yuav muaj qee qhov kev ceeb toom uas koj yuav tsum tau ntaus hauv Y kom paub meej tias koj xav mus txuas ntxiv
$ sudo./Sensly_Dev_Install.sh
Thaum ua tiav nws koj tus pi yuav rov pib dua. Kom paub tseeb tias txhua yam ua haujlwm peb tuaj yeem ua raws cov lus txib hauv qab no.
$ i2cdetect -y 1
Koj yuav tsum muaj peev xwm pom txoj haujlwm 05 thiab 76 ntawm qhov screen.
Kauj Ruam 6: Calibrate Gas Sensors
Muaj qhov ua ntej cua sov/hlawv-nyob rau theem yuav tsum tau tshem tawm txheej txheej tiv thaiv lub ntsuas cua muaj thaum peb tau txais los ntawm cov tuam txhab tsim khoom, qhov no feem ntau yog 48 teev thiab tsuas yog yuav tsum tau ua ib zaug. Tom qab ntawd, peb feem ntau pom zoo kom ntsuas lub ntsuas cua rau 15 feeb kom ruaj khov nyeem ua ntej txiav cov ntaub ntawv.
Tam sim no peb yuav tsum ntsuas cov Gas Sensors kom tuaj yeem xam PPM. Txhawm rau ua qhov no peb yuav tsum tso Sensly HAT rau hauv ib puag ncig huab cua huv. Qhov no tuaj yeem sab nraum lossis yog tias koj muaj cov khoom siv, hauv cua cua cua. Thaum huab cua koj tso rau hauv yuav cuam tshuam qhov raug ntawm lub ntsuas nws yuav tsis cuam tshuam qhov tseeb yog li yog tias koj tab tom nrhiav taug qab kev hloov pauv hauv koj huab cua zoo Sensly yuav haum. Sensly HAT los ua ntej thauj khoom nrog lub ntsuas qhov ntsuas qhov tseeb, yog li peb tuaj yeem yooj yim khiav cov ntawv ntsuas ntsuas kom pom R0 qhov tseem ceeb rau txhua lub ntsuas roj. Txhawm rau tuaj yeem tso Sensly hauv qhov chaw ntsuas ntsuas peb yuav tsum muaj peev xwm los khiav cov ntawv ntsuas ntsuas thaum Pi khau raj. Rau qhov no, peb yuav tsum rub tawm:
$ git clone
Hauv cov ntawv ntawd, peb yuav siv Tsab Ntawv Sensly_Calibration.py, tab sis ua ntej peb yuav tsum teeb tsa qhov ntsuas tsis siv neeg. Ntaus rau hauv lub davhlau ya nyob twg cov lus txib hauv qab no
$ sudo crontab –e
Yog tias koj tsis tau siv crontab ua ntej ces koj yuav tsum xaiv tus kws kho ntawv uas koj xav siv los kho nws nrog, Kuv ib txwm siv nano yog li kuv xaiv kev xaiv 2. Tom ntej no, peb yuav tsum tso cov lus txib hauv qab no rau hauv cov ntawv
$ @reboot sudo nab hab sej /path/to/Sensly_Calibration.py
Tom qab ntawd peb kaw cov ntaub ntawv siv Ctrl+x ces Y. Qhov no yuav txhais tau tias txhua lub sijhawm koj pib koj Pi nws yuav ua haujlwm ntsuas qhov ntsuas.
Tam sim no koj tuaj yeem nqa nws mus rau koj ib puag ncig huab cua huv thiab tso nws tseg ib nrab teev, mus rau ib teev. Qhov ntev zoo dua.
Thaum qhov no ua tiav koj yuav tsum muaj cov ntaub ntawv hu ua Sensly_Calibration_ "date" _ "time".csv qhov twg "date" yuav raug hloov nrog hnub tam sim no khaws cia ntawm Raspberry pi thiab "time" tau hloov nrog lub sijhawm tam sim no. Cov ntaub ntawv no yuav suav nrog R0 qhov txiaj ntsig suav thaum lub sijhawm ntsuas ntsuas nruab nrab txhua 5 feeb. Txij li thaum tsab ntawv sau nruab nrab qhov nruab nrab, koj siv qhov kawg nkag rau hauv cov ntaub ntawv raws li R0 qhov tseem ceeb rau MQ2, MQ7 thiab MQ135. Qhov no yuav muab tso rau hauv Sensly.py cov ntaub ntawv. txhawm rau pab peb xam cov PPM qhov txiaj ntsig rau txhua qhov ntsuas pom roj
Kauj Ruam 7: Khiav Qhov Tseeb HAT
Yuav kom tuaj yeem ua haujlwm Sensly hauv kev ua haujlwm tag nrho peb yuav tsum hloov kho lub firmware kom nws tawm ntawm hom Calibration. Qhov no yog ua tiav los ntawm kev khiav tsab ntawv update.sh
- $ cd/path/rau/Sensly_Install/
- $ sudo./Update.sh
Thaum ua tiav peb tam sim no tuaj yeem khiav peb cov ntawv loj nab nab. Sab hauv Sensly nplaub tshev khiav:
$ python /path/to/Sensly.py
Thaum kawg, txhawm rau pab koj kom khiav tsab ntawv tau txais txiaj ntsig peb mam li khiav cov lus txib crontab dua.
$ crontab -e
Tom qab ntawv ntxiv qhov no mus rau qhov kawg ntawm cov ntawv thaum tshem tawm peb cov ntawv nkag ua ntej
$@reboot nab hab sej /path/to/Sensly.py
Tam sim no txhua lub sijhawm koj pib koj li pi lub Sensly HAT yuav tsum tau txiav cov ntaub ntawv rau hauv csv cov ntaub ntawv. Kauj ruam kawg yog coj R0 qhov txiaj ntsig koj tau txais thaum lub sijhawm ntsuas ntsuas thiab muab tso rau hauv qhov tseem ceeb ntawm qhov tshuaj ntsuam kawg.
Cov lus qhia tom ntej peb yuav tso tawm yuav qhia koj yuav ua li cas txuas qhov no nrog cov lus pom zoo.
Kauj Ruam 8: Kauj Ruam Kawg
Thov qhia koj cov ntaub ntawv vim nws yuav pab peb txhim kho qhov zoo dua rau Sensly.
Yog tias koj xav tias koj muaj txuj ci los sau Ntawv Qhia Zoo siv Sensly tom qab ntawd yuav ib qho los ntawm peb lub khw thiab yog tias peb nyiam nws peb yuav thim koj cov nyiaj thiab txawm xa ntau yam zoo rau koj!
Pom zoo:
PurpleAir Air Quality Status LED Zaub: 4 Cov Kauj Ruam
PurpleAir Air Quality Status LED Display: Nrog cov hluav taws kub tsis ntev los no hauv California huab cua zoo hauv San Francisco tau cuam tshuam loj heev. Peb pom peb tus kheej txheeb xyuas PurpleAir daim ntawv qhia ntau thiab ntau dua ntawm peb lub xov tooj lossis khoos phis tawj sim ua kom pom thaum huab cua muaj kev nyab xeeb txaus los qhib qhov yeej
Tus nqi qis IoT Air Quality Monitor Raws li RaspberryPi 4: 15 Cov Kauj Ruam (nrog Duab)
Tus nqi qis IoT Air Quality Monitor Raws li RaspberryPi 4: Santiago, Chile thaum lub caij ntuj no ib puag ncig xwm txheej kub ntxhov muaj txoj cai nyob hauv ib lub tebchaws zoo nkauj tshaj plaws hauv ntiaj teb, tab sis hmoov tsis zoo, nws tsis yog txhua lub paj. Chile thaum lub caij ntuj no raug kev txom nyem ntau nrog huab cua sib kis, mai
SENSLY KUB rau RASPBERRY PI AIR QUALITY & GAS DETECTOR V1.1: 9 Cov Kauj Ruam
SENSLY KUB RAU RASPBERRY PI AIR QUALITY & GAS DETECTOR V1.1: Kev nkag siab yog lub tshuab ua pa paug nqa tau muaj peev xwm txheeb xyuas cov pa phem hauv huab cua siv nws cov pa roj av txhawm rau sau cov ntaub ntawv hais txog ntau yam roj cua tam sim no. Cov ntaub ntawv no tuaj yeem pub ncaj qha rau koj lub smartphone rau lub sijhawm tiag tiag
DIY Air Quality Sensor + 3D Cov Ntawv Luam: 6 Kauj Ruam
DIY Air Quality Sensor + 3D Printed Case: Phau ntawv qhia no muaj tag nrho cov ntaub ntawv koj xav tau los tsim lub peev xwm, lub hnab ntim qhov ntsuas
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rov Ua Rau Lawv rau 12V.: 3 Cov Kauj Ruam
Txaus Siab Rau Koj Tus Kheej Tsuas Yog Siv 12V-rau-AC-kab Inverter rau LED Lub Teeb Hluav Taws Xob Tsis txhob Rewiring Lawv rau 12V: Kuv txoj kev npaj tau yooj yim. Kuv xav txiav cov phab ntsa uas siv hluav taws xob LED teeb ua ib daim ces rov txuas nws kom khiav tawm 12 volts. Lwm txoj hauv kev yog siv lub zog hloov pauv, tab sis peb txhua tus paub tias lawv tsis muaj txiaj ntsig zoo, puas yog? Txoj cai? Los yog lawv?