Cov txheej txheem:

Google Tswj Qhov Chaw: 7 Kauj Ruam
Google Tswj Qhov Chaw: 7 Kauj Ruam

Video: Google Tswj Qhov Chaw: 7 Kauj Ruam

Video: Google Tswj Qhov Chaw: 7 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim
Google Tswj Qhov Chaw
Google Tswj Qhov Chaw

Ib txoj haujlwm hais txog tsim koj tus kheej lub qhov hluav taws xob ntse uas tuaj yeem tswj tau nrog google tus pabcuam lossis ib txwm muaj lwm qhov kev pabcuam nkag ntawm IFTTT.

Kauj Ruam 1: Qhov Yuav Tsum Tau Ua

Qhov koj yuav xav tau:

  • Nodemcu
  • Relay (Kuv siv lub xeev ruaj khov relay)
  • 5V fais fab mov
  • Qhov project enclosure
  • cable nrog lub ntsaws ntawm qhov kawg
  • qhov hluav taws xob
  • qee cov xov

Koj tuaj yeem xaj ntau qhov uas kuv siv ntawm no:

Kauj Ruam 2: Kev Txuas Hluav Taws Xob

Qhov thaiv
Qhov thaiv

Ceeb toom !!! Kev kub siab

Cov txheej txheem yog yooj yim heev tab sis nco ntsoov tias koj cov xov hluav taws xob uas yuav tom qab nqa cov hluav taws xob hluav taws xob yog li tsis pheej yig tawm ntawm tshav kub-ntsws thiab xaiv cov xov hlau uas tuaj yeem nqa lub nra. Nws kuj yog lub tswv yim zoo kom paub tseeb tias koj lub ntiaj teb ib qho raug cov hlau.

Kauj Ruam 3: Muab Nws Ua Ke

Muab Nws Ua Ke Ua Ke
Muab Nws Ua Ke Ua Ke
Muab Nws Ua Ke Ua Ke
Muab Nws Ua Ke Ua Ke
Muab Nws Ua Ke Ua Ke
Muab Nws Ua Ke Ua Ke

Muab tag nrho cov khoom siv tso rau hauv qhov phiaj xwm phiaj xwm thiab xaim nws txhua qhov ua ke raws li cov phiaj xwm tab sis tsis txhob tso lub teeb rau vim tias nodemcu tseem xav tau kev teeb tsa.

Kauj ruam 4: Programming Nodemcu

Koj tsuas yog yuav tsum sau koj tus kheej ssid, password, adafruit IO username, thiab Key.

Cov cai siv tau suav nrog, koj tsuas yog yuav tsum rub tawm cov tsev qiv ntawv suav nrog koj tus kheej.

Kauj Ruam 5: Teeb tsa Adafruit IO

Ua ntej, koj yuav tsum tsim tus as khauj rau Adafruit IO tom qab koj tau ua tiav uas koj yuav tsum tau qhib nplooj ntawv dua thiab nyem rau ntawm cov haujlwm ua thiab tsim lub dashboard tshiab tom qab koj tau tsim lub dashboard tshiab qhib nws los ntawm txhaj rau nws thiab tom qab ntawd nyem rau ntawm lub pob xiav + los tsim lub thaiv tshiab uas koj xav tau los hloov lub toggle tom qab koj tau xaiv lub toggle hloov, nkag mus rau lub npe pub tshiab (Relay1). Xaiv Relay1 thiab hloov nws cov ntawv ON rau 1 thiab nws OFF cov ntawv rau 0, nyem rau ntawm khawm tsim thiab koj tuaj yeem txav mus rau qib tom ntej.

Kauj Ruam 6: Teeb IFTTT

Txog IFTTT koj kuj yuav tsum tsim tus as khauj tom qab koj tau ua tiav uas koj xav tau los tsim ib qho tshiab applet thiab nyem rau +THIS thiab xaiv Google tus pab ua koj li kev pabcuam tom qab uas xaiv thawj qhov kev xaiv: hais cov kab lus yooj yim. Sau rau hauv qhov koj xav hais kom qhib lub qhov hluav taws xob thiab nyem rau ntawm tsim qhov ua rau. Tom qab ntawd nyem rau +THIAB xaiv Adafruit ua koj li kev pabcuam thiab xaiv koj cov khoom noj (Relay1) thiab cov ntaub ntawv khaws tseg yuav yog 1. Rau kev tig lub qhov hluav taws xob tawm koj yuav tsum tsim lwm lub applet uas yog qhov zoo ib yam tshwj tsis yog kab lus tig nws tawm thiab cov ntaub ntawv khaws tseg uas yuav yog 0 tig ntawm qhov hluav taws xob.

Pom zoo: