Cov txheej txheem:

SERVO MOTOR CONTROL USER WIFI THIAB BLYNK: 5 Kauj Ruam
SERVO MOTOR CONTROL USER WIFI THIAB BLYNK: 5 Kauj Ruam

Video: SERVO MOTOR CONTROL USER WIFI THIAB BLYNK: 5 Kauj Ruam

Video: SERVO MOTOR CONTROL USER WIFI THIAB BLYNK: 5 Kauj Ruam
Video: Я исследовал заброшенный итальянский город-призрак - сотни домов со всем, что осталось позади. 2024, Hlis ntuj nqeg
Anonim
SERVO MOTOR CONTROL USER WIFI THIAB BLYNK
SERVO MOTOR CONTROL USER WIFI THIAB BLYNK
SERVO MOTOR CONTROL USER WIFI THIAB BLYNK
SERVO MOTOR CONTROL USER WIFI THIAB BLYNK

Nyob Zoo Cov Menyuam, Hauv cov lus qhia no, qhia rau peb kawm paub tswj kev txav chaw ntawm servo motor los ntawm WiFi siv Node MCU thiab Blynk App.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau

Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau
  1. NUJ MCU
  2. SG 90 Micro Servo Tsav
  3. Txiv neej-Poj Niam Jumper Hluav Taws Xob
  4. 5v fais fab mov (9v Roj teeb yuav zoo)
  5. Pawg Mov Ci

Kauj ruam 2: Kev sib txuas

Kev sib txuas
Kev sib txuas
  • Siv 9v Roj Teeb Hauv Qhov Chaw ntawm 5v uas tau hais hauv daim duab kos.
  • Txuas tus Pin Pin ntawm servo rau D8 PIN ntawm Node MCU.
  • Txuas GND ntawm Servo Motor, Roj teeb thiab Node MCU ua ke.

Nco tseg: SERVO MOTOR PIN CONFIGURATION

  • SIGNAL - ORANGE tus pin
  • VCC / +ve lub davhlau ya nyob twg - RED tus pin
  • GND / -ve davhlau ya nyob twg -BROWN tus pin

Kauj ruam 3: Code

Tshaj tawm Cov Cai Hauv Qab no hauv koj li Node MCU.

Ua ntej ntawd, yog tias koj tsis muaj NODE MCU thiab Blynk Libraries.

Ua raws cov theem no txhawm rau ntxiv lawv ua ntej.

Kauj ruam 1: nyem qhov txuas sib cais -> https://github.com/blynkkk/blynk-library/releases/… Rau Blynk

github.com/esp8266/Arduino.git Rau Node MCU

zip cov ntaub ntawv yuav raug rub tawm.

(Rau Node mcu nyem rau Clone lossis rub lub pob thiab rub cov ntawv zip)

Kauj ruam 2: qhib Sketch -> Tsev qiv ntawv -> Ntxiv zip tsev qiv ntawv -> lub qhov rai tshiab yuav tshwm sim

Kauj ruam 3: tshawb nrhiav lub tsev qiv ntawv rub tawm thiab nyem qhib. Qhov tsev qiv ntawv yuav raug ntxiv.

Kauj ruam 4: Blynk App

App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk
App ntawm Blynk

Rub tawm Blynk App los ntawm Playstore

  1. Nkag mus nrog Facebook/Gmail
  2. Nyem tsim qhov haujlwm tshiab
  3. Ntaus lub npe project thiab Xaiv ntawm pawg tswj hwm MCU
  4. Tus sau token yuav raug xa mus rau koj li Gmail.
  5. Nyem rau ntawm + icon hauv lub qhov rai tshiab thiab Xaiv khawm Slider
  6. Nyem rau ntawm Slider khawm, Teeb tus pin li V3 (tus lej Virtual)
  7. Nyem rau lub pob rov qab thiab koj Blynk App yuav npaj tau.
  8. Hloov ntawm koj li Mobile Hot spot.
  9. Khaws Cov Ntaub Ntawv (Internet) ON hauv koj lub xov tooj.
  10. Nyem rau ntawm Play Button ntawm Project widow
  11. Tam sim no, Nyem rau ntawm Board icon nyob rau sab saum toj.
  12. Koj Node MCU yuav txuas nrog koj Lub Xov Tooj.

Kauj ruam 5: Nws Ua Haujlwm

Nws Ua Haujlwm!
Nws Ua Haujlwm!

Tom qab Node MCU txuas nrog Blynk App, Xaub lub Slider khawm thiab tso nws kom txav lub servo motor.

Xa mus rau kuv INSTRUCTABLES yav dhau los kom paub ntau ntxiv txog Node MCU.https://www.instructables.com/id/NODE-MCU-BASIC/

www.instructables.com/id/NODE-MCU-LED-Cont…

Pom zoo: