Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj ruam 2: Kev sib txuas
- Kauj Ruam 3: Txoj Haujlwm
- Kauj Ruam 4: Nws Ua Haujlwm Li Cas?
- Kauj ruam 5: Kev thov rau Android
- Kauj Ruam 6: Daim Ntawv Thov Kev Kho
- Kauj ruam 7: Browser
- Kauj Ruam 8: Xa Chaw Xa Mus
- Kauj Ruam 9: Tsis muaj IP (xaiv tau)
- Kauj ruam 10: Xeem nws
- Kauj ruam 11: Kho: Android App Source Code
Video: Ntse Tsev Nrog Arduino: 11 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nyob zoo.
Kuv yuav qhia koj yuav tsim koj lub tsev ntse li cas. Nws qhia qhov kub thiab txias sab hauv thiab sab nraum, yog lub qhov rais qhib lossis kaw, qhia thaum lub caij los nag thiab ua lub tswb thaum lub PIR sensor nkag siab. Kuv tau ua daim ntawv thov ntawm Android los tso saib txhua cov ntaub ntawv (koj tseem tuaj yeem saib nws ntawm browser). Koj tuaj yeem pom qhov ntsuas kub hauv koj lub tsev thiab lwm yam ntaub ntawv los ntawm thoob plaws lub ntiaj teb! Daim ntawv thov raug txhais ua lus Askiv thiab txhuam. Kuv ua nws vim kuv xav ua kuv tus kheej lub tsev ntse thiab tswj nws. Yog tias koj xav tau, koj tuaj yeem ua koj tus kheej lub tsev ntse, txhua yam koj xav tau yog ib feem (teev hauv qab no) thiab xav tau ntau. Yog li cia peb pib.
Kev piav qhia ntawm acronyms rau tus pib:
GND - hauv av
VCC - zog
PIR - txav sensor
Kauj Ruam 1: Qhov Chaw
Txhua qhov nqi kuv $ 90
- Arduino
- Ethernet module ENC28J60
- Tus pas ntsuas kub DS18B20 x2
- Microphone module
- Los nag sensor
- PIR sensor yog
- Reed hloov
- Relay
- Resistor 4, 7k Ω
- Twisted-khub cable
- Ethernet cable
- Cov cuab yeej (cov laug, cov ntsia hlau)
Kauj ruam 2: Kev sib txuas
Saum toj no kuv ntxiv daim duab los ntawm fritzing nrog kev txuas. Yog tias koj muaj teeb meem nrog nws tawm lus.
Kauj Ruam 3: Txoj Haujlwm
Ua ntej koj yuav tsum ua yog rub tawm, rho tawm thiab ntshuam lub tsev qiv ntawv no mus rau arduino IDE. Thiab rub 1Wire lub tsev qiv ntawv los ntawm no, Dallas kub ntawm no thiab ntshuam lawv rau arduino IDE ib yam. Koj tuaj yeem tso qhov program no rau koj li arduino. Hauv cov lus pom yog kev piav qhia ntawm txoj cai.
Kauj Ruam 4: Nws Ua Haujlwm Li Cas?
Thaum koj nyem rov ua dua tshiab hauv koj lub app lossis hauv browser Arduino xa cov ntaub ntawv mus rau lub xov tooj/smartphone. Daim ntawv thov tau txais qhov chaws los ntawm txhua nplooj ntawv (/tempin, /tempout, /rain, /window, /alarm) thiab qhia nws hauv koj lub xov tooj.
Kauj ruam 5: Kev thov rau Android
Txhawm rau teeb tsa app ntawm koj lub xov tooj Android koj yuav tsum ua qhov no (koj tuaj yeem pom nws ntawm daim duab saum toj no): 1. thawj fir thawj kauj ruam yog rub tawm smartHome.apk file2. Send apk cov ntaub ntawv rau koj lub xov tooj 3. Qhib cov ntaub ntawv tus thawj tswj thiab nrhiav smarthHome.apk file4. tig nws) 5. Koj tau teeb tsa tiav, koj tuaj yeem qhib daim ntawv thov
Daim ntawv thov raug txhais ua lus Askiv thiab txhuam. Hauv browser koj tuaj yeem qhib thiab tua lub teeb tab sis hauv app tsis yog vim kuv ua tsis tau li ntawd, thov txim.
Kauj Ruam 6: Daim Ntawv Thov Kev Kho
Kuv mam piav qhia tias daim ntawv thov ua haujlwm li cas. Nws qhia tag nrho cov ntaub ntawv los ntawm koj lub tsev. Koj tuaj yeem nyem rau ntawm lub cim teeb tsa los kho koj tus IP chaw nyob thiab qhib lossis tua lub tswb. Thaum koj qhib lub tswb, app tau txais cov ntaub ntawv los ntawm PIR sensor hauv kev pabcuam thiab yog tias nws tau kuaj pom txav hauv koj lub tsev nws tau ceeb toom. App khaws cov ntaub ntawv los ntawm lub suab txav txav txhua feeb. Hauv IP teb koj yuav tsum nkag mus rau koj tus IP chaw nyob. Koj tuaj yeem tshawb xyuas nws ntawm no.
Kauj ruam 7: Browser
Ntaus hauv koj tus browser koj tus ip / txhua. Muaj koj tuaj yeem pom txhua cov ntaub ntawv thiab qhib thiab tua lub teeb.
Koj tuaj yeem siv qhov no tsis yog daim ntawv thov ntawm Android.
Kauj Ruam 8: Xa Chaw Xa Mus
Koj yuav tsum qhib qhov chaw nres nkoj ntawm koj lub router. Qhib koj lub router teeb tsa thiab teeb tsa arduino ip thiab qhib chaw nres nkoj 80. Koj tuaj yeem pom nws ntawm daim duab saum toj no.
Kauj Ruam 9: Tsis muaj IP (xaiv tau)
Koj tuaj yeem teeb tsa tus account ntawm tsis muaj ip tab sis qhov no tsis tsim nyog. Hauv daim duab saum toj no koj tuaj yeem pom yuav teeb tsa nws li cas.
Kauj ruam 10: Xeem nws
Yog tias koj xav pom cov ntaub ntawv ntawm koj lub khoos phis tawj koj tuaj yeem ua qhov no los ntawm kev ntaus koj tus browser koj tus lej / txhua (piv txwv li 12.345.678.901/all) lossis siv daim ntawv thov hauv.
Nco ntsoov tawm lus tawm thiab nyem qhov nyiam yog tias koj nyiam kuv qhov project:)
Kauj ruam 11: Kho: Android App Source Code
Vim tias ntau tus neeg nug kuv txog hauv xov tooj ntawd tus lej kuv ntxiv nws hauv qab no.
Pom zoo:
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module - Lub Tswv Yim Hauv Tsev Automation: 15 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Ntse Tsev Siv Arduino Control Relay Module | Lub Tswv Yim Ua Lag Luam Hauv Tsev: Hauv qhov haujlwm ua haujlwm hauv tsev no, peb yuav tsim lub tsev ntse hloov chaw uas tuaj yeem tswj tau 5 yam khoom siv hauv tsev. Qhov kev hloov pauv no tuaj yeem tswj tau los ntawm Txawb lossis smartphone, IR chaw taws teeb lossis TV nyob deb, Kev hloov pauv ntawm tes. Qhov kev tshaj tawm ntse no tseem tuaj yeem paub txog r
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
Lub Hnab Ntse Hnab Ntse Ntse Computer: 4 Kauj Ruam (nrog Duab)
Lub Hnab Ntse Hnab Ntse Ntse Computer: Qhov no yog "hnab looj tes ntse" nas lub computer uas tuaj yeem siv nrog ib lub PC, Mac, lossis Linux computer. Nws tau tsim los siv Binho Nova ntau tus txheej txheem USB host adapter, uas tso cai rau koj txuas cov ntsuas thiab lwm yam khoom siv rau koj lub khoos phis tawj thiab tom qab ntawd txuas ntxiv
Ntse Ruaj Ntseg Koj Lub Tsev Ntse: 14 Kauj Ruam
Ntse Ruaj Ntseg Koj Lub Tsev Ntse: Kuv tab tom sib tw rau kev sib tw nyab xeeb thiab nyab xeeb. Yog tias koj nyiam kuv cov lus qhia thov pov npav rau nws! Kuv yuav qhia koj li cas yooj yim thiab pheej yig kom ruaj ntseg koj lub tsev thiab ib puag ncig. Nws muaj ntu uas koj yuav kawm paub yuav ua li cas: 1. Configure koj
Ntse Suab Nkauj hauv Chav Dej thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: 7 Kauj Ruam
Ntse Suab Nkauj hauv chav pw thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: Niaj hnub no peb xav muab ob qho piv txwv txog yuav ua li cas koj tuaj yeem siv Raspberry Pi nrog peb Max2Play software rau hauv tsev automation: hauv chav dej thiab chav pw . Ob txoj haujlwm zoo ib yam nyob hauv cov suab paj nruag siab ncaj los ntawm ntau qhov chaw tuaj yeem rub tawm los