Cov txheej txheem:

Yuav Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board los ntawm Kev Siv Blynk: 10 Kauj Ruam
Yuav Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board los ntawm Kev Siv Blynk: 10 Kauj Ruam

Video: Yuav Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board los ntawm Kev Siv Blynk: 10 Kauj Ruam

Video: Yuav Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board los ntawm Kev Siv Blynk: 10 Kauj Ruam
Video: Khoom Siv - Pob Tsuas Vaj |ปู่จวน | (Official Audio) 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Tshaj Tawm Pawg Thawj Coj los ntawm Kev Siv Blynk
Yuav Ua Li Cas Siv Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Tshaj Tawm Pawg Thawj Coj los ntawm Kev Siv Blynk

Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Tshaj Tawm Pawg Thawj Coj

Nqe lus piav qhia:

WiFi ESP8266 Pawg Neeg Loj Hlob WEMOS D1. WEMOS D1 yog WIFI pawg thawj coj txhim kho raws ESP8266 12E. Kev ua haujlwm zoo ib yam li NODEMCU, tshwj tsis yog tias kho vajtse tau ua zoo ib yam li Arduino UNO. Pawg D1 tuaj yeem teeb tsa los ua haujlwm ntawm Arduino ib puag ncig siv BOARDS MANAGER.

Kev qhia tshwj xeeb:

  • Microcontroller: ESP-8266EX
  • Kev Ua Haujlwm Voltage: 3.3V
  • Digital I/O Pins: 11
  • Analog Input Pins: 1
  • Moos Ceev: 80MHz/160MHz
  • Flash: 4M bytes

Kauj Ruam 1: Npaj Khoom

Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom
Npaj Khoom

Hauv qhov kev qhia no, peb yuav siv daim ntawv thov los ntawm lub xov tooj smartphone "Blynk" los tswj Arduino Wemos D1 (ESP8266) nrog LED Teeb Pom Kev Teeb.

Ua ntej peb pib, npaj txhua yam khoom xav tau:

  • Cov qhob cij
  • Arduino Wemos D1 Wifi UNO ESP8266
  • Jumper xov hlau txiv neej rau txiv neej
  • LED Teeb Pom Kev Teeb (koj tseem tuaj yeem siv lub hauv paus LEDs)
  • micro USB
  • Smartphone (Koj yuav tsum rub tawm "Blynk" los ntawm Play Store/iStore)

Kauj ruam 2: Tus Pin Txuas

Tus Pin Txuas
Tus Pin Txuas

Ua raws li qhov txuas raws li qhia saum toj no.

Kauj Ruam 3: Kev Txhim Kho Pawg Thawj Coj

Kev Txhim Kho Pawg Thawj Coj
Kev Txhim Kho Pawg Thawj Coj
Kev Txhim Kho Pawg Thawj Coj
Kev Txhim Kho Pawg Thawj Coj
Kev Txhim Kho Pawg Thawj Coj
Kev Txhim Kho Pawg Thawj Coj

Tom ntej no, qhib Arduino IDE thiab mus rau [File => Preferences]. Lub thawv sib tham tshwm. Hauv lub npov no, muaj tus saib xyuas lub rooj saib xyuas URL ntxiv lub thawv ntawv.

  • Luam thiab muab cov URL hauv qab no tso rau hauv lub thawv thiab nyem OK mus rub cov pob khoom.
  • https://arduino.esp8266.com/stable/package_esp8266com_index.json

Kauj Ruam 4: Nrhiav Hauv Tus Thawj Saib Xyuas Haujlwm

Nrhiav hauv Board Manager
Nrhiav hauv Board Manager
Nrhiav hauv Board Manager
Nrhiav hauv Board Manager

Tom ntej no, mus rau [Cov Cuab Yeej => Pawg Thawj Coj => Tus Thawj Saib Xyuas Haujlwm] hauv koj Arduino IDE. Lub Rooj Tswjhwm Saib qhov rai tshwm raws li hauv qab no. Qhib cov laug cam hauv tus thawj tswj hwm pawg xaiv ESP8266 los ntawm cov npe ntawm cov laug cam. Nyem rau nruab kom pib teeb tsa.

Kauj Ruam 5: Xaiv Pawg Thawj Coj

Xaiv Pawg Thawj Coj
Xaiv Pawg Thawj Coj

Tom ntej no, rub koj thawj qhov program xaiv hom "WeMos D1 R1" pawg thawj coj los ntawm ntu [Cov cuab yeej => Cov laug cam] hauv koj Arduino IDE.

Kauj Ruam 6: Piv Cai

Piv txwv li Code
Piv txwv li Code
Piv txwv li Code
Piv txwv li Code
Piv txwv li Code
Piv txwv li Code

Txhawm rau kom tau txais tus lej piv txwv los ntawm Blynk koj yuav tsum rub lub tsev qiv ntawv los ntawm Blynk lub vev xaib.

https://www.blynk.cc/getting-started/

Ua raws cov theem no:

  1. Xaiv "Rub tawm Blynk Library".
  2. Xaiv rau "Blynk_Release_v0.5.4.zip".
  3. Luam cov ntawv thiab luam ob qho ntawm cov ntaub ntawv (tsev qiv ntawv, cuab yeej).
  4. Qhib Arduino IDE mus rau [Cov Ntaub Ntawv => Nyiam] nrhiav cov ntaub ntawv uas tshwm ntawm "Sketchbooks qhov chaw".
  5. Qhib cov ntaub ntawv Arduino thiab muab ob qho ntawm cov ntawv koj tau theej.

Tom qab ntawd, qhib koj Arduino IDE, mus rau [Cov Ntaub Ntawv => Piv txwv => Blynk => Boards Wifi => Standalone] rau tus lej piv txwv.

Kauj Ruam 7: Blynk Teeb

Blynk teeb tsa
Blynk teeb tsa
Blynk teeb tsa
Blynk teeb tsa
Blynk teeb tsa
Blynk teeb tsa
Blynk teeb tsa
Blynk teeb tsa

Tom ntej no, koj yuav tsum teeb tsa koj li "Blynk" los ntawm koj lub smartphone.

Ua raws cov theem no:

  1. Rub tawm "Blynk" ntawm Play Store/iStore.
  2. Sau npe siv koj tus email.
  3. Mus rau "Txoj Haujlwm Tshiab" Sau koj lub npe haujlwm (yog tias xav tau).
  4. Xaiv lub cuab yeej "WeMos D1".
  5. Hom kev sib txuas "Wifi" ces "Tsim". (Tom qab tsim koj yuav tau txais Auth Token los ntawm koj tus email).
  6. Xaub mus rau sab laug kom qhib "Widget Box".
  7. Xaiv "Khawm" ntxiv khawm.
  8. Kov lub pob rau "Button Settings".
  9. Xaiv [Output => Digital => D2, D3, D4] xaiv tus pin txuas.
  10. Hom tig mus rau "Hloov".

Kauj ruam 8: Uploading

Tso tawm
Tso tawm
Tso tawm
Tso tawm

Tam sim no koj yuav tsum txheeb xyuas koj tus email inbox thiab theej tus Auth token code.

Ntxig rau Auth Token, Network name, thiab Password rau koj lub cajmeem. Tam sim no xa cov cai rau koj WeMos D1 (ESP8266) los ntawm micro USB. Nco ntsoov tias koj siv qhov chaw nres nkoj raug los ntawm kev xaiv ntawm [Cuab Yeej => Chaw Nres Nkoj].

Kauj Ruam 9: Sim Tawm Blynk Khawm

Sim Tawm Blynk Khawm
Sim Tawm Blynk Khawm

Xaiv lub pob ua si los ntawm sab saud sab xis thiab tig rau tus pin khawm.

Kauj ruam 10: Ua tiav

Image
Image
Tiav
Tiav

Tam sim no nws ua haujlwm! Blynk tus pin khawm ua haujlwm raws li kev hloov pauv.

Pom zoo: