Cov txheej txheem:
- Kauj Ruam 1: Kev xav tau ua ntej
- Kauj Ruam 2: Me ntsis Txog Ntawm Node - Liab (Nco Koj Tsis Ntau Dhau Hauv Ntej…..)
- Kauj Ruam 3: Pib Node - Liab
- Kauj Ruam 4: Node Red Control Box
- Kauj Ruam 5: Me ntsis Txog Node Red Elements
- Kauj ruam 6: Dashboard Saib
Video: Hnub Timer Siv Node Liab Nrog Nco Ntsoov: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Kuv nthuav dav siv Node-liab rau kuv lub Tsev Automation cov haujlwm. Kuv tsis yog prgrammer los ntawm kev kawm tiav, tab sis nrog kev pab los ntawm ntau tus koom tes kuv sim teeb tsa yam khoom raws li kuv xav tau. Qee zaum nws ua haujlwm thiab qee zaum nws tsis ua:)
Rau ib qho ntawm kuv txoj haujlwm siv hluav taws xob kuv xav tau Timers uas kuv tuaj yeem teeb nws los ntawm frontend Node _red UI hla ntau Hnub Hnub ntawm lub lim tiam. Muaj cov haujlwm uas muaj peev xwm nyob rau qhov uas cov neeg koom nrog tau siv Node-red- pab txhawb cov ntaub ntawv rau nws lub hom phiaj. Tab sis ib qho yooj yim uas kuv tsis tau pom dua yog yuav ua li cas khaws lub sijhawm teeb tsa txawm tias tom qab node-liab rov pib dua (vim yog qhov system poob thiab lwm yam …). Kuv xav tau qee yam uas yuav rov pib dua los ntawm theem ua haujlwm zaum kawg thiab tom qab ntawd tom qab ntawd
Qhov kev xav tau no ua rau kuv ua haujlwm ntawm txoj haujlwm no.
Muaj qhov xav tau tas li hauv kuv txoj haujlwm kom muaj Timer
Kauj Ruam 1: Kev xav tau ua ntej
Kev xav tau ua ntej
1) Ua haujlwm Node-liab program ntawm Windows (Los yog linux, Mac….). Muaj ntau cov lus qhia hauv lub vev xaib los teeb tsa Node-red ntawm Windows.
2) Kev paub yooj yim ntawm Yog, lwm qhov kev xav tau
3) Thiab xav paub ntau ntxiv los tshawb nrhiav yam ……………….
Kauj Ruam 2: Me ntsis Txog Ntawm Node - Liab (Nco Koj Tsis Ntau Dhau Hauv Ntej…..)
Raws li lawv lub vev xaib raug cai hais
"Node-RED yog lub cuab yeej rau kev txuas ua ke cov cuab yeej khoos phis tawj, APIs thiab cov kev pabcuam online hauv txoj hauv kev tshiab thiab nthuav. Nws muab qhov browser-based editor uas ua rau nws yooj yim rau xaim ua ke siv ntau yam ntawm cov nodes hauv cov palette uas tuaj yeem ua tau. raug xa mus rau nws lub sijhawm ua haujlwm hauv ib-nias."
Qhov URL:
Koj tsis tas yuav yog tus kws sau ntawv los ua qhov no tab sis yog tias koj muaj qee qhov kowledge hauv kev sau javascripts, nws yeej yuav nthuav koj txoj hauv kev.
Nws yog GUI muaj zog muaj kev rub thiab poob kev ua haujlwm rau kev siv ntau yam ntawm no.
Piv txwv li: Siv Timer Tutorial no koj tuaj yeem tsim cov dej ntws raws qhov Timer pib qhov xwm txheej "Dej lub vaj", "xa email" thiab lwm yam ….
Kauj Ruam 3: Pib Node - Liab
Tom qab teeb tsa Node -red ntawm koj lub tshuab. mus rau comand promt. Ntaus hauv qhov liab kom pib qhov haujlwm.
Kauj Ruam 4: Node Red Control Box
Lub thawv tswj yuav tso tawm tabs hu ua ntws, pib nws yuav tsis muaj dab tsi li nws yog kev teeb tsa tshiab, mus rau lub ces kaum sab xis thiab los ntawm cov ntawv qhia zaub mov nco xaiv "Tswj Pallette". Qhov kev xaiv no yog siv los nruab pob sib txawv.
Nyem rau ntawm Manage Pallette, nws yuav qhib lub qhov rai nrog ob lub tab
-Nodes -This teev tag nrho cov nodes (pob) koj tau teeb tsa
- Nruab - Txhim kho cov nodes tshiab.
Mus rau Nruab thiab teeb tsa cov hauv qab no:
-node-red-dashboard: Qhov no yuav cuam tshuam rau cov nodes uas tau siv los tsim cov dashboards (cov nyees khawm, kab duab, hloov pauv thiab lwm yam..)
-node-red-contrib-persist: Nov yog qhov tsis ntev los no, qhov no tuaj yeem siv los khaws ib lub xeev khawm, Cov txiaj ntsig sib txawv ua rau lub node-liab sib tsoo lossis kaw sai.
-node-red-contrib-simpletime: Nov yog txhawm rau hloov lub sijhawm tam sim no mus rau txhua hom ntawv xav tau
Kauj Ruam 5: Me ntsis Txog Node Red Elements
Sab saum toj suav nrog Qhov Sib Txawv Sib Txawv, koj tuaj yeem tsim ntau yam ntws xav tau, Lub kaum sab laug muaj tag nrho cov nodes. Qee qhov tsis yog, qee qhov tuaj yeem raug xa mus siv Kev Tswj Pallete xaiv thiab yog tias koj muaj kev sim txaus koj tuaj yeem tsim tau ib qho.
Lub node yog ib qho tseem ceeb nrog cov yam ntxwv ua ntej.
Sab xis ntawm thaj chaw ua haujlwm suav nrog Lub qhov rais debug, dashboard teeb tsa thiab lwm yam …
Hauv qhov dej ntws koj tuaj yeem siv ntau lub nodes, thiab siv cov nodes los ntawm kev sib txawv koj tuaj yeem tsim lub dashboard.
Teeb Timer yog ib qho xws li Dashboard suav nrog cov nodes los ntawm Flow "Teeb Timer Flow" thiab "Day Set"
Tag nrho cov dej ntws tuaj yeem xa tawm mus rau cov ntawv teev cia lossis cov ntaub ntawv thiab qhov no tuaj yeem rov siv tau los ntawm kev xa khoom ib yam.
muab ob lub Flows ua cov ntaub ntawv txt.
rau importing ntws:
txuag cov ntaub ntawv txuas ntxiv no ntawm koj lub desktop
Mus rau Txoj Cai dropdown menu> Ntshuam> Clipboard
qhib lub notepad thiab muab cov ntsiab lus tso rau ntawm no
rov ua qhov haujlwm rau lwm qhov ntws.
Yog li tam sim no koj yuav muaj ob qhov Flow tuaj, nyem rau ntawm Deploy kom txuag tau txoj haujlwm.
Kauj ruam 6: Dashboard Saib
Nyem rau ntawm lub ces kaum Righmost ntawm lub qhov rais debug, koj yuav pom lub bar grapg icon. Qhov no yuav qhib lub qhov rai tshiab nrog lub dashboard UI, Ua si nrog cov timers, teeb tsa kev xaiv sib txawv.
Nkag mus rau ntau lub sijhawm ntawm hnub hla ntau hnub sib txawv ntawm lub limtiam los tshuaj xyuas seb nws puas ua haujlwm raws li xav tau.
Txoj haujlwm no tuaj yeem txuas ntxiv mus ntxiv kom suav nrog lub hlis ua ib feem ntawm cov txheej txheem xaiv.
Txaus siab rau thiab pls muab tswv yim.
Kev tsim cov khoom lag luam yuav zoo siab tau txais txiaj ntsig zoo li kuv tsis muaj tus programmer thiab yuav muaj lub ntsej muag ntse dua / luv dua / txoj hauv kev yooj yim los ua qhov no.
Pom zoo:
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: 11 Kauj Ruam (nrog Duab)
Chaw Ua Haujlwm Roj Teeb Hnub Ci System Nrog Pib Hloov Sab Hnub Poob/Sab Hnub Poob Panels thiab Cua Turbine: Txoj Haujlwm: Ib thaj tsam 200 square ft. Chaw ua haujlwm xav tau roj teeb. Lub chaw haujlwm tseem yuav tsum muaj tag nrho cov tswj, roj teeb thiab cov khoom siv xav tau rau lub kaw lus no. Hnub ci thiab cua zog yuav them cov roj teeb. Muaj teeb meem me ntsis ntawm tsuas yog
Nco Ntsoov: 4 Kauj Ruam
Nco Ntsoov: Qhov haujlwm Arduino no yog lub tshuab nco kom pab cov uas hnov qab nqa lawv cov yuam sij tsis tu ncua. Raws li ib txwm thaum koj tso koj cov yuam sij rau ntawm lub rooj, koj yuav hnov qab nqa nws. Yog li, txoj haujlwm no siv Ultrasonic sensor, zoo li thaum tus neeg siv ze
Lub Sijhawm Siv Lub Sijhawm Nco Ntsoov (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): 5 Kauj Ruam
Screen Time Usage Reminder (tsuas Ua Haujlwm ntawm Windows, Ios Yuav Tsis Ua Haujlwm): Taw Qhia Qhov no yog lub tshuab siv tau los ntawm Arduino, nws ceeb toom koj kom so los ntawm kev ua "biiii!" suab thiab ua rau koj lub khoos phis tawj rov qab xauv npo tom qab siv sijhawm 30 feeb ntawm lub sijhawm tshuaj ntsuam. Tom qab so rau 10 feeb nws yuav "b
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: 6 Kauj Ruam
Arduino Neeg Hlau Nrog Kev Nyob, Kev Qhia thiab Qib Kev Sib Hloov (Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) Tswj los ntawm Lub Suab Siv Bluetooth Module thiab Kev Siv Tus Neeg Siv Hluav Taws Xob: Cov lus qhia no piav qhia yuav ua li cas thiaj tsim tau Arduino Robot uas tuaj yeem txav mus raws qhov xav tau (Forward, Backward) , Sab laug, Txoj Cai, Sab Hnub Poob, Sab Hnub Poob, Sab Qaum Teb, Sab Qab Teb) xav tau Kev nrug deb hauv Centimeters siv lub suab hais kom ua. Neeg hlau kuj tseem tuaj yeem txav tau tus kheej
NCO NTSOOV: 5 Kauj Ruam (nrog Duab)
WISH ROCK: Fits in Hand with Comfort, Warmth and Pleasant to Hold .. Releaseing psychic energy .. With the multiple user crystal color assertive tips guide;. ~ GREEN == Healing Energy .. ~~ BLUE == Calm Soul Meditative