Cov txheej txheem:
- Kauj ruam 1: Teeb
- Kauj Ruam 2: Teeb duab rau ntawm Raspberry Pi
- Kauj Ruam 3: Teeb tsa Android Yam
- Kauj Ruam 4: Siv Daim Ntawv Thov ntawm RPi3
- Kauj ruam 5: Ua tiav
Video: Lub Tsev Yooj Yim Automation Siv Raspberry Pi3 thiab Android Yam: 5 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Lub tswv yim yog los tsim "tsev zoo" nyob ntawm ib tus tuaj yeem tswj hwm cov cuab yeej siv hauv tsev siv Android Yam thiab Raspberry Pi. Txoj haujlwm no suav nrog tswj cov khoom siv hauv tsev xws li Teeb, Ntxuam, lub cev muaj zog thiab lwm yam.
Cov Ntaub Ntawv Yuav Tsum Tau:
Raspberry Pi 3
HDMI Cable
Relay
khoom siv hauv tsev zoo li Ntxuam, Teeb Lub Teeb thiab lwm yam.
Phom Soldering
Kauj ruam 1: Teeb
Rub tawm thiab Nruab Android Studio. Tsim ib tus as khauj ntawm Android Yam Console. Tsim cov khoom lag luam siv cov khoom lag luam tsim nyog.
android Studio:
txuas rau Android Console:
Hauv lub Hoobkas duab xaiv qhov tseeb hauv version thiab nyem tsim teeb tsa. Hauv daim ntawv teev npe teeb tsa rub tawm qhov tsim tshiab tshaj plaws uas koj tsim. Nov yog Raspberry Pi duab ntawm Andriod Yam. Luam cov ntawv.zip rub tawm kom tau cov duab ntawm Android Yam.
Yog xav paub ntau ntxiv nyem qhov no:
Kauj Ruam 2: Teeb duab rau ntawm Raspberry Pi
Rub tawm thiab teeb tsa ob lub software:
· SD daim ntawv formatter – siv los format SD card ·
Win32DiskImager - siv los nyem cov duab rau SD daim npav
Hauv daim npav SD daim ntawv xaiv qhov chaw nyob ntawm daim npav SD raug thiab nyem rau hom ntawv Tom qab kev teeb tsa qhib Win32DiskImager xaiv lub cuab yeej raug (qhov chaw nyob daim npav SD) thiab kho cov duab thiab nyem rau ntawm sau. Tom qab sau ntawv tiav koj tau ua tiav nyem nyem daim npav nco.
Kauj Ruam 3: Teeb tsa Android Yam
Ntxig daim npav SD rau hauv daim npav daim npav hauv RPi3 thiab txuas rau ib qho khoom siv siv HDMI. Txuas Ethernet Cable los ntawm Router mus rau RPi3. Txuas tus nas thiab keyboard rau RPi3 rau kev ua haujlwm. Tom qab OS khau raj koj yuav pom tus IP chaw nyob ntawm RPi3 tau tshwm.
Txuas lub PC rau tib lub router thiab qhib cmd. Txuas mus rau IP chaw nyob ntawm RPi3 siv cov lus txib:
$ adb txuas txuas nrog: 5555
Txhawm rau txuas lub cuab yeej rau Wifi khiav cov lus txib hauv qab no:
$ adb plhaub kuv pib ua haujlwm -n com.google.wifisetup/. WifiSetupService -a WifiSetupService. Connect -e ssid 'network ssid' -e passphrase 'password'
Hloov 'network ssid' thiab 'password' nrog koj li ntawv pov thawj Wifi. Nco tseg: yog tias koj muaj qee qhov nyuaj khiav adb hais kom ua tej zaum koj yuav tsum teeb tsa txoj kev adb hauv Ib puag ncig hloov pauv.
Kauj Ruam 4: Siv Daim Ntawv Thov ntawm RPi3
Rub tawm UI yooj yim los ntawm cov qauv txuas:
developer.android.com/things/sdk/samples….
Qhib txoj haujlwm no siv Android studio hloov pauv qhov tsim nyog yog tias xav tau.
Nyem rau khiav thiab xaiv RPI3 hauv cov khoom siv sib txuas.
Yog tias koj tsis tuaj yeem pom koj lub cuab yeej ces koj yuav xav rov txuas nws siv qhov hais kom ua:
$ adb txuas txuas nrog: 5555
Yog tias qhov ua tiav yog tiav daim ntawv thov yuav raug muab tso tawm ntawm lub saib.
Kauj ruam 5: Ua tiav
Ua daim duab hluav taws xob raws li qhia hauv daim duab.
Thaum kawg nrog cov theem saum toj no txoj haujlwm tiav.
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Txoj Kev Yooj Yim Yooj Yim Kom Pib Nrog Tsev Automation Siv DIY Modules: 6 Cov Kauj Ruam
Txoj Kev Yooj Yim Yooj Yim Kom Pib Nrog Tsev Automation Siv DIY Modules: Kuv zoo siab heev thaum kuv txiav txim siab sim ntxiv qee qhov DIY sensors rau tus pab hauv tsev. Siv ESPHome yog qhov yooj yim heev thiab hauv kab ntawv no, peb yuav kawm paub tswj tus pin GPIO li cas thiab tseem tau ntsuas kub & cov ntaub ntawv av noo los ntawm wireless n
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): 7 Kauj Ruam
Txoj Kev Yooj Yim thiab Yooj Yim Los Hloov Koj Lub Xauv Screen hauv 6 Cov Kauj Ruam Yooj Yim (Windows 8-10): Xav hloov pauv yam ntawm koj lub laptop lossis PC? Xav tau kev hloov pauv hauv koj qhov chaw? Ua raws cov kauj ruam no yooj yim thiab yooj yim kom ua tiav koj tus kheej lub computer ntsuas phoo
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: 4 Cov Kauj Ruam
Ib qho yooj yim heev/yooj yim/Tsis yooj yim txoj hauv kev kom tib neeg/tib neeg/tsiaj/neeg hlau zoo li lawv muaj txias tiag tiag/Lub zeem muag tshav kub kub (Xim ntawm Koj Xaiv) Siv GIMP: Nyeem … lub npe