Cov txheej txheem:
- Kauj ruam 1: Kho vajtse
- Kauj Ruam 2: Kev Txuas Hluav Taws Xob
- Kauj ruam 3: Casing
- Kauj ruam 4: Software
- Kauj Ruam 5: Cayenne MyDevices
- Kauj Ruam 6: Huab Cua Hauv Qab
- Kauj Ruam 7: Txaus Siab Rau Koj Qhov Chaw Huab Cua
Video: Internet ntawm Tej Yam: Chaw So Huab Cua LoRa: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Nov yog qhov piv txwv ntawm qhov haujlwm LoRa zoo. Cov chaw nres tsheb huab cua muaj qhov ntsuas kub, ntsuas huab cua thiab ntsuas huab cua. Cov ntaub ntawv raug nyeem tawm thiab xa mus rau Cayenne Mydevices thiab Weather Underground siv LoRa thiab Cov Khoom Network.
Txheeb xyuas yog tias muaj LoRa Rooj vag ntawm Cov Khoom Network hauv koj cheeb tsam!
Kauj ruam 1: Kho vajtse
Rau qhov haujlwm no kuv siv cov cuab yeej hauv qab no:
- Arduino Pro Mini 328 - 3.3V/8MHz (https://www.sparkfun.com/products/11114)
- RFM95W (https://www.hoperf.com/rf_transceiver/lora/RFM95W.html) (https://www.aliexpress.com/item/RFM95W-20dBm-100mW-868Mhz-915Mhz-DSSS-spread-spectrum-wireless -transceiver-module-SPI-SMD/32799536710.html)
- DHT22 (https://www.aliexpress.com/item/High-Precision-AM2302-DHT22-Digital-Temperature-Humidity-Sensor-Module-For-arduino-Uno-R3/32759158558.html)
- BME280 (https://www.aliexpress.com/item/I2C-SPI-BMP280-3-3-BMP280-3-3-Digital-Barometric- Siab Siab-Altitude-Sensor-High-Precision-Amospheric/32775855945.html)
Tag nrho tus nqi tsawg dua 10 daus las.
Kauj Ruam 2: Kev Txuas Hluav Taws Xob
Nws yog qhov ntse ua ntej sim ntsuas cov ntsuas ntawm lub khob cij. Yog li koj tuaj yeem ntseeg tau tias cov sensors ua haujlwm. Koj kuj tseem tuaj yeem ntsuas lub zog siv nrog lub multimeter. (Siv Low-Power lib los ntsuas qhov tsawg kawg nkaus)
Thawj cov xov hlau txuas rau RFM95W module thiab tom qab ntawd muab lawv txuas rau Arduino Pro Mini. Tom qab ntawd ntxiv cov sensors. Saib cov duab thiab daim duab!
Kauj ruam 3: Casing
Txhawm rau tso chaw nres tsheb huab cua nyob qhov twg, Kuv kos ib rooj plaub thiab luam tawm nrog lub tshuab luam ntawv 3d.
Cov qauv tuaj yeem pom ntawm Thingiverse. Tau kawg koj tuaj yeem ua tau koj tus kheej qhov sib txawv. https://www.thingiverse.com/thing 2594618
Kauj ruam 4: Software
Cov cai kuv tau siv tuaj yeem pom ntawm GitHub:
Kuv siv Atom nrog PlatformIO kom paub qhov haujlwm no, yog li qhov no yog PlatformIO project. Kuv tau siv cov ntawv tsis txaus ntseeg:
- LoraMAC-in-C rau Arduino ua tsaug rau Thomas Telkamp thiab Matthijs Kooijman (https://github.com/matthijskooijman/arduino-lmic)
- CayenneLPP ntawm Cov Khoom Network Arduino Library (https://github.com/TheThingsNetwork/arduino-device-lib)
- Adafruit DHT Vaum & Kub Unified Sensor Library (https://github.com/adafruit/DHT-sensor-library)
- Tsawg-Lub Hwjchim: Lub tsev qiv ntawv qis zog rau Arduino (https://github.com/adafruit/DHT-sensor-library)
Kauj Ruam 5: Cayenne MyDevices
Koj tuaj yeem ua ke koj daim ntawv thov hauv Cov Khoom Network nrog Cayenne myDevices
Txhawm rau ntxiv kev koom ua ke:
- Mus rau daim ntawv thov console ntawm Cov Khoom Network lub vev xaib;
- Xaiv kev sib koom ua ke los ntawm cov ntawv qhia saum toj-txoj cai;
- Xaiv Cayenne;
- Ua raws li cov lus qhia
Kauj Ruam 6: Huab Cua Hauv Qab
Txhawm rau xa cov ntaub ntawv mus rau Huab cua hauv av, tsim kom muaj kev koom ua ke HTTP. Cov ntaub ntawv yuav raug xa mus rau URL nrog POST lossis GET. Cov ntawv hauv qab no khaws cov ntaub ntawv thiab xa nws mus rau Huab Cua Hauv Qab. Sau npe rau koj tus Kheej Chaw Nyob Huab Cua ntawm
<? php cov
php ncha lub sijhawm ();
file_put_contents ('json/post'.time ().'. json ', file_get_contents (' php: // input '));
$ json = file_get_contents ('php: // input'); $ cov ntaub ntawv = json_decode ($ json);
// coj cov ntaub ntawv tawm ntawm json
$ temperature_1 = $ data-> payload_fields-> temperature_1; $ barometric_pressure_2 = $ data-> payload_fields-> barometric_pressure_2; $ txheeb ze_humidity_3 = $ data-> payload_fields-> txheeb ze_humidity_3;
// tempc rau tempf
$ tempf = ($ temperature_1 * 9/5) + 32;
// siab
$ siab = $ barometric_pressure_2/33.863886666667;
yog (isset ($ siab) &&! khoob ($ siab) && isset ($ tempf) &&! empty ($ tempf) && isset ($ relative_humidity_3) &&! empty ($ relative_humidity_3)) {file_get_contents ("https:// rtupdate.wunderground.com/weatherstation/updateweatherstation.php? ID = XXXXXXX & PASSWORD = XXXXXXXX & dateutc = tam sim no & tempf = ". $ tempf." & humidity = ". $ relative_humidity_3." & baromin = ". $ siab);
}
?>
?>
Kauj Ruam 7: Txaus Siab Rau Koj Qhov Chaw Huab Cua
Txaus siab rau Koj Qhov Chaw Huab Cua
Hauv Cayenne myDevices koj tuaj yeem faib cov phiaj xwm phiaj xwm. Qhia koj li hauv cov lus!
Nov yog kuv li:
Pom zoo:
PyonAir - Qhib Qhov Chaw Huab Cua Huab Cua Pollution: 10 Cov Kauj Ruam (nrog Duab)
PyonAir - Qhib Qhov Chaw Huab Cua Pollution: PyonAir yog tus nqi qis rau kev saib xyuas cov pa phem hauv cheeb tsam - tshwj xeeb, muaj teeb meem me me. Raws li nyob ib puag ncig Pycom LoPy4 lub rooj tsavxwm thiab Grove-sib xws kho vajtse, lub kaw lus tuaj yeem xa cov ntaub ntawv hla LoRa thiab WiFi. Kuv lees paub qhov no
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
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