Cov txheej txheem:

Alexa-aid: 9 Kauj Ruam
Alexa-aid: 9 Kauj Ruam

Video: Alexa-aid: 9 Kauj Ruam

Video: Alexa-aid: 9 Kauj Ruam
Video: Lil Nas X, Jack Harlow - INDUSTRY BABY (Official Video) 2024, Kaum ib hlis
Anonim
Image
Image

(Daim vis dis aus saum toj no yog rau tus neeg tso tseg vim nws yog tsev kawm ntawv qhov haujlwm)

10 Ntiv tes,

10 Tus ntiv taw,

2 Qhov muag,

1 Nos …

Kev Nyab Xeeb

Suav

Alexa-aid yog Alexa raws li kev pabcuam thawj zaug uas Alexa ua tus kws kho mob thiab muab kev pabcuam thawj zaug uas xav tau rau tus neeg mob. Hauv txoj haujlwm no thawj qhov kev pabcuam tau muab txwv rau ib hom tshuaj ntsiav thiab pab pawg, tabsis koj tuaj yeem ntxiv ntau li koj xav tau los ntawm kev kho me ntsis hauv 3D qauv thiab cov lej muab.

Alexa-pab ua pov thawj kom muaj txiaj ntsig zoo nyob rau qee qhov xwm txheej, piv txwv li yog tias muaj menyuam yaus & nws niam nws txiv tsis nyob hauv tsev & nws tsis xis nyob, lossis nws mob nws tus kheej, tom qab ntawd nws tuaj yeem tham nrog Alexa kom muab qhov tsim nyog cov tshuaj lossis pab-pab lossis nws niam thiab txiv tuaj yeem xa cov tshuaj los ntawm lawv lub xov tooj smartphone los ntawm qhov ntawd nkaus xwb!

Tsis tas li rau cov tswv cuab qub hauv tsev, uas tsis nco qab noj tshuaj raws sijhawm, lawv tuaj yeem thov Alexa teeb tsa kev ceeb toom thiab tom qab ntawd Alexa yuav cia li muab cov ntsiav tshuaj thiab yuav ceeb toom lawv kom muaj nws (los ntawm kev tsim niaj hnub hauv Alexa app).

Txoj haujlwm no yog daws cov txuj ci uas muaj npe hu ua Sinric, tsim los ntawm kakopappa (zoo li kuv tseem tab tom kawm los tsim txuj ci) yog li nws txoj haujlwm tsis ncaj ncaj rau pem hauv ntej, koj yuav tsum tsim lub suab tshwj xeeb hauv alexa app kom nws ua haujlwm. Txawm li cas los nws ua haujlwm zoo li ntxim nyiam.

Kauj Ruam 1: Cov Ntaub Ntawv Yuav Tsum Tau

Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
Cov Ntaub Ntawv Yuav Tsum Tau
  1. 3D tshuab luam ntawv
  2. nodeMCU
  3. 2x L293d lub cev muaj zog tsav tsheb ic
  4. 2x 4 hlau bipolar stepper lub cev muaj zog
  5. LED (yeem)
  6. breadboard los yog pcb
  7. 8 x pin

Kauj ruam 2: Tsim Sinric Account

Tsim Sinric Account
Tsim Sinric Account
Tsim Sinric Account
Tsim Sinric Account
Tsim Sinric Account
Tsim Sinric Account
  1. Mus ntsib www.sinric.com
  2. Tsim ib tus as khauj los ntawm txhaj "Sau npe".
  3. Nyem rau "Ntxiv" hauv qab "Smart Home Device tab".
  4. Muab lub npe phooj ywg zoo li lub ntsiav tshuaj lossis txhua yam koj xav tau.
  5. Teem hom ntaus ntawv rau "hloov".
  6. Zoo sib xws ntxiv cov cuab yeej rau cov pab cuam pab dawb.
  7. Luam tus yuam sij API thiab tus lej ntaus ntawv ntawm ob lub cuab yeej.

Kauj Ruam 3: Txhim Kho Tsev Qiv Ntawv

Txhawm rau kom tau txais txoj cai no ua haujlwm, koj yuav tsum rub qee lub tsev qiv ntawv ntxiv uas siv cov txuas hauv qab no:-

  1. WebSocketsClient:
  2. WiFiManager:
  3. ArduinoJson: https://arduinojson.org/ (rub tawm version 5 tsis yog 6)

Kauj Ruam 4: Tso Cai rau Nodemcu

Uploading Code rau Nodemcu
Uploading Code rau Nodemcu
Uploading Code rau Nodemcu
Uploading Code rau Nodemcu
Uploading Code rau Nodemcu
Uploading Code rau Nodemcu
Uploading Code rau Nodemcu
Uploading Code rau Nodemcu

Txhawm rau upload cov cai ntawm nodeMCU, koj yuav tsum xub ntxiv nws hauv tus thawj tswj hwm. Txog qhov ntawd, qhib Arduino IDE thiab nyob rau sab saum toj ntawv qhia zaub mov bar nyem Cov Ntaub Ntawv - Nyiam thiab koj yuav pom daim teb uas hais tias Ntxiv Tus Thawj Saib Xyuas Haujlwm URLS:. Luam thiab muab qhov no tso rau hauv daim teb ntawd:

arduino.esp8266.com/stable/package_esp8266c… thiab Nyem OK Nyob rau sab saum toj ntawv qhia zaub mov bar nyem Cov Cuab Yeej - Pawg Thawj Coj: - Tus Thawj Saib Xyuas Pawg thiab scroll down kom paub tseeb tias ESP8266 los ntawm ESP8266 Zej Zog tau teeb tsa. Yog tias yog, nyem ze thiab ib zaug ntxiv mus rau Cov Cuab Yeej - Pawg Thawj Coj: - Tus Thawj Tswj Haujlwm, thiab tam sim no koj yuav pom pawg ESP8266 hom laug cam uas koj tuaj yeem ua haujlwm siv Arduino IDE.

Txuas koj lub nodeMCU siv USB cable rau koj lub khoos phis tawj rub cov kab ntawv txuas ".ino", tom qab ntawd nyem ob zaug nws thiab nws yuav tsum thauj mus rau Arduino IDE. Hauv IDE nyem Cov Cuab Yeej - Cov laug cam thiab xaiv nodeMCU Module. Ib zaug ntxiv nyem Cov Cuab Yeej - Chaw nres nkoj thiab xaiv COM chaw nres nkoj ntawm nodeMCU koj nyuam qhuav txuas rau hauv koj lub khoos phis tawj. (Nco tseg koj tuaj yeem tshem tawm thiab rov txuas lub adapter kom paub seb qhov chaw nres nkoj COM nws yog dab tsi) Ib zaug ntxiv nyem Cov Cuab Yeej - Tshaj Tawm nrawm thiab xaiv 115200 lossis 9600. Koj yuav tsum hloov qee yam hauv kab kos, "API yuam sij" ", thiab" tus lej ntaus ntawv "ntawm koj lub ntsiav tshuaj thiab cov pab cuam muab khoom faib.

Kauj ruam 5: Circuit Court

Qhov Circuit
Qhov Circuit

Txuas lub Circuit Court raws li qhov sib txuas tau qhia. Kev siv LED xaiv raws li nws tsuas yog qhia tias lub ntsiav tshuaj tau faib tawm.

Kauj Ruam 6: Luam Ntawv Qauv 3D

Luam Ntawv 3D Qauv
Luam Ntawv 3D Qauv
Luam Ntawv 3D Qauv
Luam Ntawv 3D Qauv
Luam Ntawv Qauv 3D
Luam Ntawv Qauv 3D

Luam cov ntu 3D uas tau muab raws li koj qhov chaw teeb tsa hauv cov software txiav.

Kauj Ruam 7: Teeb Tag Nrho

Teeb Tag Nrho
Teeb Tag Nrho
Teeb Tag Nrho
Teeb Tag Nrho
Teeb Tag Nrho
Teeb Tag Nrho
Teeb Tag Nrho
Teeb Tag Nrho

Txuas cov khoom raws li qhia hauv daim duab

  1. Ua ntej txuas lub cav rau sab laug thiab sab xis.
  2. Tom qab ntawd muab lub log rau sab laug lub cev thiab lub nruas rau sab xis (siv cov kua nplaum super yog xav tau).
  3. Kaw lub thawv siv cov ntsia hlau me me.
  4. Txuas LED hauv qhov sib txawv me me ntawm lub log log thiab sab nraum qab ntawm lub thawv.

Kauj Ruam 8: Kho Cov Ntaus Hauv Alexa App

Configuring Device hauv Alexa App
Configuring Device hauv Alexa App
Configuring Device hauv Alexa App
Configuring Device hauv Alexa App
Configuring Device hauv Alexa App
Configuring Device hauv Alexa App
  1. Ua ntej txuas lub cuab yeej rau koj lub network WiFi los ntawm kev qhib WiFi teeb tsa ntawm koj lub xov tooj ntawm tes thiab txuas rau ssid lub npe "alexa-aid".
  2. Tam sim no qhib Alexa app thiab tshawb nrhiav qhov txuj ci "Sinric" thiab pab nws los ntawm kev txuas koj tus lej nyiaj.
  3. Tom qab ntawd nug Alexa kom pom cov cuab yeej, tom qab tshawb pom, koj yuav tsum pom ob lub cuab yeej npe hu ua "ntsiav tshuaj muab tshuaj" thiab "pab pab muab tshuaj".
  4. Tom qab ntawd koj yuav xav tau los tsim ib txwm ua raws li tau hais hauv daim duab saum toj no.

Kauj Ruam 9: Yuav Siv Li Cas

  1. Rau cov tshuaj ntsiav tshuaj, tso cov tshuaj rau hauv lub qhov ntawm lub log.
  2. Rau cov pab xa khoom pab, yob txoj hlua pab hla tus menyuam thiab tshem tawm ib qho kawg ntawm lub qhov nyob ntawm lub ntsej muag pem hauv ntej ntawm lub thawv.

Zoo, yog nws, tam sim no koj yuav tsum txaus siab ua kom raug mob thiab thov Dr. Alexa rau kev pab; P

Tsuas yog tso dag, tab sis nco ntsoov nws zoo dua kom nyab xeeb dua li thov txim…..

Yog tias koj nyiam kuv txoj haujlwm me me tsis txhob hnov qab VOTE vim nws yog ib feem ntawm IOT kev sib tw.

Pom zoo: