Cov txheej txheem:
- Kauj Ruam 1: Yam Koj Yuav Tsum Tau:-
- Kauj Ruam 2: Teeb Arduino IDE:-
- Kauj Ruam 3: Teeb Nplooj Ntawv ntawm RemoteMe:-
- Kauj Ruam 4: Tso Cai Rau MCU:-
- Kauj Ruam 5: Kev Sib Txuas:-
- Kauj Ruam 6: Xeem:-
Video: Tswj Cov Khoom Siv Hauv Internet Los ntawm Browser. (IoT): 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv Cov Lus Qhia no kuv yuav qhia koj li cas koj tuaj yeem tswj cov cuab yeej zoo li LEDs, Relays, motors thiab lwm yam hauv Is Taws Nem los ntawm web-browser. Thiab koj tuaj yeem nkag mus rau kev tswj hwm kev nyab xeeb hla txhua lub cuab yeej. Lub vev xaib uas kuv siv ntawm no yog RemoteMe.org mus ntsib nplooj ntawv kom paub ntau ntxiv txog nws.
Nco ntsoov xa mus rau cov duab uas yuav pab koj nkag siab cov txheej txheem.
Yog li cia pib.
Kauj Ruam 1: Yam Koj Yuav Tsum Tau:-
Rau qhov haujlwm no koj yuav xav tau:-
- ESP8266 (NodeMCU) Txuas rau USLink rau Tebchaws Europe
- LEDLink rau USLink rau Tebchaws Europe
- Push ButtonLink rau USLink rau Europe
- Breadboard. Link rau USLink rau Europe
Software:- Cov
- Arduino IDE Cov
- Account ntawm RemoteMe.
Nco ntsoov tias koj tuaj yeem siv Arduino lossis Raspberry-pi rau txoj haujlwm yog tias koj tsis muaj NodeMCU.
Kauj Ruam 2: Teeb Arduino IDE:-
Ua ntej tshaj los ua haujlwm nrog NodeMCU Esp8266 koj yuav tsum ntxiv cov laug cam rau hauv IDE yog tias koj tsis tau ua tiav, txheeb xyuas qhov Cov Lus Qhia ntawm no.
Tom qab Boards muaj nyob ntawm IDE muaj qee lub tsev qiv ntawv xav tau rau txoj haujlwm no.
Txhawm rau teeb tsa cov tsev qiv ntawv no:-
Qhib IDE thiab Goto >> Sketch >> Xws li Lub Tsev Qiv Ntawv >> Tswj Tsev Qiv Ntawv. Lub qhov rai popup yuav tsum tshwm. Ntawm no koj yuav Tshawb nrhiav cov tsev qiv ntawv xav tau
Cov npe tsev qiv ntawv:-
- RBD_Timer.h
- RBD_Button.h
- RemoteMe.h
- ESP8266WiFi.h
- ESP8266WiFiMulti.h
- ArduinoHttpClient.h
Nruab ib qho ntawm ib qho thiab rov pib dua IDE thaum ua tiav.
Nrog qhov IDE tau npaj rau siv.
Kauj Ruam 3: Teeb Nplooj Ntawv ntawm RemoteMe:-
Txhawm rau siv RemoteMe ua ntej koj yuav tsum tau kos npe yog li koj tuaj yeem tsim koj tus kheej lub vev xaib thiab pib tswj cov cuab yeej.
Mus rau RemoteMe.org nyem rau "Daim Ntawv Thov", Nkag Mus Sau Npe thiab sau koj cov ntsiab lus thiab ntaus npe nkag
Koj yuav tau txais tos nrog nplooj ntawv txais tos, Tam sim no mus rau sab laug hauv cov ntawv qhia zaub mov xaiv "Devices"
Ntawm sab xis koj yuav pom qhov kev xaiv hu ua "Cov cuab yeej tshiab", Nyem rau ntawm nws yuav muab cov ntawv qhia zaub mov nco rau koj, Ntawm no xaiv "New Web Page"
Tam sim no muab lub npe thiab ID ntaus ntawv, Kuv tau hu nws 'LED' thiab muab Ntaus ID '203'. (Tus lej ntaus ntawv yog tus lej tshwj xeeb uas yuav sib txawv ntawm cov khoom sib txawv.)
Nco ntsoov tias lub toggle tau teeb tsa rau 'nquag' thiab ntaus 'xa'. Ib lub cuab yeej tshiab hu ua LED nrog ntaus ID 203 yuav tshwm ntawm nplooj ntawv. Tam sim no xaiv tus xub nqis ntawm sab xis ntawm lub cuab yeej thiab koj yuav pom qhov khoob uas koj tuaj yeem tsim lub vev xaib
Mus rau nplooj ntawv GitHub no. Koj yuav tsum rub peb cov ntaub ntawv (index.html, scripts.js & styles.css) thiab tso lawv ib ntawm ib qho rau hauv qhov khoob hauv koj lub cuab yeej thiab koj tau ua tiav
Kauj Ruam 4: Tso Cai Rau MCU:-
Hauv qab no kuv tau muab cov cai koj xav tau los ua txoj haujlwm.
Ua ntej koj tuaj yeem xa cov cai, muaj qee qhov kev hloov pauv me me uas koj yuav tsum tau ua hauv txoj cai.
Thaum tus lej qhib rau hauv IDE koj yuav tsum nkag mus rau koj lub npe WiFi thiab tus lej zais hauv qhov chaw xav tau kom lub rooj tsav xwm tuaj yeem txuas rau koj lub network.
Hloov pauv ntawm ib feem ntawm cov cai hauv qab no:-
#define WIFI_NAME "Nkag mus rau koj lub npe WiFi" #define WIFI_PASSWORD "Nkag mus rau koj tus lej Wi -nkaus" #define DEVICE_ID 203 #define DEVICE_NAME "LED" #define TOKEN "Nkag Pov Thawj Pov Thawj"
Txhawm rau kom tau txais daim ntawv lees paub token Goto Remoteme.org >> Cov Ntawv Thov >> Tokens (Hauv cov ntawv qhia zaub mov ntawm Sab laug hauv qab Devices)
Luam lub Token thiab muab nws tso rau hauv cov cai.
Tam sim no txuas koj NodeMCU rau koj lub PC, Xaiv qhov chaw nres nkoj raug thiab xa cov cai.
Kauj Ruam 5: Kev Sib Txuas:-
Ua raws daim duab saum toj no txhawm rau txuas:-
LED txuas nrog Pin D5 ntawm MCU.
Lub laub khawm txuas nrog Pin D2.
Siv cov tshuaj tiv thaiv hauv koob nrog LED txhawm rau tiv thaiv kev puas tsuaj rau LED.
Kauj Ruam 6: Xeem:-
Tam sim no koj tau ua tiav txoj haujlwm tiav. Nws yog lub sijhawm los sim qhov tsim.
Ua ntej los tshuaj xyuas yog tias kev sib txuas raug cai, Nias lub laub-khawm thiab koj yuav tsum pom LED tig rau, Nias lub pob dua yuav tua LED
Tam sim no taub hau mus rau RemotMe lub vev xaib thiab qhib koj daim ntawv thov. nkag mus siv tus as khauj uas koj tau kos npe rau
Tam sim no tau txais Cov Khoom Siv thiab xaiv lub cuab yeej uas koj nyuam qhuav tsim. Daim ntawv ceeb toom Txuas Txuas lub cim ntawm sab laug ua rau ntaus ID tau tig ntsuab uas qhia tias ESP pawg thawj coj tau txuas nrog tus neeg rau zaub mov
Tam sim no nyem rau ntawm "index.html" cov ntaub ntawv thiab xaiv "qhib hauv tab tshiab", hauv tab tshiab lub vev xaib yuav tshwm nrog lub voj voog. Koj tuaj yeem nyem rau ntawm lub voj voog kom qhib thiab tua LED
Txhawm rau tswj koj lub LED siv smartphone. Ib zaug ntxiv mus rau nplooj ntawv ntaus ntawv thiab nyem rau ntawm "index.html". Lub sijhawm no xaiv qhov, qhov kawg xaiv "Tau txais qhov tsis qhia npe txuas …", Lub qhov rai pop-up yuav tshwm nrog qhov txuas uas koj tuaj yeem qhib hauv ib lub xov tooj smartphone los tswj lub LED yam tsis tas yuav nkag mus txhua lub sijhawm
Qhov kev xaiv zoo dua, koj tuaj yeem xaiv QR txoj cai nyob ib sab ntawm qhov txuas. Thiab luam theej duab QR siv koj li Android lossis iPhone thiab koj yuav raug xa rov mus rau lub vev xaib nrog lub voj voog
Txheeb tawm cov vis dis aus saib seb nws ua haujlwm li cas.
Vam tias koj nyiam txoj haujlwm, Yog tias koj muaj lus nug xav nug hauv cov lus.
Ua Tsaug.
Pom zoo:
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Siv Dua: 6 Cov Kauj Ruam
Cov Hais Lus Ua Los Ntawm Cov Khoom Siv Rov Los thiab Rov Los Siv Rov Los: " Suab paj nruag yog cov lus thoob ntiaj teb ntawm tib neeg. Thiab qhov zoo tshaj plaws-lawv tsis tau them kuv ib dime. Txhua yam nyob rau hauv no pr
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 Los Ntawm Alexa Nrog ESP8266 lossis ESP32: 8 Cov Kauj Ruam
Tswj Cov Khoom Siv Hauv Tsev Los Ntawm Alexa Nrog ESP8266 lossis ESP32: Hav, ua li cas, Cov Menyuam! Akarsh ntawm no los ntawm CETech Qhov phiaj xwm no ntawm kuv yuav pab koj lub neej dhau los yooj yim thiab koj yuav zoo li huab tais tom qab tswj cov cuab yeej hauv koj lub tsev los ntawm kev muab lus txib rau Alexa
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw
Rov Siv Cov Khoom Siv Yas Zib Zib Zib Zib Hnab Rau Hauv Cov Chaw Muag Khoom Chaw Muag Khoom: 6 Kauj Ruam
Reuse Recycle Plastic Chewing Gum Cannister Into Solder Station Dispenser: Cov lus qhia no yuav qhia koj yuav ua li cas siv cov yas zom zom tuaj yeem ua kom khaws cov kab laug sab zoo thiab huv. Qhov no yuav ua haujlwm ntawm lwm yam khoom siv spooled thiab; Txoj hlua, Hlau, Cables