Cov txheej txheem:
- Kauj ruam 1: Kev txhawb siab
- Kauj ruam 2: Teeb Kho Vajtse
- Kauj ruam 3: Software
- Kauj ruam 4: Cov lus xaus
Video: Huab Cua Zoo Saib Nrog MQ135 thiab Sab Nraud Kub thiab Vaum Sensor Tshaj MQTT: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nov yog rau lub hom phiaj sim.
Kauj ruam 1: Kev txhawb siab
Ob peb hnub dhau los ib tus phooj ywg ntawm kuv tau hla nrog Lub Tshuab Cua Txias. Siv li ob peb hnub tab sis nws tsis tuaj yeem pom zoo yog tias Lub Tshuab Ntxhua Khaub Ncaws yeej ua qee yam lossis tsis yog … yog li peb tau txiav txim siab tsav tsheb li cas qhov no. Kuv tau hla los nrog MQ135 huab cua ntsuas qhov zoo.
Nov yog kuv teeb tsa ntawm qhov system. MQTT broker (MqB), ib puag ncig tus neeg siv khoom uas xa Cov Kub/Vaum (TH) rau tus broker thiab thaum kawg peb tau ntxiv Cov Huab Cua Zoo (AQ) cov neeg siv khoom. MqB yuav xa txhua 5 feeb qhov ntsuas kub/av noo los ntawm TH rau AQ. Tau kawg qhov no nyob ntawm koj teeb tsa, koj tuaj yeem nce lossis txo lub sijhawm no, yog nyob ntawm koj. Cov hnub no yuav raug khaws cia, ua tiav thiab tshaj tawm los ntawm AQ.
Kauj ruam 2: Teeb Kho Vajtse
Kho vajtse: 1. NodeMCU V3
2. MQ135
3. Cov kab
4. Txuas lub MQ135 sensor rau NodeMCU raws li hauv qab no:
MQ135 -> NodeMCU
VCC -> VU
UA -> AO
GND -> GND
DOUT yuav tsis txuas nrog!
Kauj ruam 3: Software
Ua ntej tshaj plaws koj yuav xav tau Arduino IDE teeb tsa ntawm koj lub tshuab. Than koj yuav tsum ntxiv koj lub rooj tsavxwm, txheeb xyuas kab lus no.
Pib koj Arduino IDE thiab mus rau: Cov Cuab Yeej/Tswj Cov Tsev Qiv Ntawv lossis nias CTRL+Ua haujlwm+Kuv. Hauv hom tshawb nrhiav lim: esp8266wifi - nruab IoTtweet thiab MFUthings, dua li hom: PubSubClient - nruab PubSubClient los ntawm Nick O'Leary thiab PubSubClientTools los ntawm Simon Christmann.
Rub tawm MQ135 Library los ntawm: qhov no GitHub_Link. Hauv Arduino IDE taug kev mus rau Sketch/suav nrog Lub Tsev Qiv Ntawv/Ntxiv. ZIP Lub Tsev Qiv Ntawv, thiab thauj koj cov ntaub ntawv zauv teb tsis pub rub tawm.
Rub tawm ArduinoThread. Hauv Arduino IDE mus rau Sketch/suav nrog Lub Tsev Qiv Ntawv/Ntxiv. ZIP Library, thiab thauj khoom
rub tawm zip file.
Cov duab kos yog ua raws li qhov piv txwv muab los ntawm Arduino IDE, dab tuaj yeem pom hauv: Cov Ntaub Ntawv/Piv Txwv/PubSubClientTools/mqtt_esp8266.
Thauj cov duab kos uas tau muab hauv qhov kev qhia no. Tau kawg koj yuav tau hloov qee yam xws li:
#define WIFI_SSID "xxxxxxxx" // ntxiv koj SSID
#define WIFI_PASS "xxxxxxxx" // ntxiv koj tus Password
#define MQTT_SERVER "192.168.1.xxx" // ntxiv tus IP ntawm koj MQTT brocker#txhais MQTT_PORT 1883 // ntxiv chaw nres nkoj ntawm koj MQTT brocker
#define mqtt_user "xyz" // ntxiv lub npe siv ntawm koj MQTT Brocker
#define mqtt_password "xwz" // ntxiv tus password ntawm koj MQTT Brocker
Rau qhov seem yuav tsum ua li cas. Upload cov duab kos rau koj NodeMCU thiab qhib Serial Monitor (sab saum toj sab xis)
Kauj ruam 4: Cov lus xaus
Lub kaw lus ua haujlwm raws li qhov xav tau.
Daim duab los ntawm 13. Mar tsis muaj Lub Tshuab Cua Ua Haujlwm tab sis qhib qhov rai.
Daim duab los ntawm 15. Mar yog nrog Lub Tshuab Cua Ua Haujlwm nruab nrab ntawm 13:00 - 21:00, thiab kaw qhov rai.
Kuaj nws rau koj tus kheej thiab qhia rau kuv paub yog nws ua haujlwm 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
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 - Saib Xyuas Qhov Kub Kub & Qhov Kub Kub ntawm M5stick-C Nrog DHT11: 6 Cov Kauj Ruam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 | Saib Xyuas Qhov Kub thiab Qhov Ntsuas Kub ntawm M5stick-C Nrog DHT11: Nyob zoo cov neeg, hauv cov lus qhia no peb yuav kawm paub yuav ua li cas cuam tshuam DHT11 ntsuas kub nrog m5stick-C (pawg tswj hwm kev txhim kho los ntawm m5stack) thiab tso tawm ntawm cov zaub ntawm m5stick-C. Yog li hauv qhov kev qhia no peb yuav nyeem qhov ntsuas kub, av noo & heat kuv
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
IoT Ua Yooj Yim: Txheeb Xyuas Cov Ntaub Ntawv Huab Cua Tej Zaum: UV thiab Huab Cua Kub & Vaum: 7 Kauj Ruam
IoT Ua Yooj Yim: Txheeb Xyuas Cov Ntaub Ntawv Huab Cua Nyob deb: UV thiab Huab Cua Kub & Vaum: Ntawm qhov kev qhia no, peb yuav ntes cov ntaub ntawv nyob deb li UV (Ultra-Violet hluav taws xob), huab cua kub thiab av noo. Cov ntaub ntawv no yuav yog ib qho tseem ceeb heev thiab yuav siv rau yav tom ntej Chaw Ua Haujlwm Huab Cua.Qhov thaiv daim duab qhia tau tias peb yuav tau txais dab tsi thaum kawg
Ua Sab Nraud HDD Los Ntawm Sab Nraud Sab Nraud CD/RW: 5 Kauj Ruam
Ua Sab Nraud HDD Los Ntawm Sab Nraud Sab Nraud CD/RW: Zoo nkauj ncaj nraim rau kev hloov pauv ntawm lub qub sab nraud cd/rw mus rau qhov muaj txiaj ntsig sab nraud nyuaj tsav. Cov khoom siv 1-sab nraud cd/rw (tshwj xeeb tshaj yog cov boxy ntau dua) 1-hard drive (yuav tsum sib phim nrog cov txuas sab hauv ntawm cov ntaub ntawv tsav tsheb, yuav tsum tau ua qauv/sysed) 1-sm