Cov txheej txheem:
- Kauj ruam 1: Tau Koj Qhov
- Kauj ruam 2: Sib tov ua ke
- Kauj ruam 3: Code
- Kauj ruam 4: Daim ntawv thov
- Kauj ruam 5: Muab tso ua ke thiab ua tiav
Video: Alexa Tswj Solenoid Siv WEMO D1 Mini: 5 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Nws yog tiag tiag amazing. Nws tsis yog qhov nyuaj kom muaj alexa ncha tswj lub micro-processor. Lub ntiaj teb yog koj li oyster. Cov lus qhia no coj koj mus dhau cov kauj ruam los tswj solenoid. Koj tuaj yeem siv cov txheej txheem no tib yam los tswj txhua yam koj xav tau. Hauv kuv qhov xwm txheej, Kuv tau siv lub solenoid los thawb lub khawm nqa. Kuv tau ua ob qho ntawm no, ib qho yog rau lub khawm nce qib sab saud, thiab ib qho rau khawm khawm hauv qab.
Kauj ruam 1: Tau Koj Qhov
Cov khoom xyaw:
Alexa Echo Dot (lossis Echo)
WEMO D1 mini - Ceev faj kom tsis txhob tau txais WEMO D1 mini LITE. Kuv yuam kev ua qhov kev xav no kuv tau txuag nyiaj, tab sis nws tsis ua haujlwm raug.
L293D - Ib qho kev xa tawm feem ntau siv, tab sis kuv muaj cov pawg no tso ib puag ncig, thiab lawv tau ua haujlwm.
Cov qhob cij
9V Roj Teeb Txuas
Poj Niam Pin Headers - xaiv tau
Solenoid
xov hlau
9V Roj Teeb
Kauj ruam 2: Sib tov ua ke
Kuv tau siv qhov no ua ke rau ntawm daim ntawv. Lub rooj tsavxwm tshwj xeeb no yog qhov zoo vim tias nws tau teeb tsa zoo li lub khob cij nrog cov ntsia thiab cov qhov ntawm qhov uas txuas nrog.
Ua ntej tshaj, Kuv tau muab cov poj niam lub taub hau tso rau ntawm lub qhov rooj rau WEMO txhawm rau txhawm rau. Keeb kwm, Kuv kuj tau siv tus poj niam lub taub hau rau L293D los ntsaws rau hauv. Txawm li cas los xij, Kuv pom, tias L293D tsis ntsaws rau hauv lub taub hau nrog kev sib txuas zoo, yog li kuv tau siv nws ncaj qha mus rau ntawm lub rooj tsavxwm.
Tom qab ntawd kuv tau siv cov xov hlau txuas rau lub rooj tsav xwm kom sib txuas: 1. Liab hlau los ntawm WEMO 5V rau L293D Pab kom tus pin2. Cov xaim dub los ntawm WEMO av mus rau L293D hauv av tus pin (5) 3. Cov xaim daj los ntawm WEMO D1 tus pin rau L293D input2 tus pin (7) 4. roj teeb lub xov hlau - dub rau WEMO hauv av, liab rau L293D Vs tus pin (8) 5. solenoid xov hlau-dub rau WEMO hauv av, muaj xim rau L293D tso zis2 tus pin (6)-NCO TSEG: Kuv siv xaim nrog 2-tus pin poj niam txuas thaum kawg. Kuv tuaj yeem ntsaws solenoid rau qhov no. Kuv muab cov txiv neej txuas rau qhov kawg ntawm txhua lub xaim hluav taws xob.
Tsis muaj laj thawj dab tsi uas kuv txuas nrog Kev Tawm Tswv Yim/Tawm Tawm 2, Kuv tuaj yeem ua tiav Kev Tawm Tswv Yim/Tso Tawm 1. Qhov tseeb, kuv tuaj yeem tswj tau 4 solenoids tsis yog ib qho, tab sis ib qho yog txhua yam kuv xav tau rau txoj haujlwm no.
Kauj ruam 3: Code
Koj tuaj yeem siv Arduino IDE los ua haujlwm WEMO.
Muaj qee cov kauj ruam kom tau WEMO ua haujlwm nrog arduino IDE, thiab koj tuaj yeem ua raws lawv hauv qhov kev qhia zoo no … https://www.instructables.com/id/Wemos-ESP8266-Get …
Tom ntej no, koj yuav tsum tau txais WEMO ua haujlwm nrog Echo … Nov yog txoj hauv kev yooj yim los cuam tshuam nrog amazon echo.
Ua ntej, mus rau: https://github.com/kakopappa/arduino-esp8266-alexa… thiab rub lub belkin simulation code. Muab cov cai no tso rau tag nrho koj lwm cov haujlwm arduino nyob. Tom qab ntawd nqa cov ntaub ntawv wemos.ino hauv lub tswv yim arduino. Cov ntaub ntawv nkaus xwb uas yuav tsum tau hloov kho yog wemos.ino cov ntaub ntawv. Yeej, txhua yam koj yuav tsum tau ua hauv cov ntawv no yog:
1. Teem koj tus SSID thiab tus password rau koj lub wifi 2. Txheeb xyuas koj qhov hloov pauv; (Hloov *chav ua noj = NULL;) 3. Pib koj li kev hloov pauv; (chav ua noj = Hloov tshiab ("chav ua noj teeb", 81, chav ua nojLightsOn, chav ua nojLightsOff); upnpBroadcastResponder.addDevice (*chav ua noj);) 4. Ntxiv rau ntu Loop; (chav ua noj-> serverLoop ();) 5. Ua kom koj hu rov qab rau ob qho tib si On thiab Off thiab tso txhua yam koj xav tau hauv kev hu rov qab: bool chav ua nojLightsOn () {Serial.println ("Hloov 2 qhib rau …"); isKitchenLightstsOn = muaj tseeb; rov qab yogKitchenLightstsOn; }
Koj yuav pom txhua yam no hauv tus qauv wemos.ino code. Tsuas yog hloov Hloov-es hauv cov ntawv ntawd nrog txhua yam koj xav hloov pauv. Hauv kuv qhov xwm txheej, kuv tau hloov pauv txhua yam "BasementButton". Kuv qab dausButtonOn () hu rov qab hloov tus pin D1 rau HIGH. Saib cov cai kuv suav nrog ua piv txwv.
Kauj ruam 4: Daim ntawv thov
Hauv kuv qhov xwm txheej, Kuv xav kom lub solenoid thawb lub khawm nqa. Txhawm rau ua qhov no, Kuv xav tau qee yam kev tuav kom tuav lub solenoid hla lub khawm of the elevator. Yog li, qhov no yog kuv thawj qhov kev nkag mus rau lub ntiaj teb tshuab luam ntawv 3D. Kuv tau mus rau tinkercad.com thiab ua tus account. Koj tuaj yeem siv lawv cov cuab yeej los tsim 3D tsim hauv huab thiab tom qab ntawd xa koj cov qauv tsim mus rau *.stl cov ntaub ntawv uas tuaj yeem luam tawm. Kuv pom tinkercad kom nkag siab zoo siv. Koj rub cov duab rau hauv qhov chaw kos duab los tsim cov qauv koj xav tau. Thaum koj thawj zaug teeb tsa koj tus as khauj, nws muaj cov lus qhia zoo heev kom koj pib. Nws tsuas yog tau txais me ntsis kev dag thaum koj xav tau kom ntseeg tau tias nws muaj qhov ntev raug.
Kuv muaj peev xwm luam tawm lub bracket tawm los ntawm kev ua siab zoo ntawm tus phooj ywg uas muaj lub tshuab luam ntawv 3D. Tab sis muaj ntau lub tuam txhab uas tuaj yeem ua rau koj, ib yam nkaus. Qee lub tsev qiv ntawv tseem yuav ua nws.
Kauj ruam 5: Muab tso ua ke thiab ua tiav
Kuv tau teeb tsa lub bracket/solenoid hla lub khawm nqa thiab muab WEMO tso rau hauv lub thawv yas nyob saum lub pob. Tom qab xa cov cai mus rau WEMO, koj yuav tsum tau txais Alexa kom pom nws. Tsuas yog hais "Alexa nrhiav cov cuab yeej". Thaum nws pom nws koj tuaj yeem hais "Alexa qhib DEVICENAME" lossis "Alexa tua DEVICENAME". Qhov no ua rau kev hu rov qab rau hauv txoj cai thiab tig rau solenoid. Hauv kuv qhov xwm txheej, kuv muaj lub cuab yeej "nce" thiab "khawm hauv qab daus". Nws yog lo lus me me, tab sis nws ua haujlwm. Tsis tas li, nws tsis nkag siab tag nrho rau "qhib" thiab "tua", tab sis kuv tsis paub tseeb tias nws tuaj yeem hloov pauv.
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
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: 4 Cov Kauj Ruam (nrog Duab)
Phab Ntsa Mount rau IPad Raws Li Tsev Automation Tswj Vaj Huam Sib Luag, Siv Servo Tswj Cov Hlau nplaum los Qhib Screen: Tsis ntev los no kuv tau siv sijhawm qee lub sijhawm siv khoom hauv thiab ib puag ncig kuv lub tsev. Kuv tab tom siv Domoticz ua kuv daim ntawv thov Tsev Automation, saib www.domoticz.com kom paub meej. Hauv kuv tshawb nrhiav daim ntawv thov daim ntawv qhia uas qhia tag nrho Domoticz cov ntaub ntawv tog
Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: 5 Kauj Ruam
Lub Tsheb Tswj Chaw Taws Teeb - Tswj Kev Siv Wireless Xbox 360 Tus Tswj: Cov no yog cov lus qhia txhawm rau tsim koj tus kheej lub tsheb tswj chaw taws teeb, tswj siv wireless Xbox 360 maub los
Tswj 100 Cov Khoom Siv hauv Ubidots Apps, Cov Koom Haum, Tus Kheej thiab Cov Neeg Siv: 11 Kauj Ruam
Tswj 100 Cov Khoom Siv hauv Ubidots Apps, Cov Koom Haum, Tus Kheej thiab Cov Neeg Siv: Hauv lub sijhawm no kuv tau txiav txim siab los sim qhov ua tau zoo ntawm IoT platform Ubidots rau cov neeg siv kev tswj hwm hauv qhov xwm txheej uas nws muaj ntau yam khoom siv rau ntau lub koom haum lossis tuam txhab nyob hauv tib yam Ubidots platform. Tus kav nroog cov ntaub ntawv: u
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