Cov txheej txheem:

Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor: 9 Kauj Ruam
Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor: 9 Kauj Ruam

Video: Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor: 9 Kauj Ruam

Video: Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor: 9 Kauj Ruam
Video: Tsim lauj- kuv tseem ceeb thaum koj mob siab nkauj tawm tshiab [ Official music Audio ] 2021 2024, Hlis ntuj nqeg
Anonim
Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor
Tsim-Ceeb Toom-Siv-Ubidots-ESP32+Temp and Humidity Sensor

Hauv qhov kev qhia no, peb yuav ntsuas qhov sib txawv ntawm qhov kub thiab txias cov ntaub ntawv siv Temp thiab humidity sensor. Koj tseem yuav kawm paub yuav xa cov ntaub ntawv no mus rau Ubidots li cas. Yog li koj tuaj yeem txheeb xyuas nws los ntawm txhua qhov chaw rau daim ntawv thov sib txawv. Tsis tas li los ntawm kev tsim email ceeb toom rau qhov sib txawv ntawm qhov kub thiab txias cov ntaub ntawv peb tuaj yeem ceeb toom txog ntau yam kev hloov pauv tshwm sim ntawm ib qho system kub

Kauj ruam 1: Kho vajtse thiab Software xav tau

Yuav tsum tau kho vajtse:

  • NCD ESP32 IoT WiFi BLE Module nrog Kev Sib Txuas USB
  • NCD IoT Ntev Ntau Yam Wireless Kub thiab Vaum Sensor
  • NCD Ntev Ntau Yam Wireless Mesh Modem nrog USB Interface

Yuav tsum tau Software:

  • Arduino IDE Cov
  • LabView Utility
  • Ubidots

Tsev qiv ntawv siv:

  • PubSubClient Library
  • Hlau.h

Kauj Ruam 2: Cov Kauj Ruam Xa Cov Ntaub Ntawv mus rau LabVIEW Kub thiab Vaum Platform Siv IoT Ntev Ntau Wireless Wireless Kub thiab Vaum Sensor thiab Ntev Ntau Wireless Mesh Modem Nrog USB Interface-

  • Ua ntej, peb xav tau Labview cov ntawv thov siv uas yog ncd.io Wireless Kub Thiab Vaum Sensor.exe cov ntaub ntawv uas tuaj yeem saib.
  • Qhov Labview software no yuav ua haujlwm nrog ncd.io wireless Kub Kub sensor nkaus xwb
  • Txhawm rau siv UI no, koj yuav tsum teeb tsa cov tsav tsheb hauv qab no Nruab lub sijhawm ua haujlwm cav ntawm no 64 ntsis
  • 32 bit ib
  • Nruab NI Visa Tsav Tsheb
  • Nruab l LabVIEW Run-Time Engine thiab NI-Serial Runtime
  • Pib qhia rau cov khoom no.

Kauj Ruam 3: Tshaj Tawm Txoj Cai rau ESP32 Siv Arduino IDE:

  • Rub tawm thiab suav nrog PubSubClient Library thiab Wire.h Library.
  • Koj yuav tsum muab koj tus kheej tshwj xeeb Ubidots TOKEN, MQTTCLIENTNAME, SSID (WiFi Lub Npe) thiab Lo lus zais ntawm lub network muaj.
  • Sau thiab xa cov cai temp_humidity.ino.
  • Txhawm rau txheeb xyuas qhov kev sib txuas ntawm lub cuab yeej thiab cov ntaub ntawv xa mus, qhib cov ntawv saib xyuas. Nco ntsoov tias tus nqi baud ntawm Serial monitor tau teeb tsa rau tib qho uas tau teev tseg hauv koj tus lej 115200.

Kauj ruam 4: Serial Monitor Output

Serial Monitor Output
Serial Monitor Output

Kauj Ruam 5: Ua Ubidot Ua Haujlwm:

Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
Ua Ubidot Ua Haujlwm
  • Tsim tus as khauj ntawm Ubidots.
  • Mus rau kuv qhov profile thiab sau cia tus cim token uas yog tus yuam sij tshwj xeeb rau txhua tus as khauj thiab muab nws tso rau koj tus lej ESP32 ua ntej rub tawm.
  • Ntxiv ib lub cuab yeej tshiab rau koj lub Ubidots dashboard lub npe esp32.
  • Nyem rau ntawm cov cuab yeej thiab xaiv cov cuab yeej hauv Ubidots.
  • Tam sim no koj yuav tsum pom cov ntaub ntawv tshaj tawm hauv koj tus lej Ubidots, sab hauv lub cuab yeej hu ua "ESP32".
  • Sab hauv lub cuab yeej tsim qhov hloov pauv lub npe tshiab uas koj qhov ntsuas kub yuav pom.
  • Tam sim no koj tuaj yeem saib Qhov Kub thiab lwm yam ntaub ntawv ntsuas uas tau pom yav dhau los hauv cov ntawv saib. Qhov no tau tshwm sim vim tias tus nqi ntawm kev nyeem ntawv sib txawv tau dhau los ua txoj hlua thiab khaws cia hauv qhov sib txawv thiab tshaj tawm rau qhov sib txawv sab hauv ntaus ntawv esp32.

Kauj Ruam 6: NTUJ

OUTPUT
OUTPUT

Kauj ruam 7:

Kauj Ruam 8: Tsim Cov Txheej Txheem hauv Ubidots:

Tsim Cov Txheej Txheem hauv Ubidots
Tsim Cov Txheej Txheem hauv Ubidots
Tsim Cov Txheej Txheem hauv Ubidots
Tsim Cov Txheej Txheem hauv Ubidots
Tsim Cov Txheej Txheem hauv Ubidots
Tsim Cov Txheej Txheem hauv Ubidots
  • Xaiv Cov Txheej Txheem (los ntawm Cov Ntaub Ntawv tso tawm).
  • Tam sim no nyem rau Tsim Tsim.
  • Hom Txheej TxheemUbidots txhawb nqa cov xwm txheej sib koom ua ke tso cai rau koj xa Cov Txheej Txheem, Kev Ceeb Toom, thiab Kev Ceeb Toom rau cov uas xav paub thaum lawv xav paub. Ubidots 'kev sib koom ua ke ua ntej suav nrog:

1. Email ceeb toom

2. SMS ceeb toom

3. Webhook cov xwm txheej - kawm paub ntau ntxiv

4. Telegram ceeb toom

5. Cov ntawv ceeb toom qeeb - kawm paub ntau ntxiv

6. Lub suab hu ceeb toom - kawm paub ntau ntxiv

7. Rov qab mus rau Kev ceeb toom ib txwm muaj - kawm paub ntau ntxiv

8. Geofence ceeb toom - kawm paub ntau ntxiv

  • Tom qab ntawd xaiv lub cuab yeej thiab koom nrog qhov sib txawv uas qhia txog cov cuab yeej "qhov tseem ceeb".
  • Tam sim no xaiv tus nqi pib rau koj qhov kev tshwm sim los ua kom zoo thiab sib piv nws rau cov cuab yeej muaj txiaj ntsig thiab tseem xaiv lub sijhawm los ua rau koj qhov xwm txheej.
  • Tam sim no, tsim hom kev ua los ntawm nias ntxiv rau kos npe.
  • Tsim thiab teeb tsa cov haujlwm uas yuav tsum ua thiab cov lus rau tus txais: Xa SMS, Email, Webhooks, Telegrams, Hu Xov Tooj, SLACK, thiab webhooks rau cov uas xav paub.
  • Tam sim no sau tag nrho cov yuav tsum tau teb.
  • Txiav txim siab lub qhov rai ua haujlwm cov xwm txheej yuav/tsis tuaj yeem ua.
  • Paub meej tias koj Cov Txheej Txheem.

Pom zoo: