Cov txheej txheem:

Yuav Ua Li Cas Siv ESP32 los Tswj LED Nrog Blynk Via WiFi: 7 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Siv ESP32 los Tswj LED Nrog Blynk Via WiFi: 7 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Siv ESP32 los Tswj LED Nrog Blynk Via WiFi: 7 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Siv ESP32 los Tswj LED Nrog Blynk Via WiFi: 7 Kauj Ruam (nrog Duab)
Video: Qhia qhib tus npaws tshiab siv yuav ua li cas 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Siv ESP32 los Tswj LED Nrog Blynk Ntawm WiFi
Yuav Ua Li Cas Siv ESP32 los Tswj LED Nrog Blynk Ntawm WiFi

Cov ntawv qhia no yuav siv ESP32 pawg thawj coj txhim kho los tswj LED nrog Blynk ntawm WiFi. Blynk 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. Nws kuj tseem tuaj yeem txuas rau Is Taws Nem dhau Wi-nkaus, Ethernet lossis Bluetooth.

Yog xav paub ntxiv txog tus qauv no, koj tuaj yeem xa mus rau ntawm no.

Kauj Ruam 1: Tus Kheej Txhais

Pin Txhais
Pin Txhais

Kauj Ruam 2: Kev Npaj Khoom

Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom
Kev Npaj Khoom

Rau qhov kev qhia no, peb xav tau cov khoom no:

  1. Arduino NodeMcu IoT ESP32 WiFi & Bluetooth Development Board
  2. LED
  3. Blynk App hauv Android lossis iOS apps

Kauj Ruam 3: Tus Pin Txuas

Tus Pin Txuas
Tus Pin Txuas

Hauv qhov kev qhia no, txuas LED's anode rau ESP32's p21 thiab LED's cathode rau ESP32's GND.

Kauj Ruam 4: Teeb Blynk App

Teeb tsa Blynk App
Teeb tsa Blynk App
Teeb tsa Blynk App
Teeb tsa Blynk App
Teeb tsa Blynk App
Teeb tsa Blynk App

1. Rub tawm blynk apps los ntawm Play Store lossis App Store.

2. Tom qab rub tawm tiav, qhib cov apps thiab tsim tus account. Yog tias koj twb tsim ib tus as khauj, koj tuaj yeem nkag mus.

3. Tom qab koj ua tiav tsim ib tus as khauj, pib los ntawm kev tsim txoj haujlwm tshiab.

4. Tsim lub npe project thiab xaiv lub cuab yeej los ntawm ESP32 Dev Board thiab xaiv hom kev txuas los ntawm WiFi.

5. Tom qab nias "Tsim" khawm, lub qhov rai yuav tshwm "Auth token tau xa mus rau ….". Koj tuaj yeem qhib koj tus email txhawm rau txheeb xyuas koj tus lej tseem ceeb.

6. Tom qab ntawd, coj mus rhaub rau txhua qhov chaw ntawm daim ntaub kom qhib lub thawv ntim khoom. Txhua qhov khoom siv muaj nyob ntawm no. Tam sim no xaiv lub pob.

7. Coj mus rhaub ntawm tus widget kom hloov chaw. Xaiv tus pin LED rau Digital- gp21 thiab xaiv hom los hloov.

8. Thaum koj ua tiav nrog teeb tsa, nyem lub pob PLAY. Qhov no yuav hloov koj ntawm EDIT hom mus rau PLAY hom uas koj tuaj yeem cuam tshuam nrog kho vajtse. Thaum nyob hauv PLAY hom, koj yuav tsis tuaj yeem rub lossis teeb tsa cov cuab yeej tshiab, nias STOP thiab rov qab mus rau EDIT hom.

Kauj Ruam 5: Qauv Qauv Cai

Txog qhov kev qhia no, nws yog qhov yuav tsum tau rub tawm thiab teeb tsa lub tsev qiv ntawv Blynk los ntawm no. Lub tsev qiv ntawv no tuaj yeem pab ESP32 tuaj yeem txuas nrog Blynk. Txhawm rau tuaj yeem cuam tshuam nrog ESP32 nrog Blynk, koj yuav tsum rub tawm lub tsev qiv ntawv no thiab khaws nws rau hauv koj li Arduino cov tsev qiv ntawv cov ntaub ntawv. Tom qab ntawd, rub tawm cov qauv piv txwv no los ntawm tus lej thiab hloov daim ntawv lees paub los ntawm kev txheeb xyuas koj tus email thiab luam nws mus rau qhov coding.

Kauj Ruam 6: Cov txiaj ntsig

Cov txiaj ntsig
Cov txiaj ntsig
Cov txiaj ntsig
Cov txiaj ntsig

Raws li qhov tshwm sim, LED yuav qhib lossis tua thaum koj hloov lub pob ntawm Blynk app. Thaum koj qhib lub ntsuas saib ntawm Arduino, nws yuav qhia tawm txuas nrog WiFi thiab Blynk lub logo raws li daim duab hauv qab no.

Kauj ruam 7: Yees duab

Cov vis dis aus no qhia txog kev qhia ua lus qhia rau kev siv ESP32 los tswj LED nrog Blynk ntawm WiFi.

Pom zoo: