Cov txheej txheem:
- Kauj ruam 1: Cov ntaub ntawv
- Kauj Ruam 2: Cov Hluav Taws Xob Cov Hluav Taws Xob rau Qhov Tsis Txaus Siab Capacitive Touch Sensor
- Kauj Ruam 3: Muab Cov Hluav Taws Xob thiab Cov Cheeb Tsam tso rau ntawm lub Rooj Mov Mov
- Kauj ruam 4: Code
- Kauj Ruam 5: Tsim Applet ntawm IFTTT
- Kauj Ruam 6: Xaws Cov Cuab Yeej Cuam Tshuam rau hauv ncoo
- Kauj Ruam 7: Ntxig Daim Ntawv Cuam Tshuam Hauv Lub Hauv Pillow thiab Zip Up Hauv Pillowcase
- Kauj Ruam 8: Sim Nws
Video: Hav Pillow IoT Tswb: 8 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Paub ib tus neeg uas niaj hnub tawm tsam kom tawm ntawm lub txaj, tuaj lig rau kev ua haujlwm thiab koj tsuas yog xav muab rau lawv thaum sawv ntxov. Tam sim no koj tuaj yeem ua koj tus kheej Hey Pillow. Sab hauv lub tog hauv ncoo tau txuam nrog qhov tsis txaus siab piezo buzzer uas koj tuaj yeem tswj hwm ntawm koj lub xov tooj, yog li koj tuaj yeem tso nws tawm qhov twg thiab txhua lub sijhawm koj xav tau nrog Arduino ESP8266 kho vajtse.
Kauj ruam 1: Cov ntaub ntawv
Koj yuav tsum tau sau cov ntaub ntawv no los pib ua haujlwm:
- Buzzer
- Cov Khoom Siv Hluav Taws Xob
- Laub Khawm
- Usb Fais Adapter
- Breadboard Xov
- Liab Led (raws li qhia)
- Ada txiv hmab txiv ntoo Huzzah Board
- Ib Nrab Loj Cij Board
- Hauv ncoo
- Kov Capacitive Standalone Sensor
- Solder
Kauj Ruam 2: Cov Hluav Taws Xob Cov Hluav Taws Xob rau Qhov Tsis Txaus Siab Capacitive Touch Sensor
Hauv cov kauj ruam no koj yuav xav tau lub tshuab ntxig 3 tus pin mus rau qhov raug xaiv los ntawm qhov kov lub peev xwm ntsuas tau:
(Duab 1 & 2)
AT42QT101X = Arduino
VDD = 5V
TSUAS = 2
GND = GND
Tom qab ntawd koj yuav ntxig lub kov sensor mus rau lub khob cij (Duab 3)
Kauj Ruam 3: Muab Cov Hluav Taws Xob thiab Cov Cheeb Tsam tso rau ntawm lub Rooj Mov Mov
Kauj ruam 4: Code
Kauj Ruam 5: Tsim Applet ntawm IFTTT
Tsim IFTTT los tsim lub pob nyem ntawm applet los pib lub suab nrov nrov kom tsa tus neeg siv los ntawm lawv qhov kev pw tsaug zog. Koj ua qhov no los ntawm kev tsim ib qho applet nrog "thawb khawm widget" thiab tom qab ntawd teeb nws txuas rau Ada txiv hmab txiv ntoo IO nrog cov khoom tsim. Cia cov ntaub ntawv khaws tseg rau "1" yog li thaum nias "1" cov ntaub ntawv yuav pib Buzzer kom qhib.
Kauj Ruam 6: Xaws Cov Cuab Yeej Cuam Tshuam rau hauv ncoo
Hauv cov kauj ruam no koj yuav siv koj cov ntaub qhwv cov ntaub qhwv thiab kaw nws hauv qab ntawm lub hauv ncoo hauv qab (duab 4). Ua li ntawd yuav tso cai rau tus neeg siv kom yooj yim siv lub tog hauv ncoo.
Kauj Ruam 7: Ntxig Daim Ntawv Cuam Tshuam Hauv Lub Hauv Pillow thiab Zip Up Hauv Pillowcase
Tom qab lub Circuit Court tom qab ntawd pauv mus rau lwm daim ntawv qhia zaub mov kom nws ntau dua. Ib lub thawv kuj tau tsim los tiv thaiv lub Circuit Court thaum tso rau hauv lub tog hauv ncoo.
Kauj Ruam 8: Sim Nws
Tam sim no koj tau suav ua ke kho vajtse teeb tsa nrog rau cov khoom muag muag ntawm koj li applet koj tau npaj siv koj li Hey Pillow. Muab rau koj cov neeg hlub, koj cov phooj ywg zoo thiab peb cov neeg ua haujlwm uas ib txwm tuaj lig. Sim nws thiab saib yog tias lub suab tsis zoo ntawm lub buzzer tuaj yeem ua rau lawv tawm ntawm txaj yooj yim dua. Ntxiv mus ntxiv cov kauj ruam tom ntej rau Hey Pillow yuav txuas nws mus rau lub tswb ceeb toom, kom tus neeg tuaj yeem paub tshwj xeeb thaum yuav tshuaj xyuas yog tias tus neeg tseem nyob hauv ncoo lossis tsis thiab xa lawv cov suab nrov. Ib qho ntxiv los txhim kho yog nthuav dav thaj chaw ntawm qhov uas cov ntaub ntawv coj ua yog teeb tsa nrog siv lwm cov ntaub ntawv xws li cov xaim hluav taws xob/xov ua kom tag nrho hauv ncoo nkag mus rau qhov kov lub peev xwm.
Pom zoo:
Tswb Tswb Tswb Tswb Tswb: 3 Kauj Ruam
Lub Tswb Tswb Tswb Tswb: Kuv yog menyuam kawm ntawv 13 xyoos hauv Taiwan.Kuv ua yam nrog Arduino thawj zaug yog tias koj tuaj yeem qhia kuv yuav ua li cas txhim kho txoj haujlwm no, thov tawm lus rau kuv kom kuv tuaj yeem ua qhov zoo dua. (Ua tsaug ) Lub moos no tuaj yeem tsa koj thaum koj tsaug zog, tab sis kuv
Tswb Tswb Tswb Tswb Tswb Ntse Teeb: 8 Kauj Ruam (nrog Duab)
Tswb Tswb Tswb Tswb Tswb Lub Teeb: Hauv qhov haujlwm no kuv tau siv lub tshuab cua-tsoo lub tswb tawg tag. Lub ntsej muag ntawm lub moos tau hloov pauv los ntawm 12 LEDs, teeb pom kev los ntawm LED kab ib ncig ntawm ntug ntawm lub moos. 12 LEDs qhia lub sijhawm thiab cov hlua LED tau teeb tsa los ua lub tswb, tig
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: 10 Kauj Ruam (nrog Duab)
Ntse Tswb Tswb: Ntse Tswb Tswb Ua Nrog Raspberry Pi: Koj puas tau xav tau lub moos ntse? Yog tias yog, qhov no yog kev daws teeb meem rau koj! Thaum lub tswb nrov tawm, yuav muaj lub suab (buzzer) thiab 2 lub teeb yuav
Arduino Push Alerts rau Lub Tswb, Tswb Tswb, Tswb Tswb Tswb Thiab Lwm Yam: 8 Kauj Ruam
Arduino Push Alerts rau Tswb, Tswb Tswb, Tswb Tswb Tswb thiab lwm yam: IoT Cov Ntawv Ceeb Toom los ntawm koj lub Tswb, Tswb Tswb, Tswb Tswb thiab lwm yam siv Arduino Uno thiab Ethernet Shield. Cov ncauj lus kom ntxaws ntawm kuv lub vev xaib ntawm no Hais txog Arduino Push Alert Box Siv Arduino Uno thiab Ethernet Shield raws li Wiznet W5100 nti rau
LED Tswb Tswb Tswb Tswb Tswb Tswb Tsa Tswm Tsa: 7 Kauj Ruam (nrog Duab)
LED Tswb Tswb Tswb Tswb Tswb Tswb Tsa Tswm Tsa Tswm Tswm: Tsa Kuv Lub Caij Ntuj No Lub caij ntuj no kuv tus hluas nkauj muaj teeb meem sawv thaum sawv ntxov thiab zoo li raug kev txom nyem los ntawm SAD (Lub Caij Caij Nyoog Muaj Teeb Meem). Kuv txawm pom tias nyuaj npaum li cas kom sawv thaum lub caij ntuj no vim lub hnub tsis tuaj