Cov txheej txheem:

TerraControl V3.0 - ESP8266 + BLYNK: 5 Kauj Ruam (nrog Duab)
TerraControl V3.0 - ESP8266 + BLYNK: 5 Kauj Ruam (nrog Duab)

Video: TerraControl V3.0 - ESP8266 + BLYNK: 5 Kauj Ruam (nrog Duab)

Video: TerraControl V3.0 - ESP8266 + BLYNK: 5 Kauj Ruam (nrog Duab)
Video: NodeMCU V3 ESP8266 - review, connection and firmware flashing in ArduinoIDE 2024, Hlis ntuj nqeg
Anonim
TerraControl V3.0 - ESP8266 + BLYNK
TerraControl V3.0 - ESP8266 + BLYNK

Lus Nug: Koj puas xav paub qhov tshiab siv Wemos D1 mini thiab ob lub DS18 sensor (rau qhov kub thiab txias) thiab DHT22 (rau cov av noo)? Qhia rau kuv paub hauv cov lus. Ua tsaug!

Yog tias koj nyiam txoj haujlwm no, thov VOTE rau nws hauv Kev Sib Tw Wireless … Ua tsaug ntau ntau

Hav guys, tom qab ob peb lub hlis ntawm kev ua si nrog ESP8266 Kuv thaum kawg tau txais qhov tshiab ntawm TerraControl Kuv txaus siab thiab txaus siab qhia rau koj. Qee tus ntawm koj yuav pom tias kuv hla version 2.0… uas yog vim tias cov ntawv ntawd tau siv feem ntau cov cai qub nrog ob peb ntxiv tab sis nws tseem tsis meej li ntuj raug txim. Ua tsaug rau Blynk Kuv tuaj yeem txiav ntau dua 600 kab ntawm txoj cai rau 100 kab ntawm cov lej yooj yim!

Dab tsi hloov?

  • Kev kho me ntsis yog kev sib txuas ntawm lub cev. Feem ntau vim yog lub DHT sensor uas tsis tuaj yeem txuas nrog thaum khau raj hauv qhov qub. Nws tau tag nrho tam sim no thiab tsis muaj kev tsaus ntuj yuav cuam tshuam nrog koj cov chaw.
  • Tsis muaj ESP8266 WebServer. Qhov twg yog qhov zoo, ntseeg kuv ntawm qhov no.
  • Kev tswj hwm tag nrho ntawm Blynk app. Los ntawm txhua qhov chaw hauv ntiaj teb, koj tuaj yeem tswj hwm txhua yam koj xav tau. Kuv paub qhov no yuav zoo li kev tshaj tawm, tab sis kuv tau loj hlob zoo li Blynk.
  • Muaj peev xwm ntau dua - tag nrho tsev neeg txuas nrog thiab tswj tau/saib xyuas ntawm ib lub app.

Kauj Ruam 1: Yam Koj Xav Tau…

Yam Koj Xav Tau …
Yam Koj Xav Tau …
Yam Koj Xav Tau …
Yam Koj Xav Tau …
  • NodeMCU 1.0 12E board - $ 3.32
  • Relay board - piv txwv li - $ 5.90
  • Kub thiab av noo ntsuas DHT22 (11) - $ 2.87
  • Muab qhov xwm txheej ntawm NodeMCU pawg thawj coj (nws cov zis tsuas yog 3.3v) koj yuav yog yuav tsum tau 3.3V relay board (hauv qhov txuas saum toj no), lossis hloov 5v board, lossis yuav I2C logic converter module - piv txwv - $ 0.9
  • 5V qhov chaw (Kuv siv lub qub usb charger)
  • xov hlau
  • laug
  • lub thawv/thawv
  • Arduino IDE Cov

Kev sib txuas NodeMCU

DHT22/11 tus lej pin D6

relayLight D1relayHeat D2relayHeat2 D5relayFan D9 (RX tus pin ntawm NodeMCU)

Koj yuav tsum tau ua kom muaj zog cov qauv raws li lawv qhov tshwj xeeb. Yog tias koj siv 3.3v relay board, koj tuaj yeem siv lub zog ncaj los ntawm NodeMCU, txwv tsis pub koj yuav tsum siv sab nraud 5V.

Kuv siv kuv qhov qub thiab cov ntaub ntawv, tsuas yog xav tau hloov ob lub xov hlau …

Kauj ruam 2: Blynk Teeb

Blynk Teeb
Blynk Teeb
Blynk teeb tsa
Blynk teeb tsa
Blynk Teeb
Blynk Teeb
Blynk teeb tsa
Blynk teeb tsa

Rau cov uas tsis paub tias Blynk yog dab tsi, nws yog Platform nrog iOS thiab Android apps los tswj Arduino, Raspberry Pi thiab nyiam hauv Is Taws Nem. Nws yog lub digital dashboard uas koj tuaj yeem tsim cov duab nraaj rau koj txoj haujlwm los ntawm kev yooj yim rub thiab nqis cov cuab yeej. Koj yuav xav tau yuav qee lub zog hauv Blynk app tab sis kuv xav tias $ 4-5 yog tus nqi zoo rau txoj haujlwm zoo li no.

Cia peb pib ntawm Andorid ntaus ntawv (iOS version tsis tso cai ntxiv cov widget lossis kho cov xwm txheej Eventor tseem tsis tau):

  • Rub tawm Blynk app
  • Sau npe lossis nkag mus (yog tias koj twb muaj tus as khauj lawm)
  • Coj mus rhaub "+" los tsim Txoj Haujlwm Tshiab Muab txoj haujlwm lub npe thiab xaiv cov cuab yeej koj siv (hauv peb qhov xwm txheej nws yog ESP8266) thiab coj mus rhaub "Tsim" Koj yuav tau txais daim ntawv lees paub token hauv koj lub npov xa ntawv, peb yuav xav tau nws tom qab
  • Ntawm nplooj ntawv Blynk Project kais "+" thiab ntxiv:

    • 4 nyees khawm
    • 4 LEDs
    • 2 (daim ntawv lo) qhia
    • Sijhawm Tiag
    • Kev ceeb toom
    • Eventor
    • Keeb Kwm Graph (xaiv tau)
  • Siv cov cuab yeej teeb tsa raws li pom ntawm daim duab kawg (yog tias koj teeb tsa nws txawv koj yuav xav hloov kho txoj cai)
  • Hauv qhov haujlwm teeb tsa (lub cim txiv ntoo nyob rau sab saud) "Xa app txuas nrog cov lus txib" rau ON.
  • Kaw qhov chaw thiab qhib Eventor

Kauj ruam 3: Eventor

Eventor
Eventor

Cia peb txuas ntxiv nrog tsim Eventor cov xwm txheej…

Thawj teeb teeb tswj:

  • Ntxiv qhov kev tshwm sim tshiab

    Thaum twg… SIJHAWM (xaiv lub sijhawm thaum koj xav kom lub teeb tig rau) teeb tus pin… (V10) rau 1

  • Ntxiv qhov kev tshwm sim tshiab

    Thaum twg… SIJHAWM (xaiv sijhawm thaum koj xav kom lub teeb tig tua) teeb tus pin… (V10) rau 0

Tam sim no Kev Tswj Kub Kub

  • Ntxiv qhov kev tshwm sim tshiab

    Thaum Kub V8 qis dua 30 teeb tus pin… (V11) rau 1

  • Ntxiv qhov kev tshwm sim tshiab

    Thaum Kub V8 siab dua lossis sib npaug dua 30 teeb tus pin… (V11) txog 0

Thaum koj ua tiav, kaw Eventor thiab ntaus lub pob ua si ntawm koj qhov project.

Kuv vam tias koj tau txais lub tswv yim. Yog tias koj pib ua si nrog Eventor koj yuav pom ntau txoj hauv kev thiab kev xaiv. Hauv kev teeb tsa tam sim no, Lub Teeb thiab Cua sov yog siv thiab Heat2 thiab Ntxuam tswj tau los ntawm tus kheej, tab sis tag nrho plaub lub ntsej muag tuaj yeem tswj tau yooj yim los ntawm kev thawb lub pob thiab nws yuav hla koj li kev teeb tsa tam sim no kom txog rau thaum cov xwm txheej tom ntej tau ntsib.

Kauj ruam 4: Txoj Cai

Txoj Cai
Txoj Cai

Txuas koj lub rooj tsav xwm mus rau lub khoos phis tawj hluav taws kom txog Arduino IDE, qhib qhov chaws thiab cia saib sai sai …

Tsev qiv ntawv

Koj yuav tsum rub peb lub tsev qiv ntawv kom tau txais txoj cai ua haujlwm:

ESP8266WiFi.hDHT.hBlynkSimpleEsp8266.h (los ntawm Blynk lub tsev qiv ntawv)

Chaw (hloov pauv rau koj tus kheej xav tau)

const char ssid = "Koj li WIFI SSID"; const char pass = "Koj li WIFI PASSWORD"; char auth = "Koj li BLYNK PROJECT TOKEN"; (koj yuav tau txais qhov no hauv e-mail tom qab tsim txoj haujlwm hauv Blynk app)

Qhov ntawd yog nws! Koj tuaj yeem xa cov cai thiab tshawb xyuas hauv koj lub xov tooj tias nws tau txuas nrog.

Txog kev tshaj tawm tag nrho kuv tseem siv cov xeev tsis sib xws rau kev xa tawm 3 & 4 (Heat2 & Fan) los ntawm thawj version. Saib daim duab. Thaum tshav kub kub muaj lub xeev HIGH thaum khawm Blynk yog ON, LOW thaum OFF. Cov cua sov 2 muaj cov xeev sib txawv.

Kauj ruam 5: Ua haujlwm …? Zoo kawg

Ua haujlwm …? Zoo kawg!
Ua haujlwm …? Zoo kawg!
Ua haujlwm …? Zoo kawg!
Ua haujlwm …? Zoo kawg!

Tej zaum koj tuaj yeem daws qhov kev daws teeb meem zoo dua ntawm kev siv Eventor. Txhawm rau qhia meej txog kev siv LED cov cuab yeej: Thaum koj nias lub pob lossis Tus Txheej Txheem xa qhov kev hloov pauv, tus lej yuav xub hloov pauv mus rau lub xeev xav tau thiab tom qab ntawd tua hluav taws xob sau kom tig LED sib xws ON/OFF. Txoj hauv kev no koj ib txwm paub tias puas yog koj qhov kev ua tiav lossis tsis tiav (tej zaum yuav ua rau muaj teeb meem kev sib txuas tab sis nws tsis tau tshwm sim thaum kuv tau siv cov app no rau ob lub hlis dhau los).

Daim duab keeb kwm tsis tsim nyog tab sis muaj qhov zoo uas yuav tsum muaj, nws tau siv tib cov ntaub ntawv peb xa mus rau Cov Ntawv Sau Tus Nqi thiab khaws cia rau ntawm Blynk server. Koj tuaj yeem muaj ntau cov ntaub ntawv muaj rau koj nrog kev xaiv xa tawm, uas tsis muaj peev xwm ua tau nrog cov ntawv dhau los.

Qhov teeb no yog universal. Kuv ntseeg tias kuv tau tswj hwm kom tshem tawm cov cai ntau npaum li nws muaj peev xwm ua tau zoo ib yam thiab ntau yam ntxiv. Koj tuaj yeem siv nws los tswj koj lub terrarium, thoob dej yug ntses, vaj, aqua-phonic systems, incubators, thiab lwm yam. Tsuas yog muaj kev lom zem thiab yog tias koj nyiam txoj haujlwm no, tawm lus. Kuv thov txim yog tias kuv hla qee qhov teeb tsa lossis qee yam tsis meej txaus. Hauv qhov xwm txheej ntawd, xa PM rau kuv thiab kuv yuav kho nws li asap. Ua tsaug rau koj nyeem!

Pom zoo: