Cov txheej txheem:

Tswj coj thoob plaws ntiaj teb Siv Internet Siv Arduino: 4 Cov Kauj Ruam
Tswj coj thoob plaws ntiaj teb Siv Internet Siv Arduino: 4 Cov Kauj Ruam

Video: Tswj coj thoob plaws ntiaj teb Siv Internet Siv Arduino: 4 Cov Kauj Ruam

Video: Tswj coj thoob plaws ntiaj teb Siv Internet Siv Arduino: 4 Cov Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Tswj coj thoob plaws ntiaj teb Siv Internet Siv Arduino
Tswj coj thoob plaws ntiaj teb Siv Internet Siv Arduino

Nyob zoo, Kuv yog Rithik. Peb yuav ua kom muaj kev tswj hwm internet siv koj lub xov tooj.

peb yuav siv software zoo li Arduino IDE thiab Blynk.

Nws yog qhov yooj yim thiab yog tias koj ua tiav koj tuaj yeem tswj tau ntau yam khoom siv hluav taws xob uas koj xav tau

Yam Peb Xav Tau:

Kho vajtse:

NodeMCU

LED

Cov qhob cij

qee cov xov hlau jumper

Software:

Arduino IDE Cov

Blynk

cia peb pib peb Txoj Haujlwm

Kauj ruam 1: Kev sib txuas

Kev sib txuas
Kev sib txuas

Kev sib txuas yog:

NodeMCU ====== Coj

D4 ========== Ntev Ntev

Gnd ========= Luv Luv

Kauj Ruam 2: Teeb Blynk

Tam sim no peb tab tom teeb tsa Blynk

Kauj ruam 1

Rub tawm thiab Nruab Blynk app

Kauj ruam 2

Tsim ib tus as khauj hauv koj tus email (Nco ntsoov tias koj tau nkag mus rau email vim tias koj yuav tau txais daim ntawv pov thawj lees paub)

Kauj ruam 3

Nyem Tsim Txoj Haujlwm Tshiab

Kauj ruam 3

Sau lub npe rau koj qhov haujlwm thiab xaiv pawg thawj coj raws li NodeMCU, hen koj yuav pom lub npov tshiab tshwm thaum kawg, xaiv Wifi hauv qhov ntawd. Tom qab ntawd xaiv tsim

Kauj ruam 4

Tom qab koj tsim koj yuav pom lub qhov rai tshiab qhia "auth token tau xa rau koj tus email" Nyem Nyem ok

Kauj ruam 5

Koj yuav pom lub qhov rai pom tseeb, nyem qhov twg ntawm lub qhov rai thiab koj yuav pom kab sab xis xaiv lub pob hauv qhov ntawd thiab tso qhov twg los nyem rau ntawm lub pob thiab koj yuav pom lub qhov rai tshiab koj yuav pom "Khawm" Hauv qab daim duab. Ntaus lub npe zoo li LED thiab koj yuav pom "Pin" nyem qhov ntawd thiab xaiv D4, tom qab ntawd hloov "Push to switch" tom qab ntawd rov qab txhua yam koj xav tau

Nco tseg: Yog xav paub ntau cov lus qhia ntxaws rau Blynk teeb tsa Thov rub tawm thiab saib cov vis dis aus hauv qab no

Kauj Ruam 3: Code NodeMCU

Code NodeMCU
Code NodeMCU

Nruab Arduino los ntawm qhov txuas hauv qab no lossis yog tias koj nyob hauv Windows 10 tsuas yog nruab nws los ntawm Microsoft khw

www.arduino.cc/en/Main/Software

Rub lub tsev qiv ntawv hauv qab no:

github.com/blynkkk/blynk-library/releases

unzip lub tsev qiv ntawv

Mus rau kos duab => suav nrog Zip => xaiv lub tsev qiv ntawv peb rub tawm.

Nws yuav tsum qhia koj hauv qab tias "Library tau ntxiv"

Pib Arduino thiab qhib Preferences window. Enter https://arduino.esp8266.com/stable/package_esp8266… mus rau Tus Thawj Saib Xyuas Haujlwm Ntxiv

ces kaw lub qhov rais

Tom qab ntawd mus rau Cov Cuab Yeej => cov laug cam => Tus Thawj Saib Xyuas Pawg thiab ntaus hauv lub thawv tshawb nrhiav ESP8266 thiab teeb tsa lub rooj tsavxwm

Tam sim no mus rau Cov Cuab Yeej => Cov laug cam => thiab xaiv NodeMCU thiab tseem mus txuas NodeMCU nrog koj lub micro USB

Tam sim no mus rau Cov Cuab Yeej => Ports thiab xaiv qhov kev xaiv nkaus xwb.

Tam sim no mus rau qhov txuas thiab theej thiab muab tshuaj txhuam hauv Arduino IDE

drive.google.com/file/d/1Bk5GY_XwXeRyMv9pKI-UNPWdf2ZOWJqL/view?usp=sharing

Hauv txoj cai, koj nkag mus rau koj daim ntawv lees paub uas koj tau txais los ntawm blynk hauv koj tus email (muab tshuaj txhuam tus cim rau hauv koj daim ntawv lees paub)

Tam sim no nkag mus rau Wifi Lub Npe thiab Tus Kheej hauv qhov chaw uas nws qhia lub npe wifi thiab tus password wifi

tom qab ntawd Koj yuav pom tus xub taw qhia txoj cai nyob rau sab xis saum toj uas txhais tau tias upload nyem rau ntawm qhov ntawd (xyuas kom tseeb tias koj NodeMCU txuas nrog koj lub khoos phis tawj)

Feem ntau Ua tiav !!

Kauj Ruam 4: Kauj Ruam Kawg

Tam sim no qhib Blynk thiab koj yuav pom daim duab peb sab tig los yog ua si khawm nyob rau sab xis ces nyem rau qhov ntawd

Tam sim no nyem lub pob uas koj coj yuav tsum ci

Tam sim no koj ua Tutorial

Yog koj muaj lus nug lossis teeb meem, Thov email rau kuv ntawm [email protected]

Pom zoo: