Cov txheej txheem:

IoT Weather Station Siv Blynk Daim Ntawv Thov: 5 Kauj Ruam
IoT Weather Station Siv Blynk Daim Ntawv Thov: 5 Kauj Ruam

Video: IoT Weather Station Siv Blynk Daim Ntawv Thov: 5 Kauj Ruam

Video: IoT Weather Station Siv Blynk Daim Ntawv Thov: 5 Kauj Ruam
Video: IOT weather station using DHT11 | DIY | Blynk 2024, Kaum ib hlis
Anonim
Image
Image
Cov Khoom Kho Vajtse thiab Kev Sib Txuas
Cov Khoom Kho Vajtse thiab Kev Sib Txuas

Txoj haujlwm no cuam tshuam nrog thawj kauj ruam hauv IoT ntiaj teb, ntawm no peb yuav cuam tshuam DHT11/DHT22 sensor nrog NodeMCU lossis lwm yam ESP8266 raws pawg thawj coj thiab tau txais cov ntaub ntawv hauv internet peb yuav siv Blynk daim ntawv thov, siv cov lus qhia txuas hauv qab no yog tias koj tsis paub blynk daim ntawv thov.

Rau Blynk (nws xav tau tsuas yog ob peb feeb):

Tom qab qhov no koj yuav tsum tau ntxiv esp8266 cov laug cam hauv koj li Arduino IDE software, siv txuas hauv qab no

Txhawm rau ntxiv esp8266 cov laug cam hauv Arduino IDE software:

lossis koj tuaj yeem nrhiav lwm yam kev qhia yooj yim rau ob kauj ruam no.

Kauj Ruam 1: Cov Khoom Kho Vajtse thiab Kev Sib Txuas

Cov Khoom Kho Vajtse thiab Kev Sib Txuas
Cov Khoom Kho Vajtse thiab Kev Sib Txuas
Cov Khoom Kho Vajtse thiab Kev Sib Txuas
Cov Khoom Kho Vajtse thiab Kev Sib Txuas

Muaj kev sib txuas kho vajtse yooj yim, koj yuav tsis cuam tshuam nrog kev sib txuas tsis zoo,

Cheebtsam:

1. DHT11 lossis DHT22

2. NodeMCU

3. 5V mov (micro USB cable lossis koj tuaj yeem siv Vin tus pin ntawm nodemcu rau cov khoom siv xa khoom)

4. Qee cov jumper cables

Kev Sib Txuas:

Siv cov duab hauv qab no kom nkag siab zoo txog kev txuas.

Txuas cov ntaub ntawv/teeb liab tus pin ntawm DHT sensor rau ib qho GPIO ntawm nodeMCU, tus lej tus lej tib yam koj yuav tau hais hauv koj tus lej.

Kauj ruam 2: Blynk Project

Txheeb tawm cov vis dis aus txuas thiab ua raws cov theem

1. Tsim txoj haujlwm Blynk tshiab, luam nws daim ntawv tso cai tso cai koj tau txais thiab ntxiv ob qho "Gauge" los ntawm lub thawv ntim khoom.

2. Nyem rau ntawm ib qho ntawm cov cuab yeej ntxiv tshiab, xaiv tus pin virtual V5 thiab sau nws li "Kub", zoo ib yam xaiv tus pin virtual V6 rau tus thib ob widget thiab sau nws li "Vaum". Teeb tus nqi tso tawm ntau rau ob lub cuab yeej no los ntawm 0 txog 100.

Lwm cov ntsiab lus tuaj yeem pom hauv video.

Kauj Ruam 3: Program Koj Pawg Thawj Coj

Ua ntej koj yuav tsum suav nrog Blynk (rub tawm lub tsev qiv ntawv tshiab los ntawm blynk lub vev xaib raug cai) thiab DHT lub tsev qiv ntawv hauv koj li Arduino IDE software, rub tawm cov ntawv txuas thiab ntxiv rau hauv koj li Arduino IDE lub tsev qiv ntawv tais ceev tseg lossis xijpeem txheej txheem koj siv rau kev ntxiv cov tsev qiv ntawv.

Tom qab ntxiv cov tsev qiv ntawv, luam cov cai hauv qab no thiab ua haujlwm rau koj NodeMCU (Kuv paub koj yog tus kws tshaj lij hauv nws)

Tos !!!!!!!! tos thov, ua ntej kev teeb tsa koj li nodeMCU, yuav tsum ntxiv koj li blynk project token thiab lub zos Wi-nkaus router cov ntaub ntawv pov thawj hauv koj li kev cai, hmoov zoo.

Kauj Ruam 4: Txheeb Xyuas Cov Ntaub Ntawv Sensor ntawm Blynk Daim Ntawv Thov

Xyuas kom tseeb tias koj NODEmcu tau ua haujlwm, koj lub Blynk qhov rai qhov project tiav (koj tau txhais cov virual pins rau ob qho khoom siv) thiab koj lub khoos phis tawj tau npaj tiav. Tam sim no txuas koj lub xov tooj ntawm tes WiFi thiab mus nyob nrog koj daim ntawv thov blynk (txheeb xyuas cov vis dis aus), ntawm no koj tuaj yeem pom qhov ntsuas kub thiab av noo tso tawm los ntawm koj cov cuab yeej.

Kauj Ruam 5: Koj Qhov Tseeb Xav Tau

Vam tias txoj haujlwm no yuav ua rau koj lil thawb hauv IoT ntiaj teb, tsis txhob hnov qab qhia koj cov lus thiab sau npe yuav peb cov channel youtube rau kev txhawb nqa.

Ua Tsaug:)

Pom zoo: