Cov txheej txheem:
- Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV
- Kauj ruam 2: Software
- Kauj Ruam 3: CIRCUIT DIAGRAM
- Kauj ruam 4: CODE
- Kauj ruam 5: CONTROLLING
- Kauj Ruam 6: XAUS
- Kauj ruam 7: Video !
Video: Internet/huab Kev Tswj Xyuas Tsev Automation Siv Esp8266 (aREST, MQTT, IoT): 7 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
TXHUA qhov qhab nia rau https://arest.io/ rau kev pabcuam huab !!
IoT cov ncauj lus sib tham tshaj plaws hauv ntiaj teb tam sim no !! Huab servers thiab cov kev pabcuam ua qhov no ua tau yog qhov nyiam ntawm lub ntiaj teb niaj hnub no …
RULING OUT THE DISTANCE BARRIER yog thiab yog lub hom phiaj !!
Yog li tam sim no tswj koj lub tsev lossis chaw ua haujlwm los ntawm txhua qhov chaw hauv ntiaj teb no … tsis yog los ntawm sab hauv lossis ntau yam !!
Kev daws teeb meem yooj yim tshaj plaws thiab pheej yig tshaj los ntawm tus neeg tub nkeeg !!! Txaus siab thiab txaus siab …
NCO TSEG: Nyeem tag nrho txoj haujlwm thawj zaug nws yuav siv sijhawm 3-4 feeb thiab hloov kho tshiab … Tsis txhob nyeem ib nrab thiab tsoo koj lub cuab yeej …
Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV
Tsuas yog 4 yam yuav tsum tau ua - 1. ESP8266 NODEMCU lossis WEMOS D1 mini lossis ib qho esp8266 wifi kev txhim kho pawg thawj coj 2. RELAY (5V lossis 6V) 3. ULN2003 lossis UNL2003A (Relay tsav tsheb IC) 4. Jumpers (pom tseeb lossis lwm yam solder nws !!) lub hauv paus tseem ceeb ntawm txoj haujlwm yog ESP8266 module yuav tau txais lub teeb liab los ntawm MQTT server (piv txwv li isst.io) thiab xa cov teeb liab mus rau tus pin lossis tus processor. ULN2003 relay tsav IC txuas nrog rau Nodemcu board pins. Cov pins tso tawm tau txuas nrog kev xa tawm lossis ib qho RGB teeb lossis servo lub cev thiab lwm yam.
Kauj ruam 2: Software
Kuv tau siv Arduino IDE ua lub program programming. Yog tias koj yog tus tshiab rau Nodemcu no lossis esp8266 pawg thawj coj txhim kho ces thov xa mus rau kuv cov lus qhia yav dhau los. Txhawm rau cuam tshuam Nodemcu lossis wemos board nrog Arduino IDE.
Hauv Arduino IDE tom qab teeb tsa cov lus yav dhau los, mus rau SKETCH -> INCLUDE LIBRARY -> Tswj LIBRARIES -> Nrhiav rau "arest" -> INSTALL THE LIBRARIES -> Tam sim no nrhiav rau PubSubClient -> INSTALL THE LIBRARY.
Tam sim no nws ib nrab ua tiav… yuav luag nyob ntawd !!!
Kauj Ruam 3: CIRCUIT DIAGRAM
Raws li cov lus hais saum toj no piav qhia txhua yam tseem nyob sab hauv ntawm ULN2003 relay tsav IC txuas nrog lub pins ntawm esp8266 thiab cov zis tau txuas nrog rau kev xa xov ntawm cov kauj raws li thaum esp8266 tus pin tau siab cov zis pin ntawm ULN2003 tau qis yog li muab qhov txuas 5V muaj peev xwm ua haujlwm.
Hloov chaw ntawm xa 0 lossis 1 mus rau tus xa tawm esp8266 pins peb kuj tseem tuaj yeem xa lwm qhov txiaj ntsig rau servo tab sis tshaj tawm servo.attach (tus pin) kom tig lub servo rau tus nqi tshwj xeeb. Nws yooj yim tab sis txhua tus neeg yuav tsum tau hloov kho tshiab, nyeem thiab xav me ntsis.
Kauj ruam 4: CODE
Kuv tau txais lub tswv yim los ntawm "Marco Schwartz" txoj haujlwm thiab hloov kho nws. Nws tau siv d isst.io MQTT tab sis peb tseem tuaj yeem siv adafruit.io. Qhov tseem ceeb ntawm txoj haujlwm yog:
Cim 6digit arest id
char* device_id = "tshwj xeeb_6_digit_id";
Daim ntawv pov thawj WiFi
const char* ssid = "ssid_name"; const char* password = "your_password";
Xaiv cov cim tshwj xeeb raws li koj nyiam tab sis nws yuav tsum yog qhov tshwj xeeb tsis yog kuv lossis koj lub npe tshwj tsis yog nws lub npe telugu !!
piv txwv ntawm tus cim tshwj xeeb: pf4h6q (tsuas yog piv txwv)
tuaj yeem muaj ntau qhov kev hloov pauv hauv cov cai raws li txoj cai, peb yuav tsum hais txog qhov tso tawm tom qab txhua qhov rov pib dua ntawm pawg thawj coj loj
Github code
Code:
Kauj ruam 5: CONTROLLING
2 CRUCIAL cov kauj ruam: 1. tshaj tawm tus pin tso zis 2. toggling lossis xa cov ntaub ntawv hauv tus pinDeclaring tus pin tso tawm: https://cloud.arest.io/pf486q/mode/5/o "pf486q" yog tus lej 6 tus lej tshwj xeeb rau isst. io "o" raws li qhov ua tau zoo tom qab ua tiav qhov no hauv txhua lub browser {"message": "Pin D2 teeb tsa rau", "id": "pf486q", "name": "cloud home", "hardware": "esp8266", "txuas": tseeb} Toggling lossis xa cov ntaub ntawv hauv tus pin: https://cloud.arest.io/pf486q/digital/2/0digital pin 2 tau xa me ntsis "0" lossis "1" raws li peb xav tau https:// cloud.arest.io/pf486q/digital/2/1 Kev tshaj tawm tus pin yog qhov tsim nyog rau ib zaug tom qab rov pib dua/rov pib dua/kaw lwm yam rau kev ua haujlwm txuas ntxiv ntawm esp8266 nws tsis tsim nyog. Kuv tau siv Android app HTTPRequest los tsim widget ntawm tsev-tshuaj ntsuam nrog tsim nyog URL. Raws li qhia hauv kuv cov lus qhia yav dhau los. Thov saib uas tsis yog qhov no yuav ntev.
Kauj Ruam 6: XAUS
Nov yog qhov haujlwm IoT rau kev tswj cov khoom siv hauv tsev, qhov rooj, qhov rai, txhua yam thiab tuaj yeem kho raws li tus neeg xav tau. Nws tsis nyob hauv zos tswj, txhua yam no tuaj yeem tswj tau los ntawm txhua qhov chaw.
TUS NEEG SAWV DAWS LOSSIS URL NROG KOOM HAUM YUAV TSUM MUAJ 1-2 vib nas this/s kom ua tiav vim qhov no tsis yog tus neeg rau zaub mov tshwj xeeb …
Zoo siab thiab txaus siab … Ua ABSENTMINDED thiab tsis txhob hnov qab hloov cov ntawv thov tab sis tsis muaj lub taub hau !!
Ua tsaug rau "arest.io" MQTT cov kev pabcuam thiab rau "Marco Schwatrz" …
yog tias koj nyiam cov lus qhia txhawb nqa thiab txaus siab rau … thiab rau ib qho teeb meem hais txog qhov no nug kuv
Kauj ruam 7: Video !
Ib tus neeg tshwj xeeb tau pab kuv txheeb xyuas nws ua haujlwm los ntawm lwm qhov lossis tsis yog … Thiab nws ua haujlwm los ntawm txhua qhov chaw tsuas yog xav tau kev siv internet … (Kuv nyob hauv Kolkata, IN thiab nws nyob hauv Ranchi, IN) … thiab yog nws messed nrog kuv tom qab paub kuv tus lej tshwj xeeb ntawm arest.io yog li tsis txhob qhia koj tus kheej tsim cov cai tshwj xeeb !!
Pom zoo:
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: 5 Cov Kauj Ruam (nrog Duab)
Qhov muag tsis pom kev Nrog ESP8266, Google Tsev thiab Openhab Kev Sib Koom thiab Kev Tswj Xyuas Web: Hauv Cov Lus Qhia no kuv qhia koj li cas kuv ntxiv kev siv tshuab rau kuv qhov muag tsis pom. Kuv xav kom muaj peev xwm ntxiv thiab tshem tawm qhov kev siv tshuab nws, yog li txhua qhov kev teeb tsa yog clip ntawm.Qhov tseem ceeb yog: Stepper motor Stepper tsav tswj bij ESP-01 Iav thiab teeb tsa
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: 4 Cov Kauj Ruam (nrog Duab)
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: Tsis ntev los no kuv tau siv sijhawm qee lub sijhawm siv khoom hauv thiab ib puag ncig kuv lub tsev. Kuv tab tom siv Domoticz ua kuv daim ntawv thov Tsev Automation, saib www.domoticz.com kom paub meej. Hauv kuv tshawb nrhiav daim ntawv thov daim ntawv qhia uas qhia tag nrho Domoticz cov ntaub ntawv tog
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
DIY Lub Suab/Internet Tswj Tsev Automation thiab Saib Xyuas Siv ESP8266 thiab Google Tsev Mini: 6 Cov Kauj Ruam
DIY Lub Suab/Internet Tswj Tsev Automation thiab Saib Xyuas Siv ESP8266 thiab Google Tsev Mini: Hav !! Tom qab so ntev kuv nyob ntawm no vim peb txhua tus yuav tsum tau ua ib yam dab tsi tho txawv (txoj haujlwm) kom khwv tau. yooj yim tab sis ua tau zoo tshaj plaws
Yuav Ua Li Cas Ua IoT Device los Tswj Cov Khoom Siv thiab Saib Xyuas Huab Cua Siv Esp8266: 5 Cov Kauj Ruam
Yuav Ua Li Cas Ua IoT Device los Tswj Cov Khoom Siv thiab Saib Xyuas Huab Cua Siv Esp8266: Internet ntawm yam (IoT) yog kev sib txuas sib txuas ntawm cov cuab yeej siv lub cev (tseem hu ua "txuas nrog cov cuab yeej" thiab "ntse cov cuab yeej"), cov tsev, thiab lwm yam khoom - suav nrog cov khoom siv hluav taws xob, software, sensors, actuators, thiab