Cov txheej txheem:
- Kauj ruam 1: Download Node-red
- Kauj ruam 2: Nruab Nodes
- Kauj Ruam 3: Qhib Node-liab thiab Nruab Nruab
- Kauj Ruam 4: Kho MQTT-node
- Kauj Ruam 5: Qee Qhov Ntxiv
Video: Lora Kub Dashboard: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv kuv Qhov Kawg Qhia Kuv tau qhia koj yuav ua li cas txuas lub ntsuas kub rau Lora hla TTN. Tam sim no kuv yuav qhia koj li cas koj tuaj yeem nyeem cov ntaub ntawv no thiab qhia nws hauv Dashboard. Peb tseem yuav npog, yuav siv cov ntaub ntawv li cas hauv IFTTT.
Kauj ruam 1: Download Node-red
Yog tias koj twb tau teeb tsa node-liab koj tuaj yeem hla cov kauj ruam no.
Nruab node-liab
Ua ntej koj yuav tsum nruab Node.js. Tom qab koj ua tiav kev teeb tsa qhib CMD thiab ua cov lus txib no:
npm nruab -g-tsis muaj kev nyab xeeb-perm node-liab
kom pib node-liab qhib CMD thiab ua cov lus txib no:
node-liab
Daim ntawv qhia kev teeb tsa raug cai:
Kauj ruam 2: Nruab Nodes
Tam sim no peb yuav tsum teeb tsa cov node peb yuav xav tau.
Muaj 2 txoj hauv kev:
1) Qhib CMD thiab ua cov lus txib no:
cd./.node-rednpm install node-red-dashboard
2) Nco ntsoov tias cov xim liab tau ua haujlwm, qhib 127.0.0.1:1880, nias 3 kab nyob rau sab saum toj sab xis, mus rau tswj cov xim, mus rau nruab, tshawb rau "node-red-dashboard", nias nruab
Kauj Ruam 3: Qhib Node-liab thiab Nruab Nruab
Qhib ntawm-liab nrog kev ntaus "127.0.0.1:1880" hauv koj tus browser.
Luam cov ntawv hauv kab-red.txt los ntawm hauv qab no
Nias 3 kab ntawv nyob rau sab xis saum toj, mus rau ntshuam thiab nias cov ntawv teev cia. Tam sim no muab cov ntawv koj tau theej ua ntej.
Kauj Ruam 4: Kho MQTT-node
Ob npaug nias rau ntawm MQTT ntawm qhov thiab kho nws nrog tus xaum xaum nyob rau sab xis saum toj.
Teeb tus neeg rau zaub mov rau: "eu.thethings.network" thiab chaw nres nkoj rau "1883"
Nias "Kev Ruaj Ntseg" thiab Ntxig koj daim ntawv pov thawj
koj tuaj yeem pom koj daim ntawv pov thawj ntawm qhov chaw thov.
Kauj Ruam 5: Qee Qhov Ntxiv
Hauv kuv tsab ntawv Arduino kuv tau muab ntsuas kub nrog qhov zoo 100 txhawm rau tshem tawm cov lej zauv. Yog tias koj tsis xav tau qhov tshwj xeeb no, koj tuaj yeem tshem tawm qhov yooj yim thiab txuas "Parsefloat" mus rau "Celsius/Farenheit".
Kuv kuj tseem muaj qhov uas tso cai rau koj hloov ntawm c Celsius thiab farenheit. Txhawm rau Hloov mus rau Farenheit, tsuas yog tawm tswv yim thawj kab thiab tshem tawm "//" los ntawm kab thib ob.
Pom zoo:
Lub Rooj Kub: Tsim Kom Muaj Xim Hloov Hloov Lub Cev Kub: 7 Kauj Ruam (nrog Duab)
Lub Rooj Kub: Tsim Cov Xim Hloov Pauv Kub Cushion: Xav kom koj tus kheej toasty thaum lub caij ntuj no txias? Lub Rooj Kub yog txoj haujlwm uas siv ob qhov zoo tshaj plaws e -textile muaj peev xwm - hloov xim thiab cua sov! Peb yuav tsim lub rooj zaum hauv ncoo uas sov dua, thiab thaum nws npaj txhij mus nws yuav qhia tawm
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: 53 Cov Kauj Ruam (nrog Duab)
Ua Koj Tus Kheej Txuas Cov Cua Kub Kub thiab Txuag Nrog Cua Kub: Lub hom phiaj yog dab tsi? Ua kom yooj yim dua los ntawm kev ua kom sov koj lub tsev raws nraim qhov koj xav Ua kom txuag nyiaj thiab txo cov pa roj carbon tsev tso cua sov los ntawm cua sov koj lub tsev tsuas yog thaum koj xav tau Kev tswj hwm koj cov cua sov nyob txhua qhov chaw koj zoo siab koj tau ua nws y
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
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: 5 Kauj Ruam
Yuav Ua Li Cas Siv DHT11 Kub Sensor Nrog Arduino thiab Luam Kub Kub thiab Vaum: Lub DHT11 sensor tau siv los ntsuas kub thiab av noo. Lawv yog cov khoom siv hluav taws xob nrov tshaj plaws.Qhov DHT11 cov av noo thiab ntsuas kub ua rau nws yooj yim ntxiv cov av noo thiab ntsuas kub rau koj li DIY cov phiaj xwm hluav taws xob. Nws yog rau
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Kub Kub Nrog Steinhart-Hart Kho thiab Tswb Kub: 7 Kauj Ruam (nrog Duab)
ESP32 NTP Kev Ntsuas Kub Ua Haujlwm Ntsuas Kub nrog Steinhart-Hart Kev Kho thiab Tswb Kub: Tseem tab tom taug kev kom ua tiav "qhov haujlwm yuav los tom ntej", "ESP32 NTP Kev Ntsuas Kub Kev Ntsuas Kub Ua Noj Nrog Steinhart-Hart Kev Kho thiab Tswb Kub" yog Cov Ntawv Qhia qhia yuav ua li cas kuv ntxiv NTP ntsuas kub, piezo b