Cov txheej txheem:
- Kauj Ruam 1: Kev Tsim Hluav Taws Xob
- Kauj Ruam 2: Kev Sib Tw Vs. Chaw Vs Programming
- Kauj Ruam 3: Pib Kho Kom Zoo ntawm ERrigator
- Kauj Ruam 4: Chaw rau Koj ERrigator
- Kauj Ruam 5: Koj Li ERrigator Status
- Kauj Ruam 6: Teeb Koj Cov Chaw
- Kauj Ruam 7: Lub Sij Hawm Ua Ntej Dej
- Kauj Ruam 8: Cov Haujlwm Ntxiv ntawm Chav
- Kauj Ruam 9: Tso Lub Tsev Ntawm Afar
- Kauj ruam 10: Rov teeb tsa chav nyob ntawm koj tus browser
- Kauj Ruam 11: Tshaj Tawm Huab Cua - FW Hloov Kho
- Kauj Ruam 12: Arduino Code rau Koj ERrigator
- Kauj Ruam 13: C# Txoj Cai los Khiav Koj Lub Vev Xaib
Video: ERrigator: 13 Cov kauj ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
ERrigator yog dab tsi
eRrigator yog lub suab zoo li cas. Nws yog internet txuas nrog cov tswj dej. HW tus nqi tsawg dua $ 40 thiab tej zaum yuav raug thawb mus txog $ 30. Nws txhawb nqa txog 6 qhov chaw nres tsheb, tab sis ntau ntxiv tuaj yeem ntxiv tau yooj yim yog xav tau. Qhov kev zov me nyuam txawv dua li cov tswj dej ntau. Nws tso cai rau ntau txoj haujlwm los teeb tsa rau txhua lub chaw nres tsheb sib cais los ntawm lwm qhov. Qhov no txhais tau tias kev ua haujlwm nws tsis xav tau kev sib txuas ntawm cov chaw sib txawv.
Chav tsev muaj nws tus kheej Lub Sijhawm Sijhawm (RTC) thiab khaws cov phiaj xwm thiab teeb tsa ntawm FLASH nco. Qhov no txhais tau tias txawm tias tsis muaj kev sib txuas hauv is taws nem, nws yuav ua tiav lub sijhawm raws li tau npaj tseg.
Cov Cuab Yeej Siv
- Xws li + WiF: NodeMCU
- Platform: Arduino
- DevTools: PlatformIO
Tswj Tsev
- Kev tswj hwm ntawm chav tsev, los ntawm kev ua haujlwm, mus rau chaw nres tsheb rau ob peb feeb: Dawb Azure Tier tso cai mus txog 10 lub vev xaib nrog kev txwv kev mus los
- Kev xa xov mus rau "qhia" chav tsev ntawm kev tswj hwm tshiab: MQTT tuav rau
- Ntawm chav LCD ntawm 20x4 qhia txog xwm txheej + dej tshwm sim. Tsis muaj cov ntaub ntawv nkag lossis cov ntawv qhia zaub mov tswj
Kauj Ruam 1: Kev Tsim Hluav Taws Xob
Lub plawv ntawm kev tsim qauv no yog NodeMCU, uas txuas rau koj li Wi -nkaus network thiab tau txais cov lus txib los ntawm kev sib koom ua ke ntawm MQTT thiab Kev Pabcuam Web yooj yim tuav ntawm Azure. NodeMCU maub los yog siv los tswj cov ntaub thaiv npog uas txuas cov solenoids ntawm cov dej ntws. Qhov ntawd yog nws, tus so feem ntau yog lub zog lossis kiv cua hauv daim ntawv ntawm LCD zaub.
Ib lub ntsiab lus kuv xav tau kev nyuab siab, kuv tub nkeeg. Yog li kuv tau siv daim thaiv thaiv, tab sis txij li txhua yam kuv tau txais yog qhov sib txuas sib txuas, Kuv xav tau ntxiv Varistor ntawm txhua qhov chaw nres tsheb. Qhov no tiv thaiv EMI teeb meem nrog rau tiv thaiv kev sib txuas lus.
Lub zog rau solenoids yuav tsum yog ~ 24VAC, yog li siv VAC/VAC phab ntsa wart. Qhov no yog pub cov chaw nres nkoj sib txuas uas txuas rau lub li qub rau cov chaw tso dej.
Tib lub zog ntawd tau kho dua siv tus choj diode thiab lub tshuab hluav taws xob los tsim DC tsis ruaj khov uas tau pub rau DC/DC hloov pauv. Lub DC hloov pauv tau hloov kho rau 5VDC kom muaj zog rau cov khoom siv hluav taws xob. Pom tseeb muaj qhov yooj yim On/Off hloov.
RTC thiab LCD txuas nrog NodeMCU los ntawm I2C interface thiab muab sijhawm ua haujlwm thiab tso saib cov xwm txheej.
Kuj tseem muaj 1 lub pob, siv feem ntau rau kev rub cov zaub. Qhib chav nyob, thaum nias lub pob nyem, ua qhov nyuaj rov pib dua, uas tso cai rau chav pib teeb tsa.
Nqi Tsim
Tag nrho tus nqi HW kwv yees kwv yees li tsawg dua $ 39US, thiab tuaj yeem raug thawb ntxiv, saib kev puas tsuaj:
- Qhov Project Box: $ 7
- NodeMCU: $ 3
- RTC: $ 0.6 ib
- Diode Choj: $ 0.5
- 470uF 35V Capacitor: $ 0.2
- Momentary Push Button: $ 0.4
- On/Off hloov: $ 0.4
- LIR2032 Rechargeable Npib Roj Teeb: $ 1
- DC/DC Converter: $ 0.7
- 8 Ch. Relay Shield: $ 6
- PCB + Lwm yam: $ 2
- LCD 20x4 + I2C I/F: $ 6
- 120VAC/25.5VAC Wall Wart: $ 10
- Varistor x 6: $ 0.6
Kauj Ruam 2: Kev Sib Tw Vs. Chaw Vs Programming
Kev teeb tsa: cov ntsuas yuav tsum tau tso cai rau chav txuas rau koj li WiFi thiab txheeb xyuas nws tus kheej rau eRrigator lub vev xaib. koj tus eRrigator nyob, thiab lwm yam.
Cov Kev Kawm: Teem sijhawm thiab sijhawm tso dej.
Kauj Ruam 3: Pib Kho Kom Zoo ntawm ERrigator
Zoo, teeb meem nyuaj me ntsis?, Tsis yog tiag. NodeMCU tuaj yeem ua raws li ob lub chaw nres tsheb txuas mus rau lwm qhov chaw nkag nrog rau lub chaw nkag.
- Mus rau lub vev xaib thiab tsim chav tshiab. Qhov no yuav muab rau koj nrog chav tsev tshwj xeeb ID.
- Qhib eRrigator, thaum tib lub sijhawm nias khawm/khawm pib dua. eRrigator mus rau hauv kev teeb tsa. hom.
- Txuas koj lub PC lossis lub xov tooj ntawm tes mus rau WiFi network tshiab nrog SSID: eRrigatorSoftAP.
- Saib Video - Ua raws cov lus qhia ntawm cov zaub (koj yuav xav tau scroll). Tshwj xeeb, nrhiav dab tsi yog eRrigator server IP chaw nyob thiab taw tes koj tus browser rau qhov chaw nyob ntawd.
- Sau daim foos (saib daim duab ntes) nrog koj Lub Npe Network, Tus Password thiab lub npe chav koj tau txais los ntawm kauj ruam 1.
- Xa daim ntawv.
- Hloov koj lub PC lossis lub xov tooj ntawm tes rau koj li kev sib txuas
- Mus rau:
- Pib nrog kev teeb tsa thiab teeb tsa chav tsev
Kho dua tshiab?
Tsuas yog khaws koj tus lej ID los ntawm lub vev xaib
Rov ua cov kauj ruam 2-9 saum toj no
Kauj Ruam 4: Chaw rau Koj ERrigator
Kauj Ruam 5: Koj Li ERrigator Status
Lub Tsev nplooj ntawv qhia txog Chav nyob li cas (saib thawj qhov snapshot).
Nws muab lub sijhawm ntawm chav tsev uas tau sib tham zaum kawg rau Web daim ntawv thov, nrog rau cov xwm txheej. Nws tseem muab tus nqi rau cov txee uas siv los teem sijhawm mus los cov dej uas tsis yog txhua hnub.
Sab saum toj ntawm txhua nplooj ntawv muab cov cim kawg. cov ntaub ntawv nrog rau xwm txheej ntawm chav tsev. Yog tias txhua yam yog ntsuab, zoo rau koj, yog tias tsis yog, zoo …
Kauj Ruam 6: Teeb Koj Cov Chaw
Kauj Ruam 7: Lub Sij Hawm Ua Ntej Dej
Kauj Ruam 8: Cov Haujlwm Ntxiv ntawm Chav
Nplooj ntawv uas qhia nyob rau hauv Chav Tswj tso cai rau ntau txoj hauv kev los tswj lub tsev.
- Disable/Enable - Yooj yim, lov tes taw lossis pab kom chav nyob. Tam sim no chav ua haujlwm ntau dua li cov khoom siv dai kom zoo nkauj tshaj txhua yam.
- Auto Enable/Timed Disable (tseem tsis tau ua tiav) - Lov tes taw lub tsev thiab tso cai rau nws kom qhib tau tom qab qee lub sijhawm tau txiav txim ua ntej. Piv txwv li, koj tab tom muaj kev lom zem thiab xav kom zam koj cov qhua foom phem rau lawv tus tswv tsev ruam thaum cov kais dej qhib. Txawm li cas los xij koj paub tias koj yuav tsis hnov qab pab kom chav nyob. Teem nws kom pib-pib ua haujlwm tom qab 1 hnub thiab qhov ntawd yog nws.
- Teem sijhawm/hnub - Tsuas yog thawb hloov kho tshiab ntawm lub sijhawm thiab hnub tim, kom rov pib dua RTC kev sib tw. tsis muaj qhov xav tau tiag tiag rau qhov no raws li RTC paub hloov kho txhua 24 teev, yog li cov dej ntws tsis ntau tshaj 2-3 vib nas this.
- Tua tawm - Kaw tag nrho cov chaw nres tsheb, kom txog rau thaum teem sijhawm tom ntej.
- Qhib chaw nres tsheb rau.
- Teem caij nag lossis daus - Tus eRrigator tso cai rau koj txo lub sijhawm ywg dej los ntawm qee feem pua rau txhua chav dej nag.
Kauj Ruam 9: Tso Lub Tsev Ntawm Afar
Hauv qab Admin-> Pib dua
Koj tuaj yeem siv daim ntawv no los rov kho chav nyob hauv 5 txoj kev sib txawv:
1. Counters Reset - tsuas yog cov phiaj xwm ua haujlwm ntau hnub.
2. Qib Pib Pib - tsuas yog rov pib dua lub tsev, tsis muaj dab tsi ntxiv.
3. Nruab Nrab Qib Pib dua - Rov pib dua chav, suav.
4. Qib Siab Pib dua - Rov pib dua chav, suav, tshem cov program los ntawm kev nco, tshem cov xov tooj cua los ntawm kev nco.
5. Hard Reset - Raws li Qib Siab rov pib dua, tsuas yog nws tseem tshem tawm cov teeb tsa, saib cov kauj ruam 3 kom paub meej txog yuav teeb tsa lub tsev tam sim no li cas uas koj tau ua txhaum nws tag nrho.
Kauj ruam 10: Rov teeb tsa chav nyob ntawm koj tus browser
Hauv qab Admin-> Config
Yog tias koj xav hloov chaw mus rau lwm lub WiFi, tsuas yog xaiv lub network, ntxiv tus password thiab nco ntsoov theej/luam tawm chav ID. Xa, voi-la, nws ua tiav.
Kauj Ruam 11: Tshaj Tawm Huab Cua - FW Hloov Kho
Hauv qab Admin -> FW Hloov Kho
Qhov no yog qhov pheej hmoo loj - koj tuaj yeem yooj yim tsoo lub tsev !!!
Yog tias koj ua cib ua haujlwm, koj yuav tsum tau txuas lub cev ntawm NodeMCU micro-USB rau koj lub PC thiab xa cov ntawv ua haujlwm.
Rub tawm cov ntaub ntawv binary ntawm qhov tso tawm uas koj xav tau, nkag mus rau qee cov ntaub ntawv tso tawm thiab xa.
Chav tsev yuav tau ua haujlwm nyob saum huab cua thiab ib zaug ua tiav, yuav rov pib dua. DB tau hloov kho kom pom qhov kev tso tawm tshiab hauv cov npe hauv qab daim ntawv.
Qhia tawm, yog tias chav tsev tsis tau cib, koj tuaj yeem rov qab mus rau qhov tso tawm ntxov los ntawm kev xaiv nws.
Txhob ntshai, ntshai heev!
Kauj Ruam 12: Arduino Code rau Koj ERrigator
Ua haujlwm los ua kom nws nthuav tawm…
Kauj Ruam 13: C# Txoj Cai los Khiav Koj Lub Vev Xaib
Ua haujlwm los ua kom nws nthuav tawm…
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Cov av noo noo Cov Lus Qhia Tswj Xyuas Internet Txuas Cov Dej Dej (ESP32 thiab Blynk): 5 Cov Kauj Ruam
Cov av noo noo Cov lus pom zoo Tswj Xyuas Internet Txuas Cov Dej Dej (ESP32 thiab Blynk): Tsis txhawj xeeb txog koj lub vaj lossis nroj tsuag thaum koj mus rau hnub so ntev, lossis tsis nco qab ywg dej koj cov nroj tsuag txhua hnub. Zoo ntawm no yog kev daws teeb meem Nws cov av ya raws tswj hwm thiab thoob ntiaj teb txuas nrog cov dej txau dej tswj los ntawm ESP32 ntawm software pem hauv ntej kuv
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): 3 Cov Kauj Ruam
Ua Cov Phiaj Xwm Zoo Los Ntawm Cov Ntaub Ntawv Nyob Arduino (thiab Txuag Cov Ntaub Ntawv rau Excel): Peb txhua tus nyiam ua si nrog peb tus lej L … cov ntsiab lus tau ntxiv thiab nws tsis tshwj xeeb rau lub qhov muag. Arduino IDE cov phiaj xwm tsis
Cov Ntawv Cim Hluav Taws Xob LED Taws Teeb Cov Neeg Hlau Cov Ntawv Cim - Cov Khoom Siv Soldering: 11 Kauj Ruam
Cov Khoom Siv Hluav Taws Xob LED Taws Teeb Cov Neeg Hlau Daim Npav - Cov Khoom Siv Soldering: Kab lus no tau txaus siab txhawb nqa los ntawm PCBWAY.PCBWAY ua cov qauv zoo PCBs rau tib neeg thoob plaws ntiaj teb. Sim nws rau koj tus kheej thiab tau txais 10 PCBs rau tsuas yog $ 5 ntawm PCBWAY nrog qhov ua tau zoo heev, Ua tsaug PCBWAY. Robadge#1 uas kuv tau tsim rau
Windows 7: Cov Ntsiab Lus Cov Ntawv Cov Khoom Tsis Muaj: 3 Cov Kauj Ruam
Windows 7: Cov Ntawv Qhia Cov Khoom Uas Tsis Muaj: Thaum twg los peb xaiv ntau dua 15 cov ntaub ntawv hauv Windows. qee yam khoom los ntawm cov ntawv qhia zaub mov ploj mus … Cov ntawv qhia no yuav qhia koj yuav ua li cas kom tau txais cov khoom ntawd rov qab los ntawm cov ntawv qhia zaub mov