Cov txheej txheem:

Tswj tus kiv cua ntawm Wifi. Yooj Yim rau Lub Neej: 15 Kauj Ruam
Tswj tus kiv cua ntawm Wifi. Yooj Yim rau Lub Neej: 15 Kauj Ruam

Video: Tswj tus kiv cua ntawm Wifi. Yooj Yim rau Lub Neej: 15 Kauj Ruam

Video: Tswj tus kiv cua ntawm Wifi. Yooj Yim rau Lub Neej: 15 Kauj Ruam
Video: Xa Suab Nug Moo Instrumental + Lyrics 2024, Hlis ntuj nqeg
Anonim
Tswj tus kiv cua ntawm Wifi. Yooj Yim rau Lub Neej
Tswj tus kiv cua ntawm Wifi. Yooj Yim rau Lub Neej

Niaj hnub no tsuas yog siv lub xov tooj, thiab cov cuab yeej txuas nrog internet. Koj tuaj yeem yooj yim tswj hwm cov cuab yeej nyob txhua qhov chaw hauv ntiaj teb. Hnub no kuv yuav tswj tus kiv cua nrog lub xov tooj smartphone txuas nrog internet.

Kauj Ruam 1: Txhua Yam Koj Xav Tau

Txhua Yam Koj Xav Tau
Txhua Yam Koj Xav Tau

Kuv siv MCU8266 tswj ntawm wifi

Ib lub zog 5v

Hwj chim 5v

Case

Kauj ruam 2: Daim duab

Daim duab
Daim duab

Nov yog daim duab. Yuav ua li cas txuas txhua qhov ntawm no ib leeg.

Kauj Ruam 3: Siv Cov Kws Nyuaj Nyuaj rau Siv Tshuaj Txhuam Txhua Qhov Chaw Ib Leeg

Siv Cov Kws Nyuaj Hlwb kom Txhuam Txhuam Txhua Qhov Chaw Ib Leeg
Siv Cov Kws Nyuaj Hlwb kom Txhuam Txhuam Txhua Qhov Chaw Ib Leeg

Kauj Ruam 4: Tom qab Ua tiav Muab Txhua Yam Rau Hauv Cov Ntaub Ntawv

Tom qab Ua tiav Muab tag nrho cov seem rau hauv rooj plaub
Tom qab Ua tiav Muab tag nrho cov seem rau hauv rooj plaub

Kuv siv lub laum los ua ob qho ua ob tuav rau saum thiab hauv qab ntawm rooj plaub.

Kauj Ruam 5: Siv Qee Cov Kab Xev los Kho Qhov Chaw

Siv Qee Cov Kab Xev los Kho Qhov Chaw
Siv Qee Cov Kab Xev los Kho Qhov Chaw

Kauj Ruam 6: Tso Cai Rau MCU8266

Upload Code rau MCU8266
Upload Code rau MCU8266

Mus rau blynk.cc rub lub tsev qiv ntawv rau MCU8266. Kuv siv blynk app los tswj MCU8266. Muaj ntau txoj hauv kev los tswj MCU8266. Tab sis kuv xaiv blynk app vim nws yooj yim heev rau teeb tsa rau pib.

Tom qab koj rub lub tsev qiv ntawv. Koj yuav tsum sau npe tus account. Tom qab ntawd, koj tuaj yeem tau txais email kom tau txais tus yuam sij. Tom qab ntawd koj muab tshuaj txhuam rau cov cai hauv qab no.

Peb qhov tseem ceeb koj yuav tsum tau hloov. auth, ssid, dhau

==============================================

#define BLYNK_PRINT Serial

#ncig #ncig

char auth = ""; // AuthToken

char ssid = ""; // Wifi swb

char pass = ""; // Tus password Wifi

void teeb tsa () {

Serial.begin (9600);

Blynk.begin (auth, ssid, dhau);

}

void voj () {

Blynk.run ();

}

===============================================

Kauj Ruam 7: INSTALL BLYNK LIBRARY

INSTALL BLYNK LIBRARY
INSTALL BLYNK LIBRARY

Lub tsev qiv ntawv Blynk yuav tsum tau teeb tsa tus kheej. Ua raws li cov lus qhia:

1. Rub tawm qhov tseeb tshaj tawm.zip file. Unzip nws.

2. Koj yuav pom tias cov ntawv khaws cia muaj ob peb daim nplaub tshev thiab ntau lub tsev qiv ntawv.

3. Luam tag nrho cov tsev qiv ntawv no rau koj_sketchbook_folder ntawm Arduino IDE.

Txhawm rau nrhiav qhov chaw ntawm koj_sketchbook_folder, mus rau saum cov ntawv qhia zaub mov hauv Arduino IDE: Cov Ntaub Ntawv -> Nyiam (yog tias koj siv Mac OS - mus rau Arduino f Nyiam)

Cov qauv ntawm koj_sketchbook_folder yuav tsum zoo li no, nrog rau koj lwm daim duab (yog tias koj muaj):

koj_sketchbook_folder/qiv ntawv/Blynk

your_sketchbook_folder/libraries/BlynkESP8266_Lib…

koj_sketchbook_folder/cuab yeej/BlynkUpdater

koj_sketchbook_folder/cuab yeej/BlynkUsbScript…

Note️ Nco ntsoov tias tsev qiv ntawv yuav tsum mus rau lub tsev qiv ntawv thiab cov cuab yeej rau cov cuab yeej. Yog tias koj tsis muaj cov cuab yeej nplaub tshev koj tuaj yeem tsim nws los ntawm koj tus kheej.

Kauj Ruam 8: Tso Cai Rau Koj li MCU8266

Upload Code rau Koj li MCU8266
Upload Code rau Koj li MCU8266

Kauj Ruam 9: Kaw Lub Box

Kaw lub thawv
Kaw lub thawv

Kauj ruam 10: Nruab Blynk App ntawm Koj Lub Xov Tooj

Nruab Blynk App ntawm Koj Lub Xov Tooj
Nruab Blynk App ntawm Koj Lub Xov Tooj

Kauj ruam 11: Nkag mus rau Koj li Blynk App

Nkag mus rau Koj li Blynk App
Nkag mus rau Koj li Blynk App

Kauj Ruam 12: Ntxiv Khawm, Tig rau Hloov Hom, Siv GP0 Pin hauv qhov no

Ntxiv khawm, Tig rau Hloov Hom, Siv GP0 Pin hauv qhov no
Ntxiv khawm, Tig rau Hloov Hom, Siv GP0 Pin hauv qhov no

Kauj ruam 13:

Duab
Duab

Kauj ruam 14:

Pom zoo: