Cov txheej txheem:

BLYNK KOJ ZIO: 9 Kauj Ruam
BLYNK KOJ ZIO: 9 Kauj Ruam

Video: BLYNK KOJ ZIO: 9 Kauj Ruam

Video: BLYNK KOJ ZIO: 9 Kauj Ruam
Video: ФРЕДДИ ГЛЭМРОК ФНАФ ПОВТОРЯЕТ ТИК ТОК! Секьюрити Бритч АНИМАТРОНИКИ в реальной жизни! 2024, Kaum ib hlis
Anonim
BLYNK KOJ ZIO
BLYNK KOJ ZIO

Blynk yog Platform nrog iOS thiab Android apps los tswj IoT tshaj kho vajtse thiab cov qauv hauv Internet. 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. Nws yooj yim heev los teeb tsa txhua yam thiab koj yuav pib tinkering hauv tsawg dua 5 feeb.

Phau ntawv qhia no yuav qhia koj yuav teeb tsa Zio's IoT kev txhim kho pawg thawj coj - Zuino XS PsyFi32 ua haujlwm nrog Blynk yog li koj tuaj yeem tsim IoT ntaus ntawv thiab App mus nrog nws ib yam!

Cov ntawv qhia no tseem tau tshaj tawm ntawm peb lub vev xaib blog. Mus saib tus ncej ntawm no.

Kauj ruam 1: Kev teeb tsa

Cov peev txheej pab tau:

Koj yuav tsum muaj kev nkag siab yooj yim ntawm yuav ua li cas rau nruab Zio cov laug cam txhim kho. Hauv qhov kev qhia no, peb xav tias koj lub rooj tsav xwm txhim kho twb tau teeb tsa thiab npaj tau teeb tsa nrog Blynk. Yog tias koj tseem tsis tau teeb tsa koj lub rooj tsav xwm tseem txheeb xyuas peb cov phiaj xwm txhim kho Qwiic Pib Qhia qhia ua ntej:

  • Zio Zuino PsyFi32 Qwiic Pib Qhia
  • Yuav pib li cas nrog PsyFi32 (Windows Tutorial)

Kho vajtse:

Zio Zuino PsyFi32

Software:

  • Arduino IDE Cov
  • Blynk Tsev Qiv Ntawv

Kauj ruam 2: Rub tawm Blynk App rau Koj Lub Xov Tooj

Koj yuav tsum rub tawm Blynk app rau txoj haujlwm no.

Rub tawm raws li koj lub xov tooj ntawm tes ua haujlwm

  • Rub tawm rau Android
  • Rub tawm rau iOS

Kauj Ruam 3: Nruab Blynk Library

Nruab Blynk Library
Nruab Blynk Library
Nruab Blynk Library
Nruab Blynk Library
Nruab Blynk Library
Nruab Blynk Library

Koj yuav tsum tau teeb tsa lub tsev qiv ntawv rau koj tus kheej Arduino.

Rub tawm qhov tseeb tshaj tawm.zip cov ntaub ntawv.

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

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 → Nyiam)

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

your_sketchbook_folder/libraries/Blynkyour_sketchbook_folder/libraries/BlynkESP8266_Lib…

koj_sketchbook_folder/cov cuab yeej/BlynkUpdateryour_sketchbook_folder/cov cuab yeej/BlynkUsbScript…

Nco ntsoov tias cov tsev qiv ntawv yuav tsum mus rau cov 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 4: Teem Koj Li Blynk App

Teem Koj Blynk App
Teem Koj Blynk App

Qhib Blynk App thiab tsim txoj haujlwm tshiab. Npe koj qhov haujlwm thiab xaiv pawg thawj coj ua ESP32 Dev Board nrog kev txuas hom WIFI.

Thaum koj tsim koj qhov project koj yuav tau txais tus cim cim.

Kauj ruam 5: Nyem rau ntawm Widget Box

Nyem rau ntawm lub thawv Widget
Nyem rau ntawm lub thawv Widget

Nyem rau ntawm lub thawv widget thiab ntxiv LCD rau koj txoj haujlwm.

Kauj Ruam 6: Xaiv hom Advanced thiab teeb tus Pin rau V1

Xaiv hom Advanced thiab teeb tus Pin rau V1
Xaiv hom Advanced thiab teeb tus Pin rau V1

Khiav koj lub app los ntawm txhaj khawm xub.

Kauj Ruam 7: Rub Peb Qhov Nyob Zoo Zio Blynk Code

Rub tawm Blynk Nyob Zoo Zio code ntawm no.

Qhib cov cai thiab hloov pauv mus rau ntu hauv qab no:

// Teeb tsa koj tus lej Auth ntawm no // Koj yuav tsum tau txais Auth Token hauv Blynk App. // Mus rau Qhov Chaw Haujlwm (icon txiv ntoo). #define SET_AUTH_TOKEN "muab koj daim ntawv tso cai tso rau ntawm no";

// Koj li ntawv pov thawj WiFi.

// Teeb tus password rau "" rau qhib tes hauj lwm. #define SET_SSID "tso koj lub npe wifi ntawm no"; #define SET_PASS "tso koj tus password rau ntawm no";

Kauj Ruam 8: Nyem Koj Cov Cai

Nyem Koj Li Code
Nyem Koj Li Code

Nyem koj cov cai hauv Arduino IDE rau koj Zuino XS PsyFi32 pawg thawj coj thiab txheeb xyuas koj li app Blynk. Koj Txoj Haujlwm app yuav tsum qhia pom cov lus saum toj no

Kauj ruam 9: Thiab qhov ntawd yog nws

Nrog koj zoo siab! Tam sim no koj tau tsim IoT ntaus ntawv!

Peb tau tsim tus qauv rau koj kom yooj yim txuas koj li Zio PsyFi32 pawg thawj coj txhim kho thiab lwm yam Zio modules (lossis tsis yog Zio modules) xa cov ntaub ntawv rau koj li Blynk app. Koj tuaj yeem tau txais lawv ntawm no.

Koj yuav tuaj yeem txuas koj lub rooj tsav xwm nrog koj Blynk app thiab tso tawm cov ntaub ntawv sau los ntawm koj lub cuab yeej rau koj li app.

Koj tsuas yog yuav tsum tau hloov tus cim cim, ntxiv koj li WiFi teeb tsa thiab ntxig koj tus lej rau hauv ntu ntu thiab koj zoo mus!

Lub sijhawm no txheeb xyuas peb lwm qhov haujlwm zoo thiab txias Zio los muab rau koj uas qwiic kev tshoov siab!

Hauv qab no yog tag nrho cov cai rau koj Arduino.

Pom zoo: