Cov txheej txheem:

Ntse Tsev Saib Xyuas Siv Alexa thiab Arduino: 9 Kauj Ruam (nrog Duab)
Ntse Tsev Saib Xyuas Siv Alexa thiab Arduino: 9 Kauj Ruam (nrog Duab)

Video: Ntse Tsev Saib Xyuas Siv Alexa thiab Arduino: 9 Kauj Ruam (nrog Duab)

Video: Ntse Tsev Saib Xyuas Siv Alexa thiab Arduino: 9 Kauj Ruam (nrog Duab)
Video: Saib tias ntawm ntsej muag 2024, Kaum ib hlis
Anonim
Image
Image
Sib Sau Cov Khoom
Sib Sau Cov Khoom

Hauv lub ntiaj teb tam sim no tib neeg siv sijhawm ntau hauv chaw ua haujlwm ntau dua li lawv lub tsev. Vim li no yuav tsum muaj kev saib xyuas hauv tsev uas tib neeg tuaj yeem paub txog cov xwm txheej ntawm lub tsev thaum lawv ua haujlwm. Nws yuav zoo dua yog tias ib tus tuaj yeem nug "leej twg" txog lawv lub tsev thaum lub sijhawm ua haujlwm. Qhov no tuaj yeem ua tiav los ntawm kev siv Amazon Alexa ua tus pabcuam uas tuaj yeem muab cov neeg siv xav tau cov ntaub ntawv hais txog lawv lub tsev.

Tsis Tsuas Yog Chaw Ua Haujlwm cov neeg siv tuaj yeem paub txog lub tsev nyob ntawm txhua qhov chaw hauv ntiaj teb no tsuav lawv muaj internet txuas thiab Amazon Alexa.

Cov haujlwm hauv qab no tau ua tiav hauv txoj haujlwm no:

1) Tswj cov cuab yeej hauv tsev xws li kiv cua thiab lub teeb

2) Qhia cov xwm txheej ntawm cov khoom siv

3) Qhia txog huab cua ntawm lub tsev (kub thiab av noo)

4) Xa cov duab ntawm sab hauv ntawm lub tsev rau cov neeg siv ntawm Gmail thaum xav tau.

5) Xa ntawv ceeb toom yog tias -

* Intruder (tseem xa duab)

* Hluav Taws

* Qhua (tseem xa duab)

Kauj Ruam 1: Sau Cov Khoom

Sib Sau Cov Khoom
Sib Sau Cov Khoom
Sib Sau Cov Khoom
Sib Sau Cov Khoom
Sib Sau Cov Khoom
Sib Sau Cov Khoom

Cov ntaub ntawv xav tau

Arduino Ib

ESP8266 Wifi Module

Linkit Ntse 7688 Duo

DHT11

Relays

IR teeb meem Sensor

Webcam

Amazon Echo Dot

Breadboard thiab jumper Wires

Software thiab Online Services:

Thingspeak.com

Arduino IDE Cov

Amazon Alexa Skill Teeb

Amazon Alexa Echosim.io (rau Kev Xeem Txuj Ci)

Backendless

Thauj khoom

Kauj ruam 2: Programming Arduino thiab ESP8266

Programming Arduino thiab ESP8266
Programming Arduino thiab ESP8266
Programming Arduino thiab ESP8266
Programming Arduino thiab ESP8266

Rub tawm Arduino IDE Los ntawm lub vev xaib raug cai:

Qhib Arduino IDE thiab mus rau cov ntaub ntawv-> nyiam-> hauv tus thawj tswj hwm ntxiv URL hom-https://arduino.esp8266.com/stable/package_esp8266…

Mus rau cov cuab yeej -> cov laug cam -> Tus Thawj Saib Xyuas Haujlwm thiab teeb tsa pob esp8266 pom thaum kawg.

Txhawm rau program arduino tsuas yog ntsaws USB cable los ntawm arduino rau lub khoos phis tawj thiab xaiv Arduino/Genuino UNO hauv cov cuab yeej-> laug cam. Kuj xyuas kom tseeb tias koj xaiv txoj cai COM cov chaw nres nkoj hauv Cov Cuab Yeej (Tus lej chaw nres nkoj COM tuaj yeem pom hauv Tus Thawj Tswj Ntaus Ntawv). Sau qhov program xav tau, Sau nws thiab nyem upload yog tias tsis muaj qhov yuam kev.

Txhawm rau program ESP8266 ua qhov txuas raws li qhia hauv daim duab. txuas lub usb ntawm arduino rau Computer. Hauv cov cuab yeej-> board-> xaiv Generic ESP8266 thiab tseem xaiv txoj cai COM chaw nres nkoj. Sau qhov program xav tau, Sau nws thiab nyem upload yog tias tsis muaj qhov yuam kev. Nco ntsoov tias koj txuas Arduino RST rau GND (arduino ua zoo li tus programmer rau ESP8266).

Hauv Txoj Haujlwm no Thawj ESP8266 tau ua haujlwm thiab tom qab ntawd cov kev sib txuas hauv Circuit raug tshem tawm. Tom qab ntawd Circuit tau rov txuas dua raws li pom hauv daim duab hu ua "Circuit Connections". Thiab tom qab ntawd arduino tau teeb tsa.

Kauj Ruam 3: teeb tsa Thingspeak.com

Kev teeb tsa Thingspeak.com
Kev teeb tsa Thingspeak.com

Tsim ib tus as khauj hauv thingspeak.com.

peb siv cov channel hauv yam khoom hais los khaws cov cuab yeej tswj cov ntaub ntawv thiab xa nws mus rau arduino/alexa. peb kuj khaws qhov ntsuas kub thiab av noo nyob hauv cov channel. Nws zoo li qhov chaw cia khoom rau cov ntaub ntawv.

Nkag mus rau yam hais lus, mus rau kuv cov channel thiab tsim cov channel tshiab. Muab lub npe thiab lus piav qhia rau koj cov channel. Hauv peb txoj haujlwm peb xav tau 8 txoj hauv kev (koj tuaj yeem ua txoj haujlwm siv tsawg dua tab sis nws yuav nyuaj me ntsis thaum ua haujlwm). Kuj tseem hais lus muaj lub sijhawm txwv thaum hloov kho cov channel. Yuav tsum muaj qhov sib txawv ntawm 10-15 sec ntawm kev hloov kho txuas ntxiv ntawm cov channel tshwj xeeb.

Yim txoj hauv kev nrog lawv qhov txiaj ntsig thiab lub ntsiab lus tau muab hauv qab no

channel npe (tus nqi 1 lub ntsiab lus, tus nqi 2 lub ntsiab lus, thiab lwm yam):

1) Tswj cov cuab yeej (0 -lightON, 1- lightOff, 2- kiv cua ON, 3- Ntxuam Tawm)

2) teeb pom kev zoo (0- teeb tawm, 1- teeb rau)

3) kiv cua xwm txheej (0- kiv cua tawm, 1- kiv cua rau)

4) av noo (tus nqi ntawm cov av noo)

5) kub (tus nqi kub)

6) kev ceeb toom tus neeg nkag (1- tus neeg nkag mus ceeb toom)

7) ceeb toom hluav taws (1- ceeb toom hluav taws)

8) ceeb toom qhua (1- qhua ceeb toom)

thaum koj nyem rau ntawm ib qho channel koj tuaj yeem pom nws cov channel ID thiab sau API yuam sij hauv API tuav lub tab. channel id yuav tsum tau txais cov ntaub ntawv/ tus nqi hauv cov channel. Thiab sau qhov tseem ceeb yuav tsum khaws tus nqi hauv cov channel.

http thov kom hloov kho cov channel yog:

api.thingspeak.com/update?api_key=&field1=

tau hloov pauv los ntawm kev sib txuas sau cov yuam sij ntawm cov channel thiab tuaj yeem yog (0/1 thaum cov cuab yeej tswj lossis ntsuas kub/av noo qhov tseem ceeb)

http thov kom nyeem tus nqi los ntawm ib tus channel yog:

api.thingspeak.com/channels//field/field1/last.html

yog hloov los ntawm cov channel tshwj xeeb id ntawm cov channel uas peb xav nyeem los ntawm.

Kauj Ruam 4: Txoj Haujlwm

Txoj haujlwm tau muab faib ua 3 ntu:

A) Program rau Arduino: qhov program rau arduino yog yooj yim heev. Nws tau txais cov ntaub ntawv los ntawm ESP8266 ntu thiab raws cov ntaub ntawv tau txais cov cuab yeej raug tswj. Xav paub ntau ntxiv txog qhov program tau pom hauv cov lus hauv qhov program nws tus kheej.

B) Qhov kev pab cuam rau ESP8266: txoj haujlwm rau ESP8266 cuam tshuam nrog 3 yam

1) hloov kho qhov kub thiab txias uas siv http thov

client.print (Txoj hlua ("GET") + "/hloov tshiab? key = & field1 =" + av noo + "HTTP/1.1 / r / n" + "Host:" + host + "\ r / n" + "Kev sib txuas: kaw / r / n / r / n "); // hloov cov av noo

client.print (Txoj hlua ("GET") + "/hloov tshiab? qhov tseem ceeb & field1 =" + kub + "HTTP/1.1 / r / n" + "Host:" + host + "\ r / n" + "Kev sib txuas: kaw / r / n / r / n "); // hloov qhov kub thiab txias

qhov hloov los ntawm qhov sib piv sau qhov tseem ceeb pom hauv yam khoom mloog rau cov av noo thiab qhov kub thiab txias feem. thiab tus tswv yog api.thingspeak.com.

rub dht tsev qiv ntawv los ntawm:

2) nyeem los ntawm cov xwm txheej sib tham ntawm cov khoom thiab tswj lub cuab yeej raws li qhov tau txais: tus neeg siv khoom (Cov hlua ("Tau txais") + "/channel//field/field1/last.html HTTP/1.1 / r / n" + " Host: " + host +" / r / n " +" Kev sib txuas: kaw / r / n / r / n ");

qhov twg raug hloov los ntawm tus lej sib tshooj channel pom hauv yam khoom.

3) Xa kev ceeb toom thaum kub siab dhau ntawm lub thawv thawb

Txoj hlua host1 = "api.pushingbox.com";

client.print (Txoj hlua ("Tau") + "/thawb lub thawv? devid = HTTP/1.1 / r / n" + "Tus tswv:" + host1 + "\ r / n" + "Kev sib txuas: kaw / r / n / r / n ");

qhov twg raug hloov los ntawm koj lub cuab yeej id hauv thawb lub thawv.

Kauj Ruam 5: Kho Kho Linkit Ntse 7688 Duo thiab Webcam

Kev teeb tsa Linkit Ntse 7688 Duo thiab Webcam
Kev teeb tsa Linkit Ntse 7688 Duo thiab Webcam
Kev teeb tsa Linkit Ntse 7688 Duo thiab Webcam
Kev teeb tsa Linkit Ntse 7688 Duo thiab Webcam
Kev teeb tsa Linkit Ntse 7688 Duo thiab Webcam
Kev teeb tsa Linkit Ntse 7688 Duo thiab Webcam

Hauv qhov haujlwm no webcam thiab txuas txuas ntse 7688 duo tau siv los ntes cov duab xav tau thiab xa mus rau tus neeg siv. Koj kuj tseem tuaj yeem siv lub koob yees duab arduino thiab cuam tshuam nrog arduino lossis siv tuaj yeem siv txhua lub koob yees duab IP.

Nias thiab tuav lub khawm wifi ntawm qhov linkit ntse 7688 rau 20 vib nas this kom rov pib dua lub rooj tsavxwm. Tom qab ntawd tom qab teeb tsa wifi tau rov pib dua koj yuav tuaj yeem pom nws lub npe nkag hauv lub wireless network sib txuas. Tam sim no txuas lub khoos phis tawj rau lub network ntawd. tom qab koj txuas nws qhib qhov browser thiab ntaus 192.168.100.1 hauv qhov chaw nyob bar. Koj yuav tuaj yeem pom nws lub portal. teeb tus password nkag mus rau nws lub portal.

Tom qab koj nkag mus nkag rau lub network tab thiab xaiv Chaw Nres Tsheb (peb xav tau nws (txuas txuas ntse 7688 duo) kom nkag tau mus rau is taws nem) thiab txuas nws rau koj lub network Wifi thiab nias Configure thiab rov pib dua.

Tom qab lub rooj tsavxwm nws rov pib dua nws yuav raug muab tus IP chaw nyob. Nrhiav qhov chaw nyob uas siv ib qho cuab yeej IP lossis koj lub router router. Hauv kuv qhov xwm txheej nws yog 192.168.1.4. Tam sim no ntaus tus IP chaw nyob hauv qhov chaw nyob ntawm qhov browser. xyuas kom tseeb tias lub khoos phis tawj tau txuas nrog tib lub network zoo li linkit ntse. Koj yuav raug nug kom nkag mus dua.

Txhawm rau pab kom ntws los ntawm webcam koj yuav tsum pab kom-j.webp

Tom qab koj nkag mus nkag rau qhov kev pabcuam tab thiab tshawb xyuas qhib-j.webp

Tom qab teeb tsa tuaj yeem txuas koj lub vev xaib mus rau linkit ntse 7688 duo usb host los ntawm OTG cable Tam sim no kom pom kwj qhib lub browser thiab ntaus: hauv qhov chaw nyob bar. hauv kuv rooj plaub nws yog 192.168.1.4:4400

txhawm rau txhaj tshuaj snap ntaus cov lus txib:? action = snapshot

Tam sim no daim duab no muaj nyob hauv zos tab sis peb yuav tsum ua qhov no txhawm rau thawb lub thawv kev pabcuam. Txhawm rau ua tiav qhov no peb yuav tsum ua qhov chaw xa khoom xa tuaj. Kev xa cov chaw nres nkoj tuaj yeem ua tiav hauv router portal. Tus txheej txheem id txawv rau routers sib txawv. Tsuas yog google kom paub yuav ua li cas xa mus rau tom ntej rau tshwj xeeb router. Feem ntau nws muaj nyob hauv kev pabcuam NAT. After koj chaw nres nkoj rau tom ntej siv tau nkag mus rau qhov chaw nres nkoj no (piv txwv li.. 4440) los ntawm koj tus IP sab nraud. Tus IP sab nraud tuaj yeem nrhiav tau los ntawm kev ntaus "kuv li ip" hauv google.

Koj yuav tsum muab qhov chaw nyob no

ie.. https://::? action = snapshot

nyob rau hauv lub thawb (uas tau piav qhia hauv kauj ruam tom ntej) yog li thawb lub thawv tuaj yeem nkag mus rau daim duab no thiab muab nws tso rau hauv ntawv thiab xa tuaj rau koj thaum twg xav tau.

Koj tseem tuaj yeem khaws cov duab hauv daim npav SD li Linkit ntse 7688 duo kuj los nrog daim npav SD rau khaws cov ntaub ntawv. Xav paub ntau ntxiv txog qhov no tuaj yeem nrhiav tau ntawm:

docs.labs.mediatek.com/resource/linkit-sm…

Kauj Ruam 6: Kho PushingBox

Configuring PushingBox
Configuring PushingBox

thawb lub thawv yog siv los xa ntawv ceeb toom txog kev ceeb toom sib txawv hauv txoj haujlwm rau gmail.

kos npe rau hauv pushbox siv google tus account:

mus rau kuv cov kev pabcuam ntxiv kev pabcuam. muaj ntau qhov kev pabcuam xaiv los ntawm Gmail, twitter, thawb ceeb toom rau Android thiab lwm yam …

xaiv Gmail (raws li peb xav tau xa daim duab raws li txuas nrog) thiab sau qhov tsim nyog gmail lub npe teeb tsa thiab gmail id ntawm tus neeg siv uas tus ceeb toom yuav tsum tau xa.

mus rau kuv qhov xwm txheej thiab tsim qhov xwm txheej tshiab. muab lub npe rau qhov xwm txheej (ex: ALERT) ntxiv cov kev pabcuam uas tau tsim yav tas los.

sau cov ntsiab lus tsim nyog thiab lub cev ntawm kev xa ntawv thiab nkag mus rau qhov url txhawm rau tshuaj xyuas lub vijtsam ntawm lub vev xaib txhawm rau txuas duab. Tsim cov xwm txheej sib txawv rau kev ceeb toom sib txawv.api rau kev ua lub thawv thawb qhov xwm txheej yog:

Kauj Ruam 7: Tsim Alexa Txawj Siv Backendless

Tsim Alexa Skill Siv Backendless
Tsim Alexa Skill Siv Backendless
Tsim Alexa Skill Siv Backendless
Tsim Alexa Skill Siv Backendless
Tsim Alexa Skill Siv Backendless
Tsim Alexa Skill Siv Backendless

backendless tau siv los tsim cov txuj ci alexa. Nws yog qhov yooj yim rub thiab tso cov phiaj xwm siv los tsim alexa txuj ci (lossis ib qho haujlwm twg) uas tuaj yeem nkag tau los ntawm backendless API.

tsim ib tus account hauv backendless:

  • Nkag mus rau hauv koj tus lej hauv tus lej backendless. nyem Tsim app thiab muab lub npe rau koj app
  • Nyem rau Kev Lag Luam Logic icon nyob hauv lub cim bar ntawm sab laug. Koj yuav pom qhov API SERVICES npo.
  • Nyem rau "+" icon los tsim cov kev pabcuam tshiab. Nco ntsoov xaiv CODELESS hauv "Kev Pabcuam Tshiab" popup. Sau "AlexaService" rau lub npe kev pabcuam. Nyem rau Txuag khawm:
  • Backendless tsim qhov Kev Pabcuam API thiab yuav hais kom koj tsim txoj hauv kev rau kev pabcuam. Qhov no yuav yog tus txheej txheem uas yuav txheej txheem thov los ntawm Alexa. Sau "handleRequest" rau lub npe txheej txheem. Nco ntsoov xaiv POST rau REST ua haujlwm, thiab tshaj tawm qhov kev sib cav nrog lub npe "req" thiab ntaus "Any Object" raws li qhia:
  • Backendless tsim qhov chaw rau lub codeless logic ntawm txoj kev. Nyem rau EDIT khawm kom pib hloov mus rau Codeless Logic Designer. Hauv qhov tsim ua haujlwm tso rau qhov thaiv, nyem rau thaj chaw uas hais tias "doSomething" thiab hloov nws mus rau "sendAlexaResponse". Lub luag haujlwm no tau siv los ua alexa hais qee yam uas tuaj yeem dhau los ua kev sib cav. Nyem rau SAVE khawm kom lub luag haujlwm txuag.
  • Nyem rau lub cim iav nyob hauv lub thaiv ntshav sab xis ntawm lo lus "Muaj nuj nqi". Ntxiv ob qhov kev sib cav los ntawm kev rub cov khoom thaiv raws li qhia hauv daim duab hauv qab no. Muab cov npe ntawm cov lus sib cav ua "whatToSay" thiab "waitForResponse". Daim ntawv ceeb toom tias thaum koj ntxiv cov lus sib cav, Thaj Chaw Cov ntsiab lus tau txais nrog cov thaiv uas sawv cev rau qhov kev sib cav.
  • Hloov kho lub luag haujlwm kev xav kom nws zoo li hauv daim duab. Txog qhov "Tsim Cov Hom Phiaj" thaiv, siv lub cim iav los hloov lub npe ntawm cov khoom yam khoom. Tsis txhob hnov qab txuag koj txoj haujlwm los ntawm nyem lub pob SAVE.
  • Tam sim no qhov kev ua haujlwm raug cai tau tsim, hloov rov qab mus rau txoj kev thov Kev thov ntawm AlexaService kev pabcuam. Nyem rau Pawg Kev Ua Haujlwm Tshwj Xeeb hauv cov cuab yeej ntawm sab laug thiab rub lub sendAlexaResponse thaiv kom txuas nrog txuas txuas rov qab ntawm koj txoj kev pabcuam
  • Cov theem saum toj no tseem tuaj yeem pom hauv lawv lub vev xaib:
  • Nyem rau qhov "Ntxiv Tshiab" nyob rau hauv Kev Ua Haujlwm hauv ntu BROWSER Hauv qhov tsim muaj qhov chaw tso rau qhov thaiv, nyem rau thaj chaw uas hais tias "doSomething" thiab hloov nws mus rau "getIntentName" hloov kho cov thaiv kom lub luag haujlwm zoo li cov duab pom. yuav tau txais lub hom phiaj lub npe raws li cov lus piv txwv. Rov qab mus rau api cov kev pabcuam-> lis thov hauv ntu browser. Variables thiab logic yog tsim los ntawm ntu ntu system. Tsim cov kev hloov hauv qab no qhia hauv cov duab.
  • tom ntej no peb khaws lub hom phiaj lub npe kom thov sib txawv. Thiab tom qab ntawd sib piv nrog kev xav. piv txwv li yog qhov kev thov yog "qhia" tom qab ntawv hloov pauv tau teev tseg rau "nyob zoo! Kuv tuaj yeem tswj tau ……." thiab cov lus teb no tau nyeem nrov nrov los ntawm alexa thaum kawg. hloov qhov thaiv raws li qhia.
  • yog tias qhov kev thov yog LightsOn lub hom phiaj ces peb hloov kho cov khoom sib tham rau '0' siv http tau txais kev thov thiab tib lub sijhawm peb hloov kho lub cuab yeej xwm txheej (1/0 nyob ntawm On/Off). Tib yam rov ua dua rau LightsOff, FanOn thiab FanOff.
  • Txog huab cua peb nyeem los ntawm Kub thiab av noo channel thiab khaws cov txiaj ntsig hauv cov lus teb sib txawv. Raws li cov channel tsuas yog muab tus nqi peb ntxiv cov ntawv los ua cov lus teb muaj txiaj ntsig
  • rau snapshot ntawm chav nyob peb khiav qhov xwm txheej thawb lub thawv
  • rau cov cuab yeej xwm txheej peb nyeem cov ntaub ntawv los ntawm cov xwm txheej channel ntawm yam hais lus:
  • rau kev ceeb toom thiab ceeb toom peb nyeem los ntawm kev ceeb toom (hluav taws, nkag mus thiab tus qhua):
  • raws li qhov muaj txiaj ntsig uas peb tau txais los ntawm kev ceeb toom teb cov lus ceeb toom tau muab khaws cia hauv kev teb 0 qhov sib txawv. yog tias tsis muaj kev ceeb toom ces tsis muaj xov xwm ceeb toom khaws cia.
  • ib zaug cov ntawv ceeb toom tau nyeem tawm tom qab ntawd '0' tau hloov kho tshiab hauv cov ntawv ceeb toom kom alexa yuav tsis nyeem tib qho kev ceeb toom dua. Tom qab ntawv kawg raws qhov kev thov, teb 0/teb sib txawv tau nyeem nrov nrov.

Kauj Ruam 8: Kho Alexa Skill hauv Amazon Developer Console:

Kev teeb tsa Alexa Skill hauv Amazon Developer Console
Kev teeb tsa Alexa Skill hauv Amazon Developer Console
Kev teeb tsa Alexa Skill hauv Amazon Developer Console
Kev teeb tsa Alexa Skill hauv Amazon Developer Console
Kev teeb tsa Alexa Skill hauv Amazon Developer Console
Kev teeb tsa Alexa Skill hauv Amazon Developer Console

mus rau amazon tus tsim tawm console thiab kos npe siv amazon account.

mus rau tus tsim tawm console thiab nyem rau ntawm ALEXA tab. Nyem rau ntawm alexa cov txuj ci txuj ci pib.

tsim hom kev txawj ntse, muab lub npe thiab lub npe hu rau lub txuj ci. Qhov kev xav tau tshwj xeeb thiab cov lus piv txwv tau muab rau hauv txoj cai.

hauv kev teeb tsa tab xaiv HTTPS raws li qhov kev pabcuam kawg hom hom sau lub neej ntawd URL nrog API URL los ntawm backendless. Select qhov kev xaiv thib ob hauv Daim Ntawv Pov Thawj rau qhov kawg ntawm qhov kawg hauv daim ntawv pov thawj SSL. Koj tseem tuaj yeem sim qhov txuj ci siv kev sim sim.

Tom qab qhov kev xeem tiav koj tuaj yeem tshaj tawm cov txuj ci nrog rau cov ntaub ntawv tshaj tawm uas xav tau.

Kauj ruam 9: Kev teeb tsa zaum kawg thiab ua tiav

Kev teeb tsa zaum kawg thiab ua tiav!
Kev teeb tsa zaum kawg thiab ua tiav!
Kev teeb tsa zaum kawg thiab ua tiav!
Kev teeb tsa zaum kawg thiab ua tiav!

Ua qhov kev sib txuas hauv Circuit Court raws li qhia.

Qee zaum ESP8266 yuav ua haujlwm tsis zoo vim tias tam sim no tsis txaus. Yog li, txawm hais tias tsis tau hais hauv Circuit Court, nws raug pom zoo kom siv lub zog ESP8266 los ntawm qhov cais 3.3v qhov chaw. Yog tias koj siv lub txhab nyiaj kom paub tseeb tias koj txo qhov hluav taws xob los ntawm 5v txog 3.3v siv tus tswj hluav taws xob 3.3v. Upload program rau ESP8266 thiab arduino. Kuv tau qhia qhov txuas rau lub teeb, tib yam tuaj yeem txuas ntxiv rau kiv cua lossis ib yam khoom siv. Thaum kawg siv amazon echo lossis echosim.io los ntsuas koj qhov txuj ci.

Koj yuav tsum qhib qhov txuj ci siv lub npe hu (raws li kuv qhov xwm txheej - "myhome"). Qee zaum nws yuav tsis ua haujlwm yog tias nws tau siv yam tsis muaj lub npe thov raws li kuv tau qhia ob peb zaug hauv kuv daim vis dis aus

Vam tias koj nyiam qhov kev qhia!

Ua Tsaug!

Pom zoo: