Cov txheej txheem:
- Kauj Ruam 1: Sau cov khoom koj xav tau
- Kauj ruam 2: System Architecture
- Kauj Ruam 3: Kho Koj Li ESP
- Kauj Ruam 4: Txuas Koj Cov Khoom Siv: Sensor rau ESP
- Kauj Ruam 5: Txuas ESP8266 Nrog Adafruit IO: Tsim Adafruit IO Account
- Kauj Ruam 6: Txuas ESP8266 Nrog Adafruit IO: Tsim Kev Pub Noj
- Kauj Ruam 7: Txuas ESP8266 Nrog Adafruit IO: Tsim Dashboard
- Kauj Ruam 8: Txuas ESP8266 Nrog Adafruit IO: Tsim Txoj Cai rau Ultrasonic Sensors
- Kauj Ruam 9: IFTTT, Txuas IFTTT rau Adafruit
- Kauj Ruam 10: Tsim Applet hauv IFTTT
- Kauj Ruam 11: Tsim Qhov Tseeb Los Ntawm Adafruit
- Kauj Ruam 12: Tsim Kev Ua rau Gmail, Google Calender thiab ceeb toom rau IFTTT App
- Kauj Ruam 13: Xeem
- Kauj Ruam 14: Siv Zapier Service
- Kauj Ruam 15: Tiggering Cov Txheej Txheem Los Ntawm IFTTT Qib
- Kauj Ruam 16: Yav Tom Ntej Yav Tom Ntej: Kev tsim khoom ntawm cov khoom lag luam
- Kauj Ruam 17: Cov Teeb Meem Uas Koj Yuav Tsum Pom
- Kauj Ruam 18: Mus Rau Qhov Kawg…
Video: IoT Raws Li Kev Ceeb Toom Txog Kev Ntxhua Khaub Ncaws: 18 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo
Cov lus qhia no qhia ib qib zuj zus qhia yuav ua li cas tsim IoT raws li kev ceeb toom kev ntxhua khaub ncaws.
Cov cuab yeej txuas nrog hauv koj lub tub rau khoom thiab lub hnab ntxhua khaub ncaws. Txog qhov pom zoo ntawm no, peb tau nqa ob lub tub rau khoom thiab ib lub hnab ntxhua khaub ncaws. Nws nkag siab tias qhov khoob/puv lub tub rau khoom/lub tshuab ntxhua khaub ncaws yog dab tsi thiab ceeb toom rau tus neeg siv hais tias yuav tsum tau ntxhua khaub ncaws. Nws siv lub ntsuas hluav taws xob ultrasonic uas ntsuas qhov chaw khoob hauv lub thoob. Lub ntsuas hluav taws xob txuas nrog ESP uas tig mus txuas nrog cov kev pabcuam huab. Cov kev pabcuam huab tau txuas nrog IFTTT uas siv applets los xa ntawv ceeb toom rau tus neeg siv ntawm email, sms, google daim ntawv qhia hnub tshwm sim. Huab tuaj nrog dahboard uas cov xwm txheej ntawm txhua lub thoob tuaj yeem pom. Thaum huab pom tias koj tab tom hnav khaub ncaws huv, nws qhia cov ntawv thov ceeb toom rau koj. Dhau li ntawm qhov no, applet qhia huab los tshuaj xyuas cov ntaub ntawv tsis tu ncua txhua hnub. Nws tuaj yeem yog ib hnub ib hnub, lossis ib teev, nyob ntawm seb tus neeg siv xav kom nws ua. Cov lus qhia ntxaws los tsim cov kab ke no tau piav qhia hauv qab no.
Kauj Ruam 1: Sau cov khoom koj xav tau
koj yuav xav tau:
1. 3 ultrasonic sensors HC SR04 (5V)
2. 3 ESP8266 12 (5V)
3. 3 9V roj teeb
4. 3 5V potentiometers (txhawm rau lub zog ESPs thiab cov ntsuas)
5. Ib pawg poj niam rau poj niam thiab txiv neej rau poj niam txuas
6. Roj teeb rooj plaub
Koj tuaj yeem yuav cov khoom no ntawm amazon yooj yim. Cov ntsuas thiab ESPs yog qhov pheej yig tiag tiag yog tias koj yuav pob nrog 6 ntawm lawv hauv nws.
Kauj ruam 2: System Architecture
Cov txheej txheem ntawm cov kab ke tuaj yeem nkag siab los ntawm daim duab. Cov ntsuas tau txuas nrog ESPs. ESP xa cov ntaub ntawv (qhov deb) mus rau Adafruit uas yog tom qab ntawd ua tiav los saib seb lub ntim ntim puv li cas. Nyob ntawm seb tus tub rau khoom twg yog qhov khoob thiab tag nrho lub hnab ntxhua khaub ncaws li cas, tus neeg siv yuav tau txais ntawv ceeb toom hais tias thiab yuav tsum tau ntxhua khaub ncaws tag kis. IFTTT tau tshwm sim los ntawm Adafruit thiab ua qhov kev txiav txim siab seb yuav xa Email li cas los ntawm Gmai, Tsim kev tshwm sim hauv daim ntawv qhia hnub lossis xa ntawv ceeb toom los ntawm IFTTT app. Cov cuab yeej no los nrog lub dashboard uas tuaj yeem qhib hauv txhua lub browser. Lub dashboard txuas nrog kho vajtse siv Adafruit ib puag ncig uas qhia pom kev nyeem los ntawm lub ntsuas cua. Ntxiv mus, nws muaj peev xwm, los ntawm qib no, txhawm rau ESPs qhib thiab tawm ntawm lub dashboard.
Kauj Ruam 3: Kho Koj Li ESP
Koj tuaj yeem yooj yim khiav koj li ESP los ntawm kev txuas nws mus rau Arduino IDE. Txhua yam koj xav tau yog rub tawm thiab teeb tsa lub tsev qiv ntawv rau nws. Koj tuaj yeem ua raws cov theem hauv qab no:
1. Rub tawm qhov tseeb version ntawm Arduino IDE.
2. Qhib koj li IDE, mus rau cov ntaub ntawv <nyiam thiab luam qhov txuas hauv qab no hauv Tus Thawj Saib Xyuas Ntxiv thiab nyem OK kom kaw qhov nyiam tab.
arduino.esp8266.com/stable/package_esp8266…
3. Mus rau Cov Cuab Yeej <Tus Thawj Saib Xyuas Haujlwm <thiab tshawb rau ESP8266 thiab teeb tsa version 2.4.1. Koj tuaj yeem txhim kho lwm cov ntawv nyob ntawm qhov ntim ntawm koj li IDE. Tab sis nws ua haujlwm zoo tshaj plaws.
Tom qab txhua qhov no, xaiv pawg thawj coj NodeMCU 1.0. Tam sim no koj tau npaj siv koj li ESP ib yam li Arduino (lossis zoo dua).
4. Thaum koj ua tiav kev sib txuas thiab ua haujlwm koj li ESP nrog lub khoos phis tawj zoo li Arduino, mus rau qib tom ntej thiab txuas nrog koj li WiFi lossis koj lub hotspot txawb.
Kauj Ruam 4: Txuas Koj Cov Khoom Siv: Sensor rau ESP
Nov yog qhov koj yuav tsum txuas koj lub sensor thiab cim nws kom nws muab qhov chaw khoob rau hauv lub thoob.
1. Lub sensor Vcc txuas nrog NodeMCU VUpin. Yog tias koj txuas nws mus rau 3.3V, koj lub sensor yuav tsis ua haujlwm, vim tias nws qhov ua haujlwm voltage yog 5V.
2. Lub sensor GND txuas nrog NodeMCU GND.
3. Lub sensor Trigger Pin txuas nrog NodeMCU Digital I/O D4.
4. Tus sensor Echo Pin txuas nrog NodeMCU Digital I/O D3.
Tom qab qhov no koj tuaj yeem sau cov cai hauv qab no kom pom tias koj lub ultrasonic ua haujlwm. Tom qab koj tau teeb tsa tias koj lub ntsuas cua, tus lej thiab ESPs ua haujlwm tau zoo, koj tuaj yeem txuas koj li ESP mus rau WiFi thiab xyuas seb nws puas ua haujlwm. Tab sis ua qhov no, kev kho vajtse sib txuas yuav hloov me ntsis raws li tau piav qhia hauv qab no. Tab sis ua ntej ntawd nco ntsoov tias koj txuas koj lub roj teeb 9V rau POTs thiab lawv tau hloov kho rau 5V tso zis hluav taws xob. Koj tsis xav hlawv koj ESPs (lawv hnov tsw phem).
1. ESP Vin thiab sensor Vcc txuas nrog lub roj teeb zoo.
2. ESP GND thiab sensor GND txuas nrog qhov tsis zoo ntawm roj teeb. Nco ntsoov ua rau hauv av ib txwm lossis lwm yam koj lub sensor yuav muab cov ntaub ntawv tsis raug.
3. Lub sensor Trigger Pin txuas nrog NodeMCU Digital I/O D4.
4. Tus sensor Echo Pin txuas nrog NodeMCU Digital I/O D3.
Hers me ntsis txog qhov ultrasonic sensor ua haujlwm li cas thiab nws tau cim li cas.
Lub sensor yeej xa tawm mem tes thiab lub sijhawm nws txog thaum nws pom thiab rov qab mus rau lub sensor. Raws li lub sijhawm thiab nrawm ntawm lub suab, peb yuav tsum tsim qhov kev nrug deb. Qhov no yog qhov tseem ceeb uas peb tau ua ntawm no. Lub sensor nws tus kheej tsuas yog tuav nws "ECHO" tus pin HIGH rau lub sijhawm ntev sib xws rau lub sijhawm nws coj los txais qhov kev xav (ncha) los ntawm nthwv dej nws xa. Tus qauv xa tawm qhov tawg ntawm lub suab nthwv dej, tib lub sijhawm nws siv qhov hluav taws xob rau tus ncho tus pin. Tus qauv tau txais kev xav rov qab los ntawm lub suab tsis zoo thiab tshem tawm qhov hluav taws xob los ntawm tus ncho tus pin. Nyob ntawm lub hauv paus ntawm qhov nrug ib qho mem tes tau tsim tawm hauv lub ntsuas hluav taws xob kom xa cov ntaub ntawv mus rau ESP. Qhov pib mem tes yog kwv yees li 10us thiab PWM teeb liab yuav yog 150 us-25us ntawm lub hauv paus ntawm qhov deb. Yog tias tsis muaj kev khuam siab nyob ntawd, tom qab ntawd 38us mem tes tau tsim rau ESP kom paub tseeb tias tsis muaj cov khoom pom.
D = 1/2 × T × C; D yog qhov deb, T yog lub sijhawm nruab nrab ntawm Kev Tso Tawm thiab Txais Tos, thiab C yog lub suab nrawm, tus nqi yog sib npaug 1/2 vim T yog lub sijhawm rau mus thiab rov qab nrug.
Txuas cov no ua ke raws li hauv daim duab saum toj no thiab muab tso rau sab hauv ntawm koj lub thoob rau saum.
Kauj Ruam 5: Txuas ESP8266 Nrog Adafruit IO: Tsim Adafruit IO Account
Txhawm rau txuas ultrasonic sensor thiab ESP8266 rau huab Adafruit IO kev pabcuam (siv MQTT raws tu qauv) tau xaiv.
MQTT yog qhov txheej txheem yooj yim thiab hnyav heev, uas tso cai rau cov cuab yeej tshaj tawm cov ntaub ntawv (los ntawm lub cuab yeej mus rau server) thiab sau npe cov ntaub ntawv (sau cov ntaub ntawv los ntawm server). Qhov yooj yim ntawm qhov kev daws teeb meem no yog muab los ntawm MQTT broker, uas hauv qhov no yog Adafruit. IO. Los ntawm nws cov cuab yeej muaj peev xwm xa thiab tau txais cov lus.
Txhawm rau sau npe nkag mus rau hauv lub vev xaib: https://io.adafruit.com/ thiab nyem Tau Pib Pib Dawb. Ntawm qhov chaw tom ntej tus neeg siv yuav tsum tso tus kheej cov ntsiab lus thiab nyem khawm Tsim Tus Kheej. Tom qab sau npe tus neeg siv raug tsiv mus rau ntu Tsev ntawm tus as khauj. Yog xav paub ntxiv sau tus lej rau ultrasonic ntsuas qhov tseem ceeb yog txheeb xyuas AIO Key (khawm Saib AIO Key) rau ob qho: Lub npe thiab tus yuam sij nquag.
Tam sim no peb tau npaj los tsim txau (uas tuav cov ntaub ntawv ntsuas qhov tseem ceeb) thiab Dashboard, uas nws yuav muaj peev xwm saib xyuas lub tshuab ntxhua khaub ncaws.
Kauj Ruam 6: Txuas ESP8266 Nrog Adafruit IO: Tsim Kev Pub Noj
Rau qhov haujlwm no 6 qhov sib txawv tau siv:
- ON/OFF txau- txau uas qhib/deactivate ESP8266 kom tau txais kev ntsuas. Ntxiv vim yog kev tswj hwm lub zog. (Pub: tub rau khoom-1-Onoff, Drawer-2-On-off, Khaub ncaws-hnab-On-off).
- Nyeem ntawv pub-noj uas, tau txais cov ntaub ntawv khaws cia los ntawm cov ntsuas hluav taws xob ultrasonic (Drawer-1, Drawer-2, Khaub Ncaws-hnab).
Tsim Kev Pub Dawb
- Nkag mus Tshooj
- Nyem Ua thiab Tsim Kev Pub Noj Tshiab
- Sau: Lub npe ntawm cov khoom noj (ntawm no rau thawj tus tub rau khoom- tub rau khoom-1, thiab cov lus piav qhia luv)
Tib txoj hauv kev tsim tsib ntxiv. Nco ntsoov tias cov npe yuav raug siv rau ntxiv ESP8266 txoj cai txhim kho.
Tus nqi tau npaj tiav, txawm li cas los xij tsis muaj txoj hauv kev yooj yim los sim ua txhua qhov nyeem tib lub sijhawm. Tias yog vim li cas thiaj xav tau Dashboards.
Kauj Ruam 7: Txuas ESP8266 Nrog Adafruit IO: Tsim Dashboard
Tsim cov dashboard pib hauv Dashboards ntu. Nyem Ua Haujlwm khawm (zoo ib yam li hauv Tshooj Ntu)-> Tsim Tus Tshiab Dashboard-> sau lub npe (qhov no: Your_Laundry_System) thiab cov lus piav qhia luv-> Nyem Tsim khawm. Tom qab ntawd koj tuaj yeem nkag mus rau Dashboard.
Hauv Dashboard nyem Tsim lub pob thaiv tshiab. Rau daim ntawv thov no peb xav tau peb hom kev thaiv:
- 3x Toggle (rau kev qhib thiab tawm qhov hnov)
- 3x Cov Ntsuas (qhia qhov tseeb hauv qib hauv lub tub rau khoom/hnab ntxhua khaub ncaws)
- 3x Kab ntawv kab (qhia cov ntaub ntawv keeb kwm)
Toggle
- Nyem rau ntawm Toggle icon.
- Xaiv thawj ON/OFF pub, piv txwv li Drawer-1-Onoff.
- Ntxiv cov npe thaiv xws li Ntxuav T-shirts- Drawer 1. Nyem Tsim block.
Muab qhov toggle nyob rau sab saud ntawm lub dashboard. Ib yam nkaus txuas lwm qhov ON/OFF txau nrog Toogle.
Ntsuas
- Nyem rau ntawm Gauge icon.
- Xaiv thawj cov ntaub ntawv khaws khoom noj: tub rau khoom-1.
- Sau Cov Ntaub Ntawv raws li: rau Thaiv lub npe piv txwv li: Ntxuav T-shirts- Drawer 1, Gauge Max Tus Nqi (nyob ntawm qhov tob ntawm lub tub rau khoom- nws qhov xwm txheej 10), Tsawg/Siab Warining Tus Nqi (hloov xim xim).
Muab lub ntsuas cua tso rau ntawm lub dashboard. Ib yam nkaus txuas lwm cov ntaub ntawv khaws cia pub nrog Gauge.
Kab ntawv kab
- Nyem rau kab kab kab cim.
- Xaiv nrig cov ntaub ntawv khaws cov khoom noj: tub rau khoom-1.
- Hloov Qhia Qhia keeb kwm mus rau 24 teev, hloov Y-Axis Qhov Siab Tshaj thiab Qhov Tsawg Qhov Tseeb nyob ntawm qhov tob ntawm lub tub rau khoom.
Muab kab ntawv kab rau ntawm lub dashboard. Ib yam nkaus txuas lwm cov ntaub ntawv khaws cia pub nrog Kab Kab.
Lub dashboard kawg tau muab tso rau hauv cov duab. Nco ntsoov tias daim duab qhia chaw qhia tias muaj pes tsawg qhov chaw tseem nyob hauv lub hnab ntxhua khaub ncaws/tub rau khoom.
Kauj Ruam 8: Txuas ESP8266 Nrog Adafruit IO: Tsim Txoj Cai rau Ultrasonic Sensors
Ua ntej, Adafruit MQTT lub tsev qiv ntawv xav tau. Txhawm rau teeb tsa nws qhib Arduino IDE-> Cuab Yeej-> Tswj cov tsev qiv ntawv thiab ntaus rau hauv kev tshawb nrhiav: Adafruit MQTT. Lub tsev qiv ntawv yuav tsum tau nruab rau hauv koj lub computer.
Tom qab rub tawm cov ntawv piv txwv ntawm tus lej (ntawm no kaw ib txoj cai rau ultrasonic sensor ua haujlwm hauv lub hnab ntxhua khaub ncaws).
Txhawm rau ua kom siv tau rau koj kev teeb tsa koj yuav tsum hloov cov ntsiab lus hauv qab no:
- WLAN_SSID- koj lub npe network WiFi.
- WLAN_PASS- tus password rau koj lub network WiFi.
- AIO_USERNAME- lub npe ntawm koj cov neeg siv hauv Adafruit IO (txij qib 4).
- AIO_KEY- Adafruit IO qhov tseem ceeb (los ntawm kauj ruam 4).
- Adafruit_MQTT_Publish…. "/txau/Khaub ncaws lub hnab"- ntawm no koj yuav tsum sau lub npe ntawm cov khoom noj uas cov ntaub ntawv yuav tshaj tawm.
- Adafruit_MQTT_Subscribe "/txau/Khaub ncaws-hnab-On-off"-ntawm no koj yuav tsum tau muab lub npe ntawm pub, uas ua rau lub sensor.
Tom qab qhov haujlwm ntawd yuav tsum tau muab tso rau hauv ESP8266. Nws xav tau los hloov cov npe noj rau tub rau khoom 1 thiab tub rau khoom 2.
Daim ntawv ceeb toom tseem ceeb: vim tias yog (xov == "ON") lub kaw lus yuav ntsuas qhov nrug ib zaug thiab thaum lub dashboard khawm ON/OFF nyob ntawm ON txoj haujlwm. Txhawm rau ntsuas dua tus neeg siv yuav tsum tau tua thiab tig lub sensor ntawm lub dashboard dua.
Tom qab xa qhov program mus rau txhua ESP8266 dashboard yuav tsum tau qhia pom kev nyeem los ntawm txhua lub ntsuas. Sensors tuaj yeem tshwm sim los ntawm qib ntawm dashboard. Tiggering lub kaw lus kuj tseem ua tau los ntawm IFTTT applet qib (qib 13).
Kauj Ruam 9: IFTTT, Txuas IFTTT rau Adafruit
Lus ceeb toom: IFTTT tsis yog qhov txuas zoo tshaj plaws thaum ua rau Google Calendar thiab e-mail siv peb lub ntsuas txuas nrog Adafruit IO. Mus rau Kauj Ruam 14 kom paub ntau ntxiv txog Zapier
IFTTT yog qhov kev pabcuam web-based uas tsim cov xwm txheej yooj yim "Yog Yog Li No" Nws ua haujlwm nrog lwm qhov kev pabcuam hauv web xws li Gmail, Facebook, Instagram, thiab lwm yam. Qhov yooj yim mob muaj "Qhov no" uas yog qhov ua rau thiab "Qhov ntawd" uas yog qhov yuav tsum tau ua. Applets xav tau los tsim kom muaj qhov xwm txheej yooj yim no ua haujlwm hauv IFTTT platform. Txoj haujlwm no siv Adafruit.io MQTT ua huab los qhia qib khaub ncaws hauv hnab ntxhua khaub ncaws, thiab cov tub rau khoom tom qab ntawd IFTTT yuav tau txais qhov ua los ntawm Adafruit.io kom xa qhov ceeb toom rau tus neeg siv los ntawm google daim ntawv qhia hnub lossis Gmail.
Ua ntej Tsim IFTTT tus lej hauv IFTTT lub vev xaib. Nkag mus rau hauv koj tus account. IFTTT xav kom txuas nrog Adafruit tus account qhov twg tau tsim lub dashboard. Mus rau qhov txuas hauv qab no txhawm rau txuas rau Adafruit
Tom ntej Nyem Txuas, koj yuav raug coj mus rau Adafruit lub vev xaib, thiab nyem Tso Cai. Txog qhov haujlwm no IFTTT tau txuas nrog Adafruit tus lej raws li qhia hauv daim duab. Tom qab IFTTT txuas nrog Adafruit tus lej, Applets tau npaj los tsim.
Kauj Ruam 10: Tsim Applet hauv IFTTT
Txoj haujlwm no tau sim txuas rau Gmail, Google Calender thiab IFTTT app. Cov hauv qab no yog cov kauj ruam yog los tsim Applet hauv lub platform thiab tsim qhov ua los ntawm Adafruit.
1. Mus rau Kuv li applet https://ifttt.com/my_applets thiab nyem Tshiab Applet
2. Koj yuav raug coj mus rau yog +qhov no tom qab ntawd thiab nyem +qhov no lossis nyem tsim ntawm lub platform.
Kauj Ruam 11: Tsim Qhov Tseeb Los Ntawm Adafruit
Tam sim no, koj tuaj yeem pib teeb tsa koj tus kheej Applet.
1. Ua Ntej Yog Ua Tsaug, tshawb nrhiav hom Adafruit, tom qab ntawd xaiv Saib Xyuas pub rau ntawm Adafruit IO
2. Teeb lwm qhov tsis pub Pub Daim Ntawv Sau Npe, Pub Daim Ntawv Txheeb Ze Kev Sib Raug Zoo thiab Pub Daim Ntawv Sau Tus Nqi. Teeb raws li tus neeg siv tau yooj yim yog tias muaj kev hloov pauv yuav tsum tau tom qab, koj tsis tas yuav hloov nws los ntawm lub platform.
3. Rau txoj haujlwm no Cov Khoom Noj uas yuav tsum tau saib xyuas yog tub rau khoom 1, tub rau khoom 2 thiab Hnab Khaub Ncaws. Rau tub rau khoom 1 thiab tub rau khoom 2 muaj kev sib raug zoo ntawm ntau dua 5 uas qhia tias cov tub rau khoom yuav luag tas thaum lub hnab ntxhua khaub ncaws muaj kev sib raug zoo tsawg dua 5 uas qhia tias nws yuav luag tag nrho.
Kauj Ruam 12: Tsim Kev Ua rau Gmail, Google Calender thiab ceeb toom rau IFTTT App
Thaum kawg qhov kev nqis tes ua rau IFTTT txhawm rau teeb tsa, rau txoj haujlwm no peb tau tsim Applet uas xa email rau Gmail thiab ib qho xwm txheej rau Google Calendar thaum twg lub tub rau khoom 1 lossis tub rau khoom 2 tsis muaj dab tsi lossis Khaub Ncaws Hnab puv lawm. Cov hauv qab no yog cov kauj ruam rau kev tsim Tus Nqi:
1. Kev Tshawb Nrhiav Kev pabcuam Gmail, Google Calender thiab Kev Ceeb Toom
2. Tom qab ntawd koj tuaj yeem xaiv los ntawm rub cov ntawv qhia zaub mov, xws li email lossis nrawm ntxiv cov xwm txheej lossis xa ntawv ceeb toom los ntawm IFTTT app
3. Tom qab ntawd Apllets tau npaj tiav, cov ntawv ntxiv tuaj yeem ntxiv tau raws li koj txoj haujlwm rau email, xwm txheej ot ceeb toom los ntawm IFTTT appl
Kauj Ruam 13: Xeem
Tam sim no peb sim peb cov tshuab ntxhua khaub ncaws. Raws li tau piav qhia Email, lossis Kev tshwm sim hauv Daim Ntawv Ntxiv nrog rau Kev ceeb toom yuav tau txais los ntawm cov neeg siv thaum twg ib qho ntawm Cov Khaub Ncaws yuav luag tas lossis Cov Khaub Ncaws Hnab yuav luag tag nrho.
Txawm li cas los xij peb pom qhov teeb meem nrog ncua sijhawm tau txais Email lossis Google Calender thiab IFTTT tsuas yog xa email lossis xwm txheej txawm hais tias ob qho tib si tub rau khoom 1 thiab 2 nrog rau Lub Hnab Khaub Ncaws tau tshwm sim. Tsis tas li ntawd tsis muaj kev ncua sijhawm tseem ceeb hauv IFTTT App hauv kev tshaj tawm. Raws li qhia hauv daim duab tag nrho peb qhov kev ceeb toom tau txais nyob ib puag ncig tib lub sijhawm. Yog li peb pom zoo kom siv IFTTT app los siv rau cov txheej txheem zoo li no kom txo qis kev ncua.
Kauj Ruam 14: Siv Zapier Service
Txij li thaum peb ntsib teeb meem hauv IFTTT qhov twg peb muaj qhov ncua sij hawm tseem ceeb thiab tsuas yog tau txais ib qho kev ceeb toom (xws li Gmail lossis Google daim ntawv qhia hnub) qhov twg txhua lub tub rau khoom thiab lub hnab ntxhua khaub ncaws tau tshwm sim. Qhov teeb meem tau sab laj rau Adafruit thiab lawv tau hais kom siv Zapier. Txhawm rau siv Zapier koj yuav tsum raug caw tuaj koom txij li kev sib txuas nrog Adafruit IO tseem tab tom sim theem (tam sim no muaj tsawg dua 10 tus neeg siv nquag). Los ntawm kev xa tawm peb tuaj yeem tau txais ob qho email thiab Google daim ntawv qhia hnub nyob rau hauv 5 feeb (txhua 5 feeb Zapier kuaj xyuas yog tias tus nqi tshiab hauv kev saib xyuas tau tshwm sim, yog tias yog applet khiav). Ib qho ntxiv, muaj keeb kwm ua haujlwm uas peb tuaj yeem saib xyuas qhov tshwm sim los ntawm Adafruit rau Gmail thiab Google daim ntawv qhia hnub.
Yeej nws yog tib lub hauv paus ntsiab lus nrog IFTTT, qhov uas koj xav tau teeb tsa los ntawm Adafruit, tom qab uas teeb tsa cov khoom noj los ntawm koj lub dashboard hauv qhov no txawm tias tub rau khoom 1, tub rau khoom 2 lossis hnab ntxhua khaub ncaws. Kev sib raug zoo tau teeb tsa hauv lim teeb thiab qhov xwm txheej uas peb teeb tsa ntau dua 6 rau tub rau khoom thiab tsawg dua 5 rau ntxhua khaub ncaws rov qab. Thaum kawg teeb tsa qhov kev txiav txim seb puas yuav xa email los ntawm Gmail lossis ntxiv qhov xwm txheej sai.
Kauj Ruam 15: Tiggering Cov Txheej Txheem Los Ntawm IFTTT Qib
Lub kaw lus tseem tuaj yeem tshwm sim los ntawm IFTTT, qhov khoom siv rau tus neeg siv nrog qib ntawm kev siv tshuab. Txhawm rau ua qhov ntawd peb tab tom tsim ob lub applets ntxiv rau txhua lub sensor- ib qho uas tig rau lub sensor thiab qhov thib ob uas tau tig nws tawm.
Tig rau applet
Trigger (Yog)
- Hauv Tshawb nrhiav qhov rai hom: Cov Ntaub Ntawv & Sijhawm.
- Xaiv qhov kev xaiv: Txhua hnub ntawm.
- Teeb tus nqi rau lub sijhawm xav tau (hauv qhov piv txwv no 9:00 teev tsaus ntuj).
Kev Ua (Tom Qab)
- Hauv Tshawb nrhiav cov kev pabcuam qhov rai hom Adafruit IO.
- Daim ntawv lo-lub npe ntawm ON/OFF pub.
- Tus nqi: Nyob
Sau daim ntawv npe Applet nrog lub npe applet thiab ntxiv cov lus piav qhia Applet luv. Click Txuag thiab qhib lub applet.
Tua tawm applet
Clone koj ntawm applet thiab hloov pauv:
- Ntu lus ntu: Lub sijhawm tus nqi mus rau 15 feeb tom qab (piv txwv li 9:15 teev tsaus ntuj).
- Nqe kev nqis tes: Tus nqi: OFF.
Nyem Txuag thiab qhib lub applet.
Tib txoj hauv kev tsim applets rau tus so ntawm cov ntsuas. Nco ntsoov- kom tau txais kev ceeb toom los ntawm txhua lub ntsuas pa, tsis yog tsuas yog nyeem ntawv dashboard, ob lub ntsuas hluav taws xob yuav tsum tsis txhob tshwm sim tib lub sijhawm (lub ntsiab lus tub rau khoom 1 tshwm sim- 9: 00-9: 15 teev tsaus ntuj, tub rau khoom 2- 9: 15-9: 30 teev tsaus ntuj, Ntxhua khaub ncaws baf- 9: 30-9: 45 PM).
Kauj Ruam 16: Yav Tom Ntej Yav Tom Ntej: Kev tsim khoom ntawm cov khoom lag luam
IoT cov cuab yeej tsim los ntawm no tuaj yeem tsim tau yooj yim hauv ntau thiab muag rau cov tuam txhab muag cov tsev ntse. Nws yog cov khoom siv muaj txiaj ntsig zoo rau cov tib neeg uas muaj sijhawm tsis khoom lossis hauv cov tsev loj uas muaj coob tus neeg thiab chav nyob. Hauv qhov no, lub dashboard tuaj yeem suav nrog cov ntaub ntawv los ntawm txhua chav ntawm txhua tus neeg thiab yog li ua rau lawv lub neej yooj yim dua. Raws li qhov no yog wireless tag thiab yog li tuaj yeem yooj yim ntsuas rau txhua tus tub rau khoom xav tau.
Kauj Ruam 17: Cov Teeb Meem Uas Koj Yuav Tsum Pom
1. koj yuav pom koj tus lej ultrasonic muab qhov txiaj ntsig tsis raug. Nws vim tias koj lub zog yuav tsis yog 5V. Qhov nyab xeeb tshaj plaws yog siv roj teeb 9V thiab siv Potentiometers.
2. Ua kom ntseeg tau tias hauv av zoo ib yam rau lub sensor thiab ESP, lwm qhov koj lub cev tag nrho yuav tsis ua haujlwm.
Kauj Ruam 18: Mus Rau Qhov Kawg…
Lub tshuab ntxhua khaub ncaws no yog lub tswv yim tshiab. Tseem tsis muaj cov khoom lag luam zoo li qhov no hauv khw. Yog li yog tias koj xav tau nws hauv koj lub tsev, koj yuav tsum tsim nws tus kheej. Peb vam tias koj nkag siab cov lus qhia. Nws tsuas yog cov ntsiab lus ntawm IoT thiab cov tshuab hluav taws xob.
Cov kab ke no yooj yim heev rau siv. Txawm li cas los xij, nws muaj cov txheej txheem ntawm kev siv. Cov khaub ncaws hauv lub thoob yuav tsum khaws cia kom khov, txwv tsis pub lub ntsuas phoo tsuas yog hnov qhov tsis raug. Nws tsis pom zoo siv qhov no rau khaub ncaws lub caij ntuj no hauv cov tub rau khoom me, vim tias jakets hnyav heev thiab tshem tawm ib lossis ob lub tsho yuav txhais tau tias lub tub rau khoom tsis muaj dab tsi. Uas yuav tsis muaj txiaj ntsig zoo.
Thaum peb ua haujlwm peb siv cov hauv qab no, uas tuaj yeem muaj txiaj ntsig zoo rau kev nkag siab tob dua ntawm qhov haujlwm:
learn.adafruit.com/mqtt-adafruit-io-and-yo…
www.instructables.com/id/Distance-Measurem…
Pom zoo:
Khaub Ncaws Ntxhua Khaub Ncaws/Tshuab Ziab Khaub Ncaws Nrog ESP8266 & Kev Ceev Ceev: 6 Kauj Ruam
Khaub Ncaws Ntxhua Khaub Ncaws/Tshuab Ziab Khaub Ncaws Nrog ESP8266 & Kev Ua Haujlwm nrawm: Cov khaub ncaws ntxhua khaub ncaws/tshuab ziab khaub ncaws nyob hauv qab daus, thiab koj, raws li txoj cai, muab cov khaub ncaws tso rau hauv thiab tom qab ntawd, koj dhau los ua haujlwm hauv koj lwm lub tsev ua haujlwm. Koj tsis quav ntsej cov khaub ncaws uas tau tawm hws thiab nqus hauv qab daus ntawm koj lub tshuab
Cov Khaub Ncaws Khaub Ncaws Jelly Donuts - Kev Taw Qhia rau Xaws Cov Khaub Ncaws Nrog Makey Makey: 4 Cov Kauj Ruam (nrog Duab)
Cov Khaub Ncaws Khaub Ncaws Khaub Ncaws - Kev Taw Qhia rau Xaws Cov Khaub Ncaws Nrog Makey Makey: Peb pom hauv Twitter tias ntau ntawm peb Cov Khaub Ncaws thiab Makey Makey cov neeg ntxeev siab xav paub ntau ntxiv txog kev xaws khaub ncaws, yog li peb tau tsim qhov kev qhia no kom qhia rau koj sai ntawm kev xaws khaub ncaws thiab yuav ua li cas koj tuaj yeem xaws qee cov khoom sib dhos. (Qhov no yog
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: 5 Cov Kauj Ruam (nrog Duab)
Lus Ceeb Toom Arduino Tshuab Ntxhua Khaub Ncaws - Thawb Ceeb Toom rau Xov Tooj Nrog Blynk: Peb lub tshuab ntxhua khaub ncaws nyob hauv lub nkas -las thiab peb tsis hnov lub suab nrov nrov los qhia tias ntxuav tas lawm. Kuv xav nrhiav txoj hauv kev kom tau txais kev ceeb toom, txhua qhov chaw peb nyob hauv tsev, thaum lub voj voog tiav lawm. Kuv tau tinkering nrog Arduino, ESP8266 WiFi
Cov Khaub Ncaws Khaub Ncaws: Ua Cov Khaub Ncaws Yooj Yim Siv Lub Tshuab Luam Ntawv: 4 Cov Kauj Ruam (nrog Duab)
Cov Khaub Ncaws Khaub Ncaws: Ua Cov Khaub Ncaws Yooj Yim Siv Lub Tshuab Luam Ntawv Inkjet: Tsis yooj yim heev thiab yuav luag txhua lub voj voos tuaj yeem ua tau siv cov ntaub qhwv. Nov yog qee qhov kev sim uas kuv tau ua nrog cov ntaub coj ua. Lawv tuaj yeem pleev xim lossis kos rau ntawm kev tawm tsam thiab tom qab ntawd kos ib yam li cov txheej txheem txheej txheem txheej txheem. C
Cov Khaub Ncaws Khaub Ncaws Khaub Ncaws: 6 Kauj Ruam (nrog Duab)
Cov Khaub Ncaws Khaub Ncaws Khaub Ncaws: Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws: Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws: Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Khaub Ncaws Lub khoos phis tawj tau txuas nrog Arduino uas txuas nrog qee qhov ntsuas. Nov yog cov ntaub ntawv muaj tseeb