Cov txheej txheem:
- Kauj Ruam 1: Khoom Kho Vajtse/Software
- Kauj ruam 2: Rub tawm Blynk Library
- Kauj Ruam 3: Ntxiv ESP8266 Tus Thawj Saib Xyuas Haujlwm
- Kauj Ruam 4: Saib Yeeb Yaj Kiab kom paub meej ntxiv
- Kauj Ruam 5: Blynk Txoj Kev Kho
- Kauj ruam 6: Schematic
- Kauj Ruam 7: Arduino Code
- Kauj Ruam 8: Rau Kev Txhawb Nqa
Video: Tswj Cov Khoom Siv Hauv Tsev Siv NodeMCU (ESP8266) thiab Blynk App: 8 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 NodeMCU (ESP8266) txhawm rau txhawm rau tswj teeb (lwm yam khoom siv hauv tsev yuav zoo xwb), kev sib txuas yuav dhau los ntawm internet.
Lub hom phiaj ntawm cov lus qhia no yog los qhia cov kev daws teeb meem yooj yim tshaj plaws tswj hwm koj li Arduino lossis kho vajtse sib xws (NodeMCU) hauv Is Taws Nem thiab tshawb fawb 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 cov nyiam 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 xa cov cuab yeej. (Source: Blynk lub vev xaib).
Kauj Ruam 1: Khoom Kho Vajtse/Software
Cov khoom siv kho vajtse:
1. NodeMCU (ESP8266).
2. Relay
3. Teeb
4. Cov xov hlau
6. 5V Cov Khoom Siv Hluav Taws Xob 1AMP (xaiv tau tab sis kuv pom zoo kom siv nws txhawm rau txhawm rau zam kev tsis muaj hluav taws xob tam sim no los ntawm kev muab 5v rau kev xa tawm.
Cov software software:
1. Blynk App
2. Arduino IDE
3. Blynk Library rau koj li OS (Windows, Linux, iOS)
4. ESP8266 Tus Thawj Saib Xyuas Haujlwm rau Arduino IDE
Kauj ruam 2: 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 3: Ntxiv ESP8266 Tus Thawj Saib Xyuas Haujlwm
Hauv Tus Thawj Saib Xyuas Ntxiv Ntxiv rau hauv qab URL.https://arduino.esp8266.com/versions/2.4.0/package_esp8266com_index.json
Raws li tau hais tseg hauv daim duab thiab nkag mus OK.
Nco tseg: Kom tau txais xov xwm ntau ntxiv txog cov kauj ruam no saib cov vis dis aus
Kauj Ruam 4: Saib Yeeb Yaj Kiab kom paub meej ntxiv
Kauj Ruam 5: 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.
Txhawm rau ua qhov no: Rub tawm Blynk apps:
• iOS:
• Hauv:
2. Tsim txoj haujlwm tshiab, xaiv los ntawm cov npe koj cov cuab yeej (NodeMCU).
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 6: Schematic
Ua siab zoo ua raws cov theem hauv qab no:
1. Lub 5v ntawm lub hwj chim muab rau Vcc ntawm pawg thawj coj saib xyuas.
2. Tus GND mus rau GND ntawm pawg thawj coj saib xyuas.
3. D1 ntawm NodeMCU mus rau IN1 ntawm pawg thawj coj saib xyuas.
Nco tseg: Kev xa rov qab yuav tsum tau 5v thiab tso tawm ntawm nodemcu tsuas yog 3.3v qhov no yog vim li cas kuv thiaj pom zoo kom siv sab nraud 5v fais fab mov
Kauj Ruam 7: Arduino Code
Txog txoj cai
#define BLYNK_PRINT Serial
#suav nrog #suav nrog /// Koj yuav tsum tau txais Auth Token hauv Blynk App. // Mus rau Qhov Chaw Haujlwm (icon txiv ntoo). char auth = "YourAuthToken"; // Koj li ntawv pov thawj WiFi. // Teeb tus password rau "" rau qhib tes hauj lwm. char ssid = "YourNetworkName"; char pass = "YourPassword"; void teeb () {// Debug console Serial.begin (115200); Blynk.begin (auth, ssid, dhau); } tsis muaj dab tsi voj () {Blynk.run (); }
Kauj Ruam 8: 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:
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Tswj Cov Khoom Siv Hauv Tsev Siv Node MCU thiab Google Assistant - IOT - ib Blynk - Cov IFTTT: 8 Kauj Ruam
Tswj Cov Khoom Siv Hauv Tsev Siv Node MCU thiab Google Assistant | IOT | ib Blynk | Cov IFTTT: Ib txoj haujlwm yooj yim los tswj Cov Khoom Siv Google Assistant: Ceeb Toom: Kev Siv Hluav Taws Xob Hluav Taws Xob tuaj yeem ua rau phom sij. Kov nrog kev saib xyuas hnyav. Ntiav tus kws tshaj lij hluav taws xob thaum ua haujlwm nrog qhib hluav taws xob. Kuv yuav tsis lees paub lub luag haujlwm rau
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Lub Sijhawm Ua Haujlwm: Txawm tias tom qab 25 xyoo ntawm nws qhov kev qhia rau cov neeg siv khoom lag luam, kev sib txuas lus infrared tseem muaj feem cuam tshuam nyob rau hnub tsis ntev los no. Txawm hais tias nws yog koj li 55 nti 4K TV lossis koj lub suab lub tsheb, txhua yam xav tau IR chaw taws teeb tswj los teb rau peb
Ntse Suab Nkauj hauv Chav Dej thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: 7 Kauj Ruam
Ntse Suab Nkauj hauv chav pw thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: Niaj hnub no peb xav muab ob qho piv txwv txog yuav ua li cas koj tuaj yeem siv Raspberry Pi nrog peb Max2Play software rau hauv tsev automation: hauv chav dej thiab chav pw . Ob txoj haujlwm zoo ib yam nyob hauv cov suab paj nruag siab ncaj los ntawm ntau qhov chaw tuaj yeem rub tawm los
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