Cov txheej txheem:

Kev Saib Xyuas Kub Kub Tej Zaum: 7 Kauj Ruam (nrog Duab)
Kev Saib Xyuas Kub Kub Tej Zaum: 7 Kauj Ruam (nrog Duab)

Video: Kev Saib Xyuas Kub Kub Tej Zaum: 7 Kauj Ruam (nrog Duab)

Video: Kev Saib Xyuas Kub Kub Tej Zaum: 7 Kauj Ruam (nrog Duab)
Video: Npau Suav li no Txhob coj mus tham qhia luag lwm tus 2024, Kaum ib hlis
Anonim
Kev Saib Xyuas Kub Kub
Kev Saib Xyuas Kub Kub

Txoj haujlwm no yuav qhia koj yuav ua li cas txhawm rau ntsuas qhov ntsuas kub nyob deb siv Phidgets. Cov kab ke no feem ntau siv los ua kom pom qhov kub ntawm qhov chaw nyob deb (tsev so, chav server, thiab lwm yam) tsis nyob rau qib txaus ntshai. Cov kab ke no tso cai rau koj teeb tsa qhov ntsuas kub tsawg kawg uas koj nyiam nrog, thiab yog tias qhov kub tau poob qis dua qhov txwv ntawd, yuav xa ntawv ceeb toom mus rau. Qhov kev zov me nyuam tuaj yeem hloov kho yooj yim kom xa cov ntawv ceeb toom yog tias qhov kub tau nce siab, lossis tsuas yog xa cov ntawv ceeb toom txhua hnub, teev, lossis feeb!

Kauj Ruam 1: Xav Tau Txuj Ci

Txhua yam koj xav tau yog qee qhov kev paub pib lub tswv yim rau txoj haujlwm no. Qhov kev zov me nyuam tau sau ua C# tab sis tuaj yeem yooj yim xa mus rau koj hom lus uas koj nyiam!

Kauj ruam 2: Kho vajtse

Kho vajtse
Kho vajtse

Nov yog txhua yam koj xav tau:

VINT Hub Phidget

Kub Phidget

Kauj Ruam 3: Txheej txheem cej luam

Txheej txheem cej luam
Txheej txheem cej luam

Txoj haujlwm no suav nrog TMP1000 txuas nrog VINT Hub uas txuas rau hauv lub khoos phis tawj. Software khiav ntawm lub khoos phis tawj cuam tshuam nrog cov khoom siv hluav taws xob thiab xa ntawv ceeb toom (email lossis ntawv sau) yog tias qhov kub tau qis dua qhov ntsuas kub. Nco tseg: VINT Hub kuj tseem tuaj yeem siv los cuam tshuam nrog cov ntsuas hluav taws xob sib xws, yog li yog tias koj muaj lub ntsuas kub qub qub tso rau ib puag ncig, nco ntsoov siv nws! Yog tias koj tab tom siv lub ntsuas hluav taws xob sib xws, qee qhov kev hloov pauv me me rau cov cai yuav tsim nyog. Tawm lus tawm tswv yim ntxiv.

Kauj ruam 4: Software Txheej Txheem

Software Txheej Txheem
Software Txheej Txheem
Software Txheej Txheem
Software Txheej Txheem
Software Txheej Txheem
Software Txheej Txheem

Nyob rau sab saum toj ntawm daim ntawv qhov ntsuas kub tam sim no tau tshwm sim thiab nws tau hloov kho tshiab txhua 30 feeb. Hauv qab qhov ntsuas kub, muaj qee qhov chaw:

  • Kev Txwv Kub: Yog tias qhov kub tsis tu ncua qis dua tus nqi no ntau dua 5 feeb, tus neeg siv yuav raug ceeb toom. Tom qab ntawv yuav xa email txhua txhua teev kom txog thaum qhov kub nce.
  • Xa Ntawv Ceeb Toom Txog: Qhia tus email chaw nyob uas yuav tsum tau ceeb toom thaum qhov kub poob qis dua qhov pib. Nco tseg: ntau tus muab kev pabcuam wireless muab email rau xaiv cov ntawv, yog li ntawv tuaj yeem xa ncaj qha mus rau lub xov tooj.

Hauv qab Email Chaw tab, muaj ob peb qhov kev xaiv ntxiv:

  • Chaw Nyob Server: Email chaw nyob server. Yog tias koj tsis siv Gmail, kev tshawb nrhiav hauv Google sai yuav ua rau muaj kab lus zoo li no uas yuav pab koj.
  • Username: Tus email koj xav xa ntawv ceeb toom los ntawm. Txog rau txoj haujlwm no kuv tau tsim tus lej Gmail tshiab thiab tso cai tsis muaj kev nyab xeeb rau siv nws.
  • Lo lus zais: Lo lus zais rau tus as khauj.

Tom qab nkag mus rau cov ntaub ntawv rau txhua qhov chaw xav tau, cov xwm txheej nyob rau hauv qab txoj cai kaum ntawm daim ntawv yuav qhia tias qhov haujlwm tau ua. Tom qab ntawd, koj tuaj yeem yooj yim txo qhov program thiab tsis nco qab txog nws!

Kauj ruam 5: Code

Code
Code

Txoj cai rau txoj haujlwm no muaj nyob hauv Cov Ntaub Ntawv TemperatureMonitor.zip. Ua ntej suav qhov program, xyuas kom koj muaj Phidget cov tsev qiv ntawv nruab rau hauv koj lub computer. Koj tuaj yeem pom cov tsev qiv ntawv Phidget ntawm no.

Nov yog qhov kev tshuaj xyuas sai ntawm cov cai:

  • Thaum daim ntawv thauj khoom, tsim Cov Khoom Kub Kub Sensor thiab sau npe yuav xa, tshem tawm, thiab cov xwm txheej yuam kev.
  • Hauv daim ntawv tuav haujlwm, teeb tsa DataInterval rau 30 vib nas this.
  • Hauv qhov xwm txheej daws teeb meem, hloov daim ntawv ntsuas kub thiab kos yog tias qhov ntsuas kub qis dua qhov txwv. Yog tias qhov ntsuas kub qis dua qhov txwv, nce lub txee thiab tawm mus. Yog tias lub txee hais qhia tias qhov kub tau qis dua qhov txwv rau 5 feeb, xa ntawv ceeb toom.
  • Yog tias tau xa ntawv ceeb toom, pib 1 teev sijhawm uas yuav tiv thaiv kev ceeb toom ntxiv los ntawm kev xa mus txog thaum lub sijhawm tau dhau mus.

Kauj Ruam 6: Kev ceeb toom

Kev ceeb toom
Kev ceeb toom

Nov yog qhov piv txwv ntawm email ceeb toom uas tau xa thaum qhov ntsuas kub qis dua 25 ° C txwv ntau dua 5 feeb.

Kauj Ruam 7: Cov lus nug?

Yog tias koj muaj lus nug txog qhov haujlwm, qhia rau peb paub hauv nqe lus hais!

Ua tsaug rau kev nyeem ntawv

Pom zoo: