Cov txheej txheem:

Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK: 5 Kauj Ruam
Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK: 5 Kauj Ruam

Video: Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK: 5 Kauj Ruam

Video: Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK: 5 Kauj Ruam
Video: Tshuaj theem vim li cas thiaj tau nqi ?/ Siv kho mob dab tsi?/paris polyphylla use for? 2024, Kaum ib hlis
Anonim
Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK
Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK
Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK
Kev Ntsuas Kub thiab Vaum Siv NODE MCU THIAB BLYNK

Nyob Zoo Cov

Hauv cov lus qhia no qhia rau peb kawm paub yuav ua li cas thiaj li tau txais qhov kub thiab txias ntawm huab cua siv DHT11-Kub thiab Vaum ntsuas siv Node MCU thiab BLYNK app.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

Cheeb Tsam Yuav Tsum Tau
Cheeb Tsam Yuav Tsum Tau
Cheeb Tsam Yuav Tsum Tau
Cheeb Tsam Yuav Tsum Tau
Cheeb Tsam Yuav Tsum Tau
Cheeb Tsam Yuav Tsum Tau

Kho vajtse:

  1. Node MCU Micro Controller
  2. DHT11 sensor (Kub thiab av noo)
  3. Poj niam rau Poj Niam jumper xov hlau (3 nos)

Software:

  1. Arduino IDE Cov
  2. BLYNK Android App

Kauj Ruam 2: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Txuas GPIO15 tus pin (D8) mus rau "S" tus pin (tus lej cim) ntawm DHT11

txuas VCC rau tus pin nruab nrab ntawm DHT11

txuas GND rau " -" tus pin ntawm DHT1

Kauj Ruam 3: Txoj Cai

Tshaj Tawm Cov Cai Hauv qab no (DTH11blynk.ino) uas kuv tau txuas rau koj ntawm Node MCU.

Ua ntej ntawd, yog tias koj tsis muaj NODE MCU thiab Blynk Libraries.

Ua raws cov theem no txhawm rau ntxiv lawv ua ntej.

Kauj ruam 1: nyem qhov txuas sib cais

BLYNK LIBRARY Rau Blynk

github.com/esp8266/Arduino.git Rau Node MCU

DHT sensor Library rau DHT sensors

SimpleTime Library rau SimpleTime.h

zip cov ntaub ntawv yuav raug rub tawm. (Rau Node mcu nyem rau Clone lossis rub lub pob thiab rub cov ntawv zip)

Kauj ruam 2: qhib Sketch -> Tsev qiv ntawv -> Ntxiv zip tsev qiv ntawv -> lub qhov rai tshiab yuav tshwm sim

Kauj ruam 3: tshawb nrhiav lub tsev qiv ntawv rub tawm thiab nyem qhib. Qhov tsev qiv ntawv yuav raug ntxiv.

Kauj ruam 4: Blynk App

App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
  1. Nkag mus nrog Gmail
  2. Nyem tsim qhov haujlwm tshiab Hom phiaj xwm lub npe thiab Xaiv ntawm pawg tswj hwm MCU
  3. Tus sau token yuav raug xa mus rau koj li Gmail.
  4. Nyem rau ntawm + icon hauv lub qhov rai tshiab thiab Xaiv "Gauge"

    1. Nyem rau ntawm Qhov Ntsuas,
    2. Teeb tus pin li V0 (Tus lej tus lej) thiab Npe ua TEMPERATURE.
    3. Teem tus nqi nyeem ntawv rau 1 SEC
  5. Ntxiv dua lwm qhov Kev Ntsuas

    1. Teeb tus pin li V1 (Tus lej tus lej) thiab Npe ua HUMIDITY.
    2. Teem tus nqi nyeem ntawv rau 1 SEC
  6. Nyem rau lub pob rov qab thiab koj Blynk App yuav npaj tau.
  7. Hloov ntawm koj li Mobile Hot spot.
  8. Khaws Cov Ntaub Ntawv (Internet) ON hauv koj lub xov tooj.
  9. Nyem rau ntawm Play button ntawm Project widowNow,
  10. Nyem rau ntawm Board icon nyob rau sab saum toj.
  11. Koj Node MCU yuav txuas nrog koj Lub Xov Tooj.

Kauj ruam 5: Nws Ua Haujlwm !

Nws Ua Haujlwm !!!
Nws Ua Haujlwm !!!
Nws Ua Haujlwm !!!
Nws Ua Haujlwm !!!

Qhib ON mobile Hotspot ntawm koj lub xov tooj.

tos 1 feeb rau Node mcu txuas rau koj Lub Xov Tooj

qhib blynk app thiab koj tuaj yeem pom cov kwj tawm ntawm Kub thiab Vaum qhov tseem ceeb hauv koj lub xov tooj.

Pom zoo: