Cov txheej txheem:
- Kauj Ruam 1: Khoom Kho Vajtse/Software
- Kauj Ruam 2: Saib Yeeb Yaj Kiab kom paub meej ntxiv
- Kauj Ruam 3: Rub tawm Blynk Library
- Kauj Ruam 4: Blynk Txoj Kev Kho
- Kauj ruam 5: Schematic
- Kauj Ruam 6: Arduino Code
- Kauj Ruam 7: Rau Kev Txhawb Nqa
Video: Tswj Arduino Siv Smartphone Via USB Nrog Blynk App: 7 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv qhov kev qhia no, peb yuav kawm paub siv Blynk app thiab Arduino txhawm rau tswj lub teeb, kev sib txuas yuav yog los ntawm USB chaw nres nkoj txuas.
Lub hom phiaj ntawm cov lus qhia no yog los qhia cov kev daws teeb meem yooj yim tshaj plaws tswj koj li Arduino lossis kho vajtse sib xws hauv Is Taws Nem thiab tshawb txog lub ntiaj teb ntawm Internet Ntawm Yam (IoT).
Blynk yog dab tsi?
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 xa cov cuab yeej. (Source: Blynk lub vev xaib).
Kauj Ruam 1: Khoom Kho Vajtse/Software
Cov khoom siv kho vajtse:
1. Arduino Uno (Lwm lub Arduino board yuav zoo xwb).
2. Relay
3. Teeb
4. Cov xov hlau
Cov software software:
1. Blynk App
2. Arduino IDE
3. Blynk Library rau koj li OS (Windows, Linux, iOS)
Kauj Ruam 2: Saib Yeeb Yaj Kiab kom paub meej ntxiv
Txhua qhov teeb tsa Blynk App tau qhia hauv video.
Vam tias koj yuav nyiam qhov toturial no.
Ua tsaug:)
Kauj Ruam 3: Rub tawm Blynk Library
Ua raws li cov lus qhia:
1. Rub tawm Blynk_Release_vXX.zip (nqes mus rau ntu Downloads)
2. Unzip cov ntawv khaws tseg. Koj yuav pom tias cov ntawv khaws cia muaj ob peb cov ntawv 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:
Windows: Cov ntaub ntawv f Nyiam
Mac OS: Arduino → Nyiam
Txhawm rau rub tawm Blynk Library thiab tau txais cov ntaub ntawv ntau ntxiv ua raws qhov txuas no (ntawm no).
Kauj Ruam 4: Blynk Txoj Kev Kho
Txhawm rau teeb tsa Blynk App, koj yuav tsum ua raws cov theem hauv qab no:
1. Rub tawm Blynk app ntawm koj lub smartphone thiab tsim ib tus as khauj.
Ua li no:
Rub tawm Blynk apps: • iOS:
• Hauv:
2. Tsim ib qhov haujlwm tshiab, xaiv los ntawm cov npe koj kho vajtse (Arduino Uno).
3. Xaiv hom kev sib txuas (USB, Wifi, Bluetooth …).
4. Ntxiv tus widget rau koj lub vaj huam sib luag tswj los ntawm txhaj rau lub cim ntxiv rau sab xis saum toj.
5. Xaiv lub khawm widget, thiab ob npaug nias rau nws txhawm rau kho nws cov chaw.
Nco tseg: tus yuam sij kev lees paub tau xa mus rau koj tus email
Kauj ruam 5: Schematic
Ua siab zoo ua raws cov theem hauv qab no:
1. Txuas Arduino's Vcc mus rau Relay's Vcc.
2. Txuas Arduino's GND mus rau Relay's GND.
3. Txuas Arduino tus pin13 mus rau Relay's IN.
Kauj Ruam 6: Arduino Code
Txog arduino code:
#suav nrog SoftwareSerial DebugSerial (2, 3); // RX, TX
#suav nrog
// Koj yuav tsum tau txais Auth Token hauv Blynk App.
// Mus rau Qhov Chaw Haujlwm (icon txiv ntoo). char auth = "Qhov tseeb pov thawj";
void teeb tsa ()
{// Debug console DebugSerial.begin (9600);
// Blynk yuav ua haujlwm dhau Serial
// Tsis txhob nyeem lossis sau cov lej no tus kheej hauv koj daim duab duab Serial.begin (9600); Blynk.begin (Serial, auth); }
void lub voj ()
{Blynk.run (); }
Kauj Ruam 7: Rau Kev Txhawb Nqa
Koj tuaj yeem sau npe yuav rau kuv li YouTube channel rau kev qhia ntau ntxiv thiab phiaj xwm.
Sau npe yuav txhawb nqa. Ua tsaug.
Mus rau kuv tus YouTube Channel -link
Pom zoo:
Wi-Fi Tswj Tus Neeg Hlau Siv Wemos D1 ESP8266, Arduino IDE thiab Blynk App: 11 Kauj Ruam (nrog Duab)
Wi-Fi Tswj Tus Neeg Hlau Siv Wemos D1 ESP8266, Arduino IDE thiab Blynk App: Hauv qhov kev qhia no kuv qhia koj yuav ua li cas thiaj li ua kom Wi-Fi tswj lub tank neeg hlau tswj los ntawm lub xov tooj smartphone siv Blynk App. Hauv txoj haujlwm no ESP8266 Wemos D1 pawg thawj coj tau siv, tab sis lwm cov qauv phaj kuj tseem tuaj yeem siv tau (NodeMCU, Firebeetle, thiab lwm yam), thiab cov
Tswj Cov Khoom Siv Hauv Tsev Siv NodeMCU (ESP8266) thiab Blynk App: 8 Kauj Ruam (nrog Duab)
Tswj Cov Khoom Siv Hauv Tsev Siv NodeMCU (ESP8266) thiab Blynk App: Hauv qhov kev qhia no, peb yuav kawm paub siv Blynk app thiab NodeMCU (ESP8266) txhawm rau tswj teeb (lwm yam khoom siv hauv tsev yuav zoo xwb), kev sib koom ua ke yuav ua hauv internet. Lub hom phiaj ntawm cov lus qhia no yog los qhia qhov yooj yim
Tswj Cov Khoom Siv Hauv Tsev Los Ntawm Koj Lub Smarthphone Nrog Blynk App thiab Raspberry Pi: 5 Kauj Ruam (nrog Duab)
Tswj Cov Khoom Siv Hauv Tsev Los Ntawm Koj Lub Ntsej Muag Nrog Blynk App thiab Raspberry Pi: Hauv qhov haujlwm no, peb yuav kawm paub siv Blynk app thiab Raspberry Pi 3 txhawm rau txhawm rau tswj cov khoom siv hauv tsev (Kas fes, Teeb, Qhov rai kab hlau rhuav thiab ntau ntxiv … ) .Hardware Cheebtsam: Raspberry Pi 3 Relay Teeb Breadboard WiresSoftware apps: Blynk A
LED Tswj Siv Blynk App thiab Arduino: 3 Cov Kauj Ruam (nrog Duab)
LED Tswj Kev Siv Blynk App thiab Arduino: Hauv qhov haujlwm no peb yuav paub hloov/qhib LED nrog arduino siv blynk app, Tsis txhob siv Wifi module, Bluetooth module, GSM module thiab lwm yam Nws yog lwm txoj hauv kev siv Internet ntawm yam Don ' tsis xav tias nws nyuaj. Nws yooj yim kawm yog tias koj tsis
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: 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 digital dashboard uas koj tuaj yeem tsim